Mail Archives: djgpp-workers/2002/03/03/07:07:39
According to Eli Zaretskii:
> On Sun, 3 Mar 2002, Martin Str|mberg wrote:
> > > emacs a/b
> >
> > In emacs I press C-Z and get a bash shell (1):
> > > pwd
> > e:/hackery/bash_emacs_confusion
> > > ls
> > b
> >
> > So bash thinks it's in e:/hackery/bash_emacs_confusion but ls shows us
> > being in e:/hackery/bash_emacs_confusion/b!
>
> Sounds like Bash doesn't expect the application to chdir? Can you try
> something similar with another program, like `less', or even command.com?
> In that other application, change the directory, then exit, and see if
> Bash gets confused in the same way.
I'm not sure what you mean. Do you mean doing less a/b and then
shelling out of less?
> > 1) Another mystification, sometimes the screen after shelling out has
> > white-grey background and black text - the emacs colours sticks. This
> > is not easily reproduced.
>
> This isn't a Bash issue, I think: it's Emacs that restores the screen
> when you shell out.
>
> Are you sure this happens when you shell out, not when you exit Emacs
> immediately after starting it? If the latter, it's a feature: an exit
Yes.
Actually I think I found a way to reproduce it. I stand in
e:/hackery/bash_emacs_confusion and do "emacs a/c" where a/c doesn't
exist (a exists and is a directory), then I press C-Z the first thing
I do (after waiting some seconds).
Right,
MartinS
- Raw text -