Re: [Oorexx-devel] Need help reading/writing to a "com" port...

2016-03-07 Thread Jon Wolfers
Jacques Bouchard was having trouble posting to this thread. Here is his post. Jon Hello Long ago I wrote a REXX program to read a counter connected to my PC via a port com. Recently this program was no longer working. I used the forum entry

Re: [Oorexx-devel] Need help reading/writing to a "com" port...

2016-02-12 Thread J. Leslie Turriff
On Friday 12 February 2016 16:39:16 Erico Mendonca wrote: > That sounds odd. Device allocation on most distros is dynamic, and has been > for quite some time, including openSUSE. The device names are regulated by > LANANA, and follow the Unix major/minor notation. A full listing can be > found

Re: [Oorexx-devel] Need help reading/writing to a "com" port...

2016-02-12 Thread Erico Mendonca
Date: Thu, 11 Feb 2016 20:43:03 -0600 From: "J. Leslie Turriff" > It's been quite a while since I attempted to access a device using > ttyUSBx; >at least on my distro, I gave up when I found that the x was hardcoded in the >driver and the author didn't want to

Re: [Oorexx-devel] Need help reading/writing to a "com" port...

2016-02-11 Thread J. Leslie Turriff
On Sunday 07 February 2016 08:24:07 Bill Turner, WB4ALM wrote: > In an attempt to use "setserial" I get an error message as follows... > > $ setserial /dev/ttyUSB0 baud_base 1200 >     Cannot get serial info: Inappropiate ioctl for device > > so far, I have not been able to determine exactly what

Re: [Oorexx-devel] Need help reading/writing to a "com" port...

2016-02-07 Thread CVBruce
None of which explains how you were able to get it to work with minicom. Sent by Magic! > On Feb 7, 2016, at 6:24 AM, Bill Turner, WB4ALM wrote: > > > I would like to thank everybody that has provided ideas on serial port > communications using ooRexx. > > I do not have a

Re: [Oorexx-devel] Need help reading/writing to a "com" port...

2016-02-07 Thread Bill Turner, WB4ALM
I would like to thank everybody that has provided ideas on serial port communications using ooRexx. I do not have a final solution yet, but with your help I have had partial success. "stty" says that it has changed the port speed, but it really has not. Using one of my more sophisticated

Re: [Oorexx-devel] Need help reading/writing to a "com" port...

2016-02-06 Thread CVBruce
peleotrove.com> > > 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 Mik

Re: [Oorexx-devel] Need help reading/writing to a "com" port...

2016-02-06 Thread Erico Mendonca
> From: "Mike Cowlishaw" <m...@speleotrove.com> > 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 b

Re: [Oorexx-devel] Need help reading/writing to a "com" port...

2016-02-05 Thread Mike Cowlishaw
Under Windows or OS/2 the MODE command is used to set baud rates etc. (try mode /? for details). Below is an old .rex program I have (I think it works under Windows but haven't needed to use it for years); it used the mode command. Mike - - - - - /* Simple dialing command -- assumes Hayes

Re: [Oorexx-devel] Need help reading/writing to a "com" port... - Back to the subject at hand

2016-02-05 Thread Lee Peedin
Never used it, but there's a RxFuncAdd library out there in the wonderful world of the internet called "RxComm". It was written by Christian Kulovits (Austria). Its stated purpose: "RxComm is a REXX Communications application programming interface (API) package that provides access to serial

Re: [Oorexx-devel] Need help reading/writing to a "com" port...

2016-02-04 Thread CVBruce
Another thought I had is to use something like socat. At least in Linux. socat is a command line program that can hook up inputs and outputs. So you could hook up your /dev/… device to a Named Pipe, or even a socket. Your Rexx program can then use the named pipe of socket to communicate

[Oorexx-devel] Need help reading/writing to a "com" port...

2016-02-02 Thread Bill Turner, WB4ALM
This has been cross-posted to "ooRexxUsers" and "ooRexx-devel" == I am now a volunteer and am associated with a County Emergency Operations Center, and I need to put some "very old" radio equipment back into service... ...some of which