X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: <416096c60908250603gea73024uf31dec139b2e3776 AT mail DOT gmail DOT com> <416096c60908250608y734c824dk44ae136872a27dd3 AT mail DOT gmail DOT com> From: Gwen Morse Date: Thu, 17 Sep 2009 23:05:07 -0400 Message-ID: Subject: Re: 256 color terminal in basic (non-"X Windows") Cygwin To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 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, Aug 25, 2009 at 12:53 PM, Gwen Morse wrote: > On Tue, Aug 25, 2009 at 9:08 AM, Andy Koppe wrote: >>> 2009/8/25 Gwen Morse: >>>> I use a game client called Tinyfugue that can make use of ANSI 256 color codes. > >>> $ rxvt -tn rxvt-256color -e game >> >> D'oh, you'd already tried that of course. >> >> This perl script can prove that the native rxvt supports 256 colours: >> >> www.frexx.de/xterm-256-notes/data/256colors2.pl > > Having tried the perl script it shows that 256 colors are definitely > functional in my existing rxvt terminal. I'm following up on an issue I posted about previously. I fiddled with the settings in the shortcut that opens rxvt. When I removed -tn rxvt-256color, the colors then worked in Tinyfugue, in my cygwin install on my laptop. I also carry cygwin-compiled Tinyfugue on a USB stick. What I did was hand-copy the dlls needed and I created a shortcut and batch file that provide the necessary command-line parameters to point to the right directories. It works pretty well for me in this setup with the standard windows terminal. I copied rxvt.exe to the same directory on my usb stick, and then copied libW11.dll, when rxvt.exe crashed without it. Now, I can open rxvt and run tf. However, from the USB stick there are no 256 colors. All I get is the 8 basic and bright colors. Also, tf's "visual" (split screen) mode isn't supported. I get a brief error message indicating rxvt doesn't support that mode. However, it does on my home cygwin install. Putting -tn rxvt-256color in the shortcut doesn't give me 256 colors either. I found my "termcap" file in my cygwin laptop install and I have a copy of it on my USB. However, I don't know how to point rxvt to it. The best I can find reading online man pages is setting the "TERM" environment variable, which isn't the same thing. -- 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