X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Date: Tue, 14 Jun 2011 08:11:50 -0500 From: Eric Pruitt To: cygwin AT cygwin DOT com Subject: Re: GNU screen not redrawing properly Message-ID: <20110614131150.GA1104@icebox> References: <20110613215328 DOT GA3260 AT icebox> <20110613234412 DOT GA3724 AT icebox> <20110614121229 DOT GA556 AT icebox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Tue, Jun 14, 2011 at 01:32:39PM +0100, Andy Koppe wrote: > Ah, this invokes screen itself with TERM=screen-256color, which tells > it to talk to the outside terminal as if that's another screen, which > is wrong. You want to be invoking it with TERM=xterm-256color instead > (which can be selected on the Terminal page of the mintty options). > > Screen's '-T ' option determines the TERM variable inside > screen. Setting that to "screen-256color" to tell applications that > they're running in a 256-colour enabled screen does make sense. > > Btw, screen emulates 256-colour mode inside a terminal that only > supports 16 colours, by mapping the colours appropriately. Of course > you'll still only get 16 actual colours, but it's still better than > having colour requests beyond the basic 16 ignored. > > Andy Since Console2 is the only 16 bit terminal emulator I use, I suppose it would make the most sense to only not set xterm-256color when TERM == 'cygwin'. Thanks for the explanation, and sorry I forgot to hit group-reply on my last message. Eric -- 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