[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sysvinit] Incorrect handling of UTF-8 in 2.88dsf-1?
From: |
Dr. Werner Fink |
Subject: |
Re: [sysvinit] Incorrect handling of UTF-8 in 2.88dsf-1? |
Date: |
Tue, 27 Apr 2010 14:34:30 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Mon, Apr 26, 2010 at 05:46:11PM +0200, Werner Fink wrote:
> > */
> > - tty.c_iflag = IGNPAR|ICRNL|IXON|IXANY;
> > + tty.c_iflag = IGNPAR|ICRNL|IXON|IXANY
> > +#ifdef IUTF8 /* Not defined on FreeBSD */
> > + | (tty.c_iflag & IUTF8)
> > +#endif /* IUTF8 */
> > + ;
> > tty.c_oflag = OPOST|ONLCR;
> > tty.c_lflag = ISIG|ICANON|ECHO|ECHOCTL|ECHOPRT|ECHOKE;
> >
> >
> > The code in question now look like this:
> >
> > tty.c_iflag = IGNPAR|ICRNL|IXON|IXANY;
> > #ifdef IUTF8 /* Not defined on FreeBSD */
> > tty.c_iflag |= IUTF8;
> > #endif /* IUTF8 */
> >
> > As far as I can tell, this do not work, as it will not pass on the
> > existing setting of the IUTF8 bit, but instead always set it if IUTF8
> > is defined.
> >
> > Werner, you applied it. Do I misunderstand something?
>
> Oops ... yes indeed this may not work on a serial terminal.
I've fixed my mistake in HEAD.
Werner
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr