From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "FRC" Newsgroups: gmane.emacs.help Subject: Re: command.com versus cmd.exe Date: Fri, 13 Sep 2002 00:15:07 +0200 Organization: Wanadoo, l'internet avec France Telecom Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1031870254 1540 127.0.0.1 (12 Sep 2002 22:37:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 12 Sep 2002 22:37:34 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17pcaa-0000Oh-00 for ; Fri, 13 Sep 2002 00:37:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17pcQL-0007qW-00; Thu, 12 Sep 2002 18:26:57 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!news-raspail.gip.net!news.gsl.net!gip.net!fr.clara.net!heighliner.fr.clara.net!freenix!wanadoo.fr!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: amontsouris-108-1-4-210.abo.wanadoo.fr Original-X-Trace: wanadoo.fr 1031868656 3720 193.252.108.210 (12 Sep 2002 22:10:56 GMT) Original-X-Complaints-To: abuse@wanadoo.fr Original-NNTP-Posting-Date: 12 Sep 2002 22:10:56 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Original-Xref: nntp.stanford.edu gnu.emacs.help:104855 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1410 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1410 My advice would be not to use (crappy) MS stuff whenever possible and stick to the cygwin shells. "lawrence mitchell" a écrit dans le message de news: wkwuprxt1e.fsf@ID-97657.usr.dfncis.de... > 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