🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
18 messages
18 total messages Started by Peter F Davis Wed, 09 Jul 1997 00:00
slrn/tin: Comparing slrn with tin
#34977
Author: Peter F Davis
Date: Wed, 09 Jul 1997 00:00
33 lines
1881 bytes
I've been using various flavors of slrn for about a year or so, but
now I'm thinking of going back to tin.  The reasons?

   1)	tin seems to use fewer keystrokes, which is VERY important when
	I have a slow telnet or dial-up connection.  The biggest win
	is group and article numbering, which allows me to quickly get
	to anything of interest.  I like the fact that tin's numbers
	don't change when I scroll down.

   2)	I can quickly add filters in tin to auto-select articles.
	Granted this is much less sophisticated than slrn's scoring, 
	but it's all I really need.  I also like the fact that tin
	can toggle display of non-selected articles.

   3)	slrn (at least 0.9.3.2) seems to have all kinds of trouble
	repainting the screen on my oddball terminals (WYSE75,
	iris-ansi-net).  I'm constantly having to type ^L to
	refresh.  tin doesn't have this problem.

I think I would gladly go back to slrn if these problems were
addressed.  slrn is much more actively maintained.  However, for now,
tin is MUCH easier to use.

Another point: I much prefer tin's convention of using <SPACE> to
scroll down, and left and right arrows to move into and out of groups,
articles, etc.  I've tried to customize the slrn keys to achieve this,
but the <SPACE> functions are not separated, so I can't make a down
arrow key that just goes down.

-pd

Re: slrn/tin: Comparing slrn with tin
#34976
Author: John E. Davis
Date: Wed, 09 Jul 1997 00:00
27 lines
1565 bytes
On Wed, 9 Jul 1997 15:04:15 GMT, Peter F Davis <pd@world.std.com>
wrote:
>   1)	tin seems to use fewer keystrokes, which is VERY important when
[...]
>
>   2)	I can quickly add filters in tin to auto-select articles.

   Have you tried loading the tin macros that are distributed with
   slrn in slrn/macros?  They provide some of the features of tin but
   the emulation is probably far from complete.

>   3)	slrn (at least 0.9.3.2) seems to have all kinds of trouble
>	repainting the screen on my oddball terminals (WYSE75,
>	iris-ansi-net).  I'm constantly having to type ^L to
>	refresh.  tin doesn't have this problem.

   Unless I am made aware of such problems, they will not get
   fixed.  Please get back to me with more details about this problem.
   Thanks.

-- 
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/tin: Comparing slrn with tin
#35010
Author: John E. Davis
Date: Thu, 10 Jul 1997 00:00
38 lines
2181 bytes
On 10 Jul 1997 07:42:38 GMT, Heikki Kantola <hezu@iki.fi>
wrote:
>Peter F Davis <pd@world.std.com> informed
>>   3)	slrn (at least 0.9.3.2) seems to have all kinds of trouble
>>	repainting the screen on my oddball terminals (WYSE75,
>>	iris-ansi-net).  I'm constantly having to type ^L to
>>	refresh.  tin doesn't have this problem.
>
>That's probably because tin doesn't use VT-alternate charset to draw
>the thread trees.

I do not know what version of TIN Peter was comparing with slrn,
however, it was probably version 1.2 since that is still the most
widely used version.  As I recall, that version did not use any sort
of screen management library and the screen consisted of little more
than:

     clear display
     loop over lines 
        fputs (line, stdout);
     
Of course it also used escape sequences to position the cursor and
highlight some text.  But in general, there was little that could go
wrong.  All of this has changed since the unoffical development
version of TIN now uses curses.

In any case, does anyone use slrn with a Wyse terminal?  I am curious
about its behavior because if it does not work properly on that
terminal, there is a bug that must be fixed.  I looked at the terminfo
entry for wy75 and I saw nothing unusual that should cause any
problems for slrn.  In fact, it looked rather vt100-ish.
-- 
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/tin: Comparing slrn with tin
#35025
Author: Olly Betts
Date: Thu, 10 Jul 1997 00:00
69 lines
2636 bytes
In article <ED24J3.6n6@world.std.com>, Peter F Davis wrote:
>I like the fact that tin's numbers don't change when I scroll down.

Try this patch (for slrn 0.9.4.2).  The issue of what to do when the numbers
go past 99 could do with attention.  Currently the header display just
offsets by 1 after 99 (and 2 after 999, etc).  And it obviously needs to
be made optional.

The numbers are always contiguous, so they change if you change sort order,
expand/collapse threads, or expunge read articles.  Note that you can go to
an article number on an earlier page, but not on a later one.

--- art.c.base	Tue Jul  8 12:24:32 1997
+++ art.c	Thu Jul 10 14:25:57 1997
@@ -68,6 +68,8 @@
 
 /*{{{ extern Global variables  */
 
+static int header_number_offset;
+
 SLKeyMap_List_Type *Slrn_Article_Keymap;
 char *Slrn_X_Browser;
 char *Slrn_NonX_Browser;
@@ -3291,7 +3302,7 @@
    if (ich != '\r')
      SLang_ungetkey (ich);
    
-   diff = i - Last_Cursor_Row;
+   diff = i - header_number_offset - Last_Cursor_Row;
    if (diff > 0) slrn_header_down_n (diff, 0); else slrn_header_up_n (-diff, 0);
 #if SLRN_HAS_SLANG
    SLang_run_hooks ("header_number_hook", NULL, NULL);
@@ -7168,8 +7179,8 @@
    if (Slrn_Use_Header_Numbers)
      {
 	slrn_set_color (HEADER_NUMBER_COLOR);
-	SLsmg_printf ("%2d", row);
-	if (row > Largest_Header_Number) Largest_Header_Number = row;
+	SLsmg_printf ("%2d", row + header_number_offset );
+	if (row + header_number_offset > Largest_Header_Number) Largest_Header_Number = row + header_number_offset;
      }
    else smg_write_string ("  ");
 #endif
@@ -7468,6 +7479,16 @@
    
    if (Slrn_Full_Screen_Update)
      {
+	Slrn_Header_Type *h2;
+	header_number_offset = 0;
+
+	h2 = h;
+	while (h2->prev != NULL)
+	  {
+	     h2 = h2->prev;
+	     if ((h2->flags & HEADER_HIDDEN) == 0) header_number_offset++;
+	  }
+
 	for (row = 1; row <= height; row++)
 	  {
 	     SLsmg_gotorc (row, 0);


Cheers,
Olly
-- 
Don't send a man to do a buoy's job.

Re: slrn/tin: Comparing slrn with tin
#35028
Author: Heikki Kantola
Date: Thu, 10 Jul 1997 00:00
45 lines
2458 bytes
Peter F Davis <pd@world.std.com> informed
news.software.readers with the following:
>I've been using various flavors of slrn for about a year or so, but
>now I'm thinking of going back to tin.  The reasons?
[...]
>   2)	I can quickly add filters in tin to auto-select articles.
>	Granted this is much less sophisticated than slrn's scoring, 

I think you could write little S-lang macro that would add your
favourite type of score entry with single key command.

>	but it's all I really need.  I also like the fact that tin
>	can toggle display of non-selected articles.
>
>   3)	slrn (at least 0.9.3.2) seems to have all kinds of trouble
>	repainting the screen on my oddball terminals (WYSE75,
>	iris-ansi-net).  I'm constantly having to type ^L to
>	refresh.  tin doesn't have this problem.

That's probably because tin doesn't use VT-alternate charset to draw
the thread trees.

>I think I would gladly go back to slrn if these problems were
>addressed.  slrn is much more actively maintained.  However, for now,
>tin is MUCH easier to use.
>
>Another point: I much prefer tin's convention of using <SPACE> to
>scroll down, and left and right arrows to move into and out of groups,
>articles, etc.  I've tried to customize the slrn keys to achieve this,
>but the <SPACE> functions are not separated, so I can't make a down
>arrow key that just goes down.

The slrn distribution has included for some time already (can't
remember when it was first introduced but 0.9.3.2 certainly is new
enough) S-lang macros to emulate tin-keybindings, including your
preferred space behaviour. 

-- 
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: slrn/tin: Comparing slrn with tin
#35128
Author: Peter Davis
Date: Mon, 14 Jul 1997 00:00
59 lines
3121 bytes
On 10 Jul 1997 07:42:38 GMT, Heikki Kantola <hezu@iki.fi> wrote:
> Peter F Davis <pd@world.std.com> informed
> news.software.readers with the following:
> >I've been using various flavors of slrn for about a year or so, but
> >now I'm thinking of going back to tin.  The reasons?
> [...]
> >   2)	I can quickly add filters in tin to auto-select articles.
> >	Granted this is much less sophisticated than slrn's scoring, 
> 
> I think you could write little S-lang macro that would add your
> favourite type of score entry with single key command.

Perhaps, but I don't really want to learn S-lang, and figure out how
to write a macro.  I want to read news.

> >	but it's all I really need.  I also like the fact that tin
> >	can toggle display of non-selected articles.
> >
> >   3)	slrn (at least 0.9.3.2) seems to have all kinds of trouble
> >	repainting the screen on my oddball terminals (WYSE75,
> >	iris-ansi-net).  I'm constantly having to type ^L to
> >	refresh.  tin doesn't have this problem.
> 
> That's probably because tin doesn't use VT-alternate charset to draw
> the thread trees.

Interesting point, but perhaps that was a good choice, given the
problems I've been having with slrn.  

> >I think I would gladly go back to slrn if these problems were
> >addressed.  slrn is much more actively maintained.  However, for now,
> >tin is MUCH easier to use.
> >
> >Another point: I much prefer tin's convention of using <SPACE> to
> >scroll down, and left and right arrows to move into and out of groups,
> >articles, etc.  I've tried to customize the slrn keys to achieve this,
> >but the <SPACE> functions are not separated, so I can't make a down
> >arrow key that just goes down.
> 
> The slrn distribution has included for some time already (can't
> remember when it was first introduced but 0.9.3.2 certainly is new
> enough) S-lang macros to emulate tin-keybindings, including your
> preferred space behaviour. 

I'm using slrn on an ISP account, so I'll have to find out where the
macros reside, and how to incorporate them.  Frankly, I think the
decision to have SPACE sometimes mean "scroll down" and sometimes mean
"read this article" was a bad one.  I'm now forced to use ^D for
consistency, and that's more awkward to type.


-- 
	Peter Davis		
	Contex Prepress Systems		617/245-4100 x5451
	101 Edgewater Drive		617/246-6209 (FAX)
	Wakefield, MA 01880		peter@contex.com

Re: slrn/tin: Comparing slrn with tin
#35195
Author: Peter Davis
Date: Wed, 16 Jul 1997 00:00
52 lines
2719 bytes
On 10 Jul 1997 18:11:33 GMT, John E. Davis <davis@space.mit.edu> wrote:
> On 10 Jul 1997 07:42:38 GMT, Heikki Kantola <hezu@iki.fi>
> wrote:
> >Peter F Davis <pd@world.std.com> informed
> >>   3)	slrn (at least 0.9.3.2) seems to have all kinds of trouble
> >>	repainting the screen on my oddball terminals (WYSE75,
> >>	iris-ansi-net).  I'm constantly having to type ^L to
> >>	refresh.  tin doesn't have this problem.
> >
> >That's probably because tin doesn't use VT-alternate charset to draw
> >the thread trees.
> 
> I do not know what version of TIN Peter was comparing with slrn,
> however, it was probably version 1.2 since that is still the most
> widely used version.  As I recall, that version did not use any sort
> of screen management library and the screen consisted of little more
> than:
> 
>      clear display
>      loop over lines 
>         fputs (line, stdout);
>      
> Of course it also used escape sequences to position the cursor and
> highlight some text.  But in general, there was little that could go
> wrong.  All of this has changed since the unoffical development
> version of TIN now uses curses.

I've been using a 1.3 BETA version from 1995.  I'm waiting for my ISP
to install the July 1997 version.

> In any case, does anyone use slrn with a Wyse terminal?  I am curious
> about its behavior because if it does not work properly on that
> terminal, there is a bug that must be fixed.  I looked at the terminfo
> entry for wy75 and I saw nothing unusual that should cause any
> problems for slrn.  In fact, it looked rather vt100-ish.

Well, I've gotten my dial-up connection to work reasonably well by
using an xterm window and setting TERM to xterm, though I'm not
getting the line drawing charcter set for threads.  I still haven't
gotten the WYSE terminal to work, with TERM set to WYSE75 or VT100.

Thanks,
-pd

-- 
				Peter Davis
			http://world.std.com/~pd

	    "If you can't behave yourself, who can you behave?"

Re: slrn/tin: Comparing slrn with tin
#35204
Author: John Morris
Date: Wed, 16 Jul 1997 00:00
69 lines
3377 bytes
Being new to computers... can someone explain to me what slrn and tin
are?

I take it they are news readers for Unix types systems such as
Linux.... is this correct? I'm confused.<g>

On Mon, 14 Jul 1997 19:22:02 GMT, peter@contex.com (Peter Davis)
wrote:

>On 10 Jul 1997 07:42:38 GMT, Heikki Kantola <hezu@iki.fi> wrote:
>> Peter F Davis <pd@world.std.com> informed
>> news.software.readers with the following:
>> >I've been using various flavors of slrn for about a year or so, but
>> >now I'm thinking of going back to tin.  The reasons?
>> [...]
>> >   2)	I can quickly add filters in tin to auto-select articles.
>> >	Granted this is much less sophisticated than slrn's scoring, 
>> 
>> I think you could write little S-lang macro that would add your
>> favourite type of score entry with single key command.
>
>Perhaps, but I don't really want to learn S-lang, and figure out how
>to write a macro.  I want to read news.
>
>> >	but it's all I really need.  I also like the fact that tin
>> >	can toggle display of non-selected articles.
>> >
>> >   3)	slrn (at least 0.9.3.2) seems to have all kinds of trouble
>> >	repainting the screen on my oddball terminals (WYSE75,
>> >	iris-ansi-net).  I'm constantly having to type ^L to
>> >	refresh.  tin doesn't have this problem.
>> 
>> That's probably because tin doesn't use VT-alternate charset to draw
>> the thread trees.
>
>Interesting point, but perhaps that was a good choice, given the
>problems I've been having with slrn.  
>
>> >I think I would gladly go back to slrn if these problems were
>> >addressed.  slrn is much more actively maintained.  However, for now,
>> >tin is MUCH easier to use.
>> >
>> >Another point: I much prefer tin's convention of using <SPACE> to
>> >scroll down, and left and right arrows to move into and out of groups,
>> >articles, etc.  I've tried to customize the slrn keys to achieve this,
>> >but the <SPACE> functions are not separated, so I can't make a down
>> >arrow key that just goes down.
>> 
>> The slrn distribution has included for some time already (can't
>> remember when it was first introduced but 0.9.3.2 certainly is new
>> enough) S-lang macros to emulate tin-keybindings, including your
>> preferred space behaviour. 
>
>I'm using slrn on an ISP account, so I'll have to find out where the
>macros reside, and how to incorporate them.  Frankly, I think the
>decision to have SPACE sometimes mean "scroll down" and sometimes mean
>"read this article" was a bad one.  I'm now forced to use ^D for
>consistency, and that's more awkward to type.
>
>
>-- 
>	Peter Davis		
>	Contex Prepress Systems		617/245-4100 x5451
>	101 Edgewater Drive		617/246-6209 (FAX)
>	Wakefield, MA 01880		peter@contex.com


Re: slrn/tin: Comparing slrn with tin
#35338
Author: Heikki Kantola
Date: Sat, 19 Jul 1997 00:00
62 lines
3431 bytes
Peter Davis <peter@contex.com> informed
news.software.readers with the following:
>On 10 Jul 1997 07:42:38 GMT, Heikki Kantola <hezu@iki.fi> wrote:
>> Peter F Davis <pd@world.std.com> informed
>> news.software.readers with the following:
>> >I've been using various flavors of slrn for about a year or so, but
>> >now I'm thinking of going back to tin.  The reasons?
>> [...]
>> >   2)	I can quickly add filters in tin to auto-select articles.
>> >	Granted this is much less sophisticated than slrn's scoring, 
>> 
>> I think you could write little S-lang macro that would add your
>> favourite type of score entry with single key command.
>
>Perhaps, but I don't really want to learn S-lang, and figure out how
>to write a macro.  

The Slrn distribution comes with quite good documentation about macros. 
And Jan Hlavacek has even made HTML version which is available at <URL:
http://www.math.ohio-state.edu/%7Elahvak/software/slrn/macros.html>.

>I want to read news.

Of course, but isn't it nicer to read when the tool fits your
preferences?

>> >Another point: I much prefer tin's convention of using <SPACE> to
>> >scroll down, and left and right arrows to move into and out of groups,
>> >articles, etc.  I've tried to customize the slrn keys to achieve this,
>> >but the <SPACE> functions are not separated, so I can't make a down
>> >arrow key that just goes down.
>> 
>> The slrn distribution has included for some time already (can't
>> remember when it was first introduced but 0.9.3.2 certainly is new
>> enough) S-lang macros to emulate tin-keybindings, including your
>> preferred space behaviour. 
>
>I'm using slrn on an ISP account, so I'll have to find out where the
>macros reside, and how to incorporate them.  Frankly, I think the

Bugger your ISP's sysadmins, they should be there helping customers.
And if that people can't help, you could always download the Slrn src
distribution just for those macros yourself. And the documentation I
mentioned earlier should help you to know how to incorporate macros.

>decision to have SPACE sometimes mean "scroll down" and sometimes mean
>"read this article" was a bad one.  I'm now forced to use ^D for
>consistency, and that's more awkward to type.

All that you could be modified rather easily, just read the keybindings
configuration part of Slrn manual (again, if you can't find it on your
ISP, try HTML version, <URL:http://www.math.ohio-state.edu/%7Elahvak/
software/slrn/man.html>).

-- 
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: slrn/tin: Comparing slrn with tin
#35342
Author: Heikki Kantola
Date: Sat, 19 Jul 1997 00:00
21 lines
1580 bytes
Peter Davis <pd@world.std.com> informed
news.software.readers with the following:
>Well, I've gotten my dial-up connection to work reasonably well by
>using an xterm window and setting TERM to xterm, though I'm not
>getting the line drawing charcter set for threads.  

That's because not all (somebody could even say most) X fonts don't
have the line drawing characters, try using eg. "7x14"-font to get
visible thread trees. The request to optionally get ASCII-drawn thread
trees (like in Mutt-mailer�) in Slrn has been on wish lists for some
time already...

� <URL:http://www.math.fu-berlin.de/%7Eguckes/mutt/>
-- 
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.

ASCII thread trees in slrn (was Re: slrn/tin: Comparing slrn with tin)
#35429
Author: Olly Betts
Date: Wed, 23 Jul 1997 00:00
17 lines
1318 bytes
In article <slrn5t15tp.c6f.hezu@polva.helsinki.fi>, Heikki Kantola wrote:
>The request to optionally get ASCII-drawn thread
>trees (like in Mutt-mailer�) in Slrn has been on wish lists for some
>time already...

It wouldn't be hard to do - I'm suprised it's not been done.

What characters does Mutt use?  "|" and "-" for lines and "+" for all
corners and junctions?  Actually, it'd be easy enough to allow a string
of characters to be provided, a bit like in Nethack.

Olly
-- 
Don't send a man to do a buoy's job.

Re: ASCII thread trees in slrn (was Re: slrn/tin: Comparing slrn with tin)
#35554
Author: Heikki Kantola
Date: Tue, 29 Jul 1997 00:00
24 lines
1900 bytes
Olly Betts <olly@muscat.co.uk> informed
news.software.readers with the following:
>In article <slrn5t15tp.c6f.hezu@polva.helsinki.fi>, Heikki Kantola wrote:
>>The request to optionally get ASCII-drawn thread
>>trees (like in Mutt-mailer�) in Slrn has been on wish lists for some
>>time already...
>
>It wouldn't be hard to do - I'm suprised it's not been done.
>
>What characters does Mutt use?  "|" and "-" for lines and "+" for all
>corners and junctions?  Actually, it'd be easy enough to allow a string
>of characters to be provided, a bit like in Nethack.

Mutt also allows user-defined thread chars, look at <URL:http://
www.cs.hmc.edu/%7Eme/mutt/manual-3.html#thread_chars> for details.

-- 
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: slrn/tin: Comparing slrn with tin
#35599
Author: Olly Betts
Date: Thu, 31 Jul 1997 00:00
41 lines
2255 bytes
In article <slrn5skv29.6bq.peter@foghorn.contex.com>, Peter Davis wrote:
>Frankly, I think the decision to have SPACE sometimes mean "scroll down"
>and sometimes mean "read this article" was a bad one.

Actually, the space key doesn't mean either of those.  It means "give me
something else to read".  If you think of it like that, the behaviour of
space in different cases makes a lot of sense.

I remember I used to read news for hours without needing to do anything
other than press space (using trn at the time, but it's equally true for
slrn).  I dare say with a well enough tuned score file this is probably
still the case, but I no longer have hours spare to read news.

>> The slrn distribution has included for some time already (can't
>> remember when it was first introduced but 0.9.3.2 certainly is new
>> enough) S-lang macros to emulate tin-keybindings, including your
>> preferred space behaviour.
>
>I'm using slrn on an ISP account, so I'll have to find out where the
>macros reside, and how to incorporate them.

To find out where they reside, ask your ISP, or try this command at the
shell prompt (it may take a while since it searches the whole filing
system - you might want to try "find /usr ..." first):

find / -name 'tin-art.sl' -print

To incorporate them, simply add two lines something like these to your
.slrnrc:

interpret "/usr/local/slrn/macros/tin-group.sl"
interpret "/usr/local/slrn/macros/tin-art.sl"

These macros should make space work as you want.

Olly
-- 
Don't send a man to do a buoy's job.

Re: slrn/tin: Comparing slrn with tin
#35615
Author: Peter Davis
Date: Fri, 01 Aug 1997 00:00
59 lines
2790 bytes
On 31 Jul 1997 16:02:39 GMT, Olly Betts <olly@muscat.co.uk> wrote:
> In article <slrn5skv29.6bq.peter@foghorn.contex.com>, Peter Davis wrote:
> >Frankly, I think the decision to have SPACE sometimes mean "scroll down"
> >and sometimes mean "read this article" was a bad one.
> 
> Actually, the space key doesn't mean either of those.  It means "give me
> something else to read".  If you think of it like that, the behaviour of
> space in different cases makes a lot of sense.

Well, that may be a useful way to think of it in slrn, but it's not
really consistent with software like more, lynx, etc.

> >> The slrn distribution has included for some time already (can't
> >> remember when it was first introduced but 0.9.3.2 certainly is new
> >> enough) S-lang macros to emulate tin-keybindings, including your
> >> preferred space behaviour.
> >
> >I'm using slrn on an ISP account, so I'll have to find out where the
> >macros reside, and how to incorporate them.
> 
> To find out where they reside, ask your ISP, or try this command at the
> shell prompt (it may take a while since it searches the whole filing
> system - you might want to try "find /usr ..." first):
> 
> find / -name 'tin-art.sl' -print
> 
> To incorporate them, simply add two lines something like these to your
> .slrnrc:
> 
> interpret "/usr/local/slrn/macros/tin-group.sl"
> interpret "/usr/local/slrn/macros/tin-art.sl"
> 
> These macros should make space work as you want.

I tried this, but I'm getting:

slrn 0.9.4.3 (Jul 14 1997 17:55:32)

Reading startup file /home/foyer/pd/.slrnrc.
S-Lang Error: group_bob: Undefined Name

S-Lang Error: : Undefined Name

S-Lang Error: at or before line 30: file:
/usr/local/lib/slrn/0.9.4.3/macros/tin-group.sl: Undefined Name
slrn fatal error:
/home/foyer/pd/.slrnrc: Error encountered processing line 407
interpret "/usr/local/lib/slrn/0.9.4.3/macros/tin-group.sl"



-- 
				Peter Davis
			http://world.std.com/~pd

		     "Boycott intrusive advertisers!"

Re: slrn/tin: Comparing slrn with tin
#35619
Author: Jan Hlavacek
Date: Sat, 02 Aug 1997 00:00
31 lines
1853 bytes
On Fri, 1 Aug 1997 21:20:36 GMT, Peter Davis <pd@world.std.com> wrote:
> On 31 Jul 1997 16:02:39 GMT, Olly Betts <olly@muscat.co.uk> wrote:
> > interpret "/usr/local/slrn/macros/tin-group.sl"
> > interpret "/usr/local/slrn/macros/tin-art.sl"
> > 
> > These macros should make space work as you want.
> 
> I tried this, but I'm getting:
> 
> slrn 0.9.4.3 (Jul 14 1997 17:55:32)
> 
> Reading startup file /home/foyer/pd/.slrnrc.
> S-Lang Error: group_bob: Undefined Name

You need to inetrpret one more file before tin-*.sl.
What you need is
interpret "/usr/local/slrn/macros/utils.sl"
interpret "/usr/local/slrn/macros/tin-group.sl"
interpret "/usr/local/slrn/macros/tin-art.sl"

The utils.sl file defines group_bob and other functions.

lahvak
-- 
Jan Hlav\'{a}\v{c}ek <lahvak+n@math.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/tin: Comparing slrn with tin
#35620
Author: Greg Berigan
Date: Sat, 02 Aug 1997 00:00
32 lines
2018 bytes
pd@world.std.com (Peter Davis) wrote:
>Olly Betts <olly@muscat.co.uk> wrote:
>>Peter Davis wrote:

>>> Frankly, I think the decision to have SPACE sometimes mean "scroll down"
>>> and sometimes mean "read this article" was a bad one.

>> Actually, the space key doesn't mean either of those.  It means "give me
>> something else to read".  If you think of it like that, the behaviour of
>> space in different cases makes a lot of sense.

> Well, that may be a useful way to think of it in slrn, but it's not
> really consistent with software like more, lynx, etc.

But "more" is like that.  Give it a list of files and when one file
finishes, another space takes you to the next file.  Lynx isn't
comparable as there is no sequence of pages knowable by the
application.

Universal space reading came from rn where one could read news with only
ever pressing that one key.  Well, it was the first place I encountered
it, and it made a point in mentioning this.

-- 
         _-<#)-=# http://cse.unl.edu/~gberigan/War-of-the-Worlds.html
     ___/___
  _-~_--<###)     Due to widespread abuse, I no longer read any messages
<~c>' __--<       from users who employ munged addresses in their headers.
 \_--=____#)      Don't e-mail me your justifications; I've read them all.

Re: slrn/tin: Comparing slrn with tin
#35638
Author: Olly Betts
Date: Mon, 04 Aug 1997 00:00
47 lines
2427 bytes
Peter F Davis writes:
>On 31 Jul 1997 16:02:39 GMT, Olly Betts <olly@muscat.co.uk> wrote:
>> In article <slrn5skv29.6bq.peter@foghorn.contex.com>, Peter Davis wrote:
>> >Frankly, I think the decision to have SPACE sometimes mean "scroll down"
>> >and sometimes mean "read this article" was a bad one.

>> Actually, the space key doesn't mean either of those.  It means "give me
>> something else to read".  If you think of it like that, the behaviour of
>> space in different cases makes a lot of sense.

>Well, that may be a useful way to think of it in slrn, but it's not
>really consistent with software like more, lynx, etc.

Not true: if I execute "more *.txt" then the space bar will page through
each file until the end; at the end of each file, it moves onto the next
file.

It's also consistent with several other common newsreaders: rn, trn and Gnus
behave similarly (others may too, but these are the ones I know about).

Lynx is rather different, since there's no obvious "next thing" for a web
browser to move onto once you reach the end of a page.

>> To incorporate them, simply add two lines something like these to your
>> .slrnrc:
>> 
>> interpret "/usr/local/slrn/macros/tin-group.sl"
>> interpret "/usr/local/slrn/macros/tin-art.sl"

>I tried this, but I'm getting:
>
>slrn 0.9.4.3 (Jul 14 1997 17:55:32)
>Reading startup file /home/foyer/pd/.slrnrc.
>S-Lang Error: group_bob: Undefined Name

Oops, they rely on macros defined in "util.sl" which I was loading anyway.
Add this line before the above two:

interpret "/usr/local/slrn/macros/util.sl"

Cheers,
Olly
-- 
Don't send a man to do a buoy's job.

Re: slrn/tin: Comparing slrn with tin
#35639
Author: Peter Davis
Date: Mon, 04 Aug 1997 00:00
41 lines
2441 bytes
On 2 Aug 1997 22:50:09 GMT, Greg Berigan <gberigan@cse.unl.edu> wrote:
> pd@world.std.com (Peter Davis) wrote:
> >Olly Betts <olly@muscat.co.uk> wrote:
> >>Peter Davis wrote:
> 
> >>> Frankly, I think the decision to have SPACE sometimes mean "scroll down"
> >>> and sometimes mean "read this article" was a bad one.
> 
> >> Actually, the space key doesn't mean either of those.  It means "give me
> >> something else to read".  If you think of it like that, the behaviour of
> >> space in different cases makes a lot of sense.
> 
> > Well, that may be a useful way to think of it in slrn, but it's not
> > really consistent with software like more, lynx, etc.
> 
> But "more" is like that.  Give it a list of files and when one file
> finishes, another space takes you to the next file.  Lynx isn't
> comparable as there is no sequence of pages knowable by the
> application.

Well, it may be hard to make a consistent analogy, but when "more"
displays part of a scrollable document, then pressing "space" scrolls
to the next page.  slrn, on the other hand, takes you "into" the group
or article on the list, instead of scrolling down the list of groups
or articles..  This is why I suggested Lynx as a better comparison
.... "space" in Lynx scrolls down, instead of following a hyperlink.

Anyway, the tin-group.sl and tin-art.sl articles seem to be only a
partial fix ... "space" scrolls in article mode, but not in group
mode.  That's worse than just leaving the slrn defaults intact.

-pd

-- 
				Peter Davis
			http://world.std.com/~pd

		     "Boycott intrusive advertisers!"

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