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

Re: Zsh online manuals under SunOS 5.7.



In article <rsq908czbw4.fsf@xxxxxxxxxxxxxxxxx>,
  Tanaka Akira <akr@xxxxxxxxxxx> writes:

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

I tried to make workaround for this problem.
At least, following patch fix the problem under SunOS 5.7.

--- Doc/Makefile.in-	Tue Jul 20 13:26:03 1999
+++ Doc/Makefile.in	Tue Jul 20 14:24:07 1999
@@ -83,7 +83,7 @@
 	  */*) target=$@ ;; \
 	  *) target=$(sdir)/$@ ;; \
 	esac; \
-	$(YODL) -o $$target -I$(sdir) -w zman.yo version.yo $< || exit 1; \
+	$(YODL) -I$(sdir) -w zman.yo version.yo $< | sed -e '1s/\\-/-/g' -e '/^\.SH ""NAME/,/^\.SH ""/ { /^\.'\''/d; }' > $$target || exit 1; \
 	test -f $$target
 
 zsh_us.ps: zsh.dvi
@@ -100,7 +100,7 @@
 	  */*) target=$@ ;; \
 	  *) target=$(sdir)/$@ ;; \
 	esac; \
-	$(YODL) -o $$target -I$(sdir) -DZSHALL -w zman.yo version.yo zsh.yo || exit 1; \
+	$(YODL) -I$(sdir) -DZSHALL -w zman.yo version.yo zsh.yo | sed -e '1s/\\-/-/g' -e '/^\.SH ""NAME/,/^\.SH ""/ { /^\.'\''/d; }' > $$target || exit 1; \
 	test -f $$target
 
 ../META-FAQ: META-FAQ.yo Zsh/metafaq.yo
-- 
Tanaka Akira



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