Article View: news.software.readers
Article #224898Re: Fixing nn vs slackware [was:[trn] When is the 4.0 release due]
From: Aaron W. Hsu
Date: Tue, 19 Aug 2008 03:45
Date: Tue, 19 Aug 2008 03:45
35 lines
3176 bytes
3176 bytes
andrew <andrew@ilium.invalid> writes: > * HAVE_GETHOSTNAME -- use gethostname() > * HAVE_UNAME -- use sysV uname().nodename > * HOSTNAME_FILE "/.../..." -- read hostname from file > * HOSTNAME_WHOAMI -- use sysname from whoami.h > * HOSTNAME "host" -- hard-coded hostname > * You lose! >Well obviously I had been losing for a while. In fact HOSTNAME_FILE was >the option I was after and after a few false starts I created a file >with exactly this name, popped a domain name into it, placed in /.nn and >all is well. >I could not see this option in the man page and I presume that it was >not heavily publicised to prevent domain name abuse? Anyway thanks again >for your assistance Aaron! This should have been documented as an option in config.h. Where you would normally use HAVE_GETHOSTNAME, you can use HOSTNAME_FILE there, I think, and all should be well. This is not documented in the manual page because it is a compile time option that shouldn't be mentioned to the end users. The man page is written under the assumption that the user is possibly going to be only one of many on a multi-user UNIX system, being fed news from the NNMaster spooler. Hence, this is really only mentioned in the compile-time documentation, if at all. Glad to be of service, Aaron -- +++++++++++++++ ((lambda (x) (x x)) (lambda (x) (x x))) +++++++++++++++ Email: <arcfide@sacrideo.us> | WWW: <http://www.sacrideo.us> Scheme Programming is subtle; subtlety can be hard. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Technical Details
Message-ID:
<WMWdnUaxTvtF3DfVnZ2dnUVZ_hmdnZ2d@giganews.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!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mailReferences:
<ck5hn5x1vb.ln2@zogzog.maillard.mobi> <miihn5x9rn.ln2@ilium.andrews-corner.org> <slrngafd8s.3a3.rudy@news.motzarella.org> <pa8ln5xog9.ln2@ilium.andrews-corner.org> <20080817210817.843@ilium.andrews-corner.org> <5uydnXmrAr1X4TXVnZ2dnUVZ_szinZ2d@giganews.com> <7lhmn5x3u2.ln2@ilium.andrews-corner.org>Show Full Headers
Complete Article Headers
Message-ID: <WMWdnUaxTvtF3DfVnZ2dnUVZ_hmdnZ2d@giganews.com> Subject: Re: Fixing nn vs slackware [was:[trn] When is the 4.0 release due] Date: Mon, 18 Aug 2008 22:45:28 -0500 From: Aaron W. Hsu <arcfide@sacrideo.us> References: <ck5hn5x1vb.ln2@zogzog.maillard.mobi> <miihn5x9rn.ln2@ilium.andrews-corner.org> <slrngafd8s.3a3.rudy@news.motzarella.org> <pa8ln5xog9.ln2@ilium.andrews-corner.org> <20080817210817.843@ilium.andrews-corner.org> <5uydnXmrAr1X4TXVnZ2dnUVZ_szinZ2d@giganews.com> <7lhmn5x3u2.ln2@ilium.andrews-corner.org> 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!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 18 Aug 2008 22:45:28 -0500 Newsgroups: news.software.readers Organization: Sacrificum Deo Reply-To: arcfide@sacrideo.us User-Agent: nn/6.7.3 Lines: 35 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-8FDgIBo3zMss5g4vGOaUpZU+c8JNQY0HCZmktnk1KjfP38P7Uv2cxuNZVXKTx9ote9HeLk4TKzZL1ew!/aDkwbqLCB24bcrmK5Nn0WmCIR3KjpiHtOnLNTu8jEDlMRVoMT3Sw+JGVxhCDx+zQKcvZAvvDTs4 X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39