From owner-freebsd-hackers Thu Mar 12 19:18:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA05794 for freebsd-hackers-outgoing; Thu, 12 Mar 1998 19:18:18 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from fly.HiWAAY.net (root@fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA05684 for ; Thu, 12 Mar 1998 19:18:04 -0800 (PST) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt3-213.HiWAAY.net [208.147.146.213]) by fly.HiWAAY.net (8.8.8/8.8.6) with ESMTP id VAA25321; Thu, 12 Mar 1998 21:18:02 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by nospam.hiwaay.net (8.8.8/8.8.4) with ESMTP id UAA02512; Thu, 12 Mar 1998 20:44:46 -0600 (CST) Message-Id: <199803130244.UAA02512@nospam.hiwaay.net> X-Mailer: exmh version 2.0.1 12/23/97 To: Zoltan Sebestyen cc: FreeBSD hackers mailinglist From: David Kelly Subject: Re: A Question about FreeBSD and Linux(programming) In-reply-to: Message from Zoltan Sebestyen of "Wed, 11 Mar 1998 17:43:58 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 12 Mar 1998 20:44:46 -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Zoltan Sebestyen writes: > Hi, > > I have to write an application on Linux that deals with the serial port. > I have installed a Redhat besides the FreeBSD(I didn't erase FBSD it'll > stay there until the end of the world), but finally gave up to use it. > Does anyone(for example Doug White ;-) know if the termio functions (like > tcgetattr tcsetattr tcflush tcdrain) behave on FBSD like on Linux? I don't see a specific mention of FreeBSD or Linux in Greg Lehey's book, "Porting Unix Software" but chapter 15, "Terminal Drivers", pages 269 thru 306 should prove interesting reading. Got my copy from http://www.bookpool.com, a little over $20. Can't hardly believe my note inside the cover, purchased 5/96. Seems like yesterday. -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message