Thread View: news.software.readers
15 messages
15 total messages
Started by Thomas Stroesslin
Mon, 22 May 2000 00:00
problem with colours in slrn
Author: Thomas Stroesslin
Date: Mon, 22 May 2000 00:00
Date: Mon, 22 May 2000 00:00
14 lines
989 bytes
989 bytes
hi, on my sun workstation, i can't get slrn to use colours. i believe it doesn't necessarily have to do with slrn, but maybe with my X setup or my xterm? i use "slrn -C", in .slrnrc i have the colours defined (although I don't know where i should have resolved colour name to value). where can i start searching? cheers, tom
Re: problem with colours in slrn
Author: John E. Davis
Date: Mon, 22 May 2000 00:00
Date: Mon, 22 May 2000 00:00
11 lines
1053 bytes
1053 bytes
On 22 May 2000 20:41:11 +0100, Thomas Stroesslin <thomas.stroesslin@epfl.ch> wrote: >on my sun workstation, i can't get slrn to use colours. i believe it doesn't >necessarily have to do with slrn, but maybe with my X setup or my xterm? I do not think that the stock SunOS xterm supports colors. Do you know for sure that your xterm does? --John
Re: problem with colours in slrn
Author: Eric Edwards
Date: Mon, 22 May 2000 00:00
Date: Mon, 22 May 2000 00:00
19 lines
1609 bytes
1609 bytes
On 22 May 2000 19:34:02 GMT, Heikki Kantola <hezu@iki.fi> wrote: >First check the xterm, there's fair chance it is rather old version >and does not support ANSI colours at all, the xterms supplied with >Solaris 7 and older (I do not have access to any Solaris 8 box, so I >don't know about that version) seem to have colourless xterm versions. Solaris 8 xterm and Dtterm support color. Late patches to Solaris 7 (X11R6.4) also support color xterm and DTTerm. >However, the dtterm included with CDE has some sort of colour support Older DTTerms would map monochrome display attributes (bold, etc) to colors. It's not real color support though. -- Real courtesy requires human effort and understanding. Never let your machine or your habit send courtesy copies.
Re: problem with colours in slrn
Author: Heikki Kantola
Date: Mon, 22 May 2000 00:00
Date: Mon, 22 May 2000 00:00
25 lines
2058 bytes
2058 bytes
Thomas Stroesslin <thomas.stroesslin@epfl.ch> informed news.software.readers with the following: >on my sun workstation, i can't get slrn to use colours. i believe it doesn't >necessarily have to do with slrn, but maybe with my X setup or my xterm? > >i use "slrn -C", in .slrnrc i have the colours defined (although I don't >know where i should have resolved colour name to value). > >where can i start searching? First check the xterm, there's fair chance it is rather old version and does not support ANSI colours at all, the xterms supplied with Solaris 7 and older (I do not have access to any Solaris 8 box, so I don't know about that version) seem to have colourless xterm versions. However, the dtterm included with CDE has some sort of colour support if you're not interested in install new xterm version or some other suitable terminal emulator like rvxt. -- Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI> L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta tunnilta.
Re: problem with colours in slrn
Author: Eric Edwards
Date: Tue, 23 May 2000 00:00
Date: Tue, 23 May 2000 00:00
43 lines
2880 bytes
2880 bytes
On Tue, 23 May 2000 10:08:55 GMT, TEDickey <dickey@clark.net> wrote: >Eric Edwards <ese002@news9.exile.org> wrote: >> On 22 May 2000 19:34:02 GMT, Heikki Kantola <hezu@iki.fi> wrote: >>>First check the xterm, there's fair chance it is rather old version >>>and does not support ANSI colours at all, the xterms supplied with >>>Solaris 7 and older (I do not have access to any Solaris 8 box, so I >>>don't know about that version) seem to have colourless xterm versions. > >> Solaris 8 xterm and Dtterm support color. Late patches to Solaris 7 >> (X11R6.4) also support color xterm and DTTerm. > >dtterm's supported color for at least 3-4 years (the version released >with Solaris 2.5.1 supported color). Not with slrn. At least not with contemporary versions of slrn. I tried. I've run ever Solaris release from 2.4 to 7. At 2.6 I switched over to rxvt for performance reasons. ( At 2.6 dtterm became *much* slower ). I did try, on several occasions to get dtterm to display color comparable to rxvt with slrn. Never worked. Right now, all I have available are late Solaris 7 installs and they do support color in dtterm. > The X/Open X11R6.4 patch doesn't >have support for color xterm - if Solaris 8 has color, it's either a >Sun-only patch or a recent fix (but this is the first time I've seen >anyone mention this). The Solaris 7 patches to get X11R6.4 most clearly support color xterms and dtterms. I ran slrn in an xterm, just now. Color. Pretty hard to miss. It is my understanding the the X11R6.4 patches for Solaris 7 is the same as the Solaris 8 X server. I just checked and Solaris 7 without the X11R6.4 patches does not support color. As I recall, Xfree86 has had color xterms for some time now. That may be where Sun's came from. (Not that I'm running Xfree86. This is a sparc) -- Real courtesy requires human effort and understanding. Never let your machine or your habit send courtesy copies.
Re: problem with colours in slrn
Author: TEDickey
Date: Tue, 23 May 2000 00:00
Date: Tue, 23 May 2000 00:00
22 lines
1843 bytes
1843 bytes
Eric Edwards <ese002@news9.exile.org> wrote: > On 22 May 2000 19:34:02 GMT, Heikki Kantola <hezu@iki.fi> wrote: >>First check the xterm, there's fair chance it is rather old version >>and does not support ANSI colours at all, the xterms supplied with >>Solaris 7 and older (I do not have access to any Solaris 8 box, so I >>don't know about that version) seem to have colourless xterm versions. > Solaris 8 xterm and Dtterm support color. Late patches to Solaris 7 > (X11R6.4) also support color xterm and DTTerm. dtterm's supported color for at least 3-4 years (the version released with Solaris 2.5.1 supported color). The X/Open X11R6.4 patch doesn't have support for color xterm - if Solaris 8 has color, it's either a Sun-only patch or a recent fix (but this is the first time I've seen anyone mention this). -- Thomas E. Dickey <dickey@clark.net> -> <dickey@herndon4.his.com> http://dickey.his.com ftp://dickey.his.com
Re: problem with colours in slrn
Author: Thomas Stroesslin
Date: Tue, 23 May 2000 00:00
Date: Tue, 23 May 2000 00:00
20 lines
1471 bytes
1471 bytes
On Tue, 23 May 2000 12:25:31 GMT, Graydon <angantyr@sympatico.ca> wrote: >On 23 May 2000 10:01:30 +0100, >Thomas Stroesslin <thomas.stroesslin@epfl.ch> scripsit: >>no, i think not. i'll install the xterm you referenced on your page. i'd >>have liked to install rvxt, but i could only find rpms, not tgzs. so i'd >>have to install rpm, etc.... > >You can get the tarball out of the source rpm on another machine that >already has rpm, or you can got to ftp.rxvt.org/pub/rxvt, and lo! >tarball distributions. thx -- --------------------------------------- T. Stroesslin DI-MANTRA (INF 130) EPFL
Re: problem with colours in slrn
Author: Thomas Stroesslin
Date: Tue, 23 May 2000 00:00
Date: Tue, 23 May 2000 00:00
18 lines
1415 bytes
1415 bytes
On 22 May 2000 19:21:22 GMT, John E. Davis <davis@space.mit.edu> wrote: >On 22 May 2000 20:41:11 +0100, Thomas Stroesslin <thomas.stroesslin@epfl.ch> >wrote: >>on my sun workstation, i can't get slrn to use colours. i believe it doesn't >>necessarily have to do with slrn, but maybe with my X setup or my xterm? > >I do not think that the stock SunOS xterm supports colors. Do you >know for sure that your xterm does? no, i think not. i'll install the xterm you referenced on your page. i'd have liked to install rvxt, but i could only find rpms, not tgzs. so i'd have to install rpm, etc.... isn't there a tgz-variant of rvxt? cheers, tom
Re: problem with colours in slrn
Author: dickey
Date: Wed, 24 May 2000 00:00
Date: Wed, 24 May 2000 00:00
17 lines
1590 bytes
1590 bytes
Eric Edwards <ese002@news9.exile.org> wrote: > I just checked and Solaris 7 without the X11R6.4 patches does not > support color. As I recall, Xfree86 has had color xterms for some time > now. That may be where Sun's came from. (Not that I'm running Xfree86. > This is a sparc) I don't try to build the server on other systems - too far off from what I'm working on, but the xterm code is reasonably portable (if you have Sun's imake installed). -- Thomas E. Dickey <dickey@clark.net> -> <dickey@herndon4.his.com> http://dickey.his.com ftp://dickey.his.com
Re: problem with colours in slrn
Author: dickey
Date: Wed, 24 May 2000 00:00
Date: Wed, 24 May 2000 00:00
63 lines
3847 bytes
3847 bytes
Eric Edwards <ese002@news9.exile.org> wrote: > On Tue, 23 May 2000 10:08:55 GMT, TEDickey <dickey@clark.net> wrote: >>Eric Edwards <ese002@news9.exile.org> wrote: >>> On 22 May 2000 19:34:02 GMT, Heikki Kantola <hezu@iki.fi> wrote: >>>>First check the xterm, there's fair chance it is rather old version >>>>and does not support ANSI colours at all, the xterms supplied with >>>>Solaris 7 and older (I do not have access to any Solaris 8 box, so I >>>>don't know about that version) seem to have colourless xterm versions. >> >>> Solaris 8 xterm and Dtterm support color. Late patches to Solaris 7 >>> (X11R6.4) also support color xterm and DTTerm. >> >>dtterm's supported color for at least 3-4 years (the version released >>with Solaris 2.5.1 supported color). > Not with slrn. At least not with contemporary versions of slrn. slrn uses slang, which does not work properly for dtterm and other terminals that do not implement back color erase (bce). curses and ncurses applications work properly on dtterm - lynx and mutt for example: http://dickey.his.com/lynx/lynx-ncurses.html > I tried. I've run ever Solaris release from 2.4 to 7. At 2.6 I > switched over to rxvt for performance reasons. ( At 2.6 dtterm became > *much* slower ). I did try, on several occasions to get dtterm to > display color comparable to rxvt with slrn. Never worked. > Right now, all I have available are late Solaris 7 installs and they do > support color in dtterm. I've tested only on the 2.5 and Solaris 7 - dtterm behaves similarly on each (it has the same scrolling bug, for example). >> The X/Open X11R6.4 patch doesn't >>have support for color xterm - if Solaris 8 has color, it's either a >>Sun-only patch or a recent fix (but this is the first time I've seen >>anyone mention this). > The Solaris 7 patches to get X11R6.4 most clearly support color xterms > and dtterms. I ran slrn in an xterm, just now. Color. Pretty hard to > miss. It is my understanding the the X11R6.4 patches for Solaris 7 is > the same as the Solaris 8 X server. well, I only know about the last public patches for X11R6.4 (which didn't). I'm told that the XFree86 changes will be merged into X11R6.4, but that hasn't happened yet. So I'm curious if Sun (or X/Open) has picked up the XFree86 version or if they've used another - or done their own. (In any case, it's worth knowing to get a correct terminfo for ncurses). > I just checked and Solaris 7 without the X11R6.4 patches does not > support color. As I recall, Xfree86 has had color xterms for some time > now. That may be where Sun's came from. (Not that I'm running Xfree86. perhaps (I maintain XFree86 xterm). -- Thomas E. Dickey <dickey@clark.net> -> <dickey@herndon4.his.com> http://dickey.his.com ftp://dickey.his.com
Re: problem with colours in slrn
Author: John E. Davis
Date: Wed, 24 May 2000 00:00
Date: Wed, 24 May 2000 00:00
32 lines
2000 bytes
2000 bytes
On Wed, 24 May 2000 13:36:26 GMT, dickey@herndon4.his.com <dickey@herndon4.his.com>
wrote:
>slrn uses slang, which does not work properly for dtterm and other
>terminals that do not implement back color erase (bce).
The reason that I never noticed this problem with jed and slrn is
because they setup the colors after calling SLsmg_init_smg, whereas
lynx does it the other way around. In other words, jed and slrn work
fine with terminals such as dtterm, but programs such as lynx when
compiled with slang do not. This bug will be corrected in version 1.4.2
(it is a one line patch). Nevertheless, here is a lynx patch that
works around the problem:
#v+
--- LYCurses.c~ Mon Apr 17 06:59:17 2000
+++ LYCurses.c Wed May 24 16:48:11 2000
@@ -759,6 +759,9 @@
SLsmg_Display_Eight_Bit = 191; /* may print ctrl chars otherwise - kw */
scrollok(0,0);
SLsmg_Backspace_Moves = 1;
+#if SLANG_VERSION > 10306
+ SLsmg_touch_screen ();
+#endif
#ifndef VMS
#if defined(REAL_UNIX_SYSTEM) && !defined(__CYGWIN__)
SLtty_set_suspend_state(1);
#v-
--John
Re: problem with colours in slrn
Author: Eric Edwards
Date: Thu, 25 May 2000 00:00
Date: Thu, 25 May 2000 00:00
21 lines
1912 bytes
1912 bytes
On Wed, 24 May 2000 13:36:26 GMT, dickey@herndon4.his.com <dickey@herndon4.his.com> wrote: >Eric Edwards <ese002@news9.exile.org> wrote: >> I just checked and Solaris 7 without the X11R6.4 patches does not >> support color. As I recall, Xfree86 has had color xterms for some time >> now. That may be where Sun's came from. (Not that I'm running Xfree86. > >perhaps (I maintain XFree86 xterm). Well, it looks like I have egg on my face. The color capable xterm I used was not Sun's but another xterm installed in /usr/local/bin and forgotten for nearly 3 years. Very strange. I could have sworn the reason why I didn't use it was because I couldn't get slrn to display in color (slang version: 0.9937) Oh well. Just to be clear. The Sun supplied xterm does not do color. -- Real courtesy requires human effort and understanding. Never let your machine or your habit send courtesy copies.
Re: problem with colours in slrn
Author: Eric Edwards
Date: Fri, 26 May 2000 00:00
Date: Fri, 26 May 2000 00:00
23 lines
2128 bytes
2128 bytes
On Fri, 26 May 2000 19:40:30 GMT, dickey@herndon4.his.com <dickey@herndon4.his.com> wrote: >Eric Edwards <ese002@news9.exile.org> wrote: >> Well, it looks like I have egg on my face. The color capable xterm I >> used was not Sun's but another xterm installed in /usr/local/bin and >> forgotten for nearly 3 years. Very strange. I could have sworn the > >The most likely ones then would be either color_xterm, or XFree86 xterm >(they can be distinguished because the former does not do back color >erase). That's assuming that they look/act like xterm (Athena widgets >with popups). I didn't start putting the version number on til about >two years ago. It's the Xfree86 version. Says so in source. :-) Like you said, there's no explicit version number but the individual source files have version numbers and the code lives in xterm-41. (Not that any of this terribly germane to newsreaders anymore) -- Real courtesy requires human effort and understanding. Never let your machine or your habit send courtesy copies.
Re: problem with colours in slrn
Author: dickey
Date: Fri, 26 May 2000 00:00
Date: Fri, 26 May 2000 00:00
17 lines
1758 bytes
1758 bytes
Eric Edwards <ese002@news9.exile.org> wrote: > Well, it looks like I have egg on my face. The color capable xterm I > used was not Sun's but another xterm installed in /usr/local/bin and > forgotten for nearly 3 years. Very strange. I could have sworn the The most likely ones then would be either color_xterm, or XFree86 xterm (they can be distinguished because the former does not do back color erase). That's assuming that they look/act like xterm (Athena widgets with popups). I didn't start putting the version number on til about two years ago. -- Thomas E. Dickey <dickey@herndon4.his.com> http://dickey.his.com ftp://dickey.his.com
Re: problem with colours in slrn
Author: Chris J. Mutter
Date: Mon, 29 May 2000 00:00
Date: Mon, 29 May 2000 00:00
26 lines
2132 bytes
2132 bytes
On 22 May 2000 20:14:02 GMT, Eric Edwards <ese002@news9.exile.org> wrote: |On 22 May 2000 19:34:02 GMT, Heikki Kantola <hezu@iki.fi> wrote: |>First check the xterm, there's fair chance it is rather old version |>and does not support ANSI colours at all, the xterms supplied with |>Solaris 7 and older (I do not have access to any Solaris 8 box, so I |>don't know about that version) seem to have colourless xterm versions. | |Solaris 8 xterm and Dtterm support color. Late patches to Solaris 7 |(X11R6.4) also support color xterm and DTTerm. nope. Solaris8 (at least on IntelArch.) doesnt come with a color-xterm. i usually use xterms from FreeBSD boxes exported to the CDE display which works better. |>However, the dtterm included with CDE has some sort of colour support right. but the disadvantage of dtterm is that it eats alot of RAM ... later, cjm -- ** PGP-Key-ID: 0x975B2F19 - CJM17(-RIPE),SIL-MNT http://www.enemy.org ** -- "You can tune a file system, but you can't tune a fish." tunefs(8) *************************************************************************
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads