cygwin shell problem
"Chan, Peekay" <[email protected]>
| Newsgroups | gmane.emacs.xemacs.windows |
|---|---|
| Message-ID | <3160541DB225D311AB2400508B2CBD1901235751@mailsrvnt03.enet.sharplabs.com> |
Hi all,
I have downloaded and compiled xemacs 21.5.10 for both Cygwin Native and
Windows Native. Everything works great except the Bash shell.
My init.el
>>>>>>>>>>>
(setq exec-path (cons "c:/cygwin/bin" exec-path))
(setq process-coding-system-alist '(("bash" . undecided-unix)))
(setq w32-quote-process-args ?\")
(setq shell-file-name "bash")
(setenv "SHELL" shell-file-name)
(setq explicit-shell-file-name shell-file-name)
(add-hook 'comint-output-filter-functions
'comint-strip-ctrl-m)
(setq shell-command-switch "-exec")
>>>>>>>>>>>
Problem #1: The cygwin shell and xemacs dir are out of sync. When I type
"cd c:" in the shell, cygwin changes to /cygdrive/c, then when I type "dirs"
in xemacs, it complains "c:\cygdrive\c" is not a directory.
Problem #2: When I press tab for auto-completion directory, it always use
"\" as in Windows Command Prompt.
I have a feeling these are related but just couldn't figure out what is
causing it.
Any advice will be greatly appreciated.
Peekay