Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Zsh online manuals under SunOS 5.7.



Under SunOS 5.7, if windex is generated by /bin/catman -w, man command
cannot refer zsh online manuals.

Z:akr@is27e1u11% cd Doc 
Z:akr@is27e1u11% mkdir man
Z:akr@is27e1u11% cd man
Z:akr@is27e1u11% mkdir man1
Z:akr@is27e1u11% cp ../zsh.1 man1/zsh.1
Z:akr@is27e1u11% MANPATH=$PATH man zsh |head -10
No manual entry for zsh.
Z:akr@is27e1u11% ls
man1
Z:akr@is27e1u11% MANPATH=$PWD man zsh |head -10 
Reformatting page.  Wait... done



User Commands                                              ZSH(1)



 NAME
     zsh - the Z shell

Broken Pipe
Z:akr@is27e1u11% catman -w -M $PWD       
Z:akr@is27e1u11% MANPATH=$PWD man zsh    
No manual entry for zsh.
Z:akr@is27e1u11% ls -l windex
-rw-r--r--   1 akr      is             0 Jul 20 04:08 windex
Z:akr@is27e1u11% vi man1/zsh.1

Edit man1/zsh.1 as follows:

| --- man1/zsh.1-	Mon Jul 19 23:56:34 1999
| +++ man1/zsh.1	Tue Jul 20 03:53:10 1999
| @@ -1,11 +1,7 @@
| -.TH "ZSH" "1" "July 19, 1999" "zsh 3\&.1\&.6\-test\-2"
| +.TH "ZSH" "1" "July 19, 1999"
|  .SH ""NAME
| -.'
|  zsh \- the Z shell
| -.' (avoiding a yodl bug)
|  .\" Yodl file: Zsh/intro.yo
| -.'
| -.'
|  .SH ""SYNOPSIS
|  .'
|  Because zsh contains many features, the zsh manual has been split into

Z:akr@is27e1u11% catman -w -M $PWD
Z:akr@is27e1u11% ls -l windex
-rw-r--r--   1 akr      is            28 Jul 20 04:10 windex
Z:akr@is27e1u11% cat windex
zsh             zsh (1)         - the Z shell
Z:akr@is27e1u11% MANPATH=$PWD man zsh |head -10 
Reformatting page.  Wait... done



User Commands                                              ZSH(1)



 NAME
     zsh - the Z shell

Broken Pipe
Z:akr@is27e1u11% 

Because man command under SunOS 5.7 uses windex to search a manual
file, empty windex causes the "No manual entry for zsh." error.

Is there a way to make online manuals suitable for Solaris 7 catman?
# without editing by hand.
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author