🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #225283

Re: [slrn] Windows and gvim syntax

#225283
From: Peter J Ross
Date: Mon, 01 Sep 2008 02:56
35 lines
2484 bytes
In news.software.readers on 31 Aug 2008 23:12:11 GMT, andrew
<andrew@ithaca.invalid> wrote:

> Hi,
>
> I have managed to kick-start a copy of slrn under windows and the
> remaining problem I have is gvim syntax. At the moment the following
> works well enough:
>
> set editor_command "C:/vim/vim72/gvim +%d %s"
>
> but no combination of syntax will allow me to set a line-width here.
> I emphasise that I am aware of the syntax that works with Linux and
> I use that syntax there but on Windows this syntax does not work.

Have you tried either of these?

	set editor_command "C:/vim/vim72/gvim +'set tw=70' +%d %s"
	set editor_command "C:/vim/vim72/gvim +\"set tw=70\" +%d %s"

> A final alternative, that I am not keen on, is to set a global line
> width in _vimrc.

It doesn't have to be global. E.g., in Linux I use this in .vimrc:

	autocmd VimEnter .{article,letter,followup} set tw=70

The names of the temporary files are probably different in Windows.


-- 
PJR :-)
slrn newsreader (v0.9.9): http://slrn.sourceforge.net/
extra slrn documentation: http://slrn-doc.sourceforge.net/
newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Technical Details
Message-ID: <slrngbmmed.2us.pjr@pjr.motzarella.org>
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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!news.motzarella.org!motzarella.org!not-for-mail
References: <20080901090520.75@ithaca.andrews-corner.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrngbmmed.2us.pjr@pjr.motzarella.org>
Subject: Re: [slrn] Windows and gvim syntax
Date: Mon, 01 Sep 2008 03:56:13 +0100
From: Peter J Ross <pjr@example.invalid>
References: <20080901090520.75@ithaca.andrews-corner.org>
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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!news.motzarella.org!motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 35
Reply-To: Peter J Ross <peadar.ruadh@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: feeder.motzarella.org
 U2FsdGVkX1/HUW3xaBOtJmOuiuPK1810pQ/rf9ao6noZ5AK0L6MZhlGjw4JlRt2PxQGn2xcoD85kHk1B5p6MUjvQYnX+LY1Dtz0aUstbtJVTmXa9YgeovTylzFL6bUPCjEcdqg59qxY=
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Mon, 1 Sep 2008 02:58:03 +0000 (UTC)
X-Auth-Sender: U2FsdGVkX18YQM1Sq8hFKSVm8u79DaDF
Cancel-Lock: sha1:QQd2QcCZ3+Rh247WnsVW2gShhVo=
User-Agent: slrn/pre0.9.9p1-16/mm (Linux)