summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.8
diff options
context:
space:
mode:
authorKarel Zak2016-02-11 12:33:57 +0100
committerKarel Zak2016-02-11 12:33:57 +0100
commit583627ef363f0e0bd8a7dac646507c2458accc56 (patch)
tree8a56f2a1b40b35bc4b117983ce1e8555c838098e /term-utils/agetty.8
parentcolcrt: minor cosmetic changes (diff)
downloadkernel-qcow2-util-linux-583627ef363f0e0bd8a7dac646507c2458accc56.tar.gz
kernel-qcow2-util-linux-583627ef363f0e0bd8a7dac646507c2458accc56.tar.xz
kernel-qcow2-util-linux-583627ef363f0e0bd8a7dac646507c2458accc56.zip
agetty: add support for \e in issue file to print \033
Suggested-by: Victor Ananjevsky <ananasik@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/agetty.8')
-rw-r--r--term-utils/agetty.83
1 files changed, 3 insertions, 0 deletions
diff --git a/term-utils/agetty.8 b/term-utils/agetty.8
index 66f1a0389..bb2feea39 100644
--- a/term-utils/agetty.8
+++ b/term-utils/agetty.8
@@ -333,6 +333,9 @@ 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.
+.TP
s
Insert the system name, the name of the operating system. Same as `uname \-s'.
See also \\S escape code.