delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
Date: | Mon, 16 Jan 2012 18:34:14 -0800 |
From: | Gary Johnson <garyjohn AT spocom DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Opening new cygwin window with arguments |
Message-ID: | <20120117023414.GB20028@phoenix> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <CANc+RapKxS3xVVxtXo6=NYfpfvL=B2Sdk8xKaJ1UVPRKRgxvBA AT mail DOT gmail DOT com> <20120112033732 DOT GE9147 AT phoenix> <loom DOT 20120117T011442-614 AT post DOT gmane DOT org> |
MIME-Version: | 1.0 |
In-Reply-To: | <loom.20120117T011442-614@post.gmane.org> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On 2012-01-17, Jon Hughes wrote: > Gary Johnson <garyjohn <at> spocom.com> writes: > > mintty -e tail -f foo & > > > > The -e is optional, but I like keeping my mintty commands consistent > > with those I write for other terminals. > > > > HTH, > > Gary > > > > > > This is very close, but I need it to start in ANSI mode > (--login -i seems to do it in cygwin.bat) so I can color-code > the tail. Is there any way to open bash with -- login -i or > some other way of enabling ANSI in the new terminal? I'm afraid I don't understand the problem. Color _is_ enabled in the new terminal. As an experiment/demonstration, I executed this command in my home directory which happened to contain a text file, ls.out, in which the word "out" appeared on a few lines. mintty -h a grep --color=always out ls.out The word "out" was colored in the new terminal just as I would expect it to be. What command are you executing that has colored output when executed at the command line but not when executed as an argument to mintty? Regards, Gary -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |