🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #25571

Re: Slrn 0.9.0.0 and slang macros

#25571
From: 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

Technical Details
Message-ID: <slrn52rflo.f8v.davis@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
References: <50jms8$2pi@oravannahka.Helsinki.FI>

Show Full Headers
Complete Article Headers
Message-ID: <slrn52rflo.f8v.davis@aluche.mit.edu>
Subject: Re: Slrn 0.9.0.0 and slang macros
Date: Wed, 04 Sep 1996 00:00:00 +0000
From: da...@space.mit.edu (John E. Davis)
References: <50jms8$2pi@oravannahka.Helsinki.FI>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
X-Deja-AN: 178471970
Organization: Center for Space Research
Reply-to: da...@space.mit.edu
Newsgroups: news.software.readers,alt.lang.s-lang