Midnight commander: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 29: | Line 29: | ||
* You're starting it in a directory that has a ''lot'' of entries | * You're starting it in a directory that has a ''lot'' of entries | ||
: Or the other panel is. In some cases giving it directories that do not | : Or the other panel is. In some cases giving it directories that you know do not, e.g. {{inlinecode|mc . .}}, would help | ||
* Your host lookup setup is flawed ( | * Your host lookup setup is flawed (in which case this isn't the only thing affected) | ||
Line 42: | Line 42: | ||
I added the following to my bashrc: | I added the following to my bashrc: | ||
alias mc="DISPLAY= mc" | alias mc="DISPLAY= mc" | ||
==Your own file handlers== | ==Your own file handlers== |
Latest revision as of 12:22, 8 May 2024
midnight commander is a text mode file browser, one of many interrelated clones you can trace back to norton commander.
Very slow start
Possibilities:
- You're starting it in a directory that has a lot of entries
- Or the other panel is. In some cases giving it directories that you know do not, e.g. mc . ., would help
- Your host lookup setup is flawed (in which case this isn't the only thing affected)
- It's trying to interact with X
- Diagnosis: doing a strace mc will show it hangs after mentioning MIT-MAGIC-COOKIE-1 (or something else X related) until a timeout some seconds later
If you don't care about X, clearing DISPLAY would be a quick fix.
I added the following to my bashrc:
alias mc="DISPLAY= mc"