MKCON(8) Domain/OS BSD MKCON(8)
NAME
mkcon - set console device
SYNOPSIS
/etc/mkcon [-p] [-d dev] [-c cmd] [-n]
DESCRIPTION
If no arguments are specified with this command, it makes the current
controlling terminal into a console and starts up a shell. The shell type
is determined by the shell environment variable. When the shell exits,
the console output is redirected to 'node_data/system_logs/console.
OPTIONS
-p Create a new DM pad for the console in place of the controlling
terminal device.
-d dev Make dev replace the controlling terminal device as console.
-c cmd Execute cmd instead of $SHELL.
-n Do not run a shell.
EXAMPLE
$/etc/mkcon -d /dev/display -n
This causes console output to appear in a DM window, with a new window
each time /dev/console is opened.