How to? v15: Can't alias Alt-Z

Jul 21, 2012
32
0
I historically use this alias:
@@Alt-Z @dir

Now with v15, Alt-Z is bound to Undo. Tried to reconfigure it to use Ctrl-Z in TCMD.INI, but this just adds Ctrl-Z as Undo - doesn't unbind Alt-Z. Can't use Alt-Z for my alias.

Any ideas?
 
Sep 11, 2012
100
1
As a preliminary solution: Remap Alt-Z to another key in your TCMD.INI - I am not sure if a "permanent solution" is acutally necessary....
 
May 20, 2008
3,515
4
Elkridge, MD, USA
Use the directive
NormalEditKey=Alt-Z
to unmap Alt-Z (Help > Configuration > Initialization Files > Directives > Key Mapping Directives > Command Line Editing Keys > NormalEditKey)
 
May 20, 2008
3,515
4
Elkridge, MD, USA
As a preliminary solution: Remap Alt-Z to another key in your TCMD.INI - I am not sure if a "permanent solution" is acutally necessary....
You cannot "remap" a key which is assigned a special function; what you need to do is unmap the key. A key which is mapped as the default to perform a specific action is during a specific phase of TCC operation is unmapped by one of the directives NormalKey, NormalEditKey, NormalListKey, or NormalPopupKey. See HELP for the list of key mappings and the applicability of each of these unmapping directives.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
Oh, and you can always assign more than one key to a specific operation. Assigning the same key to more than one operation in the same input phase is an error; typically the first assigned operation results, but there are no guarantees.
 
Similar threads
Thread starter Title Forum Replies Date
nikbackm v15: Problem with ALIAS in command group Support 10
newbie Upgrade from v15 to v21 Support 9
MickeyF problem using COM object in VBScript from v16 x64 TCC but not from v15 32-bit TCC Support 4
vefatica Fixed V14, V15, V16 now corrupt Support 4
S Documentation Webpage not showing latest V15 build Support 0
D Folder/List view changed in v15 Support 8
Dan Glynhampton Fixed v15 sendmail : password encryption problem Support 18
D How to? V15.00.30 -(help!) - Floating view windows don't open Support 1
nikbackm Fixed v15: Issue with @select Support 3
nikbackm Registration problem with v15 Support 16
S list seems to loose focus v15 Support 2
Dan Glynhampton v15 installer question Support 2
C Startup folder not working on v15 Support 6
G Fixed v15.00.27: @SELECT Support 10
H V15 Help: Error in ASSOCIATE topic Support 0
H V15 installer difficult to use with JAWS screen reader Support 0
nikbackm Fixed v15: VIEW - encoding and CSV issues Support 9
Dan Glynhampton Documentation v15 help: Some trivial nitpicking. Support 1
Dan Glynhampton Documentation v15 help: Error in @ISSPACE topic Support 0
Dan Glynhampton Documentation v15 help: Error in @TASCII topic Support 0
Dan Glynhampton Documentation v15 help: A couple of typos Support 0
Dan Glynhampton Documentation v15 help: Minor niggles Support 0
Dan Glynhampton Documentation v15 help: Missing link Support 0
Dan Glynhampton Documentation v15 help: Syntax error in example of @DEC Support 0
Dan Glynhampton Documentation v15 help: More mailto: links Support 2
Dan Glynhampton Documentation v15 help: More odd mailto: links in the help Support 8
Dan Glynhampton Documentation v15 help: Another mailto: link oddity Support 0
Dan Glynhampton Documentation v15 help: Error in @HTMLDECODE topic Support 0
Dan Glynhampton Documentation v15 help: Error in @TUPPER topic Support 0
Dan Glynhampton Documentation v15 help: Error on @TRIMALL function page Support 0
Dan Glynhampton Documentation v15 help: Strange links in @INT topic Support 0
Dan Glynhampton Documentation v15 help: Incorrect Links Support 0
Dan Glynhampton Documentation v15 help: Help for SCREENMONITOR command Support 0
Dan Glynhampton Documentation v15 help: ECHOXERR Help Page Title is Wrong Support 0
Dan Glynhampton Documentation Bad links in v15 help Support 0
Dan Glynhampton Documentation Bad Link/Missing Page in v15 help Support 0
vefatica V15's automatic error emails to JPSoft! Support 3
C v15 not on ftp site? Support 8
Peter Bratton Observations on v15 install Support 4
D Can alias pass parameters to for command? Support 3
Jay Sage Issue with CD_ENTER Alias Support 37
Jay Sage Issue with CD_LEAVE Alias Support 3
Jay Sage WAD Failure of Alias Command with /Z Option Support 14
R @select inside alias gives different (insanely small) window Support 7
kb6ojs ALIAS with multiple commands? Support 9
vefatica Can I alias @@Ctrl-Shift-Alt-u? Support 4
D Alias with setdos no longer works Support 21
vefatica TPIPE in an alias? Support 2
Peter Murschall TCC V26.01.3x Debugging has problems with Alias /R Support 1
Peter Murschall CMDebug 26.01.37 has problems with Alias Support 21

Similar threads