Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 1998 13:57:05 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-current@FreeBSD.ORG, roberto@keltia.freenix.fr
Subject:   Re: Missing termios.h output modes?
Message-ID:  <199808270357.NAA20577@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>     Any reason why the ONLCR flag defined in <sys/termios.h>, but not
>> OCRNL?  ssh2 requires OCRNL for its serial interface support.
>
>Because it is not implemented inside tty_compat.c ? :-)

Because it is not implemented in tty.c.  tty_compat.c implements
compatibility cruft for the old tty interface.  ONLCR is probably
implemented because it corresponds to CRMOD in the old tty interface.
OCRNL is probably unimplemented because there is no corresponding flag
in the old tty interface.

OPOST is the only output mode specifed by POSIX.

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808270357.NAA20577>