Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > Installation & Setup
  New Posts New Posts RSS Feed - <cntrl>d locks Adds VP session
  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 Locked<cntrl>d locks Adds VP session

 Post Reply Post Reply
Author
Message
bbartlett View Drop Down
Newbie
Newbie


Joined: May 05 2009
Location: United States
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote bbartlett Quote  Post ReplyReply Direct Link To This Post Topic: <cntrl>d locks Adds VP session
    Posted: May 11 2009 at 4:08am

Is there a way to disable keys in Accuterm?

For example, <cntrl>-d while useful on a D3 system (works with the update processor and stack) is not useful on other MV systems. If an Adds VP terminal emulation is used and a system echos the <cntrl>-d back to the terminal, then the session locks up and two resets are needed.
 
I am looking for a way to disable or remap a <Cntrl>-d
TIA - Bob
Back to Top
bneylon View Drop Down
Senior Member
Senior Member


Joined: March 03 2004
Location: United States
Status: Offline
Points: 103
Post Options Post Options   Thanks (0) Thanks(0)   Quote bneylon Quote  Post ReplyReply Direct Link To This Post Posted: May 11 2009 at 7:32am
Check out the Help, "Programming Accuterm",

ESC STX F t s d k data CR

Bruce

Back to Top
bbartlett View Drop Down
Newbie
Newbie


Joined: May 05 2009
Location: United States
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote bbartlett Quote  Post ReplyReply Direct Link To This Post Posted: May 12 2009 at 4:37am
Bruce - Thanks for your reply. I don't mean to be dense; however it's my understanding that ESC STX F only works for function and keypad keys.
Back to Top
bneylon View Drop Down
Senior Member
Senior Member


Joined: March 03 2004
Location: United States
Status: Offline
Points: 103
Post Options Post Options   Thanks (0) Thanks(0)   Quote bneylon Quote  Post ReplyReply Direct Link To This Post Posted: May 12 2009 at 4:41am
Arrrgh
One of those days where the synapses are crossed. :-)
Back to Top
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 Posted: May 12 2009 at 8:00am
Hi Bruce -

You can reprogram Ctrl+D (or just about any key on the keyboard) if you like. Remember if you do this, when some program stops working because you need to send a Ctrl+D for some special feature, that you have the key disabled. You need to use a small script to program non-standard (function keys and editing keys can be programmed with the documented escape sequence).

Specifically, to disable Ctrl+D, use:
PRINT CHAR(27):CHAR(2):'P InitSession.Fkeys(2068)="[]"':CHAR(13):


The index, 2068, is comprised of the virtual key number for D (68) with the Control modifier (2000). The string "[]" is used to indicate a disabled key. If you used an empty string "" AccuTerm would assume you want to use the default value for the key, which is CHAR(4). The [ ] syntax usually denotes a script, but in this case, the script is empty, so it is basically a NOP.

Thanks,

Pete

Back to Top
bbartlett View Drop Down
Newbie
Newbie


Joined: May 05 2009
Location: United States
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote bbartlett Quote  Post ReplyReply Direct Link To This Post Posted: May 12 2009 at 8:50am
Perfect. Thanks Pete and Bruce. That works great.
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.