🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #203907

Re: Editor will not be found in cygwin-slrn

#203907
From: frydd
Date: Fri, 17 Aug 2007 07:49
53 lines
3478 bytes
On 16 Aug., 22:03, Thomas Wiegner <wieg...@gmx.de> wrote:
> On Thu, 16 Aug 2007, Thomas Wiegner <wieg...@gmx.de> wrote:
> >> Notepad editor:
> >> ---------------
> >> You can also use the (MS-Windows) Notepad editor instead of vi, but that
> >> will put the cursor at the top, instead of, as it should, just below the
> >> attribution line. You should set .tin\tinrc to:
> >> default_editor_format=notepad `basename %F`
>
> [ .. ]
>
> >>   This basename(1) 'trick' should work for any editor and I assume that
> >> slrn can also handle the `basename ...` construct in its variables.
>
> > 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'm not a programmer, but my cygwin-running tin-version 1.6.2. (look:
ftp://ftp.cs.tu-berlin.de/pub/net/news/tin/binaries/win32/ ) contains:

cygiconv-2.dll
cygintl-2.dll
cygncurses7.dll
cygwin1.dll
sh.exe
basename.exe
chmod.exe

hth


regards
                frydd
Technical Details
Message-ID: <1187336976.592941.253890@g4g2000hsf.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!postnews.google.com!g4g2000hsf.googlegroups.com!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: <1187336976.592941.253890@g4g2000hsf.googlegroups.com>
Subject: Re: Editor will not be found in cygwin-slrn
Date: Fri, 17 Aug 2007 00:49:36 -0700
From: frydd <frydd@spamfence.net>
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!postnews.google.com!g4g2000hsf.googlegroups.com!not-for-mail
Newsgroups: news.software.readers
Organization: http://groups.google.com
Lines: 53
NNTP-Posting-Host: 212.34.68.24
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Trace: posting.google.com 1187336976 12451 127.0.0.1 (17 Aug 2007 07:49:36
 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 17 Aug 2007 07:49:36 +0000 (UTC)
In-Reply-To: <f6nep4-h45.ln1@wiegner.user.individual.de>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1;
 IZBSOFT; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 n80proxy1:3128 (squid/2.6.STABLE13),
Complaints-To: groups-abuse@google.com
Injection-Info: g4g2000hsf.googlegroups.com; posting-host=212.34.68.24;
 posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0