delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/17/23:05:44

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: <df40367e0908250953v5fdb793elb0356151fbf0758f@mail.gmail.com>
References: <df40367e0908250227t3b789d7ewd2b4df10d51cf98f AT mail DOT gmail DOT com> <416096c60908250603gea73024uf31dec139b2e3776 AT mail DOT gmail DOT com> <416096c60908250608y734c824dk44ae136872a27dd3 AT mail DOT gmail DOT com> <df40367e0908250953v5fdb793elb0356151fbf0758f AT mail DOT gmail DOT com>
From: Gwen Morse <gwen DOT morse AT gmail DOT com>
Date: Thu, 17 Sep 2009 23:05:07 -0400
Message-ID: <df40367e0909172005y7ab3c12g95602ea43cf8f360@mail.gmail.com>
Subject: Re: 256 color terminal in basic (non-"X Windows") Cygwin
To: cygwin AT cygwin DOT com
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 Tue, Aug 25, 2009 at 12:53 PM, Gwen Morse<gwen DOT morse AT gmail DOT com> wrote:
> On Tue, Aug 25, 2009 at 9:08 AM, Andy Koppe<andy DOT koppe AT gmail DOT com> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019