The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
SUI resets keyboard to case sensitive |
Post Reply |
Author | |
PSchellenbach
Admin Group Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
Posted: May 18 2007 at 4:17am |
Hi Marshall -
I think you need to be more selective about where you change the CASING in the SUI programs. The SUI.CASING include item is used to make the subroutine it is included in perform case sensitive compares. It is only included in SUI.INPUT.CHAR and SUI.GET.TERM. SUI.GET.TERM compiles the terminal key definitions, and SUI.INPUT.CHAR uses that information to identify command keys. The Wyse 60 terminal definition has defines ESC "R" as the DEL command (the Wyse Del Line/Del Char key), and ESC "r" as the INS command (the Wyse Ins/Repl key). Changing CASING to OFF for these routines would remove the distinction between these two keys (there may be others as well). Its not clear from the D3 documentation whether CASING inside a subroutine affects how the calling program performs compares, but it seems likely that this is the real problem here. It might be necessary to check the state of CASING using SYSTEM(28) and restore it before RETURNing from SUI.GET.TERM and SUI.INPUT.CHAR. Thanks, Pete |
|
mlucas67
Senior Member Joined: February 12 2007 Location: United States Status: Offline Points: 103 |
Post Options
Thanks(0)
|
Fixed, found the SUI.CASING include and commented it out and recompiled both SUI.INPUT.CHAR and SUI.GET.TERM (this one was not listed in the documentation as needing to be recompiled, found it by searching the include lines).
Marshall
|
|
mlucas67
Senior Member Joined: February 12 2007 Location: United States Status: Offline Points: 103 |
Post Options
Thanks(0)
|
My users are used to not having to be in CAPS lock mode while using our system. I just wrote my first SUI screen for release to the users (I've been using it for my screens but I always have CAPS lock on while in D3). When they exit the routine they suddenly are required to turn on CAPS lock. Any ideas how I can reset this? Would a PRINT TERM.RESET do it?
Marshall
|
|
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 |