| 1 |
.\" @(#)chvt.1 1.0 970126 aeb |
| 2 |
.TH CHVT 1 "24 October 2024" "kbd" |
| 3 |
.SH NAME |
| 4 |
chvt \- change foreground virtual terminal |
| 5 |
.SH SYNOPSIS |
| 6 |
.B chvt |
| 7 |
[\fI\,option\/\fR...] |
| 8 |
[\fI\,N\/\fR] |
| 9 |
.SH DESCRIPTION |
| 10 |
The command |
| 11 |
.B chvt |
| 12 |
.I N |
| 13 |
makes |
| 14 |
.I /dev/ttyN |
| 15 |
the foreground terminal. |
| 16 |
(The corresponding screen is created if it did not exist yet. |
| 17 |
To get rid of unused VTs, |
| 18 |
use |
| 19 |
.BR deallocvt (1).) |
| 20 |
The key combination |
| 21 |
.RI (Ctrl-)LeftAlt-F N |
| 22 |
(with |
| 23 |
.I N |
| 24 |
in the range 1-12) usually has a similar effect. |
| 25 |
.SH OPTIONS |
| 26 |
.TP |
| 27 |
\fB\-C\fR, \fB\-\-console\fR=\fI\,DEV\/\fR |
| 28 |
the console device to be used. |
| 29 |
.TP |
| 30 |
\fB\-V\fR, \fB\-\-version\fR |
| 31 |
print version number. |
| 32 |
.TP |
| 33 |
\fB\-h\fR, \fB\-\-help\fR |
| 34 |
print this usage message. |
| 35 |
.SH AUTHORS |
| 36 |
Andries Brouwer <[email protected]> |
| 37 |
.SH "SEE ALSO" |
| 38 |
.BR deallocvt (1), |
| 39 |
.BR openvt (1) |