The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
Request terminal state |
Post Reply |
Author | ||||
Jamie
Newbie Joined: August 03 2017 Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: August 03 2017 at 1:41pm |
|||
I would like to request terminal state and then subsequently restore terminal state with AccuTerm from within UniVerse Basic.
Just to add a point of reference and context, I was able to force the user's terminal tp extended screen size. In the AccuTerm user manual, the command to do that was listed as follows:
I was able to successfully implement the forced changed from within UniVerse Basic as follows:
The command to request terminal state is listed in the AccuTerm manual as:
And the command to restore terminal state is listed in the manual as:
I'm new to this, and don't have prior exposure to this sort of notation. I was able to determine that CSI is a char(155), DCS is a char(144), and ST is a char(156). But past that, I have not had any luck implementing this. If anyone can offer any guidance, I would be very grateful. Thank you. Jamie LaFountain Application Programmer D&W Diesel |
||||
PSchellenbach
Admin Group Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
|
|||
Hi Jamie -
The CSI and DCS commands are only valid if you are running AccuTerm in VTxxx emulation. They do not work under other emulations. What terminal type are you using for your applications? Thanks, Pete |
||||
Jamie
Newbie Joined: August 03 2017 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
|||
Pete,
Presently, I am running in ADDS Viewpoint AS Enhanced emulation. Prior to my original post, I did try to get the functionality working while I was in VT100 emulation, but had no luck. Assuming VT100 emulation, could you please offer some guidance on this particular functionality? Thank you very much. Jamie |
||||
PSchellenbach
Admin Group Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
|
|||
Hi Jamie -
Here's a small program to retrieve the current screen mode (extended or normal) using an AccuTerm script:
Hope this helps. Thanks, Pete |
||||
Jamie
Newbie Joined: August 03 2017 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
|||
Pete,
Thanks very much for that demonstration. I really appreciate your time and expertise. Jamie |
||||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |