X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_65,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A31A6F1.3030100@aim.com> Date: Thu, 11 Jun 2009 20:53:05 -0400 From: Mark Harig User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Using emacs in a terminal window Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 205.188.169.202 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 > I'd say it's a bug that the rxvt max_colors entry is 8, since rxvt > does support 256 colours in its default setting. (And I notice it's > the same with xterm.) Don't know whether there are compatibility > concerns that require that. Just to be clear, the default terminfo capability for Cygwin rxvt is rxvt-cygwin-native, and that is what I used for comparison. There is no corresponding 'rxvt-cygwin-256color'. > However, the correct way to address this is to set TERM to > rxvt-256color (or xterm-256color, as appropriate) rather than > Eterm-256color. That sounds reasonable and appears to be a really good suggestion (even if there is no 'rxvt-cygwin-256color'). I tried it and found that it appears to give a color/font/underlining capability identical to Eterm-256color, but it fixes a defect in Eterm-256color, namely, the mode line was not being shaded appropriately depending on which window in the frame was active. Using TERM=rxvt-256color, the mode-line highlighting now follows the active window, as expected. This appears to be the best default TERM setting for terminal-mode Emacs running in Cygwin (native) rxvt. env TERM=rxvt-256color emacs -nw ... Thank you for the suggestion! I will leave it to regular mintty+Emacs users to suggest the best default TERM setting for that terminal emulator. --- -- 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/