~ubuntu-branches/ubuntu/trusty/qgis/trusty

« back to all changes in this revision

Viewing changes to src/plugins/grass/qtermwidget/kb-layouts/linux.keytab

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# [linux.keytab] Konsole Keyboard Table (Linux console keys)
 
2
#
 
3
# --------------------------------------------------------------
 
4
 
 
5
# NOT TESTED, MAY NEED SOME CLEANUPS
 
6
keyboard "Linux console"
 
7
 
 
8
# --------------------------------------------------------------
 
9
#
 
10
# This configuration table allows to customize the
 
11
# meaning of the keys.
 
12
#
 
13
# The syntax is that each entry has the form : 
 
14
#
 
15
#   "key" Keyname { ("+"|"-") Modename } ":" (String|Operation)
 
16
#
 
17
# Keynames are those defined in <qnamespace.h> with the
 
18
# "Qt::Key_" removed. (We'd better insert the list here)
 
19
#
 
20
# Mode names are : 
 
21
#
 
22
# - Shift
 
23
# - Alt
 
24
# - Control
 
25
#
 
26
#   The VT100 emulation has two modes that can affect the
 
27
#   sequences emitted by certain keys. These modes are
 
28
#   under control of the client program.
 
29
#   
 
30
# - Newline     : effects Return and Enter key.
 
31
# - Application : effects Up and Down key.
 
32
#
 
33
# - Ansi        : effects Up and Down key (This is for VT52, really).
 
34
#
 
35
# Operations are
 
36
#
 
37
# - scrollUpLine
 
38
# - scrollUpPage
 
39
# - scrollDownLine
 
40
# - scrollDownPage
 
41
#
 
42
# - emitSelection
 
43
#
 
44
# If the key is not found here, the text of the
 
45
# key event as provided by QT is emitted, possibly
 
46
# preceded by ESC if the Alt key is pressed.
 
47
#
 
48
# --------------------------------------------------------------
 
49
 
 
50
key Escape : "\E"
 
51
key Tab    : "\t"
 
52
 
 
53
# VT100 can add an extra \n after return.
 
54
# The NewLine mode is set by an escape sequence.
 
55
 
 
56
key Return-NewLine : "\r"  
 
57
key Return+NewLine : "\r\n"
 
58
 
 
59
# Some desperately try to save the ^H.
 
60
 
 
61
key Backspace : "\x7f"
 
62
key Delete    : "\E[3~"
 
63
 
 
64
# These codes are for the VT52 mode of VT100
 
65
# The Ansi mode (i.e. VT100 mode) is set by
 
66
# an escape sequence
 
67
 
 
68
key Up   -Shift-Ansi : "\EA"
 
69
key Down -Shift-Ansi : "\EB"
 
70
key Right-Shift-Ansi : "\EC"
 
71
key Left -Shift-Ansi : "\ED"
 
72
 
 
73
# VT100 emits a mode bit together
 
74
# with the arrow keys.The AppCuKeys
 
75
# mode is set by an escape sequence.
 
76
 
 
77
key Up   -Shift+Ansi+AppCuKeys : "\EOA"
 
78
key Down -Shift+Ansi+AppCuKeys : "\EOB"
 
79
key Right-Shift+Ansi+AppCuKeys : "\EOC"
 
80
key Left -Shift+Ansi+AppCuKeys : "\EOD"
 
81
 
 
82
key Up   -Shift+Ansi-AppCuKeys : "\E[A"
 
83
key Down -Shift+Ansi-AppCuKeys : "\E[B"
 
84
key Right-Shift+Ansi-AppCuKeys : "\E[C"
 
85
key Left -Shift+Ansi-AppCuKeys : "\E[D"
 
86
 
 
87
# linux functions keys F1-F5 differ from xterm
 
88
 
 
89
key F1 : "\E[[A" 
 
90
key F2 : "\E[[B" 
 
91
key F3 : "\E[[C" 
 
92
key F4 : "\E[[D" 
 
93
key F5 : "\E[[E" 
 
94
 
 
95
key F6     : "\E[17~" 
 
96
key F7     : "\E[18~" 
 
97
key F8     : "\E[19~" 
 
98
key F9     : "\E[20~" 
 
99
key F10    : "\E[21~" 
 
100
key F11    : "\E[23~" 
 
101
key F12    : "\E[24~" 
 
102
 
 
103
key Home   : "\E[1~"  
 
104
key End    : "\E[4~"  
 
105
 
 
106
key Prior -Shift : "\E[5~"  
 
107
key Next  -Shift : "\E[6~"  
 
108
key Insert-Shift : "\E[2~"  
 
109
 
 
110
# Keypad-Enter. See comment on Return above.
 
111
 
 
112
key Enter+NewLine : "\r\n"
 
113
key Enter-NewLine : "\r"  
 
114
 
 
115
key Space +Control : "\x00"
 
116
 
 
117
# some of keys are used by konsole.
 
118
 
 
119
key Up    +Shift   : scrollLineUp
 
120
key Prior +Shift   : scrollPageUp
 
121
key Down  +Shift   : scrollLineDown
 
122
key Next  +Shift   : scrollPageDown
 
123
 
 
124
key ScrollLock     : scrollLock
 
125
 
 
126
#----------------------------------------------------------
 
127
 
 
128
# keypad characters as offered by Qt
 
129
# cannot be recognized as such.
 
130
 
 
131
#----------------------------------------------------------
 
132
 
 
133
# Following other strings as emitted by konsole.