* Gerfried Fuchs [Tue, 14 Feb 2006 15:37:42 +0100]:

Hey Alfie,

> 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.

Did you receive any answer from upstream about this patch? I'd love to
see this fixed for etch, and since I've using modified packages for some
months now without trouble, I'd say it's right and safe to upload, and
there is still time to revert before the freeze if some user experiences
trouble with it (which I doubt).

Thoughts?

Thanks,

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
                                    Listening to: Ellos - Lo conseguirás


Reply via email to