Date: Fri, 28 Jan 2000 21:41:03 -0800 (PST) From: Ken Bolingbroke <hacker@bolingbroke.com> To: courtney@whtz.com Cc: questions@FreeBSD.ORG Subject: Re: Serial ports in perl Message-ID: <Pine.BSF.4.05.10001282131030.10082-100000@fremont.bolingbroke.com> In-Reply-To: <85256874.0059FE6B.00@mail.whtz.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10001282131030.10082-100000>