delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.2 required=5.0 tests=BAYES_00,SPF_PASS,TVD_SPACED_SUBJECT_WORD3 |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <495A90E4.6020706@elite-systems.org> |
Date: | Tue, 30 Dec 2008 16:21:40 -0500 |
From: | Robert Pendell <shinji AT elite-systems DOT org> |
User-Agent: | Thunderbird 2.0.0.18 (Windows/20081105) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: MinTTY |
References: | <495917BA DOT 1090401 AT gmail DOT com> <6910a60812291430i6e2c394agcedab557bbf6f673 AT mail DOT gmail DOT com> <4959B7F7 DOT 9020400 AT cwilson DOT fastmail DOT fm> <495A1811 DOT 3030209 AT gmail DOT com> <495A2BF2 DOT 7040409 AT elite-systems DOT org> |
In-Reply-To: | <495A2BF2.7040409@elite-systems.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Robert Pendell wrote: > It runs on 1.7 but does not appear to execute the shell as a login one. > I use bash and .bash_profile never gets executed when using MinTTY > directly. I can help you debug it if you wish. > I stand corrected here. I checked some more. The batch script (which I forgot that I used the cygwin default one) runs bash automatically with '--login -i' appended to it. I also found that you can run a command when mintty runs as the shell. I modified cygwin.bat to execute mintty. Looks like mintty doesn't detach completely on it's own so I appended 'start' to the beginning to it. The program will continue to run but the black box will disappear. If start doesn't work then use 'cygstart' instead as that one is supplied by cygwin. Basically the last line of cygwin.bat was changed to show as... start mintty bash --login -i ;) -- Robert Pendell shinji AT elite-systems DOT org "A perfect world is one of chaos." Thawte Web of Trust Notary CAcert Assurer Some message may be signed digitally Digital Signature SHA1 Fingerprint 0B:2D:4C:3A:23:EE:2B:69:4E:A1:2B:F4:3F:A3:B9:D7:0A:18:2A:DB Using CAcert to create certificate. If you do not already have the root certificates imported for this CA you can get them at http://www.cacert.org. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |