🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by hkan... Heikki Kantola Wed, 04 Sep 1996 00:00
Slrn 0.9.0.0 and slang macros
#25587
Author: hkan... Heikki Kantola
Date: Wed, 04 Sep 1996 00:00
20 lines
1564 bytes

Last night I found out that slrn 0.9.0.0 is out, and immediatly
downloaded and compiled it, but when I started to test the new slang
support and make my own macros I ran into problems. First I tried to
make followup attribution group[hierarchy]-dependent (Finnish line for
Finnish groups and English one for others). But oddly enough it didn't
work as slrn started to spew '"followup" is not a valid variable' or
something along those lines. The second problem appears to be easier
one, as I'm thinking to create a simple key macro which would mark
whole thread read while you're in middle of it, but I couldn't seem to
find the correct command for thread collapsing (as in ESC-t key
command).

-- 
Heikki "Hezu" Kantola, <Heikki...@IKI.FI>
Lähettämällä mainoksia tai muuta asiatonta sähköpostia yllä olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.
Re: Slrn 0.9.0.0 and slang macros
#25571
Author: da... John E. Davis
Date: Wed, 04 Sep 1996 00:00
51 lines
2580 bytes

On 4 Sep 1996 10:49:44 GMT, Heikki Kantola <hkan...@cc.Helsinki.FI>
wrote:
 : Last night I found out that slrn 0.9.0.0 is out, and immediatly
 : downloaded and compiled it, but when I started to test the new slang
 : support and make my own macros I ran into problems. First I tried to
 : make followup attribution group[hierarchy]-dependent (Finnish line for
 : Finnish groups and English one for others). But oddly enough it didn't
 : work as slrn started to spew '"followup" is not a valid variable' or
 : something along those lines. The second problem appears to be easier
 
The `organization', `replyto', `realname', and `followup' keywords
were created before the `set' keyword.  However, there is no reason
that they should not be distinct.  Below, you will find a patch to
slrn/src/startup.c to correct this.

 : one, as I'm thinking to create a simple key macro which would mark
 : whole thread read while you're in middle of it, but I couldn't seem to
 : find the correct command for thread collapsing (as in ESC-t key
 : command).

Use: call ("toggle_collapse_threads");

Here is the patch:

--- startup.c~	Thu Aug 29 19:03:41 1996
+++ startup.c	Wed Sep  4 13:34:54 1996
@@ -320,6 +320,15 @@
 
 static Set_String_Type String_Things_To_Set [] =
 {
+     {"realname", &Slrn_User_Info.realname},
+     {"replyto", &Slrn_User_Info.replyto},
+     {"organization", &Slrn_User_Info.org},
+     {"followup", &Slrn_User_Info.followup_string},
+     {"cc_followup_string", &Slrn_Courtesy_CC_Message},
+#if SLRN_HAS_DECODE
+     {"decode_directory", &Slrn_Decode_Directory},
+#endif
+     {"editor_command", &Slrn_Editor},
      {"non_Xbrowser", &Slrn_NonX_Browser},
      {"Xbrowser", &Slrn_X_Browser},
      {"save_posts", &Slrn_Save_Posts_File},

-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis

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