Re: 256 colors - xterm, screen, slrn
Sven Guckes <[email protected]>
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Message-ID | <[email protected]> |
* cga2000 <[email protected]> [2007-10-26 14:13]: > On Thu, Oct 25, 2007 at 09:01:53PM EDT, John E. Davis wrote: > > cga2000 <[email protected]> wrote: > > Does the following slsh script work for you? > > It shows 256 foreground colors for each of 256 background colors. > > Did I mention I run everything under gnu/screen? :-( > > The slsmg script displays 256 colors alright.. > when I run it directly on top of an xterm. > > But when I run it in a gnu/screen-managed terminal > it only displays 8 colors (black, red, green, > yellow, blue, magenta, cyan, white). > > I haven't tested with slrn but my guess > is that I can expect a similar behavior. well, have you installed screen with "256 color support"? ~/screen-4.0.3> ./configure -help | grep 256 --enable-colors256 enable support for 256 colors > And here's a perl script that displays 256 colors > with or without the intervening gnu/screen layer: available from here now - with two similar ones: http://www.guckes.net/Setup/256colors2.pl 324 bytes http://www.guckes.net/Setup/16colors.txt 4495 bytes http://www.guckes.net/Setup/256colors2.pl 1620 bytes and, folks, please remember that adjusting the subject line is a good thing[tm], ok?! Sven ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/