๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #114743

Re: Newsreader for Cygwin/Windows? Tin?

#114743
From: Jens Wahnes
Date: Wed, 20 Nov 2002 16:02
36 lines
2733 bytes
Urs Jan๏ฟฝen wrote:

>     Jens Wahnes wrote:
>> Under Cygwin, the only way that I have found to make a FQDN available
>> so that it shows up correctly with "hostname --fqdn" is to set it in
>> Windows' network properties as the network identification of the
>> computer, i.e. it has to fit into the 14 or so character limit that
>> Windows emposes on the "network identification", which is usually used
>> for the hostname only (the "workgroup" entry does not have any
>> influence on what Cygwin assumes is the FQDN of the computer).  But

> tin uses the gethostby*() functions, are those affected by the 14
> char limit stuff under cygwin?

I guess.  I don't know how "hostname" works internally, but I'd be
surprised if it didn't use gethostby* functions.  This character limit
is, however, not a Cygwin restriction but a Windows restriction.  As I
think about it, the limit must be at least 15 (not 14) characters,
because I once used "schwan.yocto.de" as a name, which is 15 characters
long.

>> since it's possible to have dots in there, one can set the computer
>> name to something along the lines of "blah.domain.tld", which will get
>> converted to BLAH.DOMAIN.TLD.  That's a bit ugly, but it works.

> for tin at least the TLD must be a valid one as it's compared
> against the list in include/policy.h.

If the comparisons tin makes are case-insensitive (which is what I
assume it does), having ".COM" instead of ".com" wouldn't matter, would
it?


Jens

Technical Details
Message-ID: <slrnatncdf.o71.nsr@message-id.wahnes-world.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news.rwth-aachen.de!news.uni-stuttgart.de!news.belwue.de!news.uni-kl.de!not-for-mail
References: <Xns92CA6FD166D2Cpdworldstdcom@199.103.147.5> <ardomb$d16$1@support.neth.hp.com> <slrnatl9e7.735.nsr@message-id.wahnes-world.de> <areqj4$7p$1@news.rz.uni-karlsruhe.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrnatncdf.o71.nsr@message-id.wahnes-world.de>
Subject: Re: Newsreader for Cygwin/Windows? Tin?
Date: Wed, 20 Nov 2002 16:02:31 +0000
From: Jens Wahnes <jewa@gmx.net>
References: <Xns92CA6FD166D2Cpdworldstdcom@199.103.147.5> <ardomb$d16$1@support.neth.hp.com> <slrnatl9e7.735.nsr@message-id.wahnes-world.de> <areqj4$7p$1@news.rz.uni-karlsruhe.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news.rwth-aachen.de!news.uni-stuttgart.de!news.belwue.de!news.uni-kl.de!not-for-mail
Newsgroups: news.software.readers
Organization: Wahnes World
Lines: 35
NNTP-Posting-Host: linda.rhrk.uni-kl.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-kl.de 1037808151 12467 131.246.137.55 (20 Nov 2002 16:02:31 GMT)
X-Complaints-To: usenet@news.uni-kl.de
NNTP-Posting-Date: Wed, 20 Nov 2002 16:02:31 +0000 (UTC)
User-Agent: slrn/0.9.7.4 (Linux)