Subject: Re: linux termios flags
To: Berndt Josef Wulf <wulf@ping.net.au>
From: David Brownlee <abs@anim.dreamworks.com>
List: port-i386
Date: 02/13/1999 00:27:42
	Some of the values would be in:

http://www.freebsd.org/cgi/man.cgi?query=termios&apropos=0&sektion=0&manpath=Red+Hat+Linux%2Fi386+5.0&format=html
	
	There is a TCIOFLUSH which _might_ be what the last one does.

	For the rest your best bet may be to extract a termios.h from a
	linux distribution and see if it has any comments :)

		David/absolute

	"Its just another ultimate battle of good against evil..."

On Sat, 13 Feb 1999, Berndt Josef Wulf wrote:

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