[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems with info reader
From: |
Eli Zaretskii |
Subject: |
Re: problems with info reader |
Date: |
Fri, 30 Jul 2004 21:20:40 +0300 |
> Date: Fri, 30 Jul 2004 14:04:56 +0200
> From: Stepan Kasal <address@hidden>
>
> On Fri, Jul 30, 2004 at 02:25:47PM +0200, Eli Zaretskii wrote:
> > > 2) When searching for a solution to 1), I noticed the option
> > > --vi-keys. I started by using arrows, or "j" key and the screen scroled
> > > while the cursor was still on the first line. Is this intentional.
> >
> > The cursor stays on a line until it scrolls off the screen, then it
> > stays on line 1. Is that a problem?
>
> No, when I enter standalone info and press down-arrow, the cursor moves.
>
> When I run info --vi-keys and press down-arrow or "j" (which should be
> the same), the text scrolls, and the cursor stays on place.
> The same with up-arrow and "k".
`j' and `k' in the vi mode are not bound to the same functions as
arrows in the Emacs mode. This is intentional, although perhaps the
intention was wrong ;-) (I'm not a vi fan, I added the vi option
because somebody else complained.)
Anyway, it's easy to fix: in infomap.c, bind `j' and `k' to
info_next_line and info_prev_line, respectively. Same change should
be done in infomap.c.
> > You are looking at the wrong manual: info.info is about the Info mode
> > and the Info system in general; the stand-alone Info reader is
> > documented in info-stnd.info. So saying something like
> > info --usage info-standalone
> > will do what you want.
>
> Thanks for explanation. Actually, it's info --usage info-stnd.
That depends on what you have in your DIR file. In my case,
info-standalone is the right magic (and is also more mnemonic).