Article View: news.software.readers
Article #153588Re: Should have been Xnews Spell check and PGP
From: Guy
Date: Thu, 12 Aug 2004 03:04
Date: Thu, 12 Aug 2004 03:04
191 lines
6852 bytes
6852 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Digital_Cowboy wrote: >> Is there a spell checker with/for Xnews? > Aspell works very good. >> Is it possible to have it set up to work seamlessly with PGP? > No, at least not with Command Line versions due to lack of long filename support. GPG works well. Here is a batch file I use. You may be able to get some ideas. Good luck, Guy (view in RAW text, maybe to verify sig too.) :: ExEditor.bat :: :: Xnews.ini file entry: :: :: [Compose] :: ExternalEditor=exeditor.bat :: :: In Xnews home directory put the batch file "exeditor.bat": :: :: Programs used: :: Aspell <http://aspell.net/> :: GnuPG <http://www.gnupg.org/> :: NOWMINUS <http://www.merlyn.demon.co.uk/index.htm> :: WCLIP <http://home.mnet-online.de/horst.muc/> :: :: Put the programs where they need to go. :: Either use explicit paths or put in the PATH enviroment variable. :: Or... whatever, you should be able to figure out what to do. ;~) :: @echo off :begin @cls @echo. @echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» @echo º º @echo º Menu Options º @echo º º @echo º 1. Open the Message in a Text Editor. º @echo º º @echo º 2. Spellcheck the Message. º @echo º º @echo º 3. GPG Sign the Message. º @echo º º @echo º 4. Expires Header. º @echo º (Paste into Xnews Manual Headers) º @echo º º @echo º 5. Quit. º @echo º º @echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ @echo. @choice /c:12345 /n /t:5,30 Please Choose a Menu Option. @if errorlevel == 5 goto end @if errorlevel == 4 goto expires @if errorlevel == 3 goto gpgsign @if errorlevel == 2 goto spellcheck @if errorlevel == 1 goto textedit :textedit @cls @echo. @echo waiting for editor to close.... @start /w c:\windows\notepad.exe %1 @goto begin :spellcheck @echo off @d:\aspell\bin\aspell.exe -c -e --dont-backup %1 @cls @goto begin :gpgsign @d:\gnupg\gpg.exe --clearsign -u guy %1 @copy %1.asc %1 @del %1.asc @cls @goto begin :expires @cls @echo. @echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» @echo º º @echo º Expire Header Date Options º @echo º º @echo º 1. 1 Day. 2. 1 Week. 3. 1 Month. º @echo º º @echo º 4. 3 Months. 5. 6 Months. 6. 1 Year. º @echo º º @echo º 7. Quit This Menu. º @echo º º @echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ @echo. @choice /c:1234567 /n /t:7,15 Please Choose a Option. @if errorlevel == 7 goto begin @if errorlevel == 6 goto 1year @if errorlevel == 5 goto 6months @if errorlevel == 4 goto 3months @if errorlevel == 3 goto 1month @if errorlevel == 2 goto 1week @if errorlevel == 1 goto 1day :1year @nowminus 'Expires: * f256 y-1 u-6 i r | wclip @goto begin :6months @nowminus 'Expires: * f256 n-6 u-6 i r | wclip @goto begin :3months @nowminus 'Expires: * f256 n-3 u-6 i r | wclip @goto begin :1month @nowminus 'Expires: * f256 n-1 u-6 i r | wclip @goto begin :1week @nowminus 'Expires: * f256 w-1 u-6 i r | wclip @goto begin :1day @nowminus 'Expires: * f256 d-1 u-6 i r | wclip @goto begin :end @echo quiting.... @choice /c:yn /n /t:y,1 >nul @cls @exit PGP Signature Status: good Hash: SHA1 Signer: Herman Frederick Ebeling Jr. Signer Key ID: 0x1FE2E769DB13DBD3 Signer Key Fingerprint: A504 DC04 BCCA B64B 12BA 3673 1FE2 E769 DB13 DBD3 Signer Key Status: Invalid Signed: 2004/08/11 7:43:01 PM Verified: 2004/08/11 9:33:12 PM BEGIN PGP VERIFIED MESSAGE *** > > And "Digital_Cowboy" <nobody@nobody.com> opened up and revealed to the > world news:Xns954293EE811FBnobodynobodycom@24.168.128.78: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Is there a spell checker with/for Xnews? Is it possible to have it set >> up to work seamlessly with PGP? >> >> Digital_Cowboy >> >> -----BEGIN PGP SIGNATURE----- >> Version: PGP 8.0.3 >> >> iQA/AwUBQRpmPB/i52nbE9vTEQJ3QwCg+gGv/5CF5AImUCDgTObWjxHmpYEAn1kf >> X+kWxtQv08CguHZ2ZuB2TUQA >> =Uzee >> -----END PGP SIGNATURE----- >> > > By setting my Ext. Edit to Word I can spell check my posts before sending > them. Sorry for the subject line getting messed up. Didn't realize that > the focus had changed to the subject line when I signed my post. > > Digital_Cowboy > > END PGP VERIFIED MESSAGE *** - -- Xnews "XP" Icon Patcher Files <http://xnews-icon-patchers.bebto.com/patcher.html> -----BEGIN PGP SIGNATURE----- iQEVAwUBQRrd4kgNADYiFUZJAQO4GAf/UPYs+vbPD/QBSvQwXjJmUAmrYP2/AL+L 2QGqQDAWSR4S0pE6yKKyfizlTUo/AMBfDPcIXD22YQuSp7c4t2hv6vF5ls2DmisI 0zGlsc2BgxFEDS6r/aKAIDHpiTg7/xUk9XmPgmNh0/0DlLhNhJB57QOK9IJGjhUb DIno3vGV9/0AZhGeM3S2vNloNRpTaPlTw0vAq8IO4NF0uDlvO8cPTwqaI1ZN0No9 RHuwHUh5/FdQAa1FIHLyN5aNTAJjavOURBHwrWEZ+NmKXba/wZXt31zXwlx1Ni+Q iCbe3+qLeBT1k/EPHiOGPdwCTSUbxxdm61+otSSTkgwoiVyn4y7jOA== =loBH -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<9542E084346762E284CEEC009E394A9D7@127.0.0.1>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!not-for-mailReferences:
<Xns954293EE811FBnobodynobodycom@24.168.128.78> <Xns9542D2C098480nobodynobodycom@24.168.128.74>Show Full Headers
Complete Article Headers
Message-ID: <9542E084346762E284CEEC009E394A9D7@127.0.0.1>
Subject: Re: Should have been Xnews Spell check and PGP
Date: Wed, 11 Aug 2004 22:04:15 -0500
From: Guy <Use-Reply-To-Address-Header@[127.1]>
References: <Xns954293EE811FBnobodynobodycom@24.168.128.78> <Xns9542D2C098480nobodynobodycom@24.168.128.74>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 191
Reply-To: GuysAlias <AT> myrealbox <DOT> com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de 7NlyFKEOSSBfh3IDShuuPAAGPS9mFGZuCmIXPPQrYvjOOnQXQ=
User-Agent: Xnews/06.08.25
X-No-Archive: yes
Archive: No
X-0: "Whoever would overthrow the liberty of a nation must begin by subduing
the freeness of speech." -- Benjamin Franklin
X-Face: ,O=kHpT4ofN[ZQ?pgJ6BQtX(cJvPRNtp'pID9gnUbjs4F3yd0#\GOd'S;
U@<[Y6X*V`vh.)v%U'IaXUBq/F9,m,P; HY{n-Q[V0"+>u5W`Zf&[c;
34vOB1T~&wE<'yA(Eg7V,W,Sk_gd0JPg1E$,J&X}SN-51Hwg; )hM/Ttq$Um2Kq$u