Article View: news.software.readers
Article #20793Re: 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
36 lines
1837 bytes
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.
Technical Details
Message-ID:
<slrn4nnd3v.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> <slrn4nncpq.2c.gjohnson@dream.season.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn4nnd3v.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> <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-mail X-Deja-AN: 150817839 Organization: season.com [205.179.33.0] Newsgroups: news.software.readers