Article View: news.software.readers
Article #154665Re: Newsreader TIN on Windows, without Cygwin?
From: Frank Slootweg
Date: Wed, 25 Aug 2004 13:46
Date: Wed, 25 Aug 2004 13:46
81 lines
5197 bytes
5197 bytes
Progress report
===============
On August 19, I wrote:
[deleted]
> It is probably best if the original poster (Chaos Master) does the
> testing, because 1) he is the one with the (bandwidth) problem and 2) my
> environment is not 'clean', i.e. something which works on my system,
> might not work on a totally Cygwin-clean system.
>
> In the meantime I tried to get tin-1.6.2 working standalone, i.e. with
> only the minimal Cygwin files. Besides the files you mentioned, I needed
> cygncurses7.dll (for curses) and, as Urs indicated, a terminfo entry
> "cygwin"). (Other than Urs expected,) I did not need a passwd file.
>
> The bad news is that I could not get tin to display any articles. As
> soon as I press the tab key to go to the first unread article, it
> shortly says "Reading ..." (do not know if it says anything after
> "Reading") and then says "Article unavailable". That message stays for a
> rather long time and then goes away. Any next attempt to read/display an
> article *directly* (i.e. no (visible) "Reading ...") gives "Article
> unavailable".
>
> Any clues anyone?
The good news is that this (can not display any articles) problem has
been solved. It was apparently
caused by the same problem as the startup "Can't create unique
tempfile-name" message. I found the cause by temporarily going back to
tin-1.4.2. That gave shortly "Can't create unique tempfile-name: Error:
No such file or directory" (or very similar wording) when trying to
display an article. From there, it was not to hard to find that it
needed the /tmp directory, i.e. \cygwin\tmp under MS-Windows. Setting
the TMPDIR variable did not help, probably due to the Cygwin to
MS-Windows mapping, i.e. /... versus \... versus /cygdrive/c/... versus
\cygwin\... . I took the easy way out and just created \cygwin\tmp.
> Possibly related: Help ("h") does not work (does nothing). Probably
> missing file. (Which one and where should it be?) Also I sometimes, but
> not always (or at least not visibly), get a "Can't create unique
> tempfile-name" message at startup. Cause? Consequences?
These two have also been solved. The Help one automagically and the
startup message by creating \cygwin\tmp (see above).
> My standalone version also gives other problems, for example it can
> not post because vi is missing and notepad does not understand forward
> slashes in paths:
>
> > Command failed: /bin/vi 7 /cygdrive/c/Documents and Settings/<user>/.article.2848
>
> but compared to the reading/displaying problem, the posting problem is a
> trivial one.
This problem is still not solved and is currently the major problem.
Basically I can not get "default_editor_format=..." to execute
*anything*, let alone an editor with the right pathname. I have tried
everything I could think of, i.e. UNIX versus MS-Windows, pathname
differences, missing shell, PATH, etc.. Even something as basic as
"default_editor_format=set" fails with "Command failed: set". I use this
'silly' command, because it is both a UNIX (i.e. Cygwin) and MS-Windows
(i.e. 'DOS') built-in command. I have also tried external commands like
/bin/echo and ipconfig, but with the same results.
So I am stuck.
What *exactly* does tin do when executing the command given in
"default_editor_command=..."? I.e. what does it start, which which
path(s), with which arguments/options, etc.?
> Just to be clear: Of course my 'real' tin 1.6.2 (i.e. the Cygwin
> package which runs under 'full' Cygwin) does not have any of these
> problems.
>
> Sorry, Chaos Master, but it looks like I can not help you, at least
> not for the moment.
If anyone is interested, I can make my current stuff available, but I
think that without posting-capability there will be little to no
interest.
Technical Details
Message-ID:
<412c9851$0$74037$a344fe98@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!border2.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!beastiality.euro.net!postnews1.euro.net!news.wanadoo.nl!not-for-mailReferences:
<MPG.1b88c5617b064aeb9896fb@news.individual.net> <X5GTc.601$d5.4553@newsb.telia.net> <cfng39$3il$1@news2.rz.uni-karlsruhe.de> <MPG.1b897b9cca12d8af989704@news.individual.net> <4120ccbe$0$134$1b2cd167@news.wanadoo.nl> <cfrbm9$c2a$1@news2.rz.uni-karlsruhe.de> <4121bd1f$0$147$18b6e80@news.wanadoo.nl> <slrnci5io5.134.rudy@142.39.20.3> <412484ca$0$58984$b83b6cc0@news.wanadoo.nl>Show Full Headers
Complete Article Headers
Message-ID: <412c9851$0$74037$a344fe98@news.wanadoo.nl>
Subject: Re: Newsreader TIN on Windows, without Cygwin?
Date: Wed, 25 Aug 2004 13:46:58 +0000
From: Frank Slootweg <this@ddress.is.invalid>
References: <MPG.1b88c5617b064aeb9896fb@news.individual.net> <X5GTc.601$d5.4553@newsb.telia.net> <cfng39$3il$1@news2.rz.uni-karlsruhe.de> <MPG.1b897b9cca12d8af989704@news.individual.net> <4120ccbe$0$134$1b2cd167@news.wanadoo.nl> <cfrbm9$c2a$1@news2.rz.uni-karlsruhe.de> <4121bd1f$0$147$18b6e80@news.wanadoo.nl> <slrnci5io5.134.rudy@142.39.20.3> <412484ca$0$58984$b83b6cc0@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!border2.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!beastiality.euro.net!postnews1.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.9(0.112/4/2) (i686)) Hamster/2.0.2.2
Lines: 81
NNTP-Posting-Date: 25 Aug 2004 13:46:58 GMT
NNTP-Posting-Host: c5147453f.cable.wanadoo.nl
X-Trace: 1093441618 maya.euronet.nl 74037 81.71.69.63:64881
X-Complaints-To: abuse@wanadoo.nl