[SunHELP] read manpage

Katherine Strojny kstrojny at worldnet.att.net
Tue May 21 10:29:49 CDT 2002


1) When you view the syslog.conf.8 file with an editor:

- If it's formatted with a bunch of dot-codes (for example .TH, .ds,
.SH, ...) then it's nroff and the directory is named correctly
(/usr/share/man/man8).
- If it's formatted with a bunch of angle bracket codes (<refmeta>
etc.)
then it's SGML.  Try changing the directory name to
/usr/share/man/sman8.
- If it's preformatted, it's going to have control characters (^H) and
otherwise look like a text file.  In this case, try renaming the
directory to /usr/share/man/cat8.

2) Not sure why the section isn't working.  Did you try adding "8" to
/usr/share/man/man.cf?  There may still be other files that need to be
edited since this is a new section.

-k
----- Original Message -----
From: "Sangbutsarakum, Patai" <patais at reach.com>
To: "'Katherine Strojny'" <kstrojny at att.net>; <sunhelp at sunhelp.org>
Sent: Tuesday, May 21, 2002 6:19 AM
Subject: RE: [SunHELP] read manpage


> those man page have pop-up but the it's wrong format, ugly
>
> $ pwd
> /usr/share/man/man8
>
> $ ls
> im_file.8      im_udp.8       om_mysql.8     om_regex.8     peochk.8
> syslogd.8
> im_streams.8   im_unix.8      om_peo.8       om_tcp.8      im_tcp.8
> om_classic.8   om_pgsql.8     om_udp.8       syslog.conf.8
>
> $ man -s 8 syslog.conf
> No entry for syslog.conf in section(s) 8 of the manual.
>
> $ man syslog.conf.8
> configuration file The file is the  configuration  file  for  the
> program.   It consists of blocks of lines separated by specifica-
> tions, with each line containing  two  fields:  the  field  which
> specifies  the types of messages and priorities to which the line
> applies, and an field which specifies the action to be taken if a
> message  receives  matches  the selection criteria.  The field is
> separated from the field by one  or  more  tab  characters.   The
> function  are encoded as a a period (``.''), and a with no inter-
> vening white-space.  Both the and the are case insensitive.   The
> describes  the  part of the system generating the message, and is
> one of the following  keywords:  auth,  authpriv,  cron,  daemon,
>
> Please suggest
> Pat.



More information about the SunHELP mailing list