summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.8
diff options
context:
space:
mode:
authorKarel Zak2016-02-17 12:53:20 +0100
committerKarel Zak2016-02-17 12:53:20 +0100
commitd689166b11c5ee89a754d46cc1ce09f27bde0a31 (patch)
tree2deff8a314a2479ab8fd68974d96b86c8ddf3eee /term-utils/agetty.8
parentlib/color: add more ESC seq. (diff)
downloadkernel-qcow2-util-linux-d689166b11c5ee89a754d46cc1ce09f27bde0a31.tar.gz
kernel-qcow2-util-linux-d689166b11c5ee89a754d46cc1ce09f27bde0a31.tar.xz
kernel-qcow2-util-linux-d689166b11c5ee89a754d46cc1ce09f27bde0a31.zip
agetty: support \e{name} for issue file
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/agetty.8')
-rw-r--r--term-utils/agetty.89
1 files changed, 7 insertions, 2 deletions
diff --git a/term-utils/agetty.8 b/term-utils/agetty.8
index bb2feea39..02bf21925 100644
--- a/term-utils/agetty.8
+++ b/term-utils/agetty.8
@@ -333,8 +333,13 @@ Insert the baudrate of the current line.
d
Insert the current date.
.TP
-e
-Insert \\033 to handle esc sequences, for example "\\e[31m RED \\e[0m" prints red text.
+e or e{name}
+Translate the human readable \fIname\fP to esc sequence and insert the sequence
+(e.g. \\e{red}Alert text.\\e{reset}). If the name argument is not specified then
+insert \\033. The currently supported names are: black, blink, blue, bold, brown, cyan,
+darkgray, gray, green, halfbright, lightblue, lightcyan, lightgray, lightgreen,
+lightmagenta, lightred, magenta, red, reset, reverse, and yellow. All unknown
+names are silently ignored.
.TP
s
Insert the system name, the name of the operating system. Same as `uname \-s'.