On Monday 04 December 2006 1:07 am, Rajko M wrote:
I thought that I'm one of the last mc users :-) Now I feel better.
I've been using it since it was called Mouseless Commander. I still use it constantly.
Please look at this and see what we can add/change: http://en.opensuse.org/Midnight_Commander http://en.opensuse.org/Midnight_Commander/Tips
Ah. Off the top of my head: Alt-s - Incremental search (I use this every 3 minutes on average :-) Ctrl-x a - Open VFS list. If an ftp session times out, you won't be able to browse the site until you use this to free the open vfs so you can log in again cd /#sh:[user@]hostname - Browse files on another system via ssh Also, the F2-menu is awesome. Here's my favourite customisation, which produces colourised diffs of files against the other directory: + t r & ! t t d Diff against file of same name in other directory if [ "%d" = "%D" ]; then echo "The two directores must be different" exit 1 fi if [ -f %D/%f ]; then # if two of them, then diff -up %f %D/%f | sed -e 's/\(^-.*\)/\x1b[1;31m\1\x1b[0m/g' \ -e 's/\(^\+.*\)/\x1b[1;32m\1\x1b[0m/g' \ -e 's/\(^@.*\)/\x1b[36m\1\x1b[0m/g' | less -R else echo %f: No copy in %D/%f fi D Diff current directory against other directory if [ "%d" = "%D" ]; then echo "The two directores must be different" exit 1 fi diff -up %d %D | sed -e 's/\(^-.*\)/\x1b[1;31m\1\x1b[0m/g' \ -e 's/\(^\+.*\)/\x1b[1;32m\1\x1b[0m/g' \ -e 's/\(^@.*\)/\x1b[36m\1\x1b[0m/g' | less -R fi -- James Oakley jfunk@funktronics.ca -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org