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 https://sourceforge.net/p/oorexx/discussion/408478/threa

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 here

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 bother changing it because

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 t

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

2016-02-07 Thread Mike Cowlishaw
> > I would also like to thank --MASTER GURU-- M.F. Cowlishaw > for not only creating REXX in the first place, but for > sharing his OS2 modem dialer program, which allowed me to > verify that my code was probably correct You're welcome :-). Thanks! > --- 'especially since it now appears

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 final solution yet,

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 piec

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

2016-02-06 Thread CVBruce
%20for%20POSIX%20Operating%20Systems%20Ed5R6.pdf>> Let me know if you find a version newer than the 5th Edition Version 6 that I have. Bruce > On Feb 6, 2016, at 7:06 AM, Erico Mendonca wrote: > > > > From: "Mike Cowlishaw" > > Subject: Re: [Oorexx

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

2016-02-06 Thread Erico Mendonca
> From: "Mike Cowlishaw" > 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 progr

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 mo

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 with

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

2016-02-04 Thread CVBruce
Another thing to try. Make a Loop back tester. RX <-> TX, etc to see if you can echo characters back and forth to your self. If you can’t talk to your self via the test adapter then you know which side of the connection is broken. > On Feb 2, 2016, at 8:46 AM, Bill Turner, WB4ALM wrote: > >

[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 li