summaryrefslogtreecommitdiff
path: root/man4/console.4
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2013-06-07 16:17:00 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-06-12 14:56:28 +0200
commit35cfd37865a45a7ea6558c57c5dad4d14b90a945 (patch)
treebcc701b032b09580acb8c61be777a89c7153404d /man4/console.4
parent173e4d50e7f77747d21729239d471f0b1e50d268 (diff)
getwchar.3, infnan.3, iswalnum.3, iswalpha.3, iswcntrl.3, iswctype.3, iswdigit.3, iswgraph.3, iswlower.3, iswprint.3, iswpunct.3, iswspace.3, iswupper.3, iswxdigit.3, lsearch.3, mblen.3, mbrlen.3, memmove.3, memset.3, putwchar.3, rewinddir.3, towctrans.3, towlower.3, towupper.3, ungetwc.3, wcschr.3, wcscmp.3, wcscspn.3, wcspbrk.3, wcsrchr.3, wcsspn.3, wctomb.3, wctrans.3, wmemchr.3, wmemcmp.3, wmemcpy.3, wmemmove.3, wmemset.3, console.4, hd.4, lp.4, mem.4, mouse.4, ram.4, sync.8: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man4/console.4')
-rw-r--r--man4/console.432
1 files changed, 24 insertions, 8 deletions
diff --git a/man4/console.4 b/man4/console.4
index 7ba126e5..dcf0b236 100644
--- a/man4/console.4
+++ b/man4/console.4
@@ -13,19 +13,32 @@
.SH NAME
console \- console terminal and virtual consoles
.SH DESCRIPTION
-A Linux system has up to 63 \fIvirtual consoles\fP
+A Linux system has up to 63
+.I "virtual consoles"
(character devices with major number 4 and minor number 1 to 63),
-usually called \fI/dev/tty\fP\fIn\fP with 1 \(<= \fIn\fP \(<= 63.
+usually called
+.I /dev/ttyn
+with 1 \(<=
+.I n
+\(<= 63.
The current console is also addressed by
-\fI/dev/console\fP or \fI/dev/tty0\fP, the character device with
+.I /dev/console
+or
+.IR /dev/tty0 ,
+the character device with
major number 4 and minor number 0.
-The device files /dev/* are usually created using the script MAKEDEV,
+The device files
+.I /dev/*
+are usually created using the script MAKEDEV,
or using
.BR mknod (1),
-usually with mode 0622 and owner root.tty.
+usually with mode 0622 and owner
+.IR root.tty .
.LP
Before kernel version 1.1.54 the number of virtual consoles was
-compiled into the kernel (in tty.h: #define NR_CONSOLES 8)
+compiled into the kernel (in
+.IR tty.h :
+#define NR_CONSOLES 8)
and could be changed by editing and recompiling.
Since version 1.1.54 virtual consoles are created on the fly,
as soon as they are needed.
@@ -49,7 +62,9 @@ and display its output there.
.BR doshell (8).)
.LP
Common ways to switch consoles are: (a) use Alt+F\fIn\fP or
-Ctrl+Alt+F\fIn\fP to switch to console \fIn\fP; AltGr+F\fIn\fP
+Ctrl+Alt+F\fIn\fP to switch to console
+.IR n ;
+AltGr+F\fIn\fP
might bring you to console \fIn\fP+12 [here Alt and AltGr refer
to the left and right Alt keys, respectively];
(b) use Alt+RightArrow or Alt+LeftArrow to cycle through
@@ -61,7 +76,8 @@ the above mentioned key combinations are according to the default settings.)
.LP
The command
.BR deallocvt (1)
-(formerly \fBdisalloc\fP)
+(formerly
+.BR disalloc )
will free the memory taken by the screen buffers for consoles
that no longer have any associated process.
.SS Properties