[Pkg-shadow-devel] Bug#221290: Bug #221290 still here: screen garbled after entering high-ascii characters at login prompt

Tomasz Kłoczko kloczek at zie.pg.gda.pl
Tue Sep 27 11:18:52 UTC 2005


On Tue, 27 Sep 2005, Christian Perrier wrote:

> I was waiting for upstream resync to deal with this bug report but it
> still seems to be here.
> 
> When entering high-ascii characters at the login prompt (usually by
> mistake), such as "é", and then hitting Backspace to remove them,
> they're not erased at the prompt...and, when entering the correct
> login and validating, login switched the terminal to all-caps.
> 
> This happens in the Linux console. Nothing bad happens in a terminal,
> eitheer UTF-8 or ISO....
> 
> Eugenyi, would you by chance have an advice about this ?
> 
> I'm not sure it completely belongs to login, however it certainly
> needs investigation.
> 
> Tomasz, can you reproduce it on non Debian systems ?

No but this must be getty/stty and/or terminal definition related.

Look at output of:

[kloczek at test1 ~]$ infocmp -I | grep kbs
        is2=\E[!p\E[?3;4l\E[4l\E>, il1=\E[L, kb2=\EOE, kbs=\177,
                                                           ^^^^
[kloczek at test1 ~]$ stty -a | grep erase -w
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 = M-^?;
                              ^^

and compare kbs terminfo definition (or termcap if used getty is linked 
with libtermcap) and erase sequence on stty output.

kloczek
-- 
-----------------------------------------------------------
*Ludzie nie majÄ
 problemów, tylko sobie sami je stwarzajÄ
*
-----------------------------------------------------------
Tomasz KÅ‚oczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek at rudy.mif.pg.gda.pl*


More information about the Pkg-shadow-devel mailing list