Mail Archives: djgpp/1997/07/30/20:48:27
On Tue, 29 Jul 1997 21:40:09 GMT, Jude DaShiell
<jdashiel AT eagle1 DOT eaglenet DOT com> wrote:
>
> I've started reading certain man pages with emacs since
> sometimes if they're sent over to cawf or awf they generate errors.
> The one problem page for me is bash.1.
> What I'd like to know is if there's any kind of additional filtration a
> user can tell emacs to use on something like bash.1 for example that
> will filter out all those (\) characters.
> Alternativly what else should be used to read bash.1?
In emacs:
M-x load-library <ret> man <ret>
<switch to buffer which contains bash manpage>
M-x Man-fontify-manpage <ret>
(bash.1 should be writable for this to work).
Alternatively, use `less bash.1' from dos prompt
(I use that because it supports colors).
Also, here is my script to read man pages:
-*- man.bat -*-
@sh d:/comp/djgpp/bin/man.sh %1 %2 %3 %4 %5 %6 %7 %8 %9
-*- end of man.bat -*-
-*- man.sh -*-
#!/bin/sh
# If it says can not find /bin/sh
# add SYSROOT=%DJDIR% in djgpp.env under [bash] section
# View manuals in $MANPATH[i]/*/$arg[j]*
_first_time=1
for _name in "$@"; do
OLDIFS=$IFS
IFS=';'
for _path in "${MANPATH:-d:/comp/djgpp/info/catman}"; do
IFS=$OLDIFS
for _manpage in ${_path}/*/${_name}*; do
if [ ${_first_time} = 0 ]; then
echo Continue \(y/n\)\?
read
case ${REPLY} in
n* | N* )
exit 0 ;;
esac
fi
${MANPAGER:-less -s} "${_manpage}"
_first_time=0
done
done
done
-*- end of man.sh -*-
I have placed all manpages under one directory
d:/comp/djgpp/info/catman/man*/manpages.
Probably you'll have to change this script,
according to your local setup.
Hope this helps.
- Raw text -