From owner-freebsd-questions Fri Jan 28 21:41: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fremont.bolingbroke.com (adsl-216-102-90-210.dsl.snfc21.pacbell.net [216.102.90.210]) by hub.freebsd.org (Postfix) with ESMTP id 7FEA6158DA for ; Fri, 28 Jan 2000 21:41:06 -0800 (PST) (envelope-from ken@bolingbroke.com) Received: from localhost (ken@localhost) by fremont.bolingbroke.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id VAA11006; Fri, 28 Jan 2000 21:41:03 -0800 (PST) Date: Fri, 28 Jan 2000 21:41:03 -0800 (PST) From: Ken Bolingbroke X-Sender: ken@fremont.bolingbroke.com To: courtney@whtz.com Cc: questions@FreeBSD.ORG Subject: Re: Serial ports in perl In-Reply-To: <85256874.0059FE6B.00@mail.whtz.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You read and write to the appropriate device file just as you would for any other file, essentially. That said, I haven't actually done it from Perl yet. I have played around with it a bit in C, and it's mostly just file I/O under UNIX. See 'man sio' for more information, including which device file you want to use. Ken Bolingbroke hacker@bolingbroke.com On Fri, 28 Jan 2000 courtney@whtz.com wrote: > > > Hey everyone- > > Question for the brain trust- > > how would I go about access a serial port in FreeBSD in perl (I.E. I want > to send a string from perl out the serial port...) > > can anyone shed some light on how I'd go about doing this?? > > Thanks as always! > > Bernie > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message