Hello Alexander, On Fri, Sep 30, 2005 at 12:24:12AM +0300, Alexander Gattin wrote: > On Thu, Sep 29, 2005 at 05:53:40PM +0200, Helge Kreutzmann wrote: > > first of all, I found out, that if I enter a "sane" login name (does > > not need to exist) and press enter twice, then I can safely enter > > umlauts, even delete them (no visual artefacts) and everything is fine > > after login. > > This is because several subsequent "login:" prompts are > provided and processed by /bin/login, not by getty.
I thought so, hence that's why I tested the re-occurence after three
failed attempts.
> > correctly). So I guess the next step would be to find out where the
> > default settings are stored, so that the wrapper could retrieve the
> > default set instead of hard coded corrections?
>
> IMHO, getty could be patched easily, maybe some option
> may be added to suppress "tty-bitness-autodetection"
> feature and this would be done by people with more
> experience WRT linux console (and other kinds of ttys),
> so I wouldn't perhaps want to extend/improve the
> wrapper script further.
Yes, this sound great. By adding a switch, "legacy" systems could
remain unaltered, while "modern" systems could get "sane" defaults,
i.e., settings are not messed with.
> But more important reason is that I just don't know how
> to find this "sane" set of options/defaults for linux
> virtual console... :-/ I.e. at the moment I don't have
> any clue about this.
> IMHO, all this tty-tuning should be done independently
> of locale/system locale etc. There are some scripts for
> setting keymap, console fonts, switching virtual
> console to utf8 mode and so on, and I think that _only_
> these scripts should "tune" linux virtual consoles,
> while getty shouldn't touch them afterwards...
So I think this "switch" would simply disable all alteration of
console settings. Then those scripts you mention could set up the
environment later as and if desired, without side-effects from getty
(which are hard to catch, as some "strange" characters-sequence can
cause them). Also, if the admin requires this auto-dection for some
terminals, he would simply not set the switch.
> On my system /sbin/getty is run with nothing regarding
> locale in environment (you can check this with
> `ps -C getty ue | less`), so it's effectively in "POSIX"
> locale, I think.
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 32370 0.0 0.0 2652 504 tty5 Ss+ 17:52 0:00 /sbin/getty
38400 tty5
root 1186 0.0 0.0 2684 504 tty6 Ss+ 17:52 0:00 /sbin/getty
38400 tty6
root 17445 0.0 0.0 2676 504 tty8 Ss+ 17:52 0:00 /sbin/getty
38400 tty8
root 7051 0.0 0.0 2692 500 tty9 Ss+ 17:52 0:00 /sbin/getty
38400 tty9
Greetings
Helge
--
Dr. Helge Kreutzmann, Dipl.-Phys. [EMAIL PROTECTED]
gpg signed mail preferred
64bit GNU powered http://www.itp.uni-hannover.de/~kreutzm
Help keep free software "libre": http://www.ffii.de/
pgpKw92Kd2doG.pgp
Description: PGP signature

