delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/03/03/06:02:05

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <200203031058.g23Awqw03448@mother.ludd.luth.se>
Subject: bash seems a little confused
To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS)
Date: Sun, 3 Mar 2002 11:58:52 +0100 (MET)
X-Mailer: ELM [version 2.5 PL2]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

Do this:

> mkdir bash_emacs_confusion
> cd bash_emacs_confusion
> mkdir a
> touch a/b
> 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!

emacs is version 20.5 and bash is version 2.04.7(1)-release.

SHELL=e:/djgpp/bin/bash.exe

Anything else you want to know?


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.


Right,

						MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019