[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: egrep error: egrep: /usr/dict/words: No such file or directory
From: |
Eli Zaretskii |
Subject: |
Re: egrep error: egrep: /usr/dict/words: No such file or directory |
Date: |
Wed, 20 Jun 2007 21:18:14 +0300 |
> Date: Wed, 20 Jun 2007 09:48:35 +0100
> From: David R <angel_ov_north@tiscali.co.uk>
>
> Eli Zaretskii wrote:
> >> Date: Tue, 19 Jun 2007 22:54:07 +0100
> >> From: David R <angel_ov_north@tiscali.co.uk>
> >>
> >> Is there any way I tell tell emacs to use egrep through a cygwin shell
> >> not a cmd shell?
> >
> > Try customizing shell-file-name.
> >
> >
> I have tried for an hour now
> (custom-set-variables
> ;; custom-set-variables was added by Custom.
> ;; If you edit it by hand, you could mess it up, so be careful.
> ;; Your init file should contain only one such instance.
> ;; If there is more than one, they won't work right.
> '(pr-gs-command "c:\\Program Files\\gs\\gs8.56\\bin\\gswin32c.exe")
> '(pr-gv-command "C:\\Program Files\\Ghostgum\\gsview\\gsview32.exe")
> '(ps-paper-type "a4")
> '(w32shell-add-emacs-to-path nil)
> '(w32shell-cygwin-bin "C:\\cygwin\\bin")
> '(w32shell-dynamic-complete-sync-dirs t)
> '(w32shell-msys-bin "C:\\msys\\1.0\\bin")
> '(w32shell-shell (quote cygwin) nil nil "this was cygwin and egrep
> used dos path .now is cmd"))
> (custom-set-faces
> ;; custom-set-faces was added by Custom.
> ;; If you edit it by hand, you could mess it up, so be careful.
> ;; Your init file should contain only one such instance.
> ;; If there is more than one, they won't work right.
> )
> (require 'w32shell)
> (setq shell-file-name "cygwin")
> (setq w32shell-set-shell "cygwin")
>
>
> yet still in the <tools> menu <w32 shells> are listed in the following
> order
> cmd
> cygwin
> msys
Sorry, I cannot help you further: I don't use Cygwin tools.
I can only say that a native Windows port of egrep works just fine
there.