summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.8
diff options
context:
space:
mode:
authorKarel Zak2012-11-22 11:14:02 +0100
committerKarel Zak2012-11-22 11:17:51 +0100
commitcb872ac99d66247496af14bf30605536d279a759 (patch)
tree1a1900bb12a27fdb59ce99b127d8f9abff301579 /term-utils/agetty.8
parentlibblkid: (gpt) don't modify in memory buffers (diff)
downloadkernel-qcow2-util-linux-cb872ac99d66247496af14bf30605536d279a759.tar.gz
kernel-qcow2-util-linux-cb872ac99d66247496af14bf30605536d279a759.tar.xz
kernel-qcow2-util-linux-cb872ac99d66247496af14bf30605536d279a759.zip
agetty: add --{erase,kill}-chars options
We need way to disable the default kill and erase agetty chars to make the getty usable for Active Directory users with '@' in username. It seems that the most extendible solution is to add options that allow to complete control additional erase/kill chars. If you specify empty strings then the chars are disabled at all. Note that this patch is backwardly compatible. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=870854 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/agetty.8')
-rw-r--r--term-utils/agetty.811
1 files changed, 11 insertions, 0 deletions
diff --git a/term-utils/agetty.8 b/term-utils/agetty.8
index e51017d0d..2110cae5c 100644
--- a/term-utils/agetty.8
+++ b/term-utils/agetty.8
@@ -29,6 +29,7 @@ The program can handle 7-bit characters with even, odd, none or space
parity, and 8-bit characters with no parity. The following special
characters are recognized: @ and Control-U (kill); #, DEL and
back space (erase); carriage return and line feed (end of line).
+See also \fB\-\-erase-chars\fP and \fB\-\-kill-chars\fP options.
.IP o
Optionally deduces the baud rate from the CONNECT messages produced by
Hayes(tm)-compatible modems.
@@ -217,6 +218,16 @@ By default the hostname is only printed until the first dot. With
this option enabled, the full qualified hostname by gethostname()
or if not found by getaddrinfo() is shown.
.TP
+\-\-erase\-chars \fIstring\fP
+This option specifies additional chars that should be interpreted as a
+backspace (ignore previous char) when user specifies login name. The default is
+\'#\', specify empty string to disable the default.
+.TP
+\-\-kill\-chars \fIstring\fP
+This option specifies additional chars that should be interpreted as a
+kill (ignore all previous chars) when user specifies login name.
+The default is \'@\', specify empty string to disable the default.
+.TP
\-\-version
Output version information and exit.
.TP