Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: =?ISO-8859-1?Q?Sven_K=F6hler?= Subject: Re: Initializing and cygwin.bat Date: Mon, 21 Oct 2002 08:58:17 +0200 Lines: 31 Message-ID: References: <3DB323AA DOT 254BDE7C AT yahoo DOT 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 AT main DOT gmane DOT 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 > 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/