File: mingetty.8

package info (click to toggle)
mingetty 0.9.4-3.2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 68 kB
  • ctags: 29
  • sloc: ansic: 331; makefile: 53
file content (76 lines) | stat: -rw-r--r-- 1,874 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
.TH MINGETTY 8 "6 Apr 1996" "Debian-Local" "Linux Programmer's Manual"
.SH NAME
mingetty \- minimal getty for consoles
.SH SYNOPSIS
.B mingetty
[\-\-noclear] [\-\-long\-hostname]
.I tty
.PP
.SH DESCRIPTION
.B mingetty 
is a minimal getty for use on virtual consoles.
Unlike 
.BR agetty (8),
.B mingetty
is not suitable for serial lines.
I recommend using
.BR mgetty (8) 
for this purpose.
.PP
.SH OPTIONS
.TP
.B \-\-noclear
Do not clear the screen before prompting for the login name (the screen
is normally cleared).
.TP
.B \-\-long\-hostname
By default the hostname is only printed until the first dot.
With this option enabled, the full text from gethostname() is shown.
.PP
.SH "ISSUE ESCAPES"
.B mingetty 
recognizes the following escapes sequences which might be embedded in the 
.I /etc/issue
file:
.IP \fB\ed\fP
insert current day (localtime),
.IP \fB\el\fP
insert line on which 
.B mingetty 
is running,
.IP \fB\em\fP
inserts machine architecture (uname -m),
.IP \fB\en\fP
inserts machine's network node hostname (uname -n),
.IP \fB\eo\fP
inserts domain name,
.IP \fB\er\fP
inserts operating system release (uname -r),
.IP \fB\et\fP
insert current time (localtime),
.IP \fB\es\fP
inserts operating system name,
.IP \fB\eu\fP resp. \fB\eU\fP
the current number of users which are currently logged in.
\\U inserts "\fIn\fP users", where as \\u only inserts "\fIn\fP".
.IP \fB\ev\fP
inserts operating system version (uname -v).
.PP
.SH EXAMPLE
"\fBLinux\ eos\ i386\ #1\ Tue\ Mar\ 19\ 21:54:09\ MET\ 1996\fP" was produced
by putting "\fB\\s\ \\n\ \\m\ \\v\fP" into
.IR /etc/issue .
.PP
.SH FILES
.IR /etc/issue ,
.IR /var/run/utmp .
.PP
.SH "SEE ALSO"
.BR mgetty (8),
.BR agetty (8).
.PP
.SH AUTHOR
Copyright \(co 1996 Florian La Roche <florian@suse.de> 
or <florian@jurix.jura.uni\-sb.de>.
Man-page written by David Frey <David.Frey@eos.lugs.ch> and
Florian La Roche.