Mail Archives: cygwin/2003/03/21/14:44:33
On Fri, 21 Mar 2003, Pavel Tsekov wrote:
> On Fri, 21 Mar 2003, Peter A. Castro wrote:
>
> > On Fri, 21 Mar 2003, Pavel Tsekov wrote:
> >
> > > 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 "thorsten AT freki% _"
> >
> > Can you tell me just what options/key sequences you are using to start
> > mc? I've just started mc in a console and I get a '$ ' for a prompt in
> > mc. I have a minimal zsh env setup for this test and no ~/.inputrc.
>
> With the latest version (4.6.0-2) you see '$' because the subshell is
> disabled by default, so no subshell prompt is read at all :) Use '-U'
> option to enable subshell and you should be able to see this behaviour.
>
> > > > 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):
> > > > "thorsten AT freki% /home/thorsten 1018:3_" instead of
> > > > "thorsten AT freki% _ ~ 1018:3"
> > > >
> > > > 2. and 3. are maybe related. These are my prompts in zsh:
> > > >
> > > > PS1='%n@%m%{'$'\e[1;36m%}%#%{'$'\e[m%} '
> > > >
> > > > RPROMPT='%{'$'\e[1;34m%}%~%{'$'\e[m%} %h:%i'
> >
> > This is interesting. In a previous version of mc this worked (sort of),
> > but only if PS1 and RPROMPT were set in .zshenv (or one of the other
> > commonly sources zsh files). With the latest mc-4.6.0-2 I see just a '$'
> > no matter what I set where. I get the '$ ' running mc in rxvt too.
>
> See above :) Btw which is this previous version ? And is it running on
> Cygwin or other platform ? As you can see below I've verified that MC on
> Cygwin behaves exactly the same way as MC on Linux. What I think may be a bug
> (in MC) is that in console no prompt is shown at all when using zsh.
mc-4.5.55-1 on Cygwin.
However, running mc -U I get a prompt and it's correct.
> > > 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.
>
> --
> 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/
--
Peter A. Castro <doctor AT fruitbat DOT org> or <Peter DOT Castro AT oracle DOT com>
"Cats are just autistic Dogs" -- Dr. Tony Attwood
--
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/
- Raw text -