🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Leslie Wed, 12 Mar 1997 00:00
slrn: wished-for features
#32087
Author: Leslie
Date: Wed, 12 Mar 1997 00:00
23 lines
1609 bytes
I was a firm believer in trn/strn, until I was introduced to slrn, and now
I'm a total convert.  Add me to the list saying, "Thanks, John!"

I can think of only two things (at present, anyway) I wish slrn
had:  first, I'd like to be able to customize the attributes line
in emailed replies like I can customize it in posts; and second, I'd like
one more option under 'toggle_headers' -- I'd like to be able to toggle
viewing of the basic headers plus *only* X-Headers, leaving off all
clutter of References: and Path: lines &c that shows up currently (it's
only very infrequently that I like to be able to see the full headers).

If people are going to go to the trouble of customizing their headers,
I'm generally interested to know about it, since I have my own
X-Headers, and hope people find *them* interesting.


Leslie.  Just wishing out loud.
-- 
  ** Find the alt.callahans FAQs here ---> http://www.vex.net/~leslie/ **


Re: slrn: wished-for features
#32227
Author: Byrial Jensen
Date: Thu, 20 Mar 1997 00:00
74 lines
3127 bytes
Leslie <leslie@vex.net> wrote:
>had:  first, I'd like to be able to customize the attributes line
>in emailed replies like I can customize it in posts; and second, I'd like

That was my wish too. So I made the following little path to slrn 0.9.3.2.
Remember to 'Make clean' before compiling it.

Enjoy,
- Byrial

diff -u slrn0.9.3.2/src/art.c slrn/src/art.c
--- slrn0.9.3.2/src/art.c	Sun Mar  2 22:14:57 1997
+++ slrn/src/art.c	Mon Mar  3 00:34:20 1997
@@ -2349,7 +2349,8 @@
    
    fputs ("\n", fp);
    
-   fprintf (fp, "In article %s, you wrote:\n", (msgid == NULL ? "" : msgid));
+   insert_followup_format (Slrn_User_Info.reply_string, fp);
+   fputs ("\n", fp);
    
    n += 2;
 
diff -u slrn0.9.3.2/src/misc.c slrn/src/misc.c
--- slrn0.9.3.2/src/misc.c	Sun Mar  2 22:14:57 1997
+++ slrn/src/misc.c	Sun Mar  2 23:10:40 1997
@@ -1431,6 +1431,7 @@
    
    /* Fill in what is assumed to be non-NULL by rest of program. */
    Slrn_User_Info.followup_string = slrn_safe_strmalloc ("In article %m, %r wrote:");
+   Slrn_User_Info.reply_string = slrn_safe_strmalloc ("In article %m, you wrote:");
    Slrn_Courtesy_CC_Message = slrn_safe_strmalloc ("[This message has also been posted.]");
    
    /* Now get default values for rest. */
diff -u slrn0.9.3.2/src/misc.h slrn/src/misc.h
--- slrn0.9.3.2/src/misc.h	Sun Mar  2 22:14:57 1997
+++ slrn/src/misc.h	Sun Mar  2 23:27:07 1997
@@ -39,6 +39,7 @@
    char *replyto;
    char *org;
    char *followup_string;
+   char *reply_string;
    char *signature;
    char *posting_host;		       /* FQDN or NULL */
    char *login_name;

diff -u slrn0.9.3.2/src/startup.c slrn/src/startup.c
--- slrn0.9.3.2/src/startup.c	Sun Mar  2 22:14:58 1997
+++ slrn/src/startup.c	Sun Mar  2 23:24:44 1997
@@ -399,6 +399,7 @@
      {"organization", &Slrn_User_Info.org},
      {"followup", &Slrn_User_Info.followup_string},
      {"cc_followup_string", &Slrn_Courtesy_CC_Message},
+     {"reply", &Slrn_User_Info.reply_string},
 #if SLRN_HAS_DECODE
      {"decode_directory", &Slrn_Decode_Directory},
 #endif
diff -u slrn0.9.3.2/doc/slrn.rc slrn/doc/slrn.rc
--- slrn0.9.3.2/doc/slrn.rc	Sun Mar  2 22:14:56 1997
+++ slrn/doc/slrn.rc	Mon Mar  3 00:20:02 1997
@@ -38,6 +38,10 @@
 %             %m:msgid, %n:newsgroups, %%: percent 
 set followup "On %d, %r <%f> wrote:"
 
+% This sets the reply string.  It can use format specifiers as
+% in the 'followup' string variable.
+set reply "In article %m, you wrote:"
+
 %Custom headers to add to NEW posts
 %set custom_headers "X-Whatever: bla\nX-Misc: bla bla"
 

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