Article View: news.software.readers
Article #258650Re: configuration with slrn/vim
From: Whiskers
Date: Fri, 21 Nov 2014 21:55
Date: Fri, 21 Nov 2014 21:55
55 lines
3673 bytes
3673 bytes
On 2014-11-19, Dale <dale@dalekelly.org> wrote: > On 2014-11-19, andrew <andrew@skamandros.invalid> wrote: >> On 2014-11-19, andrew <andrew@skamandros.invalid> wrote: >>> On 2014-11-19, Dale <dale@dalekelly.org> wrote: >>> >>>> I can get line wrap to 80 characters on things I cut and paste into >>>> slrn. with >>>> >>>> set editor_command "vim '+set tw=80' +%d '%s' >>>> >>>> if I type, it wraps to 80 characters too, but when I send I have to >>>> force send because it says a line is above 80 characters >>> >>> Seems odd, I use a similar line, (although I use tw=72 which might be a >>> better choice for you anyway), with no issues... >> >> Mind you I have spotted a small typo in your setting, should be: >> >> set editor_command "vim '+set tw=80' +%d '%s'" >> ^^ >> Andrew > > added the finishing double quotes, changed 80 to 72 > and still have to wrap the lines with W in slrn > when W wraps it still leaves a space in front of each line that is > wrapped, thanks though I think you may be confusing what slrn does and what vim does. When slrn displays an article, it wraps the lines at whatever line length was set by the author. If the line is too long to wrap within the width of your terminal, the w command tells slrn to wrap the long line at the edge of the terminal - with the continuation of the line indented. When you have composed an article using your preferred editor, and return control from the editor to slrn, and then key y to tell slrn to submit the article, slrn will warn you if there is any line in the body of your article longer than 80 characters - it also tells you the first line in the article that is too long, and allows you to return to the editor to change the long line(s), or you can force the article to be sent as it is. Your articles appear to have sensible line lengths so I don't know why they look wrong to you, if that is what you mean. Some articles do indeed have lines that are too long, it's a common fault with articles sent using Google Groups for example. The settings you give your own editor have nothing to do with this, and have no effect on it. Slrn does not use your editor for displaying articles. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Technical Details
Message-ID:
<slrnm6vd69.r7.catwheezel@ID-107770.user.individual.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.20141227.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<80fgrl.use.17.1@news.alt.net> <20141120073724.251@skamandros.andrews-corner.org> <20141120074157.92@skamandros.andrews-corner.org> <80flr5.8bq.19.2@news.alt.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnm6vd69.r7.catwheezel@ID-107770.user.individual.net> Subject: Re: configuration with slrn/vim Date: Fri, 21 Nov 2014 21:55:21 +0000 From: Whiskers <catwheezel@operamail.com> References: <80fgrl.use.17.1@news.alt.net> <20141120073724.251@skamandros.andrews-corner.org> <20141120074157.92@skamandros.andrews-corner.org> <80flr5.8bq.19.2@news.alt.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.20141227.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: is an alien concept Lines: 55 X-Trace: individual.net qMJbfb+/iNwDtXB+oBaYGAvvKPelA5M6aX2+37IsPp7gmCkM7u Cancel-Lock: sha1:yMUrpU9PWD9UKas0EV9oDIFSfjA= X-Face: (8UIp\C%, 7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_ "Pmt)1xC~QW%bU/xrlDuux"; aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00 xYer]; 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@ p& g^8<z5>HA User-Agent: slrn/1.0.2 (Linux)