This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: [Bug] M-x setenv PID + bash -> M-x shell breaks
- To: stodghil at cs dot cornell dot edu
- Subject: Re: [Bug] M-x setenv PID + bash -> M-x shell breaks
- From: Andrew Innes <andrewi at harlequin dot co dot uk>
- Date: Thu, 18 Dec 1997 12:32:43 GMT
- CC: ntemacs-users at cs dot washington dot edu, gnu-win32 at cygnus dot com
On 17 Dec 1997 17:22:44 -0500, Paul Stodghill <stodghil@CS.Cornell.EDU> said:
>Setting the environment variable "PID" causes shell commands to break when
>bash is the shell that emacs invokes.
>
>Using NTEmacs 19.34.6 and Cygnus gnu-win32 tools "b18", do the following.
>
>1. start emacs
>
> c:\> runemacs -q
>
>2. Evaluate the following in the *scratch* buffer
>
> (setq shell-file-name "bash")
> (setq explicit-shell-file-name shell-file-name)
> (setenv "PID" 100)
>
>3. Invoke M-x shell. Boom.
>
>4. Evalute the following in the *scratch* buffer
>
> (setenv "PID" nil)
>
>5. Invoke M-x shell. It works!
>
>Why this happens, I have no idea. I'm not even sure if its an emacs or bash
>bug...
It is presumably a bug in bash. Emacs doesn't care about PID.
AndrewI
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".