Red Hat ENTERPRISE LINUX 3 - DEBUGGING WITH GDB Manual page 310

Debugging with gdb
Hide thumbs Also See for ENTERPRISE LINUX 3 - DEBUGGING WITH GDB:
Table of Contents

Advertisement

300
# programs that use the GNU Readline library.
# programs include FTP, Bash, and GDB.
#
# You can re-read the inputrc file with C-x C-r.
# Lines beginning with '#' are comments.
#
# First, include any systemwide bindings and variable
# assignments from /etc/Inputrc
$include /etc/Inputrc
#
# Set various bindings for emacs mode.
set editing-mode emacs
$if mode=emacs
Meta-Control-h: backward-kill-word Text after the function name is ignored
#
# Arrow keys in keypad mode
#
#"\M-OD":
#"\M-OC":
#"\M-OA":
#"\M-OB":
#
# Arrow keys in ANSI mode
#
"\M-[D":
"\M-[C":
"\M-[A":
"\M-[B":
#
# Arrow keys in 8 bit keypad mode
#
#"\M-\C-OD":
#"\M-\C-OC":
#"\M-\C-OA":
#"\M-\C-OB":
#
# Arrow keys in 8 bit ANSI mode
#
#"\M-\C-[D":
#"\M-\C-[C":
#"\M-\C-[A":
#"\M-\C-[B":
C-q: quoted-insert
$endif
# An old-style binding.
TAB: complete
# Macros that are convenient for shell interaction
$if Bash
# edit the path
"\C-xp": "PATH=${PATH}\e\C-e\C-a\ef\C-f"
# prepare to type a quoted word --
# insert open and close double quotes
# and move to just after the open quote
backward-char
forward-char
previous-history
next-history
backward-char
forward-char
previous-history
next-history
backward-char
forward-char
previous-history
next-history
backward-char
forward-char
previous-history
next-history
This happens to be the default.
Chapter 29. Command Line Editing
Existing

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 3 - DEBUGGING WITH GDB and is the answer not in the manual?

Questions and answers

Table of Contents