🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #240910

Re: slrn editor_command error

#240910
From: narke
Date: Mon, 17 May 2010 05:34
34 lines
2031 bytes
On 2010-05-17, Indi <indi@satcidananda.16x108.merseine.nu> wrote:
> On 2010-05-17, narke <narkewoody@gmail.com> wrote:
>> Hi,
>>
>> I got probelm when using the editor_command option of slrn.  
>> When the option is
>> not used, everything is okay. But when I enabled it, it failed:
>>
>> 1. If I use the origianl setting "editor_command = gvim -c %s '%d'", 
>>    I will get an editor without header in it, and can not save.
>>
>> 2. If I use my own setting 
>>    "editor_command = gvim -c 'set textwidth=80' '%d'",
>>    gvim will complain that it can not process the command line.
>>
>>
>> Do you know what are the possible causes? Thanks.
>>
>>
>> -
>> narke
>
> set editor_command "vim -c 'set tw=72 et' '+/^$'"
>
> Should work with gvim too, I think.
>

I've found the cause.  I cannot use '...', I should rather use \"set
tw=72\".  Because slrn and gvim are running in Windows system.

Thanks anyway.

-
nare
Technical Details
Message-ID: <slrnhv1lah.52k.narkewoody@cnzuhnb639.ap.bm.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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!cyclone01.ams2.highwinds-media.com!news.highwinds-media.com!npeersf01.ams.highwinds-media.com!newsfe29.ams2.POSTED!88eed779!not-for-mail
References: <slrnhv1cng.510.narkewoody@cnzuhnb639.ap.bm.net> <85c033FcevU1@mid.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnhv1lah.52k.narkewoody@cnzuhnb639.ap.bm.net>
Subject: Re: slrn editor_command error
Date: Mon, 17 May 2010 05:34:09 GMT
From: narke <narkewoody@gmail.com>
References: <slrnhv1cng.510.narkewoody@cnzuhnb639.ap.bm.net> <85c033FcevU1@mid.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.20140922.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!cyclone01.ams2.highwinds-media.com!news.highwinds-media.com!npeersf01.ams.highwinds-media.com!newsfe29.ams2.POSTED!88eed779!not-for-mail
Newsgroups: news.software.readers
User-Agent: slrn/0.9.9p1/mm/ao (Win32)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 34
X-Complaints-To: abuse@newsgroups-download.com
NNTP-Posting-Date: Mon, 17 May 2010 05:34:09 UTC
Organization: Public Usenet Newsgroup Access