[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: info equivalent of "man -wa"?
From: |
Aaron Davies |
Subject: |
Re: info equivalent of "man -wa"? |
Date: |
Mon, 21 Jan 2013 21:09:44 -0500 |
On Jan 15, 2013, at 5:45 PM, Karl Berry wrote:
> > i'm mostly interested emulating man(1)'s -wa behavior
>
> As far as I know, info doesn't have anything like -a. I doubt it would
> be hard to add, though. Sergey, any chance of looking into that?
>
> In the case of info, -a would only make sense with things other than
> normal "bring up an info page", as you describe -- perhaps only -w,
> right now.
i'll note that man(1) does support -a in its normal "view the manpage"
mode--with man 1.6c, at least, e.g., if
% man -wa sh
/usr/share/man/man1/sh.1
/usr/local/share/man/man1/sh.1.gz
%
then
% man -a sh
will display the first page first, then, after finishing it (e.g. with
PAGER=less by hitting 'q') display the second. only after it finishes
showing all the results will it return to the shell.
i don't know how hard that would be to emulate in info(1), nor is it
particularly important to me, i just thought i'd point out that it
exists.
--
Aaron Davies
address@hidden