Blame docs/man/man1/fgconsole.1
|
Packit Service |
50ad14 |
.TH FGCONSOLE 1 "14 Feburary 2002" "" "Linux User's Manual"
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
.SH NAME
|
|
Packit Service |
50ad14 |
fgconsole \- print the number of the active VT.
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
.SH SYNOPSIS
|
|
Packit Service |
50ad14 |
.B fgconsole
|
|
Packit Service |
50ad14 |
.BI [
|
|
Packit Service |
50ad14 |
\-h \-\-help
|
|
Packit Service |
50ad14 |
|
|
|
Packit Service |
50ad14 |
\-V \-\-version
|
|
Packit Service |
50ad14 |
|
|
|
Packit Service |
50ad14 |
\-n \-\-next-available
|
|
Packit Service |
50ad14 |
]
|
|
Packit Service |
50ad14 |
.SH DESCRIPTION
|
|
Packit Service |
50ad14 |
If the active Virtual Terminal is
|
|
Packit Service |
50ad14 |
.IR /dev/ttyN ,
|
|
Packit Service |
50ad14 |
then prints
|
|
Packit Service |
50ad14 |
.I N
|
|
Packit Service |
50ad14 |
on standard output.
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
If the console is a serial console, then
|
|
Packit Service |
50ad14 |
"serial"
|
|
Packit Service |
50ad14 |
is printed instead.
|
|
Packit Service |
50ad14 |
.TP
|
|
Packit Service |
50ad14 |
.I \-h \-\-help
|
|
Packit Service |
50ad14 |
Prints short usage message and exits.
|
|
Packit Service |
50ad14 |
.TP
|
|
Packit Service |
50ad14 |
.I \-V \-\-version
|
|
Packit Service |
50ad14 |
Prints version number and exits.
|
|
Packit Service |
50ad14 |
.TP
|
|
Packit Service |
50ad14 |
.I \-\-next\-available
|
|
Packit Service |
50ad14 |
Will show the next unallocated virtual terminal. Normally 6 virtual
|
|
Packit Service |
50ad14 |
terminals are allocated, with number 7 used for X; this will return
|
|
Packit Service |
50ad14 |
"8" in this case.
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
.SH NOTES
|
|
Packit Service |
50ad14 |
Under
|
|
Packit Service |
50ad14 |
.IR devfs ,
|
|
Packit Service |
50ad14 |
the consoles are in
|
|
Packit Service |
50ad14 |
.IR /dev/vc/N .
|
|
Packit Service |
50ad14 |
.IR devfsd
|
|
Packit Service |
50ad14 |
may maintain symlinks for compatibility.
|
|
Packit Service |
50ad14 |
.SH "SEE ALSO"
|
|
Packit Service |
50ad14 |
.BR chvt (1).
|
|
Packit Service |
50ad14 |
.\" .SH "AUTHORS"
|
|
Packit Service |
50ad14 |
.\" Andries Brouwer
|
|
Packit Service |
50ad14 |
.\" .br
|
|
Packit Service |
50ad14 |
.\" Manpage by Alastair McKinstry <mckinstry@computer.org>
|
|
Packit Service |
50ad14 |
|