🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #203738

Re: [slrn] Editor will not be found in cygwin-slrn

#203738
From: Troy Piggins
Date: Mon, 13 Aug 2007 20:30
75 lines
3760 bytes
* Frank Slootweg is quoted & my replies are inline below :
> frydd <frydd@spamfence.net> wrote:
>> hi group
>> 
>> from http://www.foory.de/thw/slrn/packages/slrn_with_included_cygwin.zip
>> I installed slrn on a WinXP-machine. slrn works for fetching and
>> reading news. But if I try 2 make a followup or create a new post,
>> slrn says "Editor will not be found".
>> 
>> In slrnrc I tried:
>> 
>> "/cygdrive/d:/slrn/edit.exe %s"
>> "/cygdrive/d/slrn/edit.exe %s"
>> "cygdrive/d:/slrn/edit.exe %s"
>> "cygdrive/d/slrn/edit.exe %s"
>> "d:/slrn/edit.exe %s"
>> "d/slrn/edit.exe %s"
>> "edit.exe %s"
>> 
>> all for
>> 
>> set editor_command
>> set mail_editor_command
>> set post_editor_command
>> set score_editor_command
>> 
>> set Home is set and und edit.exe exists in \home
>
>   "set Home" is set to *what*?
>
>   And if "edit.exe exists in \home", then why do the pathnames you
> quoted *not* contain "\home"?
>
>   And what *is* "edit.exe"? The slrn_with_included_cygwin.zip archive
> does not seem to contain any edit.* and (MS-)Windows only has edit.com,
> not .exe, the "MS-DOS Editor", and that is not in any of the directories
> you mentioned (but probably in C:\WINDOWS\system32).

frydd - this is a good question.  What is the editor you are
using?  What about Vim for Windows?

>> What is the proper syntax?
>
>   I don't use slrn, so I don't know the slrn syntax, but I do use Cygwin
> (with tin) and the Cygwin syntax is:
>
> /cygdrive/<windowsdriveletter>/<windowspathwithforwardslashes>
>
>   So for example my .newsrc is:
>
> /cygdrive/c/home/franks/.newsrc

That looks like the second path he quoted above.  Oh, wait -
almost:

set editor_command "/cygdrive/d/home/frydd/slrn/edit.exe %s"

assuming edit.exe exists and shouldn't be edit.com etc.

>   I.e. from Cygwin's bash shell:
>
>> $ ls -l /cygdrive/c/home/franks/.newsrc
>> -rwx------ 1 franks None 1864 Aug 12 23:28 /cygdrive/c/home/franks/.newsrc
>> $ 
>
>> btw: a slrn installation for win works fine with the syntax set
>> editor_command "C:\\...\\edit.exe %s "

So why not use that?

-- 
Troy Piggins | http://piggo.com/~troy                             
                                            ___  |   __   __    ,-O   (o-    O 
slrn macros and howto:                     |___  | |/   |/  |  O   )  //\     O
http://piggo.com/~troy/slrn                 ___| | |    |   |   `-O   V_/_  OOO
Technical Details
Message-ID: <20070814062617@usenet.piggo.com>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!nntp4.phx1!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
References: <1186992267.230503.9200@q75g2000hsh.googlegroups.com> <46c0b27c$0$89488$dbd43001@news.wanadoo.nl>

Show Full Headers
Complete Article Headers
Message-ID: <20070814062617@usenet.piggo.com>
Subject: Re: [slrn] Editor will not be found in cygwin-slrn
Date: Tue, 14 Aug 2007 06:30:43 +1000
From: Troy Piggins <usenet-0708@piggo.com>
References: <1186992267.230503.9200@q75g2000hsh.googlegroups.com> <46c0b27c$0$89488$dbd43001@news.wanadoo.nl>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!nntp4.phx1!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
Newsgroups: news.software.readers
Reply-To: usenet-0708@piggo.com
X-NNTP-Proxy: Leafnode-2
 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/)
User-Agent: slrn/0.9.8.1pl2.1/rt (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 75
NNTP-Posting-Host: 124.171.212.141
X-Trace: 1187037045 per-qv1-newsreader-01.iinet.net.au 22603 124.171.212.141
X-Original-Bytes: 3520