27 вересня 2005 о 18:23 +0200 Helge Kreutzmann написав(-ла):
> Hello,
> On Tue, Sep 27, 2005 at 05:09:41PM +0300, Eugeniy Meshcheryakov wrote:
> > You can switch terminal to all-caps more easyly: just enter you login in
> > all-caps and then password as usual. So, I think it (all-caps) is normal
> > behavior (for historic reasons probably).
> 
> Yikes! And no, I haven't seen all caps during my bug experience.
> 
> > I tried to look at problem with erasing of characters and found that
> > kernel uses undocumented (in termios(3)) flag IUTF8. If this flag is not
> > set kernel tty driver will interpret characters as single-byte. So some
> > program should set this flag when terminal is in UTF8 mode... 
> > 
> > Attached patch fixes this problem for 'login' when it run under UTF-8
> > locale. But on usual system it is run under C locale :(. So, I think
> > some other program should do this (console-tools/kbd?), but this will
> > not fix problem for terminal emulators :(.
> 
> Yes, I do not (yet) use UTF8, so either C or my "normal" locale
> ([EMAIL PROTECTED]) (I am not sure how to find that out). But as posted in my
> other mail, somehow login "changes" the values which are seen later on
> with "stty -a". Probably (as with the uppercase described above) a
> historic decision, if login encounters certain cases, it "set" the
> environment in a certain way? If that is not documented somwhere, than
> login should simply not do this. If yes, then the admin should be able
> to "undo" this in a defined way, if he wants.
> 
> Should I try the patch nevertheless?
It will not change anything if you do not use UTF8.

-- 
Eugeniy Meshcheryakov

Kyiv National Taras Shevchenko University
Information and Computing Centre
http://icc.univ.kiev.ua

Attachment: signature.asc
Description: Digital signature

Reply via email to