Messages in this thread | | | From | "Stefan Monnier" <monnier+lists/linux/kernel/news/@tequila.cs.yale.edu> | Subject | Re: info format (was Re: Linux 2.2.11pre4) | Date | 12 Aug 1999 17:42:52 -0400 |
| |
>>>>> "Robert" == Robert G Brown <rgb@phy.duke.edu> writes: > only way to the "real" info version of crypt that I've found is down > through links within "info libc", where crypt appears as a node. It
No, there are better ways. Try
% info libc crypt % info --index .PRECIOUS "GNU make"
incidentally, if you prefer seeing the output in your $PAGER, you might prefer to use a hack such as
#!/bin/sh chap=$1 page=$2 emacs --batch --eval "(progn (require 'info) (condition-case () (Info-goto-node \"($chap)$page\") (error (Info-goto-node \"($chap)\") (Info-index \"$page\"))) (princ (buffer-string)) )" | $PAGER
where (assuming you call it infoman and make it executable and have Emacs setup properly) you can do
% infoman libc crypt % infoman make .PRECIOUS
It's still not as good as it should be, tho.
Stefan
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |