Article View: news.software.readers
Article #224850Re: Fixing nn vs slackware [was:[trn] When is the 4.0 release due]
From: andrew
Date: Sun, 17 Aug 2008 21:26
Date: Sun, 17 Aug 2008 21:26
36 lines
2804 bytes
2804 bytes
Aaron W. Hsu <arcfide@sacrideo.us> writes: >andrew <andrew@ilium.invalid> writes: >>/* #define DOMAIN "frobozz.bogus" */ >This is indeed a personal setting. The traditional way that this is >handled is to edit the config.h file to make things work. However, I >have found that this isn't necessary if you can make a few minor >adjustments to your system. There is, if I recall, a way to have NN >check a file for the domain, and I think that the Slackware package >was set up with that at first. If not, then you can certain rebuild >with that. Your memory serves you well :-). I delved into hostname.c and found the following: * 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! Andrew -- http://www.andrews-corner.org
Technical Details
Message-ID:
<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!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newspump.sol.net!news.stupi.se!newsfeed.albacom.net!newspeer1.de.telia.net!newspeer4.de.telia.net!de.telia.net!news.tu-darmstadt.de!fu-berlin.de!uni-berlin.de!individual.net!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>Show Full Headers
Complete Article Headers
Message-ID: <7lhmn5x3u2.ln2@ilium.andrews-corner.org> Subject: Re: Fixing nn vs slackware [was:[trn] When is the 4.0 release due] Date: Mon, 18 Aug 2008 07:26:31 +1000 From: andrew <andrew@ilium.invalid> 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> 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!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newspump.sol.net!news.stupi.se!newsfeed.albacom.net!newspeer1.de.telia.net!newspeer4.de.telia.net!de.telia.net!news.tu-darmstadt.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: slrn Mafia (on vacation) Lines: 36 Reply-To: usenet.andrew@gmail.com X-Trace: individual.net z7xSxNVS4TBLgHhBNi9gtQU4Ou0s/ak61nHZYtROPvqRxByEEQ X-Orig-Path: ilium.andrews-corner.org!not-for-mail Cancel-Lock: sha1:SunU/KAeIqLTRqxHCQy9/pRztFA= X-NNTP-Proxy: Leafnode 2 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/) User-Agent: nn/6.7.3 X-Original-Bytes: 2523