1: see end of file for revision information 2case $CONFIG in 3 '') . ./config.sh ;; 4esac 5echo "Extracting access.def (with variable substitutions)" 6cat >access.def <<!GROK!THIS! 7# This is a sample access.def file. 8 9# This section defines the available news sources and gives them an 10# easy-to-use [ID] name. The always-present ID, "default", can also be 11# overriden here, if you so desire. 12# When defining an NNTP server, set "NNTP Server" to the domain name of 13# your server. If you need to use a non-standard port number, append ";119" 14# (for example) to the name. If you want to cache a local copy of the 15# active file, set "Active File" to the appropriate name. If you want 16# the file refetched after certain intervals, set "Active File Refetch" 17# to the appropriate interval (e.g. "1 day, 5 hours, 3 minutes"). 18# When defining a local news source (even NFS mounted), set "Active File" 19# and "Spool Dir". 20# Specify "none" for "Overview Dir" and/or "Thread Dir" to disable support 21# for that database type, omit or leave blank for the default access (either 22# "Spool Dir" for local or XOVER/XTHREAD for remote), or enter a custom 23# hierarchy path name. 24# Specify "none" for "Active Times" if the host has no new-group support, 25# leave it blank for the default (either active + ".times" for local access 26# or the NEWGROUPS command for remote), or enter a custom file name for your 27# active.times file. 28# Specify "none" for "Group Desc" if you don't have a file with newsgroup 29# descriptions, leave it blank for the default (NEWSLIB/newsgroups for local 30# access or the XGTITLE/LIST_NEWSGROUPS command for remote), or enter a 31# custom file name for your newsgroups file. If this is an NNTP source 32# you can also set "Group Desc Refetch" to a time value when the file 33# expires (something like "7 days" might be good). 34 35#[default] 36#NNTP Server = $servername 37#Active File = $active 38#Active File Refetch = [never|1 day, 4 hours, 5 mins] 39#Spool Dir = $newsspool 40#Thread Dir = $threaddir 41#Overview Dir = $overviewdir 42#Overview Format File = $overviewfmt 43#Active Times = $acttimes 44#Group Desc = $groupdesc 45#Group Desc Refetch = [never|7 days 1 hour 90 minutes] 46#Auth User = 47#Auth Password = 48#Auth Command = 49#Force Auth = [yes|no} 50#XHDR Broken = [yes|no] 51 52# This section tells trn what newsrc groups you want to use. If you 53# define multiple entries with the same group number, all of the .newsrcs 54# are combined and used together. The first entry encountered will be 55# the first group that trn will open. Otherwise the numbers dictate the 56# presentation order (see Ctrl-N and Ctrl-P). You can have multiple 57# .newsrc's from the same server or different servers, however you like. 58# The ID name "default" always exists with your compiled-in defaults. 59 60# If you leave off the newsrc name, the default is supplied. If you 61# don't want any groups added to an rc, specify "no" in the "Add Groups" 62# field. If you don't want new-group checking but want to manually 63# add groups, specify "manual". The default is "yes". 64 65#[Group 1] 66#ID = default 67#Newsrc = ~/.newsrc 68#Add Groups = yes/no/manual 69 70[Group 1] 71ID = default 72!GROK!THIS! 73# 74# This software is copyrighted as detailed in the LICENSE file. 75