Mail Archives: djgpp/1997/08/23/15:20:28
Christopher Croughton wrote:
>
> Eli Zaretskii wrote:
>
> > Sorry, you didn't read the docs. Every command in Info can get an
> > argument, which can be negative (for doing it backwards). An argument of
> > N means do it N times, then stop. It works for every command.
>
> In order to read the docs on info, one needs info, which to use means that
> you need to read the docs...
>
> (Infinite recursion: see infinite recursion)
These info files also happens to be (nearly plain) ASCII files, which
you can view with any editor or file viewer. You gain all the
hyperlinking capabilities when you use info to read it.
> I don't find "-1s" to be particularly intuitive...
>
> > > How about maintaining a list
> > > of what has been searched for (in less I can do '/' then scroll through
> > > the list of things I've searched for and re-search or change them)?
> >
> > Info remembers all the nodes you visit (no matter how did you get there)
> > on a stack-like list. The `l' (for `last') command will pop the stack
> > and land you in the last-visited place.
>
> No, I said 'search'. I want to seach for the last string but two, from
> the current position.
Try C-s C-s (repeat last search) and C-r C-r (repeat last search
backwards).
Also try C-x C-b (list visited buffers).
> 'less' will highlight all occurrences on the string on the page. You can
> also tell it not to do so...
But less doesn't allow you to view two nodes at the same time, no matter
how you tell it.
> And without the ability to customise it, I assume (at least Emacs does
> include full customisation of keys and functins, and even a VI emulation
> mode).
Use EMACS then, if you have the need to customize it. C-h i brings you
to the same info files.
> My installation is bog standard DJGPP, and it doesn't support "info strcpy".
> Of course, no man pages are supplied now - if they were it would just be a
> matter of copying them into the appropriate directory (something any
> competent install script would do) andthen you could access them without
> having to edit anything (what would I put in a 'dir' file? Where would I
> find it?).
I think the libc.a reference is already in the 'dir' file.
Try
alias man="info libc alpha"
in bash or
doskey man=info libc alpha $*
in Command.com
Then try
man __dpmi_install_resident_service_provider_callback
About the 'dir' file --- is it possible to have the stand-alone info
reader to search the INFOPATH directories and concatenate all the 'dir'
look alike files into a virtual 'dir' file? That way, one can create an
info file, say java.info, AND a java.dir file, with java.dir containing
what should go into the info file, simply throw the two files into the
info directory, and have info recognize it automatically (basically
doing the copying and the pasting for you on the fly).
The same thing can be said about the DJGPP.ENV file, although I'm not
sure if I like my programs to open several dozen files on start up just
to get the environment variables right.
--
Weiqi Gao
weiqigao AT a DOT crl DOT com
- Raw text -