🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #136775

Re: [slrn] ping: SINNER - long attrib lines

#136775
From: Steve W
Date: Tue, 04 Nov 2003 00:10
85 lines
4093 bytes
* Blinky the Shark <no.spam@box.invalid> 2003-11-03:
> DC wrote:
>> On 3 Nov 2003 22:23:26 GMT, Blinky the Shark <no.spam@box.invalid>
>> wrote:
>>> DC wrote:
>
>>>> On 3 Nov 2003 19:45:22 GMT, Blinky the Shark <no.spam@box.invalid>
>>>> wrote:
>
>>>>> Here ya go.  Stick this in your rc for the editor, and change the
>>>>> keymapping as desired (F5, here).  It will smart-reformat the whole
>>>>> body of your post.  Try it...you'll like it.  :)
>
>>>>> (Including my comments, from said file, for information value)
>
>>>>> " keybinding: body only formatting keybinding for normal mode for
>>>>> slrn - thanks " Tim Hammerquist. return cursor to place it was at
>>>>> when insert mode last left " note: `^ is my add au
>>>>> BufNewFile,BufRead ~/.article,~/.followup :nmap <F5> gg/^$<CR>V/^--
>>>>> $<CR>{gq`^
>
>>>>> I'm not using it with this post, to keep command from wrapping.
>
>>>> OK, added to ~/.gvimrc but just get system bell when I hit F5.  I
>>>> suspect that it is a path issue(?)
>
>>> That's where my rc is.
>
>>> You're in command mode for this, right?
>
>> Yup.
>
>>> It "smart wraps" everything in the body (not the sig) to your margin
>>> line length settings, correctly handling known quote-indicators
>>> (i.e., it wraps old paragraphs while keeping their greater-thans
>>> correct).
>
>> Good.  That's exactly what I want.
>
> I knew that.  ;)
>
>>>> I'll play with it.  Come back if you can confirm, tho'.
>
>>> Dunno what's up.  Yo!  Other slrner-vimmers!  Ideas?
>
>>> Dr. Hammerquist -- you still out there?  :)
>
>> Could you explain ~/.article and ~/.followup entries?  I don't have
>> those files.

I just use the:

map <F5> gg/^$<CR>V/^-- $<CR>{gq`^

part.  That way it works from Mutt as well!

>
> Those should be the names of the temp files you're editing in gvim, when
> you make OP or a followup, respectively, from slrn.  Limiting the macro
> to those files keeps this keymapping from kicking in when you're editing
> other stuff, where it would not be applicable (remember, it identifies
> and skips the headers, and pulls up short of your valid sig).  This is a
> highly tuned formatting machine.  :)
>
>> Are they your tmp files?  I just let slrn do the random name
>> generation thingy...
>
> Above.  Slrn names them before passing them.  And no, this doesn't
> require any slrn setup, that I know of -- those should be the default
> filenames.
>
> IMO, this is a *must* for slrn-vimming.  If nobody susses your problem,
> here, it's *definitely* worth a dedicated OP.  But let's give it a day,
> and see if the slrn, alone, in the Subject header attracts an answer.
>
>> FTR, >20K unread in aolm  }:O(((  The move just killed me, there...
>> Have pity!  }:O\
>
> Kill, start afresh, carry on.  :)
>


-- 
Steve W
s (dot) wal (at) verizon (dot) net
Technical Details
Message-ID: <slrnbqdrjr.r6.s.wal@verizon.net>
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!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny02.gnilink.net.POSTED!53ab2750!not-for-mail
References: <slrnbqd0hq.2um.dcmoose@moosemeat.ca.INVALID> <slrnbqdc9b.bpu.no.spam@thurston.blinkynet.net> <slrnbqdj3s.2mc.dcmoose@moosemeat.ca.INVALID> <slrnbqdlhn.ep2.no.spam@thurston.blinkynet.net> <slrnbqdnb2.2s7.dcmoose@moosemeat.ca.INVALID> <slrnbqdono.ep2.no.spam@thurston.blinkynet.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnbqdrjr.r6.s.wal@verizon.net>
Subject: Re: [slrn] ping: SINNER - long attrib lines
Date: Tue, 04 Nov 2003 00:10:34 GMT
From: Steve W <s.wal@SeeSig.invalid>
References: <slrnbqd0hq.2um.dcmoose@moosemeat.ca.INVALID> <slrnbqdc9b.bpu.no.spam@thurston.blinkynet.net> <slrnbqdj3s.2mc.dcmoose@moosemeat.ca.INVALID> <slrnbqdlhn.ep2.no.spam@thurston.blinkynet.net> <slrnbqdnb2.2s7.dcmoose@moosemeat.ca.INVALID> <slrnbqdono.ep2.no.spam@thurston.blinkynet.net>
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!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny02.gnilink.net.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.readers
User-Agent: slrn/0.9.8.0 (Linux)
Lines: 85
NNTP-Posting-Host: 151.203.194.80
X-Complaints-To: abuse@verizon.net
X-Trace: nwrdny02.gnilink.net 1067904634 151.203.194.80 (Mon,
NNTP-Posting-Date: Mon, 03 Nov 2003 19:10:34 EST