$ info [ファイル名] |
オンラインマニュアルである info ドキュメントは info コマンドを使用して参照できます。
参照するファイル名が分かっている場合は、ファイル名を引数として指定することができます。指定されない場合は、info ドキュメントのリストが表示されます。
$ info File: dir Node: Top This is the top of the INFO tree This (the Directory node) gives a menu of major topics. Typing "q" exits, "?" lists all Info commands, "d" returns here, "h" gives a primer for first-timers, "mEmacs<Return>" visits the Emacs topic, etc. In Emacs, you can click mouse button 2 on a menu item or cross reference to select it. * Menu: Texinfo documentation system * Info: (info). Documentation browsing system. * Texinfo: (texinfo). The GNU documentation format. * install-info: (texinfo)Invoking install-info. Update info/dir entries. * makeinfo: (texinfo)makeinfo Preferred. Translate Texinfo source. * texi2dvi: (texinfo)Format with texi2dvi. Print Texinfo documents. * texindex: (texinfo)Format with tex/texindex. Sort Texinfo index files. Miscellaneous * As: (as). The GNU assembler. -----Info: (dir)Top, 239 lines --Top-------------------------------------------- You are already at the first page of this node. |
参照するマニュアルの項目にカーソルを移動し[Enter]キーを押すとマニュアルが表示されます。
例えば、info のオンラインマニュアルを参照するには、次の行にカーソルを移動して[Enter]キーを押します。
* Info: (info). Documentation browsing system. |
info のマニュアルが表示されます。
File: info.info, Node: Top, Next: Getting Started, Up: (dir) Info: An Introduction ********************* Info is a program for reading documentation, which you are using now. To learn how to use Info, type the command `h'. It brings you to a programmed instruction sequence. * Menu: * Getting Started:: Getting started using an Info reader. * Advanced Info:: Advanced commands within Info. * Creating an Info File:: How to make your own Info file. |
最初の行には、ファイル名、現在のノード名、次のページのノード名などが表示されています。例えば、n をタイプすると次のノード、u をタイプすると親の階層ページへ移動します。
終了するときは q をタイプします。
以下に info 内で使用可能な代表的なコマンドを示します。