I have an odd problem with MC that I can't find any information on. I haven't used Linux in a while so not sure if I had this issue in Linux. So, using tcsh and mc. I try to re-use commands by using up-arrow (too lazy to type), however mc adds crazy entries to my .history file for both my normal user and root. I know this because I tail'd the .history and watched it when mc exited. Here is an example:
Nothing is broken, mc works fine, it's just when I try to run through history commands, I have to run through a bunch of garbage first. Any way to stop this behavior?
Code:
cd "`printf "%b" '\0057home\0057paul\0057\0056config'`"
#+1481077338
cd "`printf "%b" '\0057home\0057paul\0057\0056config\0057mc'`"
#+1481077339
cd "`printf "%b" '\0057home\0057paul\0057\0056config'`"
#+1481077347
cd "`printf "%b" '\0057home\0057paul\0057\0056config\0057mc'`"
#+1481077349
cd "`printf "%b" '\0057home\0057paul\0057\0056config\0057mc\0057mcedit'`"
#+1481077350
cd "`printf "%b" '\0057home\0057paul\0057\0056config\0057mc'`"
Nothing is broken, mc works fine, it's just when I try to run through history commands, I have to run through a bunch of garbage first. Any way to stop this behavior?
Last edited by a moderator: