info (Unix)

from Wikipedia, the free encyclopedia
info

Info document browser.png
info shows the info document about yourself.
Basic data

Publishing year 1977
Current  version 6.5.0
operating system GNU
programming language C.
category File viewer , browser
License GNU General Public License
German speaking Yes
https://www.gnu.org/software/texinfo/

The Unix command info launches into the command-line interface (Engl. "Command line interface", or "CLI") working utility that a hypertext is, multipage document.

Info reads info files generated by the texinfo program and presents the documentation in a tree-like structure , in which you can move around with simple commands and follow cross-references.

history

The info implemented in the programming language C was conceived as the main documentation system of GNU-based operating systems and later ported to other Unix-like operating systems. However, info files have already been used under ITS Emacs .

service

Key assignment

For example, you can use the space bar to move down in the current node or, if you have already reached the lower edge of the current node, to the next node of the current document, whereby you can read the content of an info file sequentially. If you press the backspace key , you move in the opposite direction.

Key assignment in the info program
button function
] goes to the next node of the current document
[ goes to the previous node in the current document
n goes to the next node on the same level as the current node, because of engl. "Next"
p goes to the previous node on the same level as the current node "Previous"
u goes to the parent of the current node, because of engl. "Up"
l goes to the last visited node, because of engl. "load"

If you have moved the cursor to a reference (a word with an asterisk * in front of it) and press the enter key , info follows the reference.

Search the indices

The program can also be called in such a way that it searches the indices of the info documents for a word, similar to how the program apropos searches the manual pages. For this function, the option --aproposor -k(for "keyword") is used when calling it .

user@linux-system: ~ $ info --apropos boot                                                                 
"(coreutils)who invocation" -- --boot
"(automake-1)Error required file ltmain" -- bootstrap.sh and autoreconf
"(grub)boot" -- boot
"(grub)multiboot" -- multiboot
"(grub)net_bootp" -- net_bootp
"(grub)reboot" -- reboot
user@linux-system: ~ $ info --index-search=boot "(coreutils)who invocation"

In the example, the following, simpler command would also lead to the same goal to specifically call up the desired information:

user@linux-system ~ $ info index-search boot who

Well-known info browser

Screenshot of the program TkInfo 2.8.
The graphical browser TkInfo (version 2.8)
program description annotation
info The standard viewer for the info documents
pinfo An info browser based on curses.
tkinfo Displays info documents under X-Windows, i.e. an info browser for graphical user interfaces of Linux.
khelpcenter Click on "Browse Info Pages".
emacs
vinfo A plug-in for the text editor vim, with which the info documents can be displayed.

See also

Individual evidence

  1. ^ Alan Bawden: “ It was a new EMACS package. I would guess this was sometime in 1977 "
  2. Stacy, Christopher C .: Getting Started Computing at the AI ​​Lab (= Artificial Intelligence Laboratory [Hrsg.]: AI Working Paper . No. 235 ). Massachusetts Institute of Technology, September 7, 1982 ( mit.edu [accessed May 11, 2018]).
  3. vinfo. March 3, 2015, accessed on May 10, 2018 (English): "Vim info documentation reader, allows to read info pages when inside a Vim session or from the shell prompt (instead of Info)."