rluser.texi (157184) | rluser.texi (165670) |
---|---|
1@comment %**start of header (This is for running Texinfo on a region.) 2@setfilename rluser.info 3@comment %**end of header (This is for running Texinfo on a region.) 4@setchapternewpage odd 5 6@ignore 7This file documents the end user interface to the GNU command line 8editing features. It is to be an appendix to manuals for programs which 9use these features. There is a document entitled "readline.texinfo" 10which contains both end-user and programmer documentation for the 11GNU Readline Library. 12 | 1@comment %**start of header (This is for running Texinfo on a region.) 2@setfilename rluser.info 3@comment %**end of header (This is for running Texinfo on a region.) 4@setchapternewpage odd 5 6@ignore 7This file documents the end user interface to the GNU command line 8editing features. It is to be an appendix to manuals for programs which 9use these features. There is a document entitled "readline.texinfo" 10which contains both end-user and programmer documentation for the 11GNU Readline Library. 12 |
13Copyright (C) 1988-2005 Free Software Foundation, Inc. | 13Copyright (C) 1988-2006 Free Software Foundation, Inc. |
14 15Authored by Brian Fox and Chet Ramey. 16 17Permission is granted to process this file through Tex and print the 18results, provided the printed document carries copying permission notice 19identical to this one except for the removal of this paragraph (this 20paragraph not being relevant to the printed manual). 21 --- 309 unchanged lines hidden (view full) --- 331commands in an @dfn{inputrc} file, conventionally in his home directory. 332The name of this 333@ifset BashFeatures 334file is taken from the value of the shell variable @env{INPUTRC}. If 335@end ifset 336@ifclear BashFeatures 337file is taken from the value of the environment variable @env{INPUTRC}. If 338@end ifclear | 14 15Authored by Brian Fox and Chet Ramey. 16 17Permission is granted to process this file through Tex and print the 18results, provided the printed document carries copying permission notice 19identical to this one except for the removal of this paragraph (this 20paragraph not being relevant to the printed manual). 21 --- 309 unchanged lines hidden (view full) --- 331commands in an @dfn{inputrc} file, conventionally in his home directory. 332The name of this 333@ifset BashFeatures 334file is taken from the value of the shell variable @env{INPUTRC}. If 335@end ifset 336@ifclear BashFeatures 337file is taken from the value of the environment variable @env{INPUTRC}. If 338@end ifclear |
339that variable is unset, the default is @file{~/.inputrc}. | 339that variable is unset, the default is @file{~/.inputrc}. If that 340file does not exist or cannot be read, the ultimate default is 341@file{/etc/inputrc}. |
340 341When a program which uses the Readline library starts up, the 342init file is read, and the key bindings are set. 343 344In addition, the @code{C-x C-r} command re-reads this init file, thus 345incorporating any changes that you might have made to it. 346 347@menu --- 240 unchanged lines hidden (view full) --- 588simple. First you need to find the name of the command that you 589want to change. The following sections contain tables of the command 590name, the default keybinding, if any, and a short description of what 591the command does. 592 593Once you know the name of the command, simply place on a line 594in the init file the name of the key 595you wish to bind the command to, a colon, and then the name of the | 342 343When a program which uses the Readline library starts up, the 344init file is read, and the key bindings are set. 345 346In addition, the @code{C-x C-r} command re-reads this init file, thus 347incorporating any changes that you might have made to it. 348 349@menu --- 240 unchanged lines hidden (view full) --- 590simple. First you need to find the name of the command that you 591want to change. The following sections contain tables of the command 592name, the default keybinding, if any, and a short description of what 593the command does. 594 595Once you know the name of the command, simply place on a line 596in the init file the name of the key 597you wish to bind the command to, a colon, and then the name of the |
596command. The name of the key 597can be expressed in different ways, depending on what you find most 598comfortable. | 598command. 599There can be no space between the key name and the colon -- that will be 600interpreted as part of the key name. 601The name of the key can be expressed in different ways, depending on 602what you find most comfortable. |
599 600In addition to command names, readline allows keys to be bound 601to a string that is inserted when the key is pressed (a @var{macro}). 602 603@ifset BashFeatures 604The @w{@code{bind -p}} command displays Readline function names and 605bindings in a format that can put directly into an initialization file. 606@xref{Bash Builtins}. --- 1240 unchanged lines hidden --- | 603 604In addition to command names, readline allows keys to be bound 605to a string that is inserted when the key is pressed (a @var{macro}). 606 607@ifset BashFeatures 608The @w{@code{bind -p}} command displays Readline function names and 609bindings in a format that can put directly into an initialization file. 610@xref{Bash Builtins}. --- 1240 unchanged lines hidden --- |