openvt [-c vtnumber] [OPTIONS] [--] command
openvt will find the first available VT, and run on it the given command with the given command 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.
If openvt is compiled with a getopt_long() and you wish to set options to the command to be run, then you must supply the end of options -- flag before the command.
openvt can be used to start a shell on the next free VT, by using the command:
Earlier, openvt was called open. It was written by Jon Tombs <firstname.lastname@example.org or email@example.com>. The -w idea is from "sam".
chvt(1), doshell(8), login(1)