Article View: news.software.readers
Article #203781Re: [slrn] Editor will not be found in cygwin-slrn
From: Thomas Wiegner
Date: Tue, 14 Aug 2007 18:13
Date: Tue, 14 Aug 2007 18:13
57 lines
2990 bytes
2990 bytes
Hi, On Mon, 13 Aug 2007, frydd <frydd@spamfence.net> wrote: > 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". Hmm, this is really something I forgot to test, when I bundled this package. > 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" Perhaps just for all the others, who asked why the heck you take the edit.exe command from windows. IMHO it makes sense to do that, because I tried to bundle the minimum required cygwin DLLs, so that there is no need to install cygwin. So of course one might take his favorite windows editor. > What is the proper syntax? Are you sure it is edit.exe? In my windows it is edit.com? What worked for me was to copy the edit.com to the slrn directory, rename it to slrn.exe and set the editor command to "edit %s" This will call the editor but unfortunatly this won't work either, because the path to the follow-up article will be a "unix" path, which edit.exe does not understand. So at the moment no "windows" only editor will work. Sorry, that was a thing I just did not think of. I could either patch slrn, so that it will work with a windows editor, but it is not sure that every editor will work, because slrn needs an editor which does not run in the background or I could try to bundle slrn with a cygwin editor e.g. like pico or nano, which should be easy to handle for a windows user. > btw: a slrn installation for win works fine with the syntax set > editor_command "C:\\...\\edit.exe %s " Yes, this was a real windows port? Cheers, Thomas
Technical Details
Message-ID:
<cv79p4-l04.ln1@wiegner.user.individual.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<1186992267.230503.9200@q75g2000hsh.googlegroups.com>Show Full Headers
Complete Article Headers
Message-ID: <cv79p4-l04.ln1@wiegner.user.individual.de> Subject: Re: [slrn] Editor will not be found in cygwin-slrn Date: Tue, 14 Aug 2007 20:13:32 +0200 From: Thomas Wiegner <wiegner@gmx.de> References: <1186992267.230503.9200@q75g2000hsh.googlegroups.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!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Lines: 57 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: individual.net T0i/I1axill1pvJ+Q5q6OgQADgruFu/FbxeFcHEDVxoxrpUig= X-Orig-Path: wiegner.user.individual.de!news Cancel-Lock: sha1:CL9HrFfSn1PiAUGmwknVMu/xl/A= User-Agent: slrn/0.9.8.1pl2.1 (Linux)