From 6a4c63d9d90b24d770f887f8cd89fd20f8378267 Mon Sep 17 00:00:00 2001 From: Moritz Muehlenhoff Date: Thu, 19 Jul 2007 00:29:13 +0200 Subject: agetty: 8 bit characters on the Linux console lead to input corruption 8 bit characters on the Linux console lead to input corruption (e.g. German umlauts). This is easily reproducable by inserting a login name with umlaut and typing backspace afterwards. agetty supports tty parity, which leads to getty treating these characters as a 7bit char with set parity. This patch by Samuel Thibault adds a new option -8 which disables parity detection for ttys not used for serial logins. | Note: With this patch, 8bit characters are just silently dropped (that's | the expected getty behavior), this is quite neat since you then don't | even need to backspace your 8bit characters :) Signed-off-by: LaMont Jones --- login-utils/agetty.8 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'login-utils/agetty.8') diff --git a/login-utils/agetty.8 b/login-utils/agetty.8 index b1ade5feb..5bde294b9 100644 --- a/login-utils/agetty.8 +++ b/login-utils/agetty.8 @@ -3,7 +3,7 @@ agetty \- alternative Linux getty .SH SYNOPSIS -.BR "agetty " [\-ihLmnw] +.BR "agetty " [\-8ihLmnw] .RI "[-f " issue_file ] .RI "[-l " login_program ] .RI "[-I " init ] @@ -13,7 +13,7 @@ agetty \- alternative Linux getty .I baud_rate,... .RI [ term ] .br -.BR "agetty " [\-ihLmnw] +.BR "agetty " [\-8ihLmnw] .RI "[-f " issue_file ] .RI "[-l " login_program ] .RI "[-I " init ] @@ -92,6 +92,9 @@ whatever init(8) may have set, and is inherited by login and the shell. .fi .ad .TP +\-8 +Assume that the tty is 8-bit clean, hence disable parity detection. +.TP \-h Enable hardware (RTS/CTS) flow control. It is left up to the application to disable software (XON/XOFF) flow protocol where -- cgit v1.2.3-55-g7522