🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #120648

Re: slrn vs trn vs tin on ssh?

#120648
From: Mike
Date: Sun, 23 Feb 2003 06:02
31 lines
2045 bytes
On Sat, 22 Feb 2003 15:19:43 GMT, William Adderholdt
 <willie@atlas.localdomain> wrote:
>In article <slrnb5apjs.ohm.MikeV99@www.mm-vanecek.com>,
>Mike <me@privacy.net> wrote:
>>The biggest problem I have right now is figuring out how to tell vi/slrn
>>to wrap when I am writing a post. I have looked in the rc file and my
>>vi book and do not understand why it is not wrapping. I am manually
>>inserting CRs which is a real bummer.
>
>That's not necessary.  Vi clones such as elvis and vim have built-in
>features which do wrapping nicely, but even plain vi can do this.  Just
>set the wrapmargin value like so:
>
>:set wm=8
>
>This will wrap at 72 columns, as is the norm.  Plain vi can also handle
>justification of paragraphs by just piping through the fmt command which
>is on most Unix systems.  To justify the paragraph one is on, type:
>
>{!}fmt

I have put the following in slrc.rc:

set editor_command "vi '+set tw=72' +%d '%s'"
set mail_editor_command "vi '+set tw=72' +%d '%s'"
set post_editor_command "vi '+set tw=72' +%d '%s'"
set score_editor_command "vi '+set tw=72' +%d '%s'"

This seems to be working.

Technical Details
Message-ID: <7q3mi-pdq.ln1@news.invalid.mycomputer>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!peernews-us.colt.net!newsfeed.news2me.com!novia!newscene.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail
References: <pdoci-23o.ln1@news.mycomputer> <rqfdi-8kv.ln1@news.mycomputer> <b33nps$53q$1@woodrow.ucdavis.edu> <slrnb5apjs.ohm.MikeV99@www.mm-vanecek.com> <0h483b-2lh.ln@news.verizon.net>

Show Full Headers
Complete Article Headers
Message-ID: <7q3mi-pdq.ln1@news.invalid.mycomputer>
Subject: Re: slrn vs trn vs tin on ssh?
Date: Sun, 23 Feb 2003 06:02:14 +0000
From: MikeV99@news.mycomputer (Mike)
References: <pdoci-23o.ln1@news.mycomputer> <rqfdi-8kv.ln1@news.mycomputer> <b33nps$53q$1@woodrow.ucdavis.edu> <slrnb5apjs.ohm.MikeV99@www.mm-vanecek.com> <0h483b-2lh.ln@news.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!peernews-us.colt.net!newsfeed.news2me.com!novia!newscene.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail
Newsgroups: news.software.readers
Lines: 30
User-Agent: slrn/0.9.6.4 (Linux)