man.config
Stuart Prescott
s.prescott@chem.usyd.edu.au
Tue Jun 6 01:09:00 GMT 2000
Hi!
I've just been playing with Cygwin, and I must say I absolutely love it....
the last time I looked at it was a beta a couple of years ago that was
quite accomplished and hanging my system. but now, you have produced a very
classy system for all of us who are trapped in windoze land.
one thing I did find was that "man" does not work 'out-of-the-box'. I
grabbed an /etc/man.config from an linux system and edited it to reflect
the actual paths for the support executables and it seems work OK. (I'm not
a wiz on man.config, so I won't claim to have created a perfect one, just a
demonstration that it works in principle ;)
hope this is a little bit of a help for you.....
l8r
STu
man.config
"What boots up must come down."
------------------------------------------------------------------------
Stuart Prescott
CSIRO Molecular Science Key Centre for Polymer Colloids
Bayview Avenue School of Chemistry (F11)
Clayton VIC 3168 University of Sydney NSW 2006
Australia Australia
ph +61 3 9545 2425 ph +61 2 9351 4237
fax +61 3 9545 2415 fax +61 2 9351 8651
http://www.molsci.csiro.au/ http://www.kcpc.usyd.edu.au/
Supported by the Key Centre for Polymer Colloids at the University of
Sydney, the CRC for Polymers and CSIRO Molecular Science
------------------------------------------------------------------------
-------------- next part --------------
#
# Generated automatically from man.config.in by the
# configure script.
#
# man.config
#
# This file is read by man to configure the default manpath (also used
# when MANPATH contains an empty substring), to find out where the cat
# pages corresponding to given man pages should be stored,
# and to map each PATH element to a manpath element.
# It may also record the pathname of the man binary. [This is unused.]
# The format is:
#
# MANBIN pathname
# MANPATH manpath_element [corresponding_catdir]
# MANPATH_MAP path_element manpath_element
#
# If no catdir is given, it is assumed to be equal to the mandir
# (so that this dir has both man1 etc. and cat1 etc. subdirs).
# Certain versions of the FSSTND recommend putting formatted versions
# of /usr/foopath/man/manx/page.x into /var/catman/foopath/catx/page.x.
# The keyword FSSTND will enable this peculiar behaviour.
# Explicitly given catdirs override.
#
FSSTND
#
# This file is also read by man in order to find how to call nroff, less, etc.,
# and to determine the correspondence between extensions and decompressors.
#
# MANBIN /usr/local/bin/man
#
# Every automatically generated MANPATH includes these fields
#
MANPATH /usr/man
MANPATH /usr/local/man
MANPATH /usr/X11R6/man
MANPATH /usr/lib/perl5/man
#
# Set up PATH to MANPATH mapping
#
# (these mappings are superfluous when the right hand side is
# in the mandatory manpath already, but will keep man from statting
# lots of other nearby files and directories)
#
MANPATH_MAP /bin /usr/man
MANPATH_MAP /sbin /usr/man
MANPATH_MAP /usr/bin /usr/man
MANPATH_MAP /usr/local/bin /usr/local/man
MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man
MANPATH_MAP /usr/bin/X11 /usr/X11R6/man
MANPATH_MAP /usr/bin/mh /usr/man
#
# Useful paths - note that COL should not be defined when
# NROFF is defined as "groff -Tascii" or "groff -Tlatin1";
# not only is it superfluous, but it actually damages the output.
#
TROFF /bin/groff -Tps -mandoc
NROFF /bin/groff -Tascii -mandoc
EQN /bin/eqn -Tps
NEQN /bin/eqn -Tascii
TBL /bin/tbl
# COL /bin/col
REFER /bin/refer
PIC /bin/pic
VGRIND
GRAP
PAGER /bin/less -is
CAT /bin/cat
#
# The command "man -a xyzzy" will show all man pages for xyzzy.
# When CMP is defined man will try to avoid showing the same
# text twice.
#
CMP /bin/cmp -s
#
# Compress cat pages
#
COMPRESS /bin/gzip
COMPRESS_EXT .gz
#
# Default manual sections (and order) to search if -S is not specified
# and the MANSECT environment variable is not set.
#
MANSECT 1:8:2:3:4:5:6:7:9:tcl:n:l:p:o
#
# Decompress with given decompressor when input file has given extension
# The command given must act as a filter.
#
.gz /bin/gunzip -c
.z /bin/gunzip -c
.Z /bin/zcat
.F
.Y
More information about the Cygwin
mailing list