Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > Smart User Interface
  New Posts New Posts RSS Feed - SUI resets keyboard to case sensitive
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum LockedSUI resets keyboard to case sensitive

 Post Reply Post Reply
Author
Message Reverse Sort Order
PSchellenbach View Drop Down
Admin Group
Admin Group

Moderator

Joined: December 15 2003
Location: United States
Status: Offline
Points: 2150
Post Options Post Options   Thanks (0) Thanks(0)   Quote PSchellenbach Quote  Post ReplyReply Direct Link To This Post Topic: SUI resets keyboard to case sensitive
    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
Back to Top
mlucas67 View Drop Down
Senior Member
Senior Member


Joined: February 12 2007
Location: United States
Status: Offline
Points: 103
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlucas67 Quote  Post ReplyReply Direct Link To This Post Posted: May 16 2007 at 2:59am
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
Back to Top
mlucas67 View Drop Down
Senior Member
Senior Member


Joined: February 12 2007
Location: United States
Status: Offline
Points: 103
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlucas67 Quote  Post ReplyReply Direct Link To This Post Posted: May 16 2007 at 2:35am
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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.