clone 364208 -1 reassign -1 console-tools retitle -1 openvt.2 has SEE ALSO too far indented found -1 1:0.2.3dbs-62 tag -1 patch thanks
--- - 2006-05-17 12:30:26.392675000 -0400 +++ /tmp/openvt.1 2006-05-17 12:29:42.000000000 -0400 @@ -1,71 +1,69 @@ .\" Copyright 1994-95 Jon Tombs ([EMAIL PROTECTED], [EMAIL PROTECTED]) .\" May be distributed under the GNU General Public License -.TH OPENVT 1 "19 Jul 1996" "Console tools" "Linux User's Manual" +.TH OPENVT 1 "17 May 2006" "Console tools" "Linux User's Manual" .SH NAME openvt \- start a program on a new virtual terminal (VT). .SH SYNOPSIS .B openvt -[\-c vtnumber] [\-f] [\-s] [\-u] [\-l] [\-v] [\-\-] command command_options +[\-c \fIvtnumber\fP] [\-f] [\-s] [\-u] [\-l] [\-v] [\-\-] \fI[command]\fP \fI[options]\fP .SH DESCRIPTION .B openvt -will find the first available VT, and run on it the given -.BR command -with the given -.BR "command options", +will find the first available VT, and run \fIcommand\fP on it with the given +.IR options ; standard input, output and error are directed to that terminal. The current -search path ($PATH) is used to find the requested command. If no command is -specified then the environment variable $SHELL is used. -.SS OPTIONS -.TP -.I "\-c vtnumber" +search path (\fBPATH\fP) is used to find the requested command. If no command is +specified then the environment variable \fBSHELL\fP is used. +.SH OPTIONS +.TP 1.1i +.BI \-c " vtnumber" Use the given VT number and not the first available. Note you must have write access to the supplied VT for this to work. .TP -.I "\-f" +.B "\-f" Force opening a VT: don't try to check if a VT is already in use. .TP -.I "\-s" +.B "\-s" Switch to the new VT when starting the command. The VT of the new command will be made the new current VT. .TP -.I "\-u" +.B "\-u" Figure out the owner of the current VT, and run login as that user. Suitable to be called by init. Shouldn't be used with -c or -l. .TP -.I "\-l" +.B "\-l" Make the command a login shell. A \- is prepended to the name of the command to be executed. .TP -.I "\-v" +.B "\-v" Be a bit more verbose. .TP -.I "\-w" +.B "\-w" wait for command to complete. If \-w and \-s are used together then .B openvt will switch back to the controlling terminal when the command completes. .TP -.I "\-\-" +.B "\-\-" end of options to .BR openvt . +.RE .SH EXAMPLES .B openvt can be used to start a shell on the next free VT, by using the command: -.TP -.I "openvt bash" -.TP - +.sp +.RS +.B "openvt bash" +.RE +.sp To start the shell as a login shell, use: -.TP -.I "openvt -l bash" -.TP - +.sp +.RS +.B "openvt -l bash" +.RE .SH "SEE ALSO" .BR chvt (1), .BR login (1). - .SH AUTHOR Jon Tombs <[EMAIL PROTECTED] or [EMAIL PROTECTED]> - .SH HISTORY Earlier, openvt was called open. It was written by Jon Tombs <[EMAIL PROTECTED] or [EMAIL PROTECTED]>. The -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]