Tip: Don't move cursor with file when rename

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
miguesmart
Junior Member
Junior Member
Posts: 13
Joined: 2003-11-29, 06:45 UTC
Location: Argentine
Contact:

Tip: Don't move cursor with file when rename

Post by *miguesmart »

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
Migue!
"Behind a dream, dreaming the beyond... Everywhere, anytime."
IGL
Member
Member
Posts: 179
Joined: 2004-02-26, 10:47 UTC
Location: Poland

Post by *IGL »

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.
Last edited by IGL on 2004-03-17, 10:11 UTC, edited 1 time in total.
:-)
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

XP bug!

Post by *Clo »

2IGL
:D   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.
:mrgreen:  Friendly regards,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
JohnFredC
Power Member
Power Member
Posts: 886
Joined: 2003-03-14, 13:37 UTC
Location: Sarasota Florida

Post by *JohnFredC »

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...
Licensed, Mouse-Centric, moving (slowly) toward Touch-centric
Jon Canale
Member
Member
Posts: 141
Joined: 2003-02-07, 12:54 UTC

Post by *Jon Canale »

Most of the keystrokes in TC are legacy Norton Commander from DOS. Just for kicks, I fired up NC 4.0 and confirmed that shift-F6 is rename/move.

So that is the history, not Windoze.
User avatar
miguesmart
Junior Member
Junior Member
Posts: 13
Joined: 2003-11-29, 06:45 UTC
Location: Argentine
Contact:

Post by *miguesmart »

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.
Migue!
"Behind a dream, dreaming the beyond... Everywhere, anytime."
IGL
Member
Member
Posts: 179
Joined: 2004-02-26, 10:47 UTC
Location: Poland

Re: Tip: Don't move cursor with file when rename

Post by *IGL »

miguesmart 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.
2Clo, miguesmart
Actually I missed that - but I'm curious where exactly could I dblClick and what should occur? I use TC6.02 on WinXP
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.
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).
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.
:-)
zeflash
Junior Member
Junior Member
Posts: 47
Joined: 2003-08-28, 09:08 UTC

Post by *zeflash »

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.
User avatar
miguesmart
Junior Member
Junior Member
Posts: 13
Joined: 2003-11-29, 06:45 UTC
Location: Argentine
Contact:

Post by *miguesmart »

2 zeflash
thx it is an interesting explanation about why this happen. I just take it as something natural, but now that you say it... know the why
Migue!
"Behind a dream, dreaming the beyond... Everywhere, anytime."
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[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]
IGL
Member
Member
Posts: 179
Joined: 2004-02-26, 10:47 UTC
Location: Poland

Post by *IGL »

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.
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.
:-)
Post Reply