OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gdb-7.2/] [readline/] [examples/] [Inputrc] - Blame information for rev 856

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.