Ticket #35549: patch-doc-pinfo.1.in.diff

File patch-doc-pinfo.1.in.diff, 2.7 KB (added by master@…, 12 years ago)
  • doc/pinfo.1.in

    old new  
    2727.IR "filehandling_functions.c".
    2828.P
    2929When the search for info pages fails, man is called with the infopage
    30 argument, and it's output is parsed by pinfo. This means that when you don't
     30argument, and its output is parsed by pinfo. This means that when you don't
    3131have the appropriate info page, but have a man page instead; the man page
    3232will be viewed.
    3333.P
     
    5353.P
    5454You can also call the man function of pinfo in another way. When pinfo is
    5555called with an argv[0] (the program file name), which contains the word 'man'
    56 in it's name, the man functions are enabled automatically.
     56in its name, the man functions are enabled automatically.
    5757.P
    5858Previously there was a symlink to pinfo, called pman, but I had to remove it
    59 from the distribution, since it's name was in conflict with some other
     59from the distribution, since its name was in conflict with some other
    6060utility. Anyway, you can feel free to create such a link if you wish.
    6161.P
    6262.BR "-r",
     
    188188KEY_BACK_1=KEY_LEFT
    189189KEY_BACK_2='l'
    190190KEY_FOLLOWLINK_1=KEY_RIGHT
    191 KEY_FOLLOWLINK_2='\n'
     191KEY_FOLLOWLINK_2='\\n'
    192192# 12 is a code for ctrl+l
    193193KEY_REFRESH_1=12
    194194KEY_REFRESH_2='~'
     
    237237blinking attribute, or highlighted background in some other configurations.
    238238.P
    239239Now let's move to the key definitions. Here we first put a key name (again
    240 all keys are present in the example); then we enter it's value -- either
     240all keys are present in the example); then we enter its value -- either
    241241surrounded
    242242by apostrophes, or a keycode number (like in KEY_REFRESH_1), or its mnemonic
    243 code name if it's a special key (like i.e. in KEY_FOLLOWLINK_1).
     243code name if its a special key (like i.e. in KEY_FOLLOWLINK_1).
    244244.P
    245245If you wish to specify key by code value, use the supplied program 'testkey'
    246246to obtain the needed value. It mainly is a feature, when you want to add
     
    274274Alternate key for repeating the last search.
    275275.TP
    276276.B KEY_GOTO_1
    277 Key for explicitly going to a node (by specifying it's name).
     277Key for explicitly going to a node (by specifying its name).
    278278.TP
    279279.B KEY_GOTO_2
    280 Alternate key for explicitly going to a node (by specifying it's name).
     280Alternate key for explicitly going to a node (by specifying its name).
    281281.TP
    282282.B KEY_PREVNODE_1
    283283Key for going to a node marked as 'Prev' in the header. In man page viewer
     
    441441C/C++ ;).
    442442.TP
    443443.B [number]
    444 \- you can also specify key as it's code number. It is useful e.g. when
     444\- you can also specify key as its code number. It is useful e.g. when
    445445specifying control keys, and some nonstandard keys.
    446446A numerical value of zero turns given key binding off.
    447447.sp