From d689166b11c5ee89a754d46cc1ce09f27bde0a31 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 17 Feb 2016 12:53:20 +0100 Subject: agetty: support \e{name} for issue file Signed-off-by: Karel Zak --- term-utils/agetty.8 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'term-utils/agetty.8') 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'. -- cgit v1.2.3-55-g7522