Section: Misc. Reference Manual Pages (5edit)
- configuration file for editline library
file defines various settings to be used by the
The format of each line is:
[prog:]command [arg ...]
is one of the
Sx BUILTIN COMMANDS
for more information.
is the program name string that a program defines when it calls
to set up
which is usually
will be executed for any program which matches
may also be a
regular expression, in which case
will be executed for any program that matches the regular expression.
is executed for all programs.
library has some builtin commands, which affect the way
that the line editing and history functions operate.
These are based on similar named builtins present in the
The following builtin commands are available:
- bind [-aeklrsv [key [command
Without options and arguments, list all bound keys and macros, and
the editor command or input string to which each one is bound.
is supplied, show the binding for that key or macro.
is supplied, bind the editor
to that key or macro.
The options are as follows:
List or change key bindings in the
mode alternate (command mode) key map.
Bind all keys to the standard GNU Emacs-like bindings.
is interpreted as a symbolic arrow key name, which may be one of
List all editor commands and a short description of each.
Remove the binding of the key or macro
Define a keyboard macro rather than a key binding or command macro:
is taken as a literal string and appended to the input queue whenever
Bound keys and macros in
are themselves reinterpreted, and this continues for ten levels of
Bind all keys to the standard
manual documents all editor commands and contains more information
about macros and the input queue.
can contain control characters of the form
and the following backslashed escape sequences:
- \ nnn
The ASCII character corresponding to the octal number
nullifies the special meaning of the following character,
if it has any, notably
- echotc [-sv arg ...
Exercise terminal capabilities given in
the value of that capability is printed, with
indicating that the terminal does or does not have that capability.
returns an empty string for non-existent capabilities, rather than
causing an error.
causes messages to be verbose.
- edit [on | off
Enable or disable the
functionality in a program.
- history list | size n | unique n
command lists all entries in the history.
command sets the history size to
command controls if history should keep duplicate entries.
is non zero, only keep unique history entries.
is zero, then keep all entries (the default).
- settc cap val
Set the terminal capability
as defined in
No sanity checking is done.
- setty [-a [-d [-q [-x [+mode ]
Oo Ar -mode Oc Oo Ar mode Oc Oo Ar char=c Oc
Control which tty modes that
won't allow the user to change.
to act on the
set of tty modes respectively; defaulting to
Without other arguments,
lists the modes in the chosen set which are fixed on
Pc or off
lists all tty modes in the chosen set regardless of the setting.
on or off or removes control of
in the chosen set.
can also be used to set tty characters to particular values using
then the character is set to
List the values of all the terminal capabilities (see
Names the default configuration file for the
Last resort, if no other file is specified,
user configuration file for the
library was written by
An Christos Zoulas ,
and this manual was written by
An Luke Mewburn ,
with some sections inspired by