package rungetty forwarded 309866 [EMAIL PROTECTED] tags 309866 + upstream thanks
* Adeodato Simó <[EMAIL PROTECTED]> [2005-05-20 08:22]: > Anyway, that is uninteresting, sorry. The thing is that the sequence > that rungetty uses to clear the screen also gets the terminal back to > single byte mode. This is reproducible by loging in, running > unicode_start (run 'vt-is-UTF8' to check that it worked), log out, log > in again and run vt-is-UTF8. Make sure that the rungetty you use > doesn't have --noclear in /etc/inittab. I am not too sure if this is a bad thing, resetting the terminal... The one-line fix would be: #v+ --- rungetty-1.2.orig/rungetty.c +++ rungetty-1.2/rungetty.c @@ -484,7 +484,7 @@ /* Write a reset string to the terminal. This is very linux-specific and should be checked for other systems. */ if (!noclear) - write (0, "\033c", 2); + write (0, "\033[H\033[J", 6); sa.sa_handler = SIG_DFL; sa.sa_flags = 0; #v- Though, like I said, I'm not too sure if this change is a sane one. I sent a mail to upstream to check with him. In the meantime feel free to apply that locally and tell me about the things you have experienced. So long, Alfie -- Linux - welch ein richtungsweisender Gedanke. -- <http://www.sloganizer.de/>
signature.asc
Description: Digital signature