Hi,
I'm probably overlooking something very obvious, but I need to find a way to be able to monitor the status of the CTS line on the serial port from within a REXX script. I've got an external device which will toggle this status, and I need to write a script to have a system do one thing if CTS is high, another if CTS is low.
Unfortunately I havn't found this yet. Anyone know how to do this? Again, its probably simple, and I'm just overlooking something.
Thanks.
There are REXX libraries like rexxasync (?) which most probably let you do what you like. But I never did such things in REXX. Another possibility will be to parse the output of the system command 'mode com1'. At least under 4os2 I see here the status of CTS. Not really sure but probably the standard command shell will do it too.