bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: request: let Shift+Space scroll backward in info


From: Per Bothner
Subject: Re: request: let Shift+Space scroll backward in info
Date: Fri, 5 Feb 2016 22:39:42 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0



On 02/05/2016 04:29 PM, Karl Berry wrote:
     I can't figure it out from info info-stnd cus.

Perhaps that node should explicitly say that only keystrokes passed from
the terminal emulator can be bound, i.e., that info is not an X
application and therefore cannot see non-ASCII things like Shift+Space
or CTRL-<numeral> or whatever.  -k

I think it would make sense to re-implement the info program
in JavaScript  By that I mean adding event handlers for the
keystrokes of the traditional info program.

Some tweaks might be needed to makeinfo - if nothing else so the
generated html loads the 'info.js' script.

This could be an appropriate Google Summer of Code project,
I think.

The info program when invoked with appropriate flags would
just be responsible for locating the html file, and loading the
file using a specified browser - by default the default desktop browser.

I've been working on terminal emulator based on Web technologies:
http://domterm.org/
https://lwn.net/Articles/670062/
When the info program is started from a DomTerm terminal
it can do the html rendering with JavaScript UI directly
in the DomTerm window.  More precisely, the info program
could send an escape sequence to DomTerm to create an iframe
and load the html documentation in the iframe.

This would be a nice way to get a seemless and familiar info interface
- but with all the HTML layout, fonts, styles, and images.

The normal info keystrokes would act as familiar - except they
would control the document shown in the iframe.  Clicking on an internal link
moves around in the document, perhaps loading some other html-info file.
Click on an external link (@uref) would (by default) load a document in the 
user's
default browser, though it could optionally load it in the iframe.
--
        --Per Bothner
address@hidden   http://per.bothner.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]