On 7/31/06, Robert Abad <Robert_Abad(a)trimble.com> wrote:
To: XEmacs Beta <xemacs-beta(a)xemacs.org>
Subject: [Bug: 21.4.19] changing directories in a shell
--text follows this line--
Dear Bug Team!
I hope I can describe this problem sufficiently and that you know of a
fix to this problem.
I'm having an issue with changing directories in a shell. I have the
following environment variable in my WinXP OS:
shell = C:/mksnt/sh.exe
Essentially, this sets my shell to a unix Korn shell that comes with MKS
Toolkit for Windows.
So I run a shell in Xemacs. When I attempt to change directories, I
use the TAB key to auto-fill the name of the directory. However, the
Xemacs shell appends a forward slash ('\') to the end of the directory
name instead of a backslash ('/'), essentially behaving as if the
shell were a DOS command line instead of a unix environment.
First some nomenclature issues - you actually have the names confused:
'\' is a backslash and '/' is a slash (also known as a forward slash).
On to your issue; I think that setting directory-sep-char may address
your particular problem. Try adding the following code to your .emacs
(or .xemacs/init.el) file:
(setq directory-sep-char ?/)
Whoever you are, no matter how lonely,
the world offers itself to your imagination,
calls to you like the wild geese, harsh and exciting--
over and over announcing your place
in the family of things. Mary Oliver