*BSD News Article 66419


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.hawaii.edu!ames!usenet.kornet.nm.kr!news.kreonet.re.kr!usenet.seri.re.kr!news.cais.net!news.jsums.edu!gatech!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!cs.tu-berlin.de!uni-erlangen.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: termio on 2.1??
Date: 17 Apr 1996 22:08:11 GMT
Organization: Private FreeBSD site, Dresden
Lines: 22
Message-ID: <4l3q4b$6dq@uriah.heep.sax.de>
References: <HAFNER.96Apr16105242@suncog2.forwiss.tu-muenchen.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6

hafner@suncog2.forwiss.tu-muenchen.de (Walter 'madhouse' Hafner) writes:

>Now i realized, that there's no "termio" support in FreeBSD. All I
>noticed is a "termios.h".

termios is the (Posix-sanctioned) successor of termio.  BSD's never
supported termio, but do support termios now.  SysV's traditionally
had termio, but do understand termios now, too.

So it's best to upgrade your application.  Both methods are rather
similar (and quite different from the Unix 7th Edition and BSD <= 4.3
`sgtty' style), so upgrading should not be too difficult.  For a
typical Unix hacker, it's (depending on the clarity of the code) a
matter of a few hours.  You can often hack around with a bunch of
#ifdef's.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)