a few small problems

Here are a few small things I would like to see fixed. Before I try to hack them myself, I would like to hear 
if anyone has any suggestions.

1. Why do we see ".." in the root dir? It's annoying and misleading. Will there be any problems if we just 
remove it?

2. Often mc loses communication with the subshell, even if it is not busy with any command. For example, I 
hit ctrl-o to switch from subshell to the panels, go to some other directory, then hit ctrl-o again - oops, 
I'm still in the old dir! I.e. mc did not pass the cd commands to the subshell. So I press Enter several 
times, to scroll several empty prompts, and repeat the above, and this time it works. So it seems that when 
deciding if to pass a command to the subshell or not, mc not only needs the subshell to be in the "empty 
prompt" state, but it needs to see several empty prompts before the last one. I may get this reason wrong, as 
I don't fully understand the mc/subshell interaction, but the problem is very very annoying. Am I the only 
one experiencing it? What can be done about it? There is an item in the latest TODO: "Load subshell prompt 
when it's ready." - does it have anything to do with this problem?

3. Another similar problem has appeared after I upgraded to mandrake 9. I'm not sure who is to blame for this 
(mc is the same version) so please help me to find out. Namely, I use bash with bold prompt displaying 
current dir, by setting

export PS1="\[\033[0;1m\]\w \$\[\033[0m\] "

However, even when I change dir in the panel (and this change is passed to the subshell, see previous point), 
when I press ctrl-o I see this:

<old prompt, bold> <new prompt, plain>

I.e. old and new prompts are on one line, and the new prompt is not bold. I have to press Enter, and then I 
get the new prompt in bold on its own line.

Any suggestions?

Sign-up for your own FREE Personalized E-mail at Mail.com

Meet Singles

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]