🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Jan Hlavacek Sat, 31 Jan 1998 00:00
Re: slrn 0.9.4.5 woes?
#38398
Author: Jan Hlavacek
Date: Sat, 31 Jan 1998 00:00
22 lines
1617 bytes
On 30 Jan 1998 22:28:01 -0700, E. <erisson@sw-tech.com> wrote:
> Actually, I'm suspecting it's an rxvt problem (on Linux).  I upgraded
> slang and slrn, and lo and behold, my color sceme in slrn was INSANE.
> 
> I eventually narrowed it down to some colors being swapped.  If I
> changed "cyan" to "brown", "yellow" to "brightcyan", and swapped "red"
> and "blue", it looked just like before.  I switched to console mode
> (yay!), and brown was brown once again, not cyan.

Did you define colors for rxvt?  I use slrn in rxvt on Solaris,  and my
colors are the same in rxvt as when I dial in and use MSKERMIT.  And the
colors didn't change from slrn 0.9.4.4. 

lahvak
-- 
Jan Hlav\'{a}\v{c}ek <lahvak@math.mps.ohio-state.edu>  (BCC's will bounce)
home page: http://www.math.ohio-state.edu/~lahvak/
slrn page: http://www.math.ohio-state.edu/~lahvak/software/slrn.html
slrn documentation: http://www.math.ohio-state.edu/~lahvak/software/slrn/

Re: slrn 0.9.4.5 woes?
#38395
Author: John E. Davis
Date: Sat, 31 Jan 1998 00:00
31 lines
1723 bytes
On 31 Jan 1998 09:10:10 GMT, Jan Hlavacek <lahvak@math.mps.ohio-state.edu>
wrote:
>Oops,  I just noticed somebody posting a description of similar problem
>on slang mailing list,  this time with x-term.  It seems that it is
>some problem with terminfo entries.

Try this patch to slang/src/sldisply.c:

--- sldisply.c~	Thu Jan 29 23:55:55 1998
+++ sldisply.c	Sat Jan 31 14:35:00 1998
@@ -2054,12 +2054,12 @@
      SLtt_Has_Alt_Charset = 0;
 
    Reset_Color_String = SLtt_tgetstr ("op");
-   Color_Fg_Str = SLtt_tgetstr ("Sf");
-   Color_Bg_Str = SLtt_tgetstr ("Sb");
+   Color_Fg_Str = SLtt_tgetstr ("AF");
+   Color_Bg_Str = SLtt_tgetstr ("AB");
    if ((Color_Fg_Str == NULL) || (Color_Bg_Str == NULL))
      {
-	Color_Fg_Str = SLtt_tgetstr ("AF");
-	Color_Bg_Str = SLtt_tgetstr ("AB");
+	Color_Fg_Str = SLtt_tgetstr ("Sf");
+	Color_Bg_Str = SLtt_tgetstr ("Sb");
      }
 
    if (-1 == (Max_Terminfo_Colors = SLtt_tgetnum ("Co")))


Re: slrn 0.9.4.5 woes?
#38396
Author: Jan Hlavacek
Date: Sat, 31 Jan 1998 00:00
100 lines
4668 bytes
On 31 Jan 1998 00:59:01 -0700, E. <erisson@sw-tech.com> wrote:
> Jan Hlavacek <lahvak@math.mps.ohio-state.edu> wrote:
> > 
> > Did you define colors for rxvt?  
> 
> Um, not specifically.  I've never HAD to, really.

Do other programs show colors the same way in rxvt as in the console?
If yes,  then it looks like slrn/slang's fault.  If not,  see below:

> 
> Where might I do this?
> 
> (No, I don't have the man page for rxvt, because I grabbed the binary
> from a friend; I don't like X and am only using it until I get a working
> terminal.  <sigh>)

It is posible that you actually did define colors for rxvt,  without
knowing it.  If you have colors for xterm in your ~/.Xdefaults, rxvt
could pick them too. (But then,  I don't know if xterm uses the same
resource names as rxvt for colors).

Another posibility is that your friend changed the compile-time detaults.

In rxvt man page: 

RESOURCES (available	also as long-options)
     rxvt  accepts	application  defaults set in XAPPLOADDIR/Rxvt
     (compile-time     defined:	    usually	/usr/lib/X11/app-
     defaults/Rxvt)  and resources	set in ~/.Xdefaults	or ~/.Xre-
     sources.  Note that	when reading X	resources,  rxvt  recog-
     nizes two class names: XTerm and Rxvt.  The class	name XTerm
     allows resources common to	both rxvt and xterm to	be  easily
     configured,  while	 the  class  name  Rxvt  allows resources
     unique to rxvt,  notably  colors  and	key-handling,  to  be
     shared   between	different  rxvt  configurations.   If  no
     resources are specified, suitable	defaults  will	be  used.
     Command-line arguments can	be used	to override resource set-
     tings.  The following resources are allowed:

(snip)

     colorn: color
	  Use  the  specified  color for the color value n, where
	  0-7 corresponds to low-intensity  (normal)  colors  and
	  8-15 corresponds to high-intensity (bold = bright fore-
	  ground, blink	= bright background) colors.  The canoni-
	  cal  names  are  as  follows:	 0=black, 1=red, 2=green,
	  3=yellow, 4=blue, 5=magenta, 6=cyan, 7=white,	 but  the
	  actual  color	 names	used are listed	in the COLORS AND
	  GRAPHICS section.

(snip)

COLORS AND GRAPHICS
     If	graphics support was enabled at	compile-time, rxvt can be
     queried with ANSI escape sequences	and can	address	 individ-
     ual  pixels  instead  of text characters.	Note the graphics
     support is	still considered beta code.

     In	addition to the	default	foreground and background colors,
     rxvt  can  display up to 16 colors (8 ANSI colors plus	high-
     intensity bold/blink versions of the same).  Here is a  list
     of	the colors with	their rgb.txt names.

	  color0	 (black)	   = Black
	  color1	 (red)		   = Red3
	  color2	 (green)	   = Green3
	  color3	 (yellow)	   = Yellow3
	  color4	 (blue)		   = Blue3
	  color5	 (magenta)	   = Magenta3
	  color6	 (cyan)		   = Cyan3
	  color7	 (white)	   = AntiqueWhite

	  color8	 (bright black)	   = Grey25
	  color9	 (bright red)	   = Red
	  color10  (bright green)    = Green
	  color11  (bright yellow)   = Yellow
	  color12  (bright blue)	    = Blue
	  color13  (bright magenta)  = Magenta
	  color14  (bright cyan)	    = Cyan
	  color15  (bright white)    = White

	  foreground		       = Black
	  background		       = White

     It	 is  also  possible  to	specify	the color values of fore-
     ground, background, cursorColor, cursorColor2, colorBD, col-
     orUL  as  a number 0-15, as a convenient shorthand to refer-
     ence the color name of color0-color15.

lahvak
-- 
Jan Hlav\'{a}\v{c}ek <lahvak@math.mps.ohio-state.edu>  (BCC's will bounce)
home page: http://www.math.ohio-state.edu/~lahvak/
slrn page: http://www.math.ohio-state.edu/~lahvak/software/slrn.html
slrn documentation: http://www.math.ohio-state.edu/~lahvak/software/slrn/

Re: slrn 0.9.4.5 woes?
#38400
Author: Jan Hlavacek
Date: Sat, 31 Jan 1998 00:00
16 lines
1377 bytes
On 31 Jan 1998 01:46:01 -0700, E. <erisson@sw-tech.com> wrote:
> -E (who would still like to know why it's ONLY slrn 0.9.4.5 that behaves
>     this way)

It seems that older versions of slang didn't use the terminfo (see my
other post).

lahvak
-- 
Jan Hlav\'{a}\v{c}ek <lahvak@math.mps.ohio-state.edu>  (BCC's will bounce)
home page: http://www.math.ohio-state.edu/~lahvak/
slrn page: http://www.math.ohio-state.edu/~lahvak/software/slrn.html
slrn documentation: http://www.math.ohio-state.edu/~lahvak/software/slrn/

Re: slrn 0.9.4.5 woes?
#38401
Author: Jan Hlavacek
Date: Sat, 31 Jan 1998 00:00
30 lines
1965 bytes
On 31 Jan 1998 08:39:26 GMT, Jan Hlavacek
<lahvak@math.mps.ohio-state.edu> wrote:
> On 31 Jan 1998 00:59:01 -0700, E. <erisson@sw-tech.com> wrote:
> > Jan Hlavacek <lahvak@math.mps.ohio-state.edu> wrote:
> > > 
> > > Did you define colors for rxvt?  
> > 
> > Um, not specifically.  I've never HAD to, really.
> 
> Do other programs show colors the same way in rxvt as in the console?
> If yes,  then it looks like slrn/slang's fault.  If not,  see below:

Oops,  I just noticed somebody posting a description of similar problem
on slang mailing list,  this time with x-term.  It seems that it is
some problem with terminfo entries.

I remember having similar problem with vim,  ended up solvimg it by
setting terminfo entries internaly in my vimrc.  But this is several
munths ago,  so I really can't tell if it had anything to do with your
problem or not.

lahvak
-- 
Jan Hlav\'{a}\v{c}ek <lahvak@math.mps.ohio-state.edu>  (BCC's will bounce)
home page: http://www.math.ohio-state.edu/~lahvak/
slrn page: http://www.math.ohio-state.edu/~lahvak/software/slrn.html
slrn documentation: http://www.math.ohio-state.edu/~lahvak/software/slrn/

Re: slrn 0.9.4.5 woes?
#38427
Author: Jeff Haferman
Date: Mon, 02 Feb 1998 00:00
18 lines
1318 bytes
On 31 Jan 1998 22:21:37 GMT, John E. Davis <davis@space.mit.edu> wrote:
>On 31 Jan 1998 09:10:10 GMT, Jan Hlavacek <lahvak@math.mps.ohio-state.edu>
>wrote:
>>Oops,  I just noticed somebody posting a description of similar problem
>>on slang mailing list,  this time with x-term.  It seems that it is
>>some problem with terminfo entries.
>
>Try this patch to slang/src/sldisply.c:
>

Can you explain how to apply this patch?  I can build things fine,
but have never applied patches...




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