Article View: news.software.readers
Article #20813Re: More ideas for slrn (and other newreaders)
From: Reality is a point of view
Date: Mon, 22 Apr 1996 00:00
Date: Mon, 22 Apr 1996 00:00
49 lines
2525 bytes
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.
Technical Details
Message-ID:
<slrn4nncpq.2c.gjohnson@dream.season.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn4nmfke.4r5.neil@beast.usask.ca>Show Full Headers
Complete Article Headers
Message-ID: <slrn4nncpq.2c.gjohnson@dream.season.com> Subject: Re: More ideas for slrn (and other newreaders) Date: Mon, 22 Apr 1996 00:00:00 +0000 From: gjohnson@dream.season.com (Reality is a point of view) References: <slrn4nmfke.4r5.neil@beast.usask.ca> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 150817838 Organization: season.com [205.179.33.0] Newsgroups: news.software.readers