On 10.01.2021 15:00, Eric Pozharski wrote:
> with <rtcdj2$cbr$
1...@news-1.m-online.net> Janis Papanagnou wrote:
>> On 09.01.2021 12:48, Chris Elvidge wrote:
>
>>> On the other hand - at least in my version of Slackware 14.2 - info
>>> vim brings up the man page,
vim.info seems to be missing.
> *SKIP*
>> Though a bit funny; in 'man vim' I can navigate with *vi/vim* commands
>> ('G', '1G', '50%', '^D', etc.) but not so in 'info vim'. As a vi/vim
>> user its obvious what I prefer.
>
> I abstain from interpretting "in 'man vim' I can navigate", but in
> reality (collective) you don't move around in 'man' (for obvious
> reasons), you do it through configured pager ('less', by default).
Yes, my formulation was sloppy. I move around in the "document", in
the information that is presented (in whichever form) using some tool.
> That
> just happens, 'less' comes with vi-bindings by default. OTOH 'info' is
> pager by itself and comes with emacs-bindings (for reasons better
> discussed elsewhere, if such elsewhere exists).
> And now, after years of suffering, thank *you* for bringing it up --
> 'info' knows '--vi-keys' and has '~/.infokey'. Now I need some time for
> reading, digging, and configuring. Thank *you* again, for making world
> just little bit more comfortable.
Note that the key-bindings are just one aspect of the topic, the other
one is the separation of paragraphs in many pages. This decision has
a couple consequences; the most obvious is that you have to navigate a
tree structure. This is by itself more clumsy than navigating a linear
document. Tree structured information is great to quickly locate a leaf
in the information tree. The Unix information pages I've seen are quite
different. (But I think it would go too far OT and get too extensive to
be discussed here. After all, folks will use what they like best. The
only issue I see is that such [IMO bad] decisions like introducing info
could affect all users if other established [and IMO more appropriate]
documentation variants get neglected.) Another aspect is also quite
obvious; readability. Start (for example) 'info perl' and 'man perl'
(which seem to carry the same information and are structured the same
way) and compare. Or take 'info/man diff' (that show different content).
In info I see 4-5 line meta-information, plus more wasted lines for
'***'-underlining where the *roff based document is using highlighting.
The actual information is hidden between a lot of waste. (Reminds me
all those distracting advertisements in the Web-universe.) Readability
differences are not that astonishing if considering that 'man' is based
on a typesetting system (that is working even for text-only terminals).
Janis