Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!manuel!munnari.oz.au!mips!decwrl!csus.edu!netcom.com!alm From: alm@netcom.com (Andrew Moore) Subject: lpd and whatis fixes (trivial) Message-ID: <3-#nn8n.alm@netcom.com> Date: Thu, 20 Aug 92 04:10:16 GMT Organization: Netcom - Online Communication Services (408 241-9760 guest) Lines: 21 For the sake of completeness... Printing man pages with lpr (e.g., man X | lpr -h) would cause a reboot. The problem was solved by recompiling lpd. This may only be necessary if kvm.c was patched (e.g., after applying David Greenman's kvm.c patch). I am also using Haug's lpt patch from agate, and Chris Flatters' patch to lptprobe() in lpt.c. *** /usr/src/usr.bin/man/whatis/whatis.c.orig Tue Aug 18 18:00:08 1992 --- /usr/src/usr.bin/man/whatis/whatis.c Tue Aug 18 17:57:44 1992 *************** main(argc, argv) *** 65,70 **** --- 65,71 ---- char *p_augment, *p_path, **getdb(); progname = "whatis"; + p_augment = p_path = NULL; while ((ch = getopt(argc, argv, "M:m:P:")) != EOF) switch((char)ch) { case 'M':