forked from tphelps/xtickertape
-
Notifications
You must be signed in to change notification settings - Fork 0
/
XTickertape.ad.in
253 lines (228 loc) · 7.46 KB
/
XTickertape.ad.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
!
! Copyright (C) 1997-2009 by Mantara Software (ABN 17 105 665 594).
! All Rights Reserved.
!
! Redistribution and use in source and binary forms, with or without
! modification, are permitted provided that the following conditions
! are met:
!
! * Redistributions of source code must retain the above
! copyright notice, this list of conditions and the following
! disclaimer.
!
! * Redistributions in binary form must reproduce the above
! copyright notice, this list of conditions and the following
! disclaimer in the documentation and/or other materials
! provided with the distribution.
!
! * Neither the name of the Mantara Software nor the names
! of its contributors may be used to endorse or promote
! products derived from this software without specific prior
! written permission.
!
! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
! "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
! LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
! FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
! REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
! INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
! BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
! LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
! CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
! LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
! ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
! POSSIBILITY OF SUCH DAMAGE.
!
!
! xtickertape
!
! A Motif(tm) tickertape application which displays elvin notifications
!
XTickertape.versionTag: @PACKAGE@-@VERSION@
XTickertape.metamail: metamail
XTickertape.sendHistoryCapacity: 32
!
! Layout
!
*menuBar.shadowThickness: 1
*menuBar.marginHeight: 0
*menuBar.marginWidth: 0
*History.marginWidth: 5
*History.marginHeight: 5
*History.messageCapacity: 64
*History.dragDelay: 100
!
! Color resources
!
*foreground: Black
*background: #c1c3c1
*XmText.background: White
*XmTextField.background: White
*XmList.background: White
*history.background: White
*scroller.background: White
*history.timestampPixel: Gray40
*scroller.groupPixel: BlueViolet
*history.groupPixel: BlueViolet
*scroller.userPixel: ForestGreen
*history.userPixel: ForestGreen
*scroller.stringPixel: IndianRed
*history.stringPixel: IndianRed
*history.separatorPixel: Gray40
*scroller.separatorPixel: Gray40
*history.selectionPixel: Gray80
!
! Fonts
!
*fontList: -adobe-helvetica-medium-r-normal--12-120-75-75-p-*-iso8859-1
!-adobe-helvetica-bold-r-normal--12-120-75-75-p-*-iso8859-1=MIME
*scroller.font: -adobe-times-medium-r-normal--18-180-75-75-p-*-iso8859-1
*history.font: -adobe-times-medium-r-normal--18-180-75-75-p-*-iso8859-1
!*history.font: -adobe-utopia-medium-r-normal--200-*-75-75-p-*-iso8859-1
!*history.font: -freefont-brushstroke-normal-r-normal--200-*-75-75-p-*-iso8859-1
!*history.font: -adobe-helvetica-medium-r-normal--12-120-75-75-p-*-iso8859-1
!
! Labels
!
*xtickertape.title: XTickertape
*controlPanel.title: XTickertape Control Panel
*userLabel.labelString: User:
*group.labelString: Group:
*timeout.labelString: Timeout:
*textLabel.labelString: Text:
*send.labelString: Send
*clear.labelString: Clear
*cancel.labelString: Cancel
! file menu labels
*menuBar.fileMenu.labelString: File
*menuBar.fileMenu.mnemonic: F
*menuBar*reloadGroups.labelString: Reload Groups File
*menuBar*reloadUsenet.labelString: Reload Usenet File
*menuBar*reloadKeys.labelString: Reload Keys File
*menuBar*exit.labelString: Exit
*menuBar*exit.mnemonic: x
*menuBar*exit.accelerator: Alt<Key>Q
*menuBar*exit.acceleratorText: Alt+Q
! edit menu labels
*menuBar.editMenu.labelString: Edit
*menuBar.editMenu.mnemonic: E
*menuBar*copyText.labelString: Copy Text
*menuBar*copyId.labelString: Copy Message-Id
*menuBar*copyLink.labelString: Copy Link
*menuBar*copyAll.labelString: Copy Full Message
! options menu labels
*menuBar*optionsMenu.labelString: Options
*menuBar*optionsMenu.mnemonic: O
*menuBar*threaded.labelString: Thread History
*menuBar*threaded.mnemonic: T
*menuBar*threaded.accelerator: Alt<Key>T
*menuBar*threaded.acceleratorText: Alt+T
*menuBar*threaded.set: True
*menuBar*threaded.visibleWhenOff: True
*menuBar*showTime.labelString: Show Time Stamps
*menuBar*showTime.set: False
*menuBar*showTime.visibleWhenOff: True
*menuBar*closePolicy.labelString: Close On Send
*menuBar*closePolicy.mnemonic: c
*menuBar*closePolicy.accelerator: Alt<Key>C
*menuBar*closePolicy.acceleratorText: Alt+C
*menuBar*closePolicy.set: True
*menuBar*closePolicy.visibleWhenOff: True
! help menu labels
*menuBar.helpMenu.labelString: Help
*menuBar.helpMenu.mnemonic: H
*menuBar*about.labelString: About XTickertape
! About box labels
*aboutBox.title: About XTickertape
! titleLabel.labelString is set in the Control.c from the PACKAGE and
! VERSION compile-time variables
*titleLabel.fontList: -adobe-helvetica-bold-r-normal--18-180-75-75-p-*-iso8859-1
*copyrightLabel.labelString: Copyright (C) 1997-2009 Mantara Software
*authorLabel.labelString: Ted Phelps (phelps@mantara.com)
*dismiss.labelString: Dismiss
!
! Scrolling parameters
!
*scroller.fadeLevels: 5
*scroller.frequency: 60
*scroller.stepSize: 3
*scroller.usePixmap: False
*scroller.dragDelta: 3
!
! Keyboard translations
! (go for a basic emacs feel)
!
*XmTextField.translations: #override\
~Meta ~Alt Ctrl<Key>a: beginning-of-line()\n\
~Meta ~Alt Ctrl<Key>b: backward-character()\n\
~Meta ~Alt Ctrl<Key>d: delete-next-character()\n\
~Meta ~Alt Ctrl<Key>e: end-of-line()\n\
~Meta ~Alt Ctrl<Key>f: forward-character()\n\
~Meta ~Alt Ctrl<Key>k: delete-to-end-of-line()\n\
<Key>osfUp: history-prev()\n\
Ctrl<Key>p: history-prev()\n\
Meta<Key>p: history-prev()\n\
<Key>osfDown: history-next()\n\
Ctrl<Key>n: history-next()\n\
Meta<Key>n: history-next()
!
! Scroller action translations
!
! Set XTickertape.scroller.translations to override these settings
!
*.scroller.baseTranslations: \
<Btn1Down>: start-drag()\n\
<Btn1Up>: stop-drag(show-menu)\n\
<Btn1Motion>: drag()\n\
<Btn2Up>: show-attachment()\n\
<Btn3Up>: expire()\n\
<Key>d: expire()\n\
<Key>x: delete()\n\
<Key>k: kill()\n\
Meta<Key>q: quit()\n\
<Key>-: slower()\n\
<Key>=: faster()\n\
<Key>comma: faster()\n\
<Key>.: slower()\n\
<Key>0: set-speed(0)\n\
<Key>1: set-speed(1)\n\
<Key>2: set-speed(2)\n\
<Key>3: set-speed(3)\n\
<Key>4: set-speed(4)\n\
<Key>5: set-speed(5)\n\
<Key>6: set-speed(6)\n\
<Key>7: set-speed(7)\n\
<Key>8: set-speed(8)\n\
<Key>9: set-speed(9)\n\
Ctrl<Key>c: copy(text, CLIPBOARD)\n\
Shift<Key>c: copy(id, CLIPBOARD)
!
! History action translations
!
! Set XTickertape.history.translations to override these settings
!
*.history.baseTranslations: \
<Unmap>: PrimitiveUnmap()\n\
<Enter>: PrimitiveEnter()\n\
<Leave>: PrimitiveLeave()\n\
<FocusIn>: PrimitiveFocusIn()\n\
<FocusOut>: PrimitiveFocusOut()\n\
Shift<Key>Tab: PrimitivePrevTabGroup()\n\
<Key>Tab: PrimitiveNextTabGroup()\n\
<Btn1Down>: toggle-selection()\n\
<Btn1Motion>: drag()\n\
<Btn1Up>: drag-done()\n\
<Btn2Down>: select()\n\
<Btn2Motion>: drag()\n\
<Btn2Up>: show-attachment()\n\
<Btn4Down>: scroll-up()\n\
<Btn5Down>: scroll-down()\n\
<Key>Return: show-attachment()\n\
Ctrl<Key>p: select-previous()\n\
Ctrl<Key>n: select-next()\n\
Ctrl<Key>b: scroll-left()\n\
Ctrl<Key>f: scroll-right()\n\
<Key>osfUp: select-previous()\n\
<Key>osfDown: select-next()\n\
<Key>osfLeft: scroll-left()\n\
<Key>osfRight: scroll-right()