Shell window number of rows & columns (ARexx)
Hi all,
I'm learning ARexx and need some help with a script. I would like to get the current number of rows and columns of the Shell window where it is running on. I'm trying issuing a Window Status Report to the console. Something like: WSR = '9B'X || '36'X || '6E'X SAY WSR But I don't know how to parse the results from the input stream. Any clue? Is there another way to get that info? Thx in advance |
Quote:
This *would* work with ViNCEd which also sends the report in the cooked mode. I would there open a channel to the file "*", and read and write from this file instead of working with "say". |
Thank you for your answer Thomas.
I've coded a simple C program which does what you said. It can be called from ARexx as any regular CLI command to get the info. Here's the link in case anyone else wants to use it on his/her own ARexx scripts. https://aminet.net/package/util/cli/gcr10 |
All times are GMT +2. The time now is 20:39. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.