> From: "Mike Cowlishaw" <[email protected]>
> Subject: Re: [Oorexx-devel] Need help reading/writing to a "com"
>         port...
>
>
> Under Windows or OS/2 the MODE command is used to set baud rates etc. (try
> mode /? for details).
>

I believe Mike's program should work fine under Linux. You just need to 
exchange the port name to /dev/ttyS0 (or your device), and use the "setserial" 
utility to set the baud rate.

Additionally, under Linux there are ways to use Bash to read from the port with 
a "while read -r" . To write to it, just "echo" what you need.
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to