home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume2
/
help
/
README
< prev
Wrap
Text File
|
1991-08-07
|
2KB
|
55 lines
Subject: 286 Source: A Help Command for systems with limited disk space
Message-Id: <8712221357.AA29111@killer.UUCP>
Date: 22 Dec 87 13:57:22 CST (Tue)
RCSINFO: $Header: README,v 1.0 87/12/18 18:22:29 wnp Posted $
The enclosed is a "help" command, patterned after the help command
distributed with MKS Toolkit -- in fact, if you have the Toolkit,
you could use their helpfile as a starting point for a UNIX SysV
helpfile.
If you don't have the Toolkit, you can construct a helpfile by
gleaning short command descriptions from your manual, and adding
them to "/usr/lib/helpfile", according the the pattern of the partial
helpfile shown below.
I find this help command more useful than the help system distributed with
System V, especially on machines with limited disk space, where it is not
practical to keep the manuals on-line.
The program uses an indexfile, /usr/lib/helpindex, to speed up access;
if the indexfile does not exist, or is older than /usr/lib/helpfile (indicating
that the helpfile has been updated), the program will build a new indexfile.
Compile normally, (small model on Uport V/286), then invoke as "help". The
program should be owned by root and suid, so it can write in /usr/lib (to
recreate the index file as needed.).
The helpfile below consists of those help entries which I have added to
the MKS Toolkit file to use with my UNIX system. I do not feel free to
post the MKS helpfile, since it is no doubt (c) by MKS.
Put the helpfile into /usr/lib/helpfile, or change the references thereto in
help.c.
I hope this is helpful. Civil and constructive comments are invited to
ihnp4!killer!dcs!wnp, flames should be directed to /dev/null.
Wolf N. Paul
ihnp4!killer!dcs!wnp
P.S. Since first posting this to comp.unix.microport, another application
has been suggested for this command - an online, free-form notebook.
Actually, any kind of information can be kept in a "helpfile" for this
command, as long as each item of info starts with a line containing
'#' and a number of keywords separated by commas (currently each keyword
must be less than 14 characters long and cannot contain white space).
John Plocher's addition of looking at $HELPDIR and $HELPFILE permits one
to put info into a file $HOME/.notebook, and to access it using the enclosed
"info" shellscript.
Again, i hope this i helpful.