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 From: "Dave Korn" To: Subject: RE: applying command shell properties to cygwin.bat Date: Tue, 13 Apr 2004 17:11:17 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <20040413160448.95045.qmail@web10004.mail.yahoo.com> Message-ID: X-OriginalArrivalTime: 13 Apr 2004 16:11:17.0906 (UTC) FILETIME=[F3D4FF20:01C42171] > -----Original Message----- > From: cygwin-owner On Behalf Of james pentland > Sent: 13 April 2004 17:05 > when i run the cygwin bash shell on system startup > from the startup entry in the registry the > foreground/background color and other properties are > not applied to the command shell in which bash runs. > however, these properties are associated with the > shortcut, not with the batch file which runs bash. Indeed; that's how windoze manages these settings, on a per-shortcut basis rather than on a per-target basis. I suspect there may be hidden .pif files involved here..... > as a consequence, when invoking bash by running the > batch file, which is named cygwin.bat and is in a path > something like n:\cygwin\cygwin.bat, the properties > are not applied and one ends up with a generic command > shell window - white text on black background, default > layout, no icon. 'fraid so. That's a .bat file, not a shortcut, and so has no console window properties associated with it. > how can one associate the properties with the batch > file cygwin.bat such that they stay with the command > shell? You can't do, but instead of starting the batch file from your registry startup entry, you could create a new shortcut to the batch file and put the path of that shortcut in the registry instead. Then you could set whatever properties you wanted in the shortcut. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/