>>>> Justin writes:
> The problem is when I go: M-x shell it still uses the cripled ms
> command prompt.
I used this at one point... but I was using native ntemacs vs. cygwin
emacs.
Still... it might help.
(cond ((eq system-type 'windows-nt)
(setq shell-file-name "bash")
(setenv "PATH" (concat pal-cygwin-dir "/bin;" (getenv "PATH")))
(setenv "SHELL" shell-file-name)
(setq-default exec-path (cons (concat pal-cygwin-dir "/bin") exec-path)
explicit-sh-args '("-login" "-i")
process-coding-system-alist '(("bash" . undecided-unix)
("ssh" . undecided-unix)))
(add-hook 'shell-mode-hook
(lambda ()
(setq-default comint-scroll-show-maximum-output 'this
comint-completion-addsuffix t
comint-eol-on-send t
w32-quote-process-args ?\")
(make-local-variable 'comint-completion-addsuffix)))
(defun pal-comint-strip-ctrl-m (&optional string)
"Strip trailing `^M' characters from the current output group."
(interactive)
(replace-regexp-in-string "" "" string nil nil nil))
(add-hook 'comint-preoutput-filter-functions 'pal-comint-strip-ctrl-m)))
_______________________________________________
Help-gnu-emacs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs