Hallo, Am Sun, 02 Nov 2003, Angela Neumann schrieb:
Bei der 8.1 war es noch so, das man beim verlassen des mc ( mit F10) in dem verzeichnis war, das zuletzt aktiv war. In der neuen version landet man in dem verzeichnis, von dem aus mc aufgerufen wurde.
Aus der FAQ von MC: ==== 6.1 How do I stay in the last directory when I exit Midnight Commander? See the description of the -P option in the Options section of the manual. ==== ==== man mc ==== -P At program end, the Midnight Commander will print the last working directory; [..] ==== Besser als das dort angebene ist folgendes in ==== /etc/profile.d/mc.sh ==== mc() { cd "`/opt/gnome/bin/mc -P \"$@\"`" } ==== Den Pfad zu 'mc' musst du ggfs. anpassen (siehe 'type -a mc'). -dnh -- Williams and Holland's Law: If enough data is collected, anything may be proven by statistical methods.