help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: command.com versus cmd.exe


From: FRC
Subject: Re: command.com versus cmd.exe
Date: Fri, 13 Sep 2002 00:15:07 +0200

My advice would be not to use (crappy) MS stuff whenever possible and stick
to the cygwin shells.

"lawrence mitchell" <address@hidden> a écrit dans le message de news:
address@hidden
> Kai Grossjohann wrote:
>
> [...]
>
> > Ah, I didn't know about COMSPEC.  I now use the following code to
> > initialize the variable:
>
> >   (if (memq system-type '(windows-nt))
> >       (getenv "COMSPEC")
> >     "/bin/sh")
>
> How about (or (getenv "COMSPEC") "/bin/sh") ?  Though I suppose
> somebody might have defined an environment variable named COMSPEC
> themselves.
>
> > Are there other values of system-type that I should check for?
>
> DOS and maybe (probably?) Cygwin I'd guess.  What about OS/2?[1]
>
> [1] Someone help me!
> --
> lawrence mitchell <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]