From owner-freebsd-current Wed May 22 03:15:17 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA12777 for current-outgoing; Wed, 22 May 1996 03:15:17 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id DAA12700 for ; Wed, 22 May 1996 03:15:03 -0700 (PDT) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id MAA26630; Wed, 22 May 1996 12:14:20 +0200 Received: by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id MAA15661; Wed, 22 May 1996 12:14:17 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id LAA13960; Wed, 22 May 1996 11:52:14 +0200 (MET DST) From: J Wunsch Message-Id: <199605220952.LAA13960@uriah.heep.sax.de> Subject: Re: Missing functions in FreeBSD. To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Wed, 22 May 1996 11:52:14 +0200 (MET DST) Cc: root@totum.plaut.de (Michael Reifenberger) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from Michael Reifenberger at "May 22, 96 09:43:45 am" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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 ;). 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. :-) -- 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. ;-)