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 09:22:43
	Any chance you could bundle up the changes into pkgsrc?
	ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/Packages.txt

		David/absolute

                  -=-  Resentment is a renewable resource  -=-

On Sun, 14 Feb 1999, Berndt Josef Wulf wrote:

> G'day again,
> 
> I believe to have fixed the problems porting TNT (TNc TErminalprogram)
> to NetBSD....
> 
> 	a.) delete all termios.c_oflag which are not recognized in
> 	    NetBSD
> 
> 	b.) substituted TCIOFLUSH for TCFLSH
> 
> 	c.) link binaries against ncurses instead of termcap
> 
> The resulting modified source code will be available from:
> 
> 	ftp://ftp.ping.net.au/pub/unix/ham/tnt-1.6-src-netbsd.tar.gz
> 
> The required changes will be submitted to the developer of TNT which
> hopefully will implement these into the next release.
> 
> This package has been tested off-air using a TNC-2 (MFJ-1270B) with
> NORD><LINK 2.7 software on NetBSD-1.3.2-i386.
> 
> As always, I welcome any feedback....
> 
> Enjoy
> 
> cheerio Berndt
> -- 
> Name	: Berndt Josef Wulf
> E-Mail	: wulf@ping.net.au
> Sysinfo	: DEC AXPpci33+, NetBSD-1.3.2
> 
> 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
> > 
> > 
>