home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / bsd / 4471 < prev    next >
Encoding:
Text File  |  1992-08-19  |  1.0 KB  |  31 lines

  1. Path: sparky!uunet!dtix!darwin.sura.net!mips!mips!decwrl!csus.edu!netcom.com!alm
  2. From: alm@netcom.com (Andrew Moore)
  3. Newsgroups: comp.unix.bsd
  4. Subject: lpd and whatis fixes (trivial)
  5. Message-ID: <3-#nn8n.alm@netcom.com>
  6. Date: 20 Aug 92 04:10:16 GMT
  7. Organization: Netcom - Online Communication Services  (408 241-9760 guest)
  8. Lines: 21
  9.  
  10. For the sake of completeness...
  11.  
  12. Printing man pages with lpr (e.g., man X | lpr -h) would cause a
  13. reboot.  The problem was solved by recompiling lpd. This may only be
  14. necessary if kvm.c was patched (e.g., after applying David Greenman's
  15. kvm.c patch).  I am also using Haug's lpt patch from agate, and Chris
  16. Flatters' patch to lptprobe() in lpt.c.
  17.  
  18.  
  19. *** /usr/src/usr.bin/man/whatis/whatis.c.orig    Tue Aug 18 18:00:08 1992
  20. --- /usr/src/usr.bin/man/whatis/whatis.c    Tue Aug 18 17:57:44 1992
  21. *************** main(argc, argv)
  22. *** 65,70 ****
  23. --- 65,71 ----
  24.       char *p_augment, *p_path, **getdb();
  25.   
  26.       progname = "whatis";
  27. +     p_augment = p_path = NULL;
  28.       while ((ch = getopt(argc, argv, "M:m:P:")) != EOF)
  29.           switch((char)ch) {
  30.           case 'M':
  31.