newvt(1) newvt(1)
NAME
newvt - opens virtual terminals.
SYNOPSIS
newvt [-e prog] [-n vt_number]
DESCRIPTION
Use the newvt command to open a new virtual terminal. The
newly opened virtual terminal will inherit your environment.
-e Specifies a program (prog) to execute in the new virtual
terminal. Without the -e option, the program pointed to
by the $SHELL environment variable is started in the new
virtual terminal. If $SHELL is NULL or points to a
nonexecutable program, then /bin/sh is invoked. The new
virtual terminal will exit on exiting the program.
-n Specifies a particular virtual terminal (vt_number) to
open. If the -n option is not specified, then the next
available virtual terminal is opened. Close virtual
terminals by pressing CTRL-d (control d). Repeat CTRL-d
until all open virtual terminals are closed.
DIAGNOSTICS
The newvt command will fail under the following conditions:
An invalid option is specified.
The device cannot be opened.
newvt is invoked from a remote terminal.
No virtual terminals are available (-n option not
specified).
The requested virtual terminal is not available (-n
option specified).
The requested virtual terminal cannot be opened.
The specified command cannot be executed (-e option
specified).
The $SHELL program cannot be executed ($SHELL set and -e
option not specified).
Copyright 1994 Novell, Inc. Page 1
newvt(1) newvt(1)
/dev/vtmon cannot be opened.
NOTES
No graphical applications should be run in vt0 if there is the
possibility that they may hang. Also, the Alt-SysReq-F key
should not be used on vt0 when running a graphical
application. Running autocad on vt0 and using the Alt-SysReq-F
keys to exit the application kills vt0.
REFERENCES
vtgetty(1M), vtlmgr(1)
Copyright 1994 Novell, Inc. Page 2