Re: 256 colors - xterm, screen, slrn
cga2000 <[email protected]>
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Oct 26, 2007 at 03:09:57PM EDT, Sven Guckes wrote: > * cga2000 <[email protected]> [2007-10-26 21:04]: > > On Fri, Oct 26, 2007 at 10:41:19AM EDT, Sven Guckes wrote: > > > * cga2000 <[email protected]> [2007-10-26 14:13]: > > > > 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). > > > > > well, have you installed screen with "256 color support"? > > > > Naturally. > > just checking.. > > > Otherwise, the "perl script" would not be able to display 256 colors > > "with or without the intervening gnu/screen layer". > > have you counted them all? ;-) Yes. It displays the traditional so-called 16 "system" colors .. .. a "color cube" with 216 "extended" (my wording) colors .. .. and a so-called "ramp" with 24 shades of gray. The nice thing with this script is that as long as you have seen the output before .. you can tell at a glance whether you're correctly configured 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 > > > > Thanks, but I'm getting an "internal server error". > > indeed... looks like the webserver has a problem right now. > check again later, please. I certainly will. > > How could the two identical URL's above have a different byte count? > > copy+paste error.. the second "two" was superfluous. > > http://www.guckes.net/Setup/256colors.pl 324 bytes > > happy? ;) No. Curious. Thanks, cga ------------------------------------------------------------------------- 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/