Subject: linux termios flags
To: None <port-i386@netbsd.org>
From: Berndt Josef Wulf <wulf@ping.net.au>
List: port-i386
Date: 02/13/1999 10:50:11
G'day,

I've a problem to convert termios.c_oflags from Linux to NetBSD and
need your help.

The following lines are part of the source code for a TNC console
package which originally was written for Linux:

	termios.c_oflag = OPOST | TAB3 | ONLRET;
	termios.c_oflag &= ~(OCRNL | ONLCR | ONOCR);

What is the equivalent for TAB3, ONLRET, ONOCR flags? These are not
defined in termios.h.

Further down the following line is defined:

        ioctl(sh_stat[channel].pty, TCFLSH, 2)

I can't seem to find a definition for TCFLSH. 

Anyone with some ideas?

cheerio Berndt
-- 
Name	: Berndt Josef Wulf
E-Mail	: wulf@ping.net.au
Sysinfo	: DEC AXPpci33+, NetBSD-1.3.2