🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #136748

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

#136748
From: Blinky the Shark
Date: Mon, 03 Nov 2003 19:45
32 lines
2283 bytes
DC wrote:

> Hey, question for ya.

> Without fail, whenever I reply to one of your posts, your attrib line
> causes slrn to issue a line length warning.  I have to re-edit and ^Q to
> wrap your attrib line before it will let me post.  How can I fix this?

> Using gVim, here's the slrnrc entry:

> set editor_command "gvim -f +'/^$/ +1' +'colo elflord' +'set comments=nb:> ' +noh +'set tw=72' +%d '%s'"

> Ideas?  Thx.

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.

-- 
Blinky - - - - - - - - - - - - - - - - - - - - - - - Linux RU 297263
Microsoft, 23 Oct: "As a result of challenges to our business model,
sales of our products may decline, we may have to reduce the prices
we charge for our products..."        http://snipurl.com/open_source 
Technical Details
Message-ID: <slrnbqdc9b.bpu.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!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews1
References: <slrnbqd0hq.2um.dcmoose@moosemeat.ca.INVALID>

Show Full Headers
Complete Article Headers
Message-ID: <slrnbqdc9b.bpu.no.spam@thurston.blinkynet.net>
Subject: Re: [slrn] ping: SINNER - long attrib lines
Date: Mon, 03 Nov 2003 19:45:22 +0000
From: Blinky the Shark <no.spam@box.invalid>
References: <slrnbqd0hq.2um.dcmoose@moosemeat.ca.INVALID>
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!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews1
Newsgroups: news.software.readers
Organization: http://blinkynet.net
Lines: 32
NNTP-Posting-Host: p-637.newsdawg.com
X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%;
 )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E
User-Agent: slrn/0.9.7.4 (Linux)