lkml.org 
[lkml]   [1999]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: info format (was Re: Linux 2.2.11pre4)
Date
>>>>> "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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.041 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site