*BSD News Article 2212


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!uunet!ogicse!uwm.edu!miller.cs.uwm.edu!jimj
From: jimj@miller.cs.uwm.edu (James Jegers)
Newsgroups: comp.unix.bsd
Subject: Kernel namelist not found, man fixes
Summary: getting arp, w, uptime to work
Keywords: namelist, man
Message-ID: <1992Jul21.204316.4729@uwm.edu>
Date: 21 Jul 92 20:43:16 GMT
Article-I.D.: uwm.1992Jul21.204316.4729
Sender: jimj@miller.cs.uwm.edu
Organization: University of Wisconsin, Milwaukee
Lines: 42


   First, Thanks for writting 386bsd it's a great assest to us.

1.  I'm having some problems with arp, w, and uptime.
    When I run them they say bad namelist, or can't get namelist.

    Looking at the sources it appears that w, uptime, and arp
    are looking for labels that I don't have in my kernel.
    Is this the way it's supposed to be? Or why were they programs
    put in with the system(just to make it complet?)

2.  How do I get the shell to reqonize the stop(control-C) and
    suspend(control-Z) character?  For example if I type make and
    decide I want to stop it, i have to login someplace else
    and kill the process.  Or hasn't this been added yet?
    
3.  I fixed a couple of man problems.

     The manual page for magic and file all have two dots
     before the commands,  eg.    "..SH" it should be ".SH"
     just delete one of the double dots in the whole file and then 
     it will work.

     The Makefile in /usr/othersrc/share/man/Makefile creates the whatis.db.  
     The problem is that it doesn't strip the backspaces in the
     title and apropos can't handle that.  So add a "col -b" to strip
     those.

exerpt from the makefile.

makedb:
	for file in `find /usr/share/man -type f -name '*.0' -print`; do \
		sed -n -f /usr/share/man/makewhatis.sed $$file; \
	done | col -b | sort -u > whatis.db
	install -o ${BINOWN} -g ${BINGRP} -m 444 whatis.db \
	    ${DESTDIR}/usr/share/man

-- 
     ______________________________________________________________
    /\               University of Wisconsin -- Milwaukee          \
    \_| Computing Services Division     Computer Science Department |
      |   jimj@csd4.csd.uwm.edu	          jimj@miller.cs.uwm.edu    |