🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by Reality is a point of view Wed, 17 Apr 1996 00:00
slrn 0.8.7.1 hopes and dreams
#20658
Author: Reality is a point of view
Date: Wed, 17 Apr 1996 00:00
81 lines
2813 bytes
While becoming a huge fan of slrn I made a list of things I wish
it did, and found a tiny buglet.  Maybe I should clean up local
mods for general consumption . . .

Little harmless bug:

I ran across a segfault.  With a .jnewsrc file that has a single
entry, that doesn't have a : after the newsgroup, slrn will start
up OK but will crash when the L key is used to access the
newsgroup mask prompt.  Press return and it dies in group.c of
version 0.8.7.1.  A simple (untested) fix is:

687c687
< 	if (Current_Group->flags & HIDDEN)
---
> 	if (Current_Group && Current_Group->flags & HIDDEN)


Big wishes:

Saving (via append) letters/forwards, like save_posts.  save_letter?
Spell check prompt for posts/letters/forwards.  ispell on UNIX?

Little wishes:

Sorting newsgroups when doing an slrn -create or slrn -d.
Current time/date display on status line.
Way to interrupt insanely long header pulls.  ^G?
Cleaner shut down of the NNTP connection.  (TIME_WAIT, 1 byte in RQ)
Writing compiled defaults to a .slrnrc file on request.
More control over quoting in letters/forwards.
Pan in newsgroup listing.

Pipe dreams:

Generalized colorization, allowing for user defined
labels/expressions.  header.From."space\.mit\.edu" = somecolor

Dynamic sorting of newsgroups
	alphabetical
	volume change (since last .jnewsrc)
	labels
		code ".*lang.*"
		hardware ".*hardware"
		general "^comp.*"
		other ".*"
	number of articles (either direction)

Dynamic sorting of headers
	scoring
	date
	length of articles
		average in thread
		individual

My mellow .slrnrc color scheme.

color	error		brightred	blue
color	status		green		blue
color	menu		lightgray	blue
color	group		yellow		blue
color	cursor		white		blue
color	author		green		blue
color	subject		yellow		blue
color	headers		lightgray	blue
color	article		white		blue
color	signature	lightgray	blue
color	quotes		brightgreen	blue
color	normal		lightgray	blue
color	tree		lightgray	blue
color	high_score	white		blue
color	thread_number	lightgray	blue
color	header_number	lightgray	blue

-- 
Gary Johnson     "I'd a done sumpin too, but I ain't no Peckerton Ditinctive."
gjohnson@season.com
                            CAMPAIGN '96: Juck 'em if they can't fake a toke.


slrn colours (was Re: slrn 0.8.7.1 hopes and dreams)
#20666
Author: Michael Stillwell
Date: Wed, 17 Apr 1996 00:00
51 lines
1951 bytes
On 17 Apr 1996 02:30:34 GMT, Reality is a point of view <gjohnson@dream.season.com> wrote:
: 
: My mellow .slrnrc color scheme.
: 
: color	error		brightred	blue
: color	status		green		blue
: color	menu		lightgray	blue
: color	group		yellow		blue
: color	cursor		white		blue
: color	author		green		blue
: color	subject		yellow		blue
: color	headers		lightgray	blue
: color	article		white		blue
: color	signature	lightgray	blue
: color	quotes		brightgreen	blue
: color	normal		lightgray	blue
: color	tree		lightgray	blue
: color	high_score	white		blue
: color	thread_number	lightgray	blue
: color	header_number	lightgray	blue

Mine is:

(black background, not quite a bright as above)

color normal cyan black
color error black white
color status lightgray blue
color group lightgray black
color article cyan black
color cursor white black
color author yellow black
color subject cyan black
color headers lightgray black
color menu lightgray blue
color tree brightgreen black
color quotes lightgray black
color thread_number brightgreen black
color high_score red black
color signature lightgray black

Michael

-- 
.. ABSOLUT .SIG. ..
.. Michael Stillwell ..
.. mist@yoyo.cc.monash.edu.au ..
.. http://yoyo.cc.monash.edu.au/~mist/ ..


Re: slrn 0.8.7.1 hopes and dreams
#20673
Author: John E. Davis
Date: Wed, 17 Apr 1996 00:00
55 lines
2551 bytes
On 17 Apr 1996 02:30:34 GMT, Reality is a point of view <gjohnson@dream.season.com>
wrote:
 : version 0.8.7.1.  A simple (untested) fix is:
 : 
 : 687c687
 : < 	if (Current_Group->flags & HIDDEN)
 : ---
 : > 	if (Current_Group && Current_Group->flags & HIDDEN)
 
Thanks, this should work.  In the future, please post patches as context
patches since it is easier to see where to apply the patch.  That is, use
`diff -u' or, if your diff does not support `-u', use `diff -c'.  For
example, `diff -u' produces:

--- group.c~	Fri Apr 12 17:43:23 1996
+++ group.c	Wed Apr 17 00:42:23 1996
@@ -685,7 +685,8 @@
    if ((all_hidden == 0) && (Current_Group == NULL))
      {
 	Current_Group = Groups;
-	if (Current_Group->flags & HIDDEN)
+	if ((Current_Group != NULL)
+	    && (Current_Group->flags & HIDDEN))
 	  {
 	     Current_Group = NULL;
 	  }

 : Saving (via append) letters/forwards, like save_posts.  save_letter?
 : Spell check prompt for posts/letters/forwards.  ispell on UNIX?
 
Until such features are available, you might want to modify the
set the editor_command variable to a shell script that does these particular
items.

 : Little wishes:
 : 
 : Sorting newsgroups when doing an slrn -create or slrn -d.
 : Current time/date display on status line.
 : Way to interrupt insanely long header pulls.  ^G?
 
0.8.8 will feature interruption of article retrievals.  Interruption of the
headers is more tricky and I want to wait to see if I have implemented the
article abortion code properly before I attempt something more complex.

 : Cleaner shut down of the NNTP connection.  (TIME_WAIT, 1 byte in RQ)
 
I do not know what you are referring to here.  I suspect that your kernel is
generating this message.
-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis


Re: slrn colours (was Re: slrn 0.8.7.1 hopes and dreams)
#20685
Author: Ben Combee
Date: Thu, 18 Apr 1996 00:00
25 lines
2066 bytes
On 18 Apr 1996 08:04:55 GMT, John E. Davis <davis@space.mit.edu> wrote:
>I would like to know what color terminals slrn is being used on.  I know
>that it is used on the Linux console and rxvt.  What about others such as
>MS-Kermit or Procomm?

>The reason I ask is that slrn only supports color terminals that use the
>so-called ``new color model''.  These include recent color DEC terminals,
>rxvt, linux console, NCSA telnet).  The other color model is, in my opinion,
>brain-dead and is implemented by ansi-xterm, DECTerm, MS-Kermit, the color
>version of `screen', and on some versions (perhaps all) of procomm.

In addition to rxvt at work, I use {COMMO} in VT102 mode for DOS
dialup and beta 1.1 of CRT in VT102 w/ ANSI color mode for Windows95
telnet and rlogin.  All work fine with slrn, although I am using a
background color of black for most everything.  That is the default
for {COMMO} and CRT, so I don't know if they support the new color
model or not.  I'm sure I could get CRT's author to support the new
color model if it is missing... I'm not so sure about {COMMO}.
-- 
Benjamin L. Combee (combee@techwood.org) <URL:http://www.yak.net/combee/>
that public-access-TV-making, video-game-collecting, cryptography-pushing,
World-Wide-Web-explaining, fem-music-loving, bad-pun-creating guy in Austin


Re: slrn colours (was Re: slrn 0.8.7.1 hopes and dreams)
#20689
Author: John E. Davis
Date: Thu, 18 Apr 1996 00:00
32 lines
2116 bytes
On 17 Apr 1996 23:46:03 GMT, Michael Stillwell <mist@yoyo.cc.monash.edu.au>
wrote:
 : Mine is:
 : 
 : (black background, not quite a bright as above)

I would like to know what color terminals slrn is being used on.  I know
that it is used on the Linux console and rxvt.  What about others such as
MS-Kermit or Procomm?

The reason I ask is that slrn only supports color terminals that use the
so-called ``new color model''.  These include recent color DEC terminals,
rxvt, linux console, NCSA telnet).  The other color model is, in my opinion,
brain-dead and is implemented by ansi-xterm, DECTerm, MS-Kermit, the color
version of `screen', and on some versions (perhaps all) of procomm.

It is possible to make slrn work with the brain-dead color terminals by
choosing the background color to be whatever the terminal's background color
happens to be.  Any other color for the background on such terminals will
not cover the display everywhere it is supposed to.  I could fix this but I
do not want to encourage the use of such terminals.

As an example, to turn the display of a 24x80 new color model terminal to
green, only 9 characters need to be sent to the terminal.  The brain dead
kind require an excess of 24x80=1920 charcters!
-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis


Re: slrn colours (was Re: slrn 0.8.7.1 hopes and dreams)
#20709
Author: Jay Maynard
Date: Thu, 18 Apr 1996 00:00
44 lines
2402 bytes
On 17 Apr 1996 23:46:03 GMT, Michael Stillwell <mist@yoyo.cc.monash.edu.au> wrote:
>On 17 Apr 1996 02:30:34 GMT, Reality is a point of view <gjohnson@dream.season.c
> om> wrote:
>: My mellow .slrnrc color scheme.
>Mine is:
>(black background, not quite a bright as above)

Well, while we're at it, here's the one I use on OS/2:

color normal green black
color error brightred black
color status yellow blue
color group cyan black
color article green black
color cursor brightgreen black
color author yellow black
color subject green black
color headers brightcyan black
color menu yellow blue
color menu_press blue yellow
color tree brightmagenta black
color quotes cyan black
color thread_number cyan black
color high_score brightred black
color signature yellow black
color header_number white black

I don't mind bright colors; in fact, they help me: I'm partially colorblind
(a modeerate red-green deficiency), and gross differences in color are much
easier for me to distinguish than small ones. I find the difference between
cyan and white, for example, to be very difficult to tell, and the default
color scheme (cyan on white) for the headers leaves them nearly impossible
to read.

Color schemes are very personal, and I'm happy to see them as configurable
as they are in slrn.
-- 
Jay Maynard, EMT-P, K5ZC, PP-ASEL | Never ascribe to malice that which can
http://k5zc.hsc.uth.tmc.edu       | adequately be explained by stupidity.
      "Are we going to push it to the edge of the envelope?" -- Pinky
     "No, Pinky. We may, however, reach the sticky part." -- The Brain


Re: slrn colours (was Re: slrn 0.8.7.1 hopes and dreams)
#20725
Author: Mike Ching
Date: Fri, 19 Apr 1996 00:00
17 lines
1187 bytes
On 18 Apr 1996 08:04:55 GMT, John E. Davis <davis@space.mit.edu> wrote:
>On 17 Apr 1996 23:46:03 GMT, Michael Stillwell <mist@yoyo.cc.monash.edu.au>
>wrote:
> : Mine is:
> : 
> : (black background, not quite a bright as above)
>
>I would like to know what color terminals slrn is being used on.  I know
>that it is used on the Linux console and rxvt.  What about others such as
>MS-Kermit or Procomm?

I use an OS/2 command line window.

Mike Ching


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