From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14524 invoked by alias); 21 Oct 2002 06:58:19 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 14512 invoked from network); 21 Oct 2002 06:58:18 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by sources.redhat.com with SMTP; 21 Oct 2002 06:58:18 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 183WV5-0003jM-00 for ; Mon, 21 Oct 2002 08:57:19 +0200 To: cygwin@cygwin.com X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 183WV5-0003jD-00 for ; Mon, 21 Oct 2002 08:57:19 +0200 Path: not-for-mail From: =?ISO-8859-1?Q?Sven_K=F6hler?= Subject: Re: Initializing and cygwin.bat Date: Mon, 21 Oct 2002 00:59:00 -0000 Message-ID: References: <3DB323AA.254BDE7C@yahoo.com> NNTP-Posting-Host: odysseus.uni-paderborn.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035183438 14334 131.234.36.162 (21 Oct 2002 06:57:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 06:57:18 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020827 X-Accept-Language: en-us, en X-SW-Source: 2002-10/txt/msg01231.txt.bz2 > As a new user I wanted to customize cygwin.bat to my system, which > uses 4dos as the shell and only maintains command.com as an > antique. W98 BTW. > > I found that various commands wouldn't work! The reason was that > command.com was being called in the .pif file. I simply changed > the .pif to specify "%comspec%" in place of > "c:\windows\command.com". > > Is there any reason setup shouldn't do this in the initial > creation? Since the .pif files are of some peculiar structure I > had to use explorer and the fursluginner mouse to make this > change. i don't use the batch-file anymore. i changed the shortcut to execute bash.exe --login diretly, which avoids a stupid question by cmd.exe after bash exists and Ctrl-C was pressed: Abort Execution (Y/N) text may be different in englisch (using german windows) i don't know, if this work for you, but instead of changing the batch-file, you could change /etc/profile which is the first script bash.exe executes (when run with the --login paramter) starting bash without a batch-file also avoids the idle cmd.exe or commmand.com process :-) BTW: why is cygwin installed with that batch-file, and why doesn't the setup create shortcuts to the command "bash.exe --login" but to cygwin.bat? Has this been done for some reason? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/