Date: Sun, 26 May 1996 19:43:30 +0200 (MET DST) From: grog@lemis.de (Greg Lehey) To: joerg_wunsch@uriah.heep.sax.de Cc: hackers@freebsd.org (FreeBSD Hackers) Subject: Re: Missing functions in FreeBSD. Message-ID: <199605261743.TAA00474@allegro.lemis.de> In-Reply-To: <199605220952.LAA13960@uriah.heep.sax.de> from "J Wunsch" at May 22, 96 11:52:14 am
next in thread | previous in thread | raw e-mail | index | archive | help
J Wunsch writes: > > As Michael Reifenberger wrote: > >> Could we integrate a dump termio.h with wrappers to the termios >> functions/structures into the sourcetree (a'la malloc.h)? > > Doesn't make much sense (and strictly spoken, termios is not > downgradable to termio, since termio doesn't support the concept of > distinct input and output speeds -- but neither does our hardware ;). Neither does System V. > Converting something from termio to the Posix-blessed termios is > usually done in less than half an hour. The biggest difference aside > from the appended `s' is usually that you gotta replace the ioctl > cruft by tcgetattr()/tcsetattr(), and the speed stuff by cfsetspeed(). > > If your application requires more than half an hour to convert it, > it's perhaps better to rewrite it instead. :-) Hmmm. Greg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605261743.TAA00474>