[REQ] Ignore keys redefinition when command line is active
Moderators: Hacker, petermad, Stefan2, white
[REQ] Ignore keys redefinition when command line is active
When I redefine some cursor keys (LEFT=cm_GoToParent, RIGHT=cm_GoToDir), these keys don't work in command line as usual, so I can't move cursor here.
Same with S+LEFT, S+RIGHT, C+DOWN etc.
Workaround for this - to ignore redefinition of Left/Right/Up/Down keys and their combination with Alt, Ctrl, Shift.
BTW, similar bug was fixed year ago:
31.12.04 Added: ignore redefinition of LEFT+RIGHT (cursor keys without any shift keys) in thumbnails view
----
Edit:
I suggest to add an option to wincmd.ini to ignore redefinition of ALL keys when command line is active
Same with S+LEFT, S+RIGHT, C+DOWN etc.
Workaround for this - to ignore redefinition of Left/Right/Up/Down keys and their combination with Alt, Ctrl, Shift.
BTW, similar bug was fixed year ago:
31.12.04 Added: ignore redefinition of LEFT+RIGHT (cursor keys without any shift keys) in thumbnails view
----
Edit:
I suggest to add an option to wincmd.ini to ignore redefinition of ALL keys when command line is active
Last edited by Led on 2006-08-08, 21:39 UTC, edited 2 times in total.
Re: [BUG] Redefinition of cursor keys make command line unus
I don't consider this a bug. You can still type your commands. You can still delete with Backspace. If you need the functionality to move with cursor-keys in the command line you should use another hotkey for cm_gotoparent/cm_gotoDir.Led wrote:When I redefine some cursor keys (LEFT=cm_GoToParent, RIGHT=cm_GoToDir), these keys don't work in command line as usual, so I can't move cursor here.
If I had choosen left for cm_gotoParent I'd expect that I can do the following:
1. [Ctrl]+[Shift]+[enter] to put the filename with complete path into commandline (e.g. my Editor),
2. press left to go to parent dir
3. press some times down to put the cursor on a particular file ( I want to edit)
4. Press [Ctrl]+[Enter] to add the filename and finallly
5. press Enter to open the file in my editor
In this case I were highly disappointed when TC decides to ignore my redeifnition of the left key.
Yes, same with Alt Ctr and shift.Same with S+LEFT, S+RIGHT, C+DOWN etc.
Nope. Workaround: An Autohotkey Script that changes the behavior of these keys in the commandline.Workaround for this - to ignore redefinition of Left/Right/Up/Down keys and their combination with Alt, Ctrl, Shift.
That was a different matter: As the left/right didn't work in Thumbview the functionality of filebrowsing was broken. You couldn't access all files (in thumbview) any more. So the up/down redefining still works in thumbview because with left /right you can still access all files.BTW, similar bug was fixed year ago:
31.12.04 Added: ignore redefinition of LEFT+RIGHT (cursor keys without any shift keys) in thumbnails view
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
When command line is active (has focus), TC must ignore redefinition. But when we return back to panel (using up or down), all redefinition will work. IMHO it is logical.
Yes, I tried to use PowerPro script as a workaround. It sends left/right when command line isn'n empty or window "TInEdit.UnicodeClass" is visible, otherwise it sends messages to TC. But I can't distinguish thumbnail view because it also needs right/left keys.Nope. Workaround: An Autohotkey Script that changes the behavior of these keys in the commandline.
- chandragor
- Member
- Posts: 128
- Joined: 2005-06-01, 10:10 UTC
- Location: Italy
I agree and subscribe. After all, it is just coherent with the normal behaviour without redefinition: arrows and pgup/down/home/end behave differently when command line has focus, and IMHO this should be ALWAYS the same for cursor movement keys when you are on an edit box.Led wrote:When command line is active (has focus), TC must ignore redefinition
BTW, do the redefined cursor keys work when used in inplace editing, as with Shift-F6, or do they ignore redefinition? Their behaviour should be the same as in the command line.
Happy owner of license #12422 since 1997
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
2 ALL
Just try to remap your keys:
LEFT=cm_GoToParent
RIGHT=cm_GoToDir
and work some time with TC. You can work more faster and comfortable!
You dont't need to move your fingers to Enter or Backspace keys from arrow keys.
But WHY a little BUG doesn`t allow me to work with command line?
Does anybody not use command line anymore? Sometimes we need to rum program with arguments.
It is more faster to type 'winword' in command line, than use start menu.
But if you made a mistake, you can't correct it! If you open previous command line,
you can't correct it and run again!
You can't move cursor in command line! WHY?
Ghisler, please, fix this bug. It is very simple for you.
You has already fixed bug with refinition of arrow keys for thumbnail view, it's the same.
PS Sorry for long and emotional sentences, but this behaviour of TC is very annoing.
Just try to remap your keys:
LEFT=cm_GoToParent
RIGHT=cm_GoToDir
and work some time with TC. You can work more faster and comfortable!
You dont't need to move your fingers to Enter or Backspace keys from arrow keys.
But WHY a little BUG doesn`t allow me to work with command line?
Does anybody not use command line anymore? Sometimes we need to rum program with arguments.
It is more faster to type 'winword' in command line, than use start menu.
But if you made a mistake, you can't correct it! If you open previous command line,
you can't correct it and run again!
You can't move cursor in command line! WHY?
Ghisler, please, fix this bug. It is very simple for you.
You has already fixed bug with refinition of arrow keys for thumbnail view, it's the same.
PS Sorry for long and emotional sentences, but this behaviour of TC is very annoing.
Sorry for raising this topic, but problem is not solved. Moreover, it becomes bigger.
I realised that reassigning single letters (withot modificators) makes work very convenient and fast. Command line is still accessible within "C=cm_FocusCmdLine". But my old problem has repeated. When command line is active, typed letters run different commands. Now command line is really unusable
I suggest to add an option to wincmd.ini to ignore redefinition of ALL keys when command line is active.
Mr Ghisler, please answer, do you agree with this suggestion.
I realised that reassigning single letters (withot modificators) makes work very convenient and fast. Command line is still accessible within "C=cm_FocusCmdLine". But my old problem has repeated. When command line is active, typed letters run different commands. Now command line is really unusable

I suggest to add an option to wincmd.ini to ignore redefinition of ALL keys when command line is active.
Mr Ghisler, please answer, do you agree with this suggestion.
Re: [BUG] Redefinition of cursor keys make command line unus
It sounds arbitrary somehow.Sheepdog wrote: If you need the functionality to move with cursor-keys in the command line you should use another hotkey for cm_gotoparent/cm_gotoDir.
sheepdog
Have you EVER had a try of this key definition, as Led suggested?
If not, surely you will think it not worth talking about at all.
Similar key definition is adopted in some popular BBS-term as far as I know.
If there's no convenience, why so many people adopt it?
And the author? Would you plz say something about this...
With regards