home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / n / trn / trn-nntp.con < prev    next >
Text File  |  1995-10-10  |  18KB  |  521 lines

  1. Script started on Mon Sep 12 03:24:52 1994
  2. fuzzy:~/trn-3.4# Configure 
  3.   
  4. Beginning of configuration questions for trn. 
  5.   
  6. Checking echo to see how to suppress newlines... 
  7. ...using -n. 
  8. The star should be here-->* 
  9.   
  10. First let's make sure your kit is complete.  Checking... 
  11. Looks good... 
  12.   
  13. Would you like to see the instructions? [n]  
  14.   
  15. Checking your sh to see if it knows about # comments... 
  16. Your sh handles # comments correctly. 
  17.   
  18. Okay, let's see if #! works on this system... 
  19. It does. 
  20.   
  21. Checking out how to guarantee sh startup... 
  22. Let's see if '#!/bin/sh' works... 
  23. Yup, it does. 
  24.   
  25. Locating common programs... 
  26. awk is in /usr/bin/awk. 
  27. cat is in /bin/cat. 
  28. echo is in /bin/echo. 
  29. expr is in /usr/bin/expr. 
  30. grep is in /usr/bin/grep. 
  31. mkdir is in /bin/mkdir. 
  32. mv is in /bin/mv. 
  33. rm is in /bin/rm. 
  34. sed is in /usr/bin/sed. 
  35. sort is in /usr/bin/sort. 
  36. tail is in /usr/bin/tail. 
  37. tr is in /usr/bin/tr. 
  38. uniq is in /usr/bin/uniq. 
  39.   
  40. Don't worry if any of the following aren't found... 
  41. I don't see Mcc out there, offhand. 
  42. bash is in /bin/bash. 
  43. cpp is in /lib/cpp. 
  44. csh is in /bin/csh. 
  45. date is in /bin/date. 
  46. egrep is in /usr/bin/egrep. 
  47. inews is in /usr/bin/inews. 
  48. ispell is in /usr/bin/ispell. 
  49. I don't see ksh out there, either. 
  50. less is in /usr/bin/less. 
  51. mail is in /bin/mail. 
  52. I don't see metamail out there, either. 
  53. I don't see mhn out there, either. 
  54. more is in /bin/more. 
  55. nroff is in /usr/bin/nroff. 
  56. I don't see pg out there, either. 
  57. rmail is in /usr/bin/rmail. 
  58. sendmail is in /usr/sbin/sendmail. 
  59. I don't see smail out there, either. 
  60. test is in /usr/bin/test. 
  61. uname is in /bin/uname. 
  62. I don't see uuname out there, either. 
  63. vi is in /usr/bin/vi. 
  64. Using the test built into your sh. 
  65.   
  66. Checking compatibility between /bin/echo and builtin echo (if any)... 
  67. They are compatible.  In fact, they may be identical. 
  68.  
  69. First time through, eh?  I have some defaults handy for the following systems: 
  70.  
  71. Policy       domainos       isc_3_2_2       sco_3       solaris_2_2    
  72. aix_rs       dynix       isc_3_2_3       sco_3_2_4       sunos_4_1    
  73. altos486       hp9000_800       mc6000       sco_xenix       svr4    
  74. convexos       hpux           mips           sgi    
  75. dec_osf1       i386           next           solaris_2_0    
  76. dgux           isc_2_2_1       osf1           solaris_2_1    
  77.  
  78. You may give one or more space-separated answers, or "none" if appropriate. 
  79. If your OS version has no hints, DO NOT give a wrong version -- say "none". 
  80.  
  81. Which of these apply, if any? [Policy] none 
  82.   
  83. Do you want to access news via NNTP? [n] y 
  84.  
  85. Trn allows you to use an after-market data-sending extension to NNTP 
  86. instead of a locally-maintained database (XTHREAD and XOVER are both 
  87. currently supported). 
  88. Do you want to access a remote database via NNTP? [n] y 
  89.  
  90. Trn needs to know what machine you wish to use as a news server.  You 
  91. can specify a machine name directly, or a filename from which to read 
  92. the name (start the name with a slash or a tilde to distinguish it). 
  93. Note also that the environment variable NNTPSERVER can be used for 
  94. individuals to override this default setting. 
  95.  
  96. Enter a file name (~name ok) or machine name: [no default] /etc/nntpserver 
  97.   
  98. I can set things up so that your shell scripts and binaries are more portable, 
  99. at what may be a noticable cost in performance.  In particular, if you 
  100. ask to be portable, the following happens: 
  101.  
  102.      1) Shell scripts will rely on the PATH variable rather than using 
  103.     the paths derived above. 
  104.      2) ~username interpretations will be done at run time rather than 
  105.     by Configure. 
  106.      3) The system name will be determined at run time, if at all possible. 
  107.  
  108. Do you expect to run these scripts and binaries on multiple machines? [n] y 
  109.   
  110. Which inews should be used for posting articles? [/usr/bin/inews]  
  111.   
  112.  
  113. If your server maintains an accurate "active.times" file, trn can make use 
  114. of the NEWGROUPS call in NNTP to find new groups instead of using the old 
  115. method of adding all groups not listed in your .newsrc.  If you aren't sure, 
  116. guess and see if you get notified of the new groups as they are created. 
  117.  
  118. Does your server support a reliable NEWGROUPS call? [n] y 
  119.   
  120. Hmm...  Looks kind of like a Version 7 system, but we'll see... 
  121.   
  122. Congratulations.  You aren't running Eunice. 
  123.   
  124. It's not Xenix... 
  125.   
  126. Nor is it Venix... 
  127.  
  128. Does your /etc/passwd file keep full names in Berkeley/V7 format (name first 
  129. thing after ':' in GCOS field)?  In that case, a typical entry in the password 
  130. file looks like this: 
  131.  
  132.     guest:**paswword**:10:100:Mister Guest User:/usr/users:/bin/sh 
  133.                               ^^^^^^^^^^^^^^^^^ 
  134. Berkeley/V7 format for full name in /etc/password? [n] y 
  135.   
  136. System manual is in /usr/man/man1. 
  137.   
  138. Use which C compiler? [cc] gcc 
  139.   
  140. Hmm...  Doesn't look like a MIPS system. 
  141.   
  142. Where are the include files you want to use? [/usr/include]  
  143.   
  144. Checking for optional libraries... 
  145. No -lmalloc. 
  146. Found -lbsd. 
  147. No -lsocket. 
  148. No -lbsdipc. 
  149. No -lsun. 
  150. No -lnet. 
  151. No -lhdb. 
  152. No -lbbn. 
  153. No -lstr. 
  154. No -lnls. 
  155. No -lnsl. 
  156. No -lc_s. 
  157. No -lintl. 
  158. No -lx. 
  159. No -lucb. 
  160.   
  161. Some versions of Unix support shared libraries, which make executables smaller 
  162. but make load time slightly longer. 
  163.  
  164. On some systems, mostly newer Unix System V's, the shared library is included 
  165. by putting the option "-lc_s" as the last thing on the cc command line when 
  166. linking.  Other systems use shared libraries by default.  There may be other 
  167. libraries needed to compile trn on your machine as well.  If your system 
  168. needs the "-lc_s" option, include it here.  Include any other special libraries 
  169. here as well.  Say "none" for none. 
  170.   
  171. Any additional libraries? [-lbsd]  
  172.   
  173. Your C library seems to be in /usr/lib/libc.a.  That's fine. 
  174.  
  175. If the guess above is wrong (which it might be if you're using a strange 
  176. compiler, or your machine supports multiple models), you can override it here. 
  177.  
  178. Where is your C library? [/usr/lib/libc.a]  
  179.   
  180. Extracting names from the following files for later perusal: 
  181.   
  182.     /usr/lib/libbsd.a 
  183.     /usr/lib/libc.a 
  184.   
  185. This may take a while.............  
  186. nm didn't seem to work right. Trying ar instead... 
  187. Ok. 
  188.  
  189. Some C compilers have problems with their optimizers, by default, trn 
  190. compiles with the -O flag to use the optimizer.  Alternately, you might want 
  191. to use the symbolic debugger, which uses the -g flag (on traditional Unix 
  192. systems).  Either flag can be specified here.  To use neither flag, specify 
  193. the word "none". 
  194.  
  195. What optimizer/debugger flag should be used? [-O] -O2 
  196.  
  197. Your C compiler may want other flags.  For this question you should include 
  198. -I/whatever and -DWHATEVER flags and any other flags used by the C compiler, 
  199. but you should NOT include libraries or ld flags like -lwhatever.  If you 
  200. want trn to honor its debug switch, you should include -DDEBUG here. 
  201. To use no flags, specify the word "none". 
  202.  
  203. Any additional cc flags? [none]  
  204.   
  205. Any additional ld flags (NOT including libraries)? [none] -s 
  206.   
  207. ftime() found. 
  208.   
  209. getwd() found. 
  210.   
  211. Figuring out local host name... 
  212. Maybe "hostname" will work... 
  213.  
  214. Trn wants to know what hostname your news software (usually inews) puts 
  215. into the "From" line of news articles posted from this machine.  If you 
  216. get this wrong the ownership checks done for Cancel, Supersede and 
  217. auto-post-selection (the -p option) will fail to recognize articles as 
  218. belonging to the poster. 
  219.  
  220. (NOTE: trn does NOT create "From" lines when posting news or sending mail 
  221. as this is the job of your news/mail software, not trn.) 
  222.  
  223. If you enter a filename here (by starting the name with '/' or '~') trn 
  224. will read the hostname from a file, otherwise specify as much of the 
  225. hostname as you want to be matched in the aforementioned comparisons. 
  226. If your response contains the current machine's name (fuzzy) trn 
  227. will determine that portion at run-time. 
  228.  
  229. What hostname appears in the From line of this machine's postings? 
  230. [fuzzy.UUCP] /etc/HOSTNAME 
  231. Trn will read the host name from /etc/HOSTNAME. 
  232.   
  233.   
  234. getpwent() found. 
  235.   
  236. Termcap library found. 
  237.  
  238. Trn normally looks in the environment variables NEWSORG and ORGANIZATION 
  239. for an overriding organization name.  However, if your operating system 
  240. reserves the environment variable ORGANIZATION for other purposes, you 
  241. will want to ignore it and only have trn check for NEWSORG. 
  242.  
  243. Should ORGANIZATION be ignored? [n]  
  244.   
  245. Most mailers can deliver mail to addresses of the INTERNET persuasion, 
  246. such as user@host.edu.  Some older mailers, however, require the complete 
  247. path to the destination to be specified in the address. 
  248.  
  249. Does your mailer understand INTERNET addresses? [y]  
  250.   
  251. Now, how can we feed standard input to your C preprocessor... 
  252. Using gcc, eh?  We'll try to force gcc -E using a wrapper... 
  253. Yup, we can. 
  254.   
  255. Computing filename position in cpp output for #include directives... 
  256. Your cpp writes the filename in the third field of the line. 
  257.   
  258. No ndir library found, but you have readdir() so we'll use that. 
  259.   
  260. memcmp() found. 
  261.   
  262. memcpy() found. 
  263.   
  264. memset() found. 
  265.  
  266. Trn is able to use an external mime-processing program such as metamail 
  267. or mhn to display and store non-text mime articles.  If you don't have any 
  268. mime-processing programs installed at the moment answer no (you can come 
  269. back and Configure it in later). 
  270.  
  271. Do you want to include mime support? [n]  
  272.   
  273. Many systems keep their news in a private directory, or have a non-superuser 
  274. in charge of administering news.  (If you don't have such a user, take the 
  275. default answer.)  I need the login name (not directory) which is used for 
  276. news administration. 
  277.  
  278. News admin login? [news]  
  279.   
  280. Checking for buffering of stdout to terminal. 
  281.  
  282. Observe the following characters as they are printed out, to see whether they 
  283. print out all at once, or with a 1 second pause between each of them.  If they 
  284. print out one by one, you don't have buffering.  If they print together (after 
  285. about a 5 second pause), you do have buffering. 
  286.  
  287. [Type return to start printing the test characters]  
  288. abcde 
  289. Would you like to see that again? [n]  
  290. Do you have buffering (printed all at once)? [y]  
  291.   
  292. No jobs library found. (That's okay, we all have our faults.) 
  293.   
  294. Checking to see how well your C compiler groks the void type... 
  295. Yup, it does. 
  296.   
  297. rdchk() NOT found. 
  298.   
  299. rename() found. 
  300.   
  301. sigblock() found. 
  302.   
  303. sighold() NOT found. 
  304.   
  305. strcasecmp() found. 
  306.   
  307. Using <string.h> instead of <strings.h>. 
  308.   
  309. strchr() found. 
  310.   
  311. strftime() found. 
  312.  
  313. Trn can take advantage of an mthreads or news overview database if 
  314. one or both of these are available on your system.  Usually trn will 
  315. figure out what's available for itself, but you can have support for 
  316. one or both of these databases disabled by default, if desired. 
  317.  
  318. Default database support for 't'hreads, 'o'verviews, 'b'oth, or 'n'one? 
  319. [both]  
  320.   
  321. vfork() found. 
  322.   
  323. Pathname where the public executables will reside? (~name ok) 
  324. [/usr/local/bin] /usr/bin 
  325.  
  326. To install the files in this directory, a few strange systems need 
  327. to use a different directory name to get the files there. 
  328.  
  329. What directory name should be used for the install? (~name ok) [/usr/bin]  
  330.   
  331. Distribution groups are the things you use on the Distribution line to limit 
  332. where an article will go to.  You are likely to be a member of several 
  333. distribution groups, such as organization, city, state, province, country, 
  334. continent, etc.  For example, Los Angeles has the distribution code "la", 
  335. New Jersey has the code "nj", and Europe has the code "eunet". 
  336.  
  337. The categories you will be asked are:  
  338.  
  339. local organization    (Could be just one machine or a cluster or an office) 
  340. organization        att, dec, kgb, ... 
  341. city            la, ny, mosc, ... 
  342. state/province        ca, nj, bc, ... 
  343. country            usa, can, rok, whatever 
  344. continent        na (North America), asia, etc. 
  345.  
  346. Use 'none' for any distributions you don't have. 
  347.   
  348. What is the distribution code for your local organization? [none]  
  349. What is the distribution code for your organization? [none]  
  350. What is the distribution code for your city? [none]  
  351. What is the distribution code for your state/province? [none]  
  352. What is the distribution code for your country? [none]  
  353. What is the distribution code for your continent? [none]  
  354.    
  355. If you have any other distribution groups you will need to edit Pnews 
  356. and newsetup to add them. 
  357.   
  358. What is the default editor on your system? [/usr/bin/vi]  
  359.  
  360. There are some auxiliary files for trn that need to be put into a 
  361. private library directory that is accessible by everyone. 
  362.  
  363. Pathname where the private library files will reside? (~name ok) 
  364. [/usr/local/lib/trn] /usr/lib/trn 
  365.  
  366. To install the files in this directory, a few strange systems need 
  367. to use a different directory name to get the files there. 
  368.  
  369. What directory name should be used for the install? (~name ok) 
  370. [/usr/lib/trn]  
  371.  
  372. trn has manual pages available in source form. 
  373. If you don't want the manual sources installed, answer 'none'. 
  374.   
  375. Where do the manual pages (source) go? (~name ok) [/usr/local/man/man1] /usr/man/man1 
  376. What directory name should be used for the install? (~name ok) 
  377. [/usr/man/man1]  
  378.  
  379. Pnews has a "Check spelling" option that will allow you to correct spelling 
  380. errors if you have ispell or vspell, or will simply list possible spelling 
  381. errors via spell if you don't (assuming you have a spell program!). 
  382.  
  383. Configure has found a spell checker known as /usr/bin/ispell 
  384. Do you want to use an interactive speller? [y]  
  385. What is the full pathname of the executable? [/usr/bin/ispell]  
  386.  
  387. (NOTE: gnu ispell doesn't yet understand -x -- use "none" for no options.) 
  388.  
  389. What options should be used? [-x]  
  390.  
  391. I need the full pathname of the program used to deliver mail on your system. 
  392. A typical answer would be /usr/lib/sendmail or /bin/rmail, but you may choose 
  393. any other program, as long as it can be fed from standard input and will 
  394. honour any user-supplied headers. 
  395.  
  396. Mail transport agent to be used? [/usr/sbin/sendmail] /usr/lib/sendmail 
  397.  
  398. In the following question, you may use %~ to represent the user's home 
  399. directory, and %L to represent a users name. 
  400.  
  401. In which file is yet-to-be-read mail spooled? (~name ok) 
  402. [/usr/spool/mail/%L] /var/spool/mail/%L 
  403.   
  404. In saving articles, trn wants to differentiate between saving to 
  405. mailbox format files and normal files.  It does this by examining the 
  406. first character of the file in question.  On most systems the first line 
  407. starts with "From ...", so the first character is an F.  Other systems 
  408. use magic cookies like control codes between articles, so one of those 
  409. would be first. 
  410.  
  411. What's the first character of a mailbox file? [F]  
  412.   
  413. Please type the name of your organization as you want it to appear on the 
  414. Organization line of outgoing articles.  (It's nice if this also specifies 
  415. your location.  Your city name is probably sufficient if well known.) 
  416. For example: 
  417.  
  418.     University of Southern North Dakota, Hoople 
  419.  
  420. You may also put the name of a file, as long as it begins with a slash. 
  421. For example: 
  422.  
  423.     /etc/organization 
  424.  
  425. Organization: /etc/organization 
  426.  
  427. Some of the support scripts want to use a paging program such as "more" 
  428. to help the user page through the generated output.  You'll probably 
  429. want the most innocuous pager you have, since some lists consist of only 
  430. one line (if your kernel does terminal paging then you may answer this 
  431. with "cat").  Also note that this does not affect the paging of 
  432. articles, as trn uses an internal pager for that. 
  433.  
  434. What pager should we use? [/bin/more]  
  435.  
  436. Give the full path name of the shell most people like to use on your system. 
  437. This will be used by trn whenever the user wants to get a shell 
  438. escape (for instance) and is not necessarily the same as the shell you are 
  439. currently using (/bin/bash). 
  440.  
  441. Preferred shell to be used? (~name ok) [/bin/bash]  
  442.   
  443. Root uid = 0 
  444.   
  445. I can't determine whether signal handler returns void or int... 
  446. What type does your signal handler returns? [void]  
  447.  
  448. Trn has two distinct operating modes (selected by the -x option): 
  449. traditional rn and threaded rn.  If you like, trn will check the first 
  450. letter of the command name and default to threaded mode (-x) if it is 
  451. a 't', or run as traditional rn (+x) if it isn't (this lets you install 
  452. as both trn and rn, linked together).  Otherwise, you can install trn 
  453. to default to threaded rn (-x) no matter what its name is. 
  454.  
  455. Do you want trn to default to -x, regardless of name? [y] n 
  456.  
  457. When the -X option is specified, trn will set the default command 
  458. for starting a newsgroup to be the selector. 
  459.  
  460. Should the -X option be on by default for trn (not rn)? [y]  
  461.   
  462. <dirent.h> found. 
  463.   
  464. Your C preprocessor defines the following symbols: 
  465. __STDC__ 
  466. i386 
  467. unix 
  468. __unix__ 
  469.   
  470. tcsetattr() found. 
  471.   
  472. You have POSIX termios.h... good! 
  473.   
  474. <stdlib.h> found. 
  475.   
  476. <sys/dir.h> found. 
  477.   
  478. <sys/ioctl.h> found. 
  479.   
  480. <sys/ndir.h> NOT found. 
  481.   
  482. Testing to see if we should include <time.h>, <sys/time.h> or both. 
  483. I'm now running the test program....  
  484. Succeeded with -DI_SYSTIME -DS_TIMEVAL  
  485. We'll include <sys/time.h>. 
  486.   
  487. <unistd.h> found. 
  488.   
  489. <vfork.h> NOT found. 
  490.   
  491. End of configuration questions. 
  492.   
  493.   
  494. Creating config.sh... 
  495.   
  496. If you didn't make any mistakes, then just type a carriage return here. 
  497. If you need to edit config.sh, do it as a shell escape here:  
  498.   
  499. Doing variable substitutions on .SH files... 
  500. Extracting Makefile (with variable substitutions) 
  501. Extracting Pnews (with variable substitutions) 
  502. Extracting Policy.sh (with variable substitutions) 
  503. Checking for changes. 
  504. installing new Policy.sh, old one left in Policy.sh.old 
  505. Extracting Rnmail (with variable substitutions) 
  506. Extracting Speller (with variable substitutions) 
  507. Extracting config.h (with variable substitutions) 
  508. Extracting makedepend (with variable substitutions) 
  509. Extracting makedir (with variable substitutions) 
  510. Extracting mbox.saver (with variable substitutions) 
  511. Extracting newsetup (with variable substitutions) 
  512. Extracting newsgroups (with variable substitutions) 
  513. Extracting newsnews (with variable substitutions) 
  514. Extracting norm.saver (with variable substitutions) 
  515.   
  516. Now type "make". 
  517. fuzzy:~/trn-3.4# exit 
  518. exit 
  519.  
  520. Script done on Mon Sep 12 03:33:43 1994
  521.