components/readline/test/results-all.master
author Rich Burridge <rich.burridge@oracle.com>
Thu, 09 Jul 2015 10:06:27 -0700
changeset 4609 c87d757fa091
parent 3733 ef84d96c9e0e
permissions -rw-r--r--
PSARC 2015/176 GNU readline 6.3 16329702 Update readline to version 6.3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3733
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
# My ~/.inputrc file is in -*- text -*- for easy editing with Emacs.
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
#
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
# Notice the various bindings which are conditionalized depending
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# on which program is running, or what terminal is active.
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
#
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
4609
c87d757fa091 PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents: 3733
diff changeset
     7
#   Copyright (C) 1989-2009 Free Software Foundation, Inc.
3733
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
#
4609
c87d757fa091 PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents: 3733
diff changeset
     9
#   This program is free software: you can redistribute it and/or modify
c87d757fa091 PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents: 3733
diff changeset
    10
#   it under the terms of the GNU General Public License as published by
c87d757fa091 PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents: 3733
diff changeset
    11
#   the Free Software Foundation, either version 3 of the License, or
c87d757fa091 PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents: 3733
diff changeset
    12
#   (at your option) any later version.
3733
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
#
4609
c87d757fa091 PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents: 3733
diff changeset
    14
#   This program is distributed in the hope that it will be useful,
c87d757fa091 PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents: 3733
diff changeset
    15
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
c87d757fa091 PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents: 3733
diff changeset
    16
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
c87d757fa091 PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents: 3733
diff changeset
    17
#   GNU General Public License for more details.
3733
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
4609
c87d757fa091 PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents: 3733
diff changeset
    19
#   You should have received a copy of the GNU General Public License
c87d757fa091 PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents: 3733
diff changeset
    20
#   along with this program.  If not, see <http://www.gnu.org/licenses/>.
c87d757fa091 PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents: 3733
diff changeset
    21
#
3733
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    23
# In all programs, all terminals, make sure this is bound.
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
"\C-x\C-r": re-read-init-file
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    25
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
# Hp terminals (and some others) have ugly default behaviour for C-h.
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
"\C-h": backward-delete-char
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
"\e\C-h": backward-kill-word
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
"\C-xd": dump-functions
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
# In xterm windows, make the arrow keys do the right thing.
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
$if TERM=xterm
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
"\e[A": previous-history
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    34
"\e[B": next-history
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
"\e[C": forward-char
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
"\e[D": backward-char
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    37
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    38
# alternate arrow key prefix
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    39
"\eOA": previous-history
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    40
"\eOB": next-history
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    41
"\eOC": forward-char
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    42
"\eOD": backward-char
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    43
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    44
# Under Xterm in Bash, we bind local Function keys to do something useful.
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    45
$if Bash
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    46
"\e[11~": "Function Key 1"
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    47
"\e[12~": "Function Key 2"
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    48
"\e[13~": "Function Key 3"
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    49
"\e[14~": "Function Key 4"
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    50
"\e[15~": "Function Key 5"
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    51
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    52
# I know the following escape sequence numbers are 1 greater than
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    53
# the function key.  Don't ask me why, I didn't design the xterm terminal.
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    54
"\e[17~": "Function Key 6"
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    55
"\e[18~": "Function Key 7"
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    56
"\e[19~": "Function Key 8"
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    57
"\e[20~": "Function Key 9"
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    58
"\e[21~": "Function Key 10"
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    59
$endif
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    60
$endif
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    61
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    62
# For Bash, all terminals, add some Bash specific hacks.
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    63
$if Bash
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    64
"\C-xv": show-bash-version
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    65
"\C-x\C-e": shell-expand-line
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    66
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    67
# Here is one for editing my path.
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    68
"\C-xp": "$PATH\C-x\C-e\C-e\"\C-aPATH=\":\C-b"
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    69
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    70
# Make C-x r read my mail in emacs.
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    71
# "\C-xr": "emacs -f rmail\C-j"
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    72
$endif
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    73
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    74
# For FTP, different hacks:
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    75
$if Ftp
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    76
"\C-xg": "get \M-?"
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    77
"\C-xt": "put \M-?"
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    78
"\M-.": yank-last-arg
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    79
$endif
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    80
ef84d96c9e0e 20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    81
" ": self-insert