[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
using cygwin from within Emacs (was [VoiceCoder] Re: Using a shell with NatSpeak 6.1, Windows 2000?)
- To: http://www.yahoogroups.com/~VoiceCoder
- Subject: using cygwin from within Emacs (was [VoiceCoder] Re: Using a shell with NatSpeak 6.1, Windows 2000?)
- From: "chris_gaskett" <http://www.syseng.anu.edu.au/~cg>
- Date: Wed, 10 Jul 2002 08:38:03 -0000
- Delivered-To: http://dummy.us.eu.org/robert
- Delivered-To: http://dummy.us.eu.org/robert
- Delivered-To: mailing list http://www.yahoogroups.com/~VoiceCoder
- In-Reply-To: <3http://www.sun.com/~D2B66F6.9CC84E6>
- List-Unsubscribe: <http://www.yahoogroups.com/~VoiceCoder-unsubscribe>
- Mailing-List: list http://www.yahoogroups.com/~VoiceCoder; contact http://www.yahoogroups.com/~VoiceCoder-owner
- Reply-To: http://www.yahoogroups.com/~VoiceCoder
- User-Agent: eGroups-EW/0.82
Hi Dana,
> Is anyone using a UNIX-style shell with NatSpeak 6.1 on Windows
2000?
I have used Cygwin's bash shell through Emacs's M-x shell command.
Emacs shell mode can be configured to use various shells. I also use
Emacs shell mode for the windows command line. Select and say is
possible using vr-mode with this configuration.
You could put something like this in your .emacs; I don't know where I
stole this from:
(defun my-shell-setup ()
"For Cygwin bash under Emacs 20"
(setq comint-scroll-show-maximum-output 'this)
(setq comint-completion-addsuffix t)
;; (setq comint-process-echoes t) ;; reported that this is no longer
needed
(setq comint-eol-on-send t)
(setq w32-quote-process-args ?\")
(make-variable-buffer-local 'comint-completion-addsuffix))
(setq shell-mode-hook 'my-shell-setup)
;; For the interactive shell
(setq explicit-shell-file-name "c:/cygwin/bin/bash.exe")
;; For subprocesses invoked via the shell (e.g., "shell -c command")
(setq shell-file-name "c:/cygwin/bin/bash.exe")
I haven't been using bash recently, so I apologise if I left out any
important information; however, I can't remember any serious problem
(as long as you don't mind using Emacs).
Chris Gaskett
http://www.his.atr.co.jp/~cgaskett