On Sun, 9 Mar 2003, Thorsten Kampe wrote: > Thanks. Midnight Commander has become better and the old bugs are > gone. > > Unfortunately there are now some new ones:
[snip] > 2. If you start mc under zsh in a *console* window with the command > prompt option, no prompt is shown - just the cursor: > "_" instead of "[EMAIL PROTECTED] _" > > 3. If you start mc under zsh in a *rxvt* window with the command > prompt option, the prompt /is/ shown - but appended with the RPROMPT > (right side prompt): > "[EMAIL PROTECTED] /home/thorsten 1018:3_" instead of > "[EMAIL PROTECTED] _ ~ > 1018:3" > > 2. and 3. are maybe related. These are my prompts in zsh: > > PS1='[EMAIL PROTECTED]'$'\e[1;36m%}%#%{'$'\e[m%} ' > > RPROMPT='%{'$'\e[1;34m%}%~%{'$'\e[m%} %h:%i' I see the same behaviour on Linux. I've tested with RedHat 8.0. So, as far as Cygwin is concerned this is not a bug. However I think that you're right to expect it to work as described. I'm doing some work to fix problem 3. In fact what happens is that the escape sequences are stripped by MC. With your settings for PS1 and RPROMPT zsh outputs this: [EMAIL PROTECTED];36m%\e[m\e[K\e[50C\e[1;34m/lib/cvs\e[m8:8\e[62D MC strips all control characters and leaves only: [EMAIL PROTECTED] /lib/cvs 8:8 As for problem 2 I'll have to trace a bit to see why no prompt is shown at all. I hope soon I'll be able to release an update version. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/