🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #240993

Re: slrn editor_command error

#240993
From: Bastian Erdnuess
Date: Tue, 18 May 2010 12:52
22 lines
2071 bytes
W. Citoan wrote:

> Keith wrote:
>> 
>>   You used "editor_command = gvim -c %s '%d'" in .slrnrc. The proper
>>   format for the .slrnrc file is:
>>  "editor_command gvim -c %s '%d'"
>
>>  If your program requires an = sign for a switch make sure that it is
>>  in quotes so that slrn doesn't attempt to interpret the = sign:
>> 
>>  editor_command gvim -c %s 'foo=blah' '%d'
>
> While you're correct the "=" is wrong, the "set" is needed.  I believe
> the command itself also needs to be in quotes (never tried it w/o, but
> the manual shows them).  So the above should be:
>
>     set editor_command "gvim -c %s 'foo=blah' '%d'"

Did anyone recognize that %s and %d are swaped all the time?

Bastian
Technical Details
Message-ID: <slrnhv53c5.2e2.earthnut@wh36-e604.wh36.uni-karlsruhe.de>
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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!feeder.erje.net!news-2.dfn.de!news.dfn.de!news.uni-stuttgart.de!news.belwue.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
References: <slrnhv1cng.510.narkewoody@cnzuhnb639.ap.bm.net> <hsqge002mrb@news6.newsguy.com> <hstlpc02oc5@news1.newsguy.com> <slrnhv4q8r.3o0.wcitoan@wcitoan-via.eternal-september.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrnhv53c5.2e2.earthnut@wh36-e604.wh36.uni-karlsruhe.de>
Subject: Re: slrn editor_command error
Date: Tue, 18 May 2010 12:52:21 +0000
From: Bastian Erdnuess <earthnut@web.de>
References: <slrnhv1cng.510.narkewoody@cnzuhnb639.ap.bm.net> <hsqge002mrb@news6.newsguy.com> <hstlpc02oc5@news1.newsguy.com> <slrnhv4q8r.3o0.wcitoan@wcitoan-via.eternal-september.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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!feeder.erje.net!news-2.dfn.de!news.dfn.de!news.uni-stuttgart.de!news.belwue.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
Newsgroups: news.software.readers
Organization: University of Karlsruhe, Germany
Lines: 22
NNTP-Posting-Host: wh36-e604.wh36.uni-karlsruhe.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news2.rz.uni-karlsruhe.de 1274187141 16525 172.20.230.220 (18 May
X-Complaints-To: abuse@uni-karlsruhe.de
NNTP-Posting-Date: Tue, 18 May 2010 12:52:21 +0000 (UTC)
User-Agent: slrn/0.9.9p1 (Darwin)