🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #203929

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

#203929
From: Frank Slootweg
Date: Fri, 17 Aug 2007 18:01
54 lines
3422 bytes
Thomas Wiegner <wiegner@gmx.de> wrote:
[deleted]

> > Thanks, for that hint, I'll check that. But I think one has to 
> > make some tricks with the $HOME or the $TMP variables, because
> > slrn will try to edit the article either in the $HOME or in the
> > $TMP directory. 
> 
> After a little bit more investigations it came out, that every tip
> I got worked fine as long as I have an installation of cygwin on my
> machine. The editor is found and all works good. 
> 
> If there is no cygwin on that machine, I could not start a editor,
> neither a cygwin one nor a windows one. All with the same slrnrc and
> editor settings.
> 
> The idea of my package was not to need a cygwin installation, I just
> wanted to add the needed DLLs to the package so everything would work
> fine.
> 
> It seems I forgot something, but at the moment I don't have clue.
> Is there a cygwin expert here, who could point out, what I've forgotten?
> Wrong environment variables? Missing DLL? Do I need a shell additionally
> installed?

  I am my no means a Cygwin expert, but for my tin package $HOME c.q.
%HOME% and the
[\cygwin\]tmp directory were indeed important. Please see the README.txt
and tin.bat files *in* my package[1].

  For example for the tmp directory my README.txt says this:

<quote>

Create \cygwin\tmp directory:
-----------------------------
You need to create a \cygwin\tmp directory for temporary files (for
example for viewing, i.e. reading, articles).
Note: Setting the tin environment variable TMPDIR does not help,
probably due to forward versus backward slashes or/and \cygwin\ versus
/cygdrive/c/ versus \ versus / pathname differences

</quote>

  What helped me when I was creating my tin package was to let the
newsreader (i.e. in your case slrn) invoke something *other* than an
editor, i.e. like some simple command which doesn't need any external
stuff and just generates some output so you can check whether it works
or not, i.e. something like "ls -l" or a similar (*external*, not
built-in)) 'DOS' command.

  HTH.

[1] <ftp://ftp.tin.org/pub/news/clients/tin/binaries/win32/tin-1.6.2.sa.zip>
Technical Details
Message-ID: <46c5e285$0$61658$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!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news2.euro.net!postnews2.euro.net!news.wanadoo.nl!not-for-mail
References: <1186992267.230503.9200@q75g2000hsh.googlegroups.com> <cv79p4-l04.ln1@wiegner.user.individual.de> <46c21235$0$64869$dbd4b001@news.wanadoo.nl> <slrnfc7tk0.2ac.wiegner@mhhb6k6c.ww200.siemens.net> <f6nep4-h45.ln1@wiegner.user.individual.de>

Show Full Headers
Complete Article Headers
Message-ID: <46c5e285$0$61658$dbd43001@news.wanadoo.nl>
Subject: Re: [slrn] Editor will not be found in cygwin-slrn
Date: Fri, 17 Aug 2007 18:01:41 +0000
From: Frank Slootweg <this@ddress.is.invalid>
References: <1186992267.230503.9200@q75g2000hsh.googlegroups.com> <cv79p4-l04.ln1@wiegner.user.individual.de> <46c21235$0$64869$dbd4b001@news.wanadoo.nl> <slrnfc7tk0.2ac.wiegner@mhhb6k6c.ww200.siemens.net> <f6nep4-h45.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!newsfeed.freenet.de!news2.euro.net!postnews2.euro.net!news.wanadoo.nl!not-for-mail
Newsgroups: news.software.readers
Organization: NOYB
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX)
 (CYGWIN_NT-5.1/1.5.22(0.156/4/2) (i686)) Hamster/2.0.2.2
Lines: 54
NNTP-Posting-Date: 17 Aug 2007 18:01:41 GMT
NNTP-Posting-Host: cd44074f3.cable.wanadoo.nl
X-Trace: 1187373701 dr2.euro.net 61658 212.64.116.243:63787
X-Complaints-To: abuse@wanadoo.nl