🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Neil Schemenauer Mon, 22 Apr 1996 00:00
More ideas for slrn (and other newreaders)
#20810
Author: Neil Schemenauer
Date: Mon, 22 Apr 1996 00:00
13 lines
1174 bytes
How about a method of automaticly dumping a post through a filter if it
meets some requirements (similar to the score file)?  This would allow
automatic reformating of those stupid Netscape posts.  There would also be
many other uses but I just can't think of any right now.  Perhaps some other
people can follow-up with some creative uses for this feature.

-- 
nas170@mail.usask.ca ___         __  __      ___ ____ ___      __       ___ __
Saskatoon, SK /\  / /__  / /    /__ /   /__//_  / / //_  /\  //__| /  //_  /__)
Canada       /  \/ /__  / /__   __//__ /  //__ / / //__ /  \//   |/__//__ / \


Re: More ideas for slrn (and other newreaders)
#20793
Author: Reality is a point of view
Date: Mon, 22 Apr 1996 00:00
36 lines
1837 bytes
 +---- gjohnson@dream.season.com wrote (22 Apr 1996 16:26:51 GMT):
 | --- post.c~	Wed Mar 27 00:25:32 1996
 | +++ post.c	Mon Apr 22 09:08:25 1996
 | @@ -295,11 +295,17 @@
 |     perform_cc = 0;
 |     while (1)
 |       {
 | -	rsp = slrn_get_response ("yYnNeE", "Post the message? Y-es, N-o, E-dit");
 | +	rsp = slrn_get_response ("yYnNeEsS", "Post the message? Y-es, N-o, E-dit, S-pell check");
 |  	rsp |= 0x20;
 |  	if (rsp == 'n') return -1;
 |  	if (rsp == 'y') break;
 | -	if (slrn_edit_file (file, 1) < 0) return -1;
 | +	if( rsp == 's' )
 | +	{
 | +		char cmd[1024] = "ispell -x ";
 | +		strcat( cmd, file );
 | +		slrn_posix_system( cmd, 1 );
 | +	}
 | +	if( rsp = 'e' ) if (slrn_edit_file (file, 1) < 0) return -1;

ACK!  TYPO!  That should be  rsp == 'e'  and would have been if
I had tried running that diff before posting it.

 |       }
 |     
 |     if (-1 == check_file_for_posting (file)) return -1;
 +----

-- 
Gary Johnson                   "There's no union called the AFL-CIA is there?"
gjohnson@season.com            <a href="http://www.efm.org">Walk The Talk</a>
                   CAMPAIGN '96: Juck 'em if they can't fake a toke.


Re: More ideas for slrn (and other newreaders)
#20813
Author: Reality is a point of view
Date: Mon, 22 Apr 1996 00:00
49 lines
2525 bytes
 +---- neil@beast.usask.ca wrote (22 Apr 1996 08:07:03 GMT):
 | How about a method of automaticly dumping a post through a filter if it
 | meets some requirements (similar to the score file)?  This would allow
 | automatic reformating of those stupid Netscape posts.  There would also be
 | many other uses but I just can't think of any right now.  Perhaps some other
 | people can follow-up with some creative uses for this feature.
 +----

Presentation layer in OSI-speak.  Possibly a legal hassle in
ITAR-speak if it could be used for cryptographic purposes.
Which it could if something like PGP were the filter.  Maybe
ITARish fear only applies when encrypting, not decrypting.

Speaking of which; at the risk of introducing bugs and getting
into ITAR trouble the following is a quickie for adding spell
checking for slrn 0.8.7.1 users that have ispell installed.
Similar code could be added for letters, etc.  It would be nice
if it skipped headers and .sig's . . .

--- post.c~	Wed Mar 27 00:25:32 1996
+++ post.c	Mon Apr 22 09:08:25 1996
@@ -295,11 +295,17 @@
    perform_cc = 0;
    while (1)
      {
-	rsp = slrn_get_response ("yYnNeE", "Post the message? Y-es, N-o, E-dit");
+	rsp = slrn_get_response ("yYnNeEsS", "Post the message? Y-es, N-o, E-dit, S-pell check");
 	rsp |= 0x20;
 	if (rsp == 'n') return -1;
 	if (rsp == 'y') break;
-	if (slrn_edit_file (file, 1) < 0) return -1;
+	if( rsp == 's' )
+	{
+		char cmd[1024] = "ispell -x ";
+		strcat( cmd, file );
+		slrn_posix_system( cmd, 1 );
+	}
+	if( rsp = 'e' ) if (slrn_edit_file (file, 1) < 0) return -1;
      }
    
    if (-1 == check_file_for_posting (file)) return -1;

-- 
Gary Johnson                   "There's no union called the AFL-CIA is there?"
gjohnson@season.com            <a href="http://www.efm.org">Walk The Talk</a>
                   CAMPAIGN '96: Juck 'em if they can't fake a toke.


Re: More ideas for slrn (and other newreaders)
#20837
Author: William Werth
Date: Tue, 23 Apr 1996 00:00
22 lines
1832 bytes
On 22 Apr 1996 08:07:03 GMT, neil@beast.usask.ca (Neil Schemenauer) wrote:
: How about a method of automaticly dumping a post through a filter if it
: meets some requirements (similar to the score file)?  This would allow
: automatic reformating of those stupid Netscape posts.  There would also be
: many other uses but I just can't think of any right now.  Perhaps some other
: people can follow-up with some creative uses for this feature.

One solution for these long lines, is to have a newsreader that will 
wrap the lines for viewing (and replying in the next release of 
NewsWerthy). Also a polite note when replying to them, pointing out 
why their quoted text is wrapped the way it is (looks a bit ugly, but 
easier to read than lines that scroll off the screen).

--
billw@eskimo.com               : "TSR" = Trashes System Randomly              
ftp://ftp.eskimo.com/u/b/billw :                                              
http://www.eskimo.com/~billw/  :                                              
Try NewsWerthy, a SOUP format  :                                              
offline mail reader for DOS    :                                              


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