Tip: Don't move cursor with file when rename
Moderators: Hacker, petermad, Stefan2, white
- miguesmart
- Junior Member
- Posts: 13
- Joined: 2003-11-29, 06:45 UTC
- Location: Argentine
- Contact:
Tip: Don't move cursor with file when rename
A tip, I don't know if you know it, or if it is considered a bug but as the DblClick on the empty area to up/down on the list box is interesting and
useful to me.
If you are renamig files, and after press enter you *don't* want
that the cursor be with the new name just leave a space after the extension.
example:
we have a.txt b.txt. c.txt e.txt
rename (with Shift+F6) a.txt to z.txt,
the cursor usually go to the last of the list with the file,thus now is under the e.txt. But if you leave a space after the .txt then when press enter, the cursor stay there(over b.txt). Is usefull when we are working i.e windows\system32 (clud be more than 2700 files)
p.D Be the way, I use F2 instead of Shift+F6, is one key
useful to me.
If you are renamig files, and after press enter you *don't* want
that the cursor be with the new name just leave a space after the extension.
example:
we have a.txt b.txt. c.txt e.txt
rename (with Shift+F6) a.txt to z.txt,
the cursor usually go to the last of the list with the file,thus now is under the e.txt. But if you leave a space after the .txt then when press enter, the cursor stay there(over b.txt). Is usefull when we are working i.e windows\system32 (clud be more than 2700 files)
p.D Be the way, I use F2 instead of Shift+F6, is one key
Migue!
"Behind a dream, dreaming the beyond... Everywhere, anytime."
"Behind a dream, dreaming the beyond... Everywhere, anytime."
Yes it works, thanks. I might need this behaviour sometimes. I hope this is intentional and will remain in this way in future versions.
BTW: You say you use F2 instead of Shift+F6 - did you make your own shortcut ir there is something I don't know. AFAIK, F2 is refreshing the filelist (useful for floppies or network drives or when background thread or other program performs writings on HDD).
2miguesmart, Welcome on TC forum! (I see it is one of your first posts)
EDIT: "I hope this is intentional and will remain in this way in future versions" concerns adding space after file rename with Shift+F6.
BTW: You say you use F2 instead of Shift+F6 - did you make your own shortcut ir there is something I don't know. AFAIK, F2 is refreshing the filelist (useful for floppies or network drives or when background thread or other program performs writings on HDD).
2miguesmart, Welcome on TC forum! (I see it is one of your first posts)
EDIT: "I hope this is intentional and will remain in this way in future versions" concerns adding space after file rename with Shift+F6.
Last edited by IGL on 2004-03-17, 10:11 UTC, edited 1 time in total.

XP bug!
2IGL
Hello Chris !
• About 2-click in an empty area under XP only, it's a bug of XP; it could become dangereous to use this, following that Ch. Ghisler told in another thread recently.
Friendly regards,
Claude
Clo

• About 2-click in an empty area under XP only, it's a bug of XP; it could become dangereous to use this, following that Ch. Ghisler told in another thread recently.

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
2All
F2 for Edit Mode has been the defacto standard in the Windows world. In my experience it originated with Lotus Version 1, but might have started with VisiCalc (which I never used). Microsoft has perpetuated it (along with a few other keystrokes from Lotus).
Of course, for those who never used Lotus all day every day for years in the 80's, it might not seem so intuitive, but I have often wondered why Mr. Ghisler did not follow that "standard" when configuring the default keystrokes in Windows Commander so many years ago. I guess it's because "inline" editing of filenames hadn't been invented yet???
Another "standard" that no-one in the PC industry appears to have followed was the IBM ISPF (System 370) "go back" keystroke, F3 (to return to the prior screen). I pressed that key 1000 times a day for 15 years and still catch myself doing it...
F2 for Edit Mode has been the defacto standard in the Windows world. In my experience it originated with Lotus Version 1, but might have started with VisiCalc (which I never used). Microsoft has perpetuated it (along with a few other keystrokes from Lotus).
Of course, for those who never used Lotus all day every day for years in the 80's, it might not seem so intuitive, but I have often wondered why Mr. Ghisler did not follow that "standard" when configuring the default keystrokes in Windows Commander so many years ago. I guess it's because "inline" editing of filenames hadn't been invented yet???
Another "standard" that no-one in the PC industry appears to have followed was the IBM ISPF (System 370) "go back" keystroke, F3 (to return to the prior screen). I pressed that key 1000 times a day for 15 years and still catch myself doing it...
Licensed, Mouse-Centric, moving (slowly) toward Touch-centric
-
- Member
- Posts: 141
- Joined: 2003-02-07, 12:54 UTC
- miguesmart
- Junior Member
- Posts: 13
- Joined: 2003-11-29, 06:45 UTC
- Location: Argentine
- Contact:
Sure, Most of the keystrokes are legacy Norton Commander. BTW Volkov Commander with "DOS Long Files Names" support very well long names under only MS-DOS and looks like NC, course, have less commands and options (http://come.to/volkov) but is almost like TC or NC and support copy(F5) rename etc.... usefull tool.
2 IGL, yes, is my own shortcut 'cause I use Ctrl + R to refresh. Some keystrokes are useless to me like F1 (because I use the Help Menu directly) F2, Ctrl+F9 personally never use it, so assign some most used to they, but I try ti keep the default keystrokes almost always.
2 IGL, yes, is my own shortcut 'cause I use Ctrl + R to refresh. Some keystrokes are useless to me like F1 (because I use the Help Menu directly) F2, Ctrl+F9 personally never use it, so assign some most used to they, but I try ti keep the default keystrokes almost always.
Migue!
"Behind a dream, dreaming the beyond... Everywhere, anytime."
"Behind a dream, dreaming the beyond... Everywhere, anytime."
Re: Tip: Don't move cursor with file when rename
2Clo, miguesmartmiguesmart wrote:A tip, I don't know if you know it, or if it is considered a bug but as the DblClick on the empty area to up/down on the list box is interesting and useful to me.
Actually I missed that - but I'm curious where exactly could I dblClick and what should occur? I use TC6.02 on WinXP
I consider THIS as useful thing and I hope that it will remain in future versions and that it was made intentionally and not by mistake (which is also possible).miguesmart wrote:If you are renamig files, and after press enter you *don't* want that the cursor be with the new name just leave a space after the extension.
Talking about F2 & Shift+F6. I do prefer to use Ctrl+R, I have never used F2 until I have come across this post

Shift+F6 is a good shortcut since we have Shift+F5 for different copying (e. when on other filepane you have FTP site then Shift+F5 performs local copy while F5 copies to FTP)
(BTW: On NortonCommander shift+F6 allowed to select also which Souce files should be copied)
But someone may use F2 for inline renaming. It's good idea.

Well first thing I did was to remap F2 to inline renaming - and as F5 was taken for refresh I set it to F1. I hardly need help anyway 
About the fact that adding a space after the extension doesn't move the selection - I'll wait for confirmation of the author, but it would look to me that it's more of a "bug" rather than a feature.
When renaming a file, I suppose TC keeps the name in memory after renaming occurs, ask the system to do the renaming, and then looks into its file list to select the new name.
The trailing spaces you are adding won't be added to the filename, but TC wants to select the filename WITH the trailing spaces. It's not found, so the selection doesn't move.

About the fact that adding a space after the extension doesn't move the selection - I'll wait for confirmation of the author, but it would look to me that it's more of a "bug" rather than a feature.
When renaming a file, I suppose TC keeps the name in memory after renaming occurs, ask the system to do the renaming, and then looks into its file list to select the new name.
The trailing spaces you are adding won't be added to the filename, but TC wants to select the filename WITH the trailing spaces. It's not found, so the selection doesn't move.
- miguesmart
- Junior Member
- Posts: 13
- Joined: 2003-11-29, 06:45 UTC
- Location: Argentine
- Contact:
[face=courier]On 16-03-2004 15:51:21 +0000 Jon Canale wrote:
JC> Most of the keystrokes in TC are legacy Norton Commander
JC> from DOS.
But not "F2"... %)[/face]
JC> Most of the keystrokes in TC are legacy Norton Commander
JC> from DOS.
But not "F2"... %)[/face]
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
That is exactly what I suspected. But I hope that author will take this (most probably) accidential behaviour as an advantage. In case something is changed in that part of code, I hope that author will take a look to check if it still works this way.zeflash wrote:When renaming a file, I suppose TC keeps the name in memory after renaming occurs, ask the system to do the renaming, and then looks into its file list to select the new name.
The trailing spaces you are adding won't be added to the filename, but TC wants to select the filename WITH the trailing spaces. It's not found, so the selection doesn't move.
