XTerm.ad revision d4fba8b9
1! $XTermId: XTerm.ad,v 1.106 2021/02/03 01:02:03 tom Exp $
2! -----------------------------------------------------------------------------
3! this file is part of xterm
4!
5! Copyright 1996-2020,2021 by Thomas E. Dickey
6! 
7!                         All Rights Reserved
8! 
9! Permission is hereby granted, free of charge, to any person obtaining a
10! copy of this software and associated documentation files (the
11! "Software"), to deal in the Software without restriction, including
12! without limitation the rights to use, copy, modify, merge, publish,
13! distribute, sublicense, and/or sell copies of the Software, and to
14! permit persons to whom the Software is furnished to do so, subject to
15! the following conditions:
16! 
17! The above copyright notice and this permission notice shall be included
18! in all copies or substantial portions of the Software.
19! 
20! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21! OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22! MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23! IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
24! CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25! TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26! SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27! 
28! Except as contained in this notice, the name(s) of the above copyright
29! holders shall not be used in advertising or otherwise to promote the
30! sale, use or other dealings in this Software without prior written
31! authorization.
32! -----------------------------------------------------------------------------
33
34*saveLines: 1024
35
36*SimpleMenu*BackingStore: NotUseful
37*SimpleMenu*menuLabel.font: -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-*
38*SimpleMenu*menuLabel.vertSpace: 	100
39*SimpleMenu*HorizontalMargins: 16
40*SimpleMenu*Sme.height:	16
41
42*SimpleMenu*Cursor: left_ptr
43
44*mainMenu.Label:  Main Options
45*mainMenu*toolbar*Label:  Toolbar
46*mainMenu*fullscreen*Label: Full Screen
47*mainMenu*securekbd*Label:  Secure Keyboard
48*mainMenu*allowsends*Label:  Allow SendEvents
49*mainMenu*redraw*Label:  Redraw Window
50*mainMenu*logging*Label:  Log to File
51*mainMenu*print-immediate*Label:  Print-All Immediately
52*mainMenu*print-on-error*Label:  Print-All on Error
53*mainMenu*print*Label:  Print Window
54*mainMenu*print-redir*Label:  Redirect to Printer
55*mainMenu*dump-html*Label:  XHTML Screen Dump
56*mainMenu*dump-svg*Label:  SVG Screen Dump
57*mainMenu*8-bit control*Label: 8-Bit Controls
58*mainMenu*backarrow key*Label: Backarrow Key (BS/DEL)
59*mainMenu*num-lock*Label: Alt/NumLock Modifiers
60*mainMenu*alt-esc*Label: Alt Sends Escape
61*mainMenu*meta-esc*Label: Meta Sends Escape
62*mainMenu*delete-is-del*Label: Delete is DEL
63*mainMenu*oldFunctionKeys*Label: Old Function-Keys
64*mainMenu*sunFunctionKeys*Label: Sun Function-Keys
65*mainMenu*sunKeyboard*Label: VT220 Keyboard
66*mainMenu*hpFunctionKeys*Label: HP Function-Keys
67*mainMenu*scoFunctionKeys*Label: SCO Function-Keys
68*mainMenu*tcapFunctionKeys*Label: Termcap Function-Keys
69*mainMenu*suspend*Label:  Send STOP Signal
70*mainMenu*continue*Label:  Send CONT Signal
71*mainMenu*interrupt*Label:  Send INT Signal
72*mainMenu*hangup*Label:  Send HUP Signal
73*mainMenu*terminate*Label:  Send TERM Signal
74*mainMenu*kill*Label:  Send KILL Signal
75*mainMenu*quit*Label:  Quit
76
77*vtMenu.Label:  VT Options
78*vtMenu*scrollbar*Label:  Enable Scrollbar
79*vtMenu*jumpscroll*Label:  Enable Jump Scroll
80*vtMenu*reversevideo*Label:  Enable Reverse Video
81*vtMenu*autowrap*Label:  Enable Auto Wraparound
82*vtMenu*reversewrap*Label:  Enable Reverse Wraparound
83*vtMenu*autolinefeed*Label:  Enable Auto Linefeed
84*vtMenu*appcursor*Label:  Enable Application Cursor Keys
85*vtMenu*appkeypad*Label:  Enable Application Keypad
86*vtMenu*scrollkey*Label:  Scroll to Bottom on Key Press
87*vtMenu*scrollttyoutput*Label:  Scroll to Bottom on Tty Output
88*vtMenu*allow132*Label: Allow 80/132 Column Switching
89*vtMenu*keepSelection*Label: Keep Selection
90*vtMenu*keepClipboard*Label: Keep Clipboard
91*vtMenu*selectToClipboard*Label: Select to Clipboard
92*vtMenu*cursesemul*Label:  Enable Curses Emulation
93*vtMenu*visualbell*Label:  Enable Visual Bell
94*vtMenu*bellIsUrgent*Label:  Enable Bell Urgency
95*vtMenu*poponbell*Label:  Enable Pop on Bell
96*vtMenu*cursorblink*Label: Enable Blinking Cursor
97*vtMenu*titeInhibit*Label:  Enable Alternate Screen Switching
98*vtMenu*activeicon*Label: Enable Active Icon
99*vtMenu*softreset*Label:  Do Soft Reset
100*vtMenu*hardreset*Label:  Do Full Reset
101*vtMenu*clearsavedlines*Label:  Reset and Clear Saved Lines
102*vtMenu*tekshow*Label:  Show Tek Window
103*vtMenu*tekmode*Label:  Switch to Tek Mode
104*vtMenu*vthide*Label:  Hide VT Window
105*vtMenu*altscreen*Label:  Show Alternate Screen
106*vtMenu*sixelScrolling*Label:  Sixel Scrolling
107*vtMenu*privateColorRegisters*Label:  Private Color Registers
108
109*fontMenu.Label:  VT Fonts
110*fontMenu*fontdefault*Label:	Default
111*fontMenu*font1*Label:	Unreadable
112*VT100.font1:		nil2
113*IconFont:		nil2
114*fontMenu*font2*Label:	Tiny
115*VT100.font2:		5x7
116*fontMenu*font3*Label:	Small
117*VT100.font3:		6x10
118*fontMenu*font4*Label:	Medium
119*VT100.font4:		7x13
120*fontMenu*font5*Label:	Large
121*VT100.font5:		9x15
122*fontMenu*font6*Label:	Huge
123*VT100.font6:		10x20
124*fontMenu*font7*Label:	Enormous
125!*VT100.font7:		12x24
126*VT100.font7:		-adobe-courier-medium-r-normal--24-240-75-75-m-150-iso10646-1
127*fontMenu*fontescape*Label:	Escape Sequence
128*fontMenu*fontsel*Label:	Selection
129!fontescape and fontsel overridden by application
130*fontMenu*allow-bold-fonts*Label:  Bold Fonts
131*fontMenu*font-linedrawing*Label:  Line-Drawing Characters
132*fontMenu*font-doublesize*Label: Doublesized Characters
133*fontMenu*font-loadable*Label:	VT220 Soft Fonts
134*fontMenu*font-packed*Label:	Packed Font
135*fontMenu*render-font*Label:	TrueType Fonts
136*fontMenu*utf8-mode*Label:	UTF-8 Encoding
137*fontMenu*utf8-fonts*Label:	UTF-8 Fonts
138*fontMenu*utf8-title*Label:	UTF-8 Titles
139
140*fontMenu*allow-color-ops*Label:	Allow Color Ops
141*fontMenu*allow-font-ops*Label:	Allow Font Ops
142*fontMenu*allow-mouse-ops*Label:	Allow Mouse Ops
143*fontMenu*allow-tcap-ops*Label:	Allow Termcap Ops
144*fontMenu*allow-title-ops*Label:	Allow Title Ops
145*fontMenu*allow-window-ops*Label:	Allow Window Ops
146
147*VT100.utf8Fonts.font2:	-misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
148*VT100.utf8Fonts.font:	-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
149*VT100.utf8Fonts.font3:	-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
150*VT100.utf8Fonts.font4:	-misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1
151*VT100.utf8Fonts.font5:	-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
152*VT100.utf8Fonts.font6:	-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
153
154! The default fixed font and font2-font6 are commonly aliased to iso106461 (Unicode)
155! with XXX glyphs, but 12x24 is usually just iso8859-1 (about 200 glyphs).
156! The adobe-courier is more commonly available than the b&h font.
157!*VT100.utf8Fonts.font7: -sony-fixed-medium-r-normal--24-170-100-100-c-120-iso8859-1
158*VT100.utf8Fonts.font7: -adobe-courier-medium-r-normal--24-240-75-75-m-150-iso10646-1
159!*VT100.utf8Fonts.font7: -b&h-lucidatypewriter-medium-r-normal-sans-24-240-75-75-m-140-iso10646-1
160
161*tekMenu.Label:  Tek Options
162*tekMenu*tektextlarge*Label:  Large Characters
163*tekMenu*tektext2*Label:  #2 Size Characters
164*tekMenu*tektext3*Label:  #3 Size Characters
165*tekMenu*tektextsmall*Label:  Small Characters
166*tekMenu*tekpage*Label:  PAGE
167*tekMenu*tekreset*Label:  RESET
168*tekMenu*tekcopy*Label:  COPY
169*tekMenu*vtshow*Label:  Show VT Window
170*tekMenu*vtmode*Label:  Switch to VT Mode
171*tekMenu*tekhide*Label:  Hide Tek Window
172
173*tek4014*fontLarge: 9x15
174*tek4014*font2: 8x13
175*tek4014*font3: 6x13
176*tek4014*fontSmall: 6x10
177
178! If xterm is built with a toolbar, the widget hierarchy looks like this,
179! showing widget name / class names.  The complete menu hierarchy is built
180! at startup because it is needed to make the layout work for the menubar:
181!
182!	xterm/XTerm
183!		form/Form
184!			menubar/Box
185!				mainMenuButton/MenuButton
186!					mainMenu/SimpleMenu
187!						menuLabel/SmeBSB
188!						toolbar/SmeBSB
189!						...
190!					vtMenu/SimpleMenu
191!						menuLabel/SmeBSB
192!						scrollbar/SmeBSB
193!						...
194!					fontMenu/SimpleMenu
195!						menuLabel/SmeBSB
196!						fontdefault/SmeBSB
197!						...
198!					tekMenu/SimpleMenu
199!						menuLabel/SmeBSB
200!						fontdefault/SmeBSB
201!						...
202!			vt100/VT100
203!			tektronix/TopLevelShell
204!				shellext/VendorShellExt
205!					tek4014/Tek4014
206!
207! If built without a toolbar, the widget hierarchy is simpler, because there
208! is no form, and the popup menu widgets are created only when they are first
209! used.
210!
211!	xterm/XTerm
212!		shellext/VendorShellExt
213!			mainMenu/SimpleMenu
214!				menuLabel/SmeBSB
215!				...
216!			...
217!		vt100/VT100
218!		tektronix/TopLevelShell
219!			shellext/VendorShellExt
220!				tek4014/Tek4014
221!
222! A more complete list of the widget/class names can be obtained using editres
223! to dump a file.  Some widget names are not available until the corresponding
224! menu has been created.
225
226! These resources reduce space around the menubar, by eliminating padding in
227! the enclosing form (Thickness) and the border of the Box which represents
228! the menubar widget.
229*form.Thickness: 0
230*menubar.borderWidth: 0
231
232! If we wanted to eliminate the border of the popup menus, we could do this
233! instead, since they are children of the menubar:
234!*menubar*borderWidth: 0
235
236! Eliminate the border of the buttons in the menubar, so the only line around
237! the text is for the highlighted button:
238*MenuButton*borderWidth: 0
239
240! Set a border for the menus to make them simpler to distinguish against the
241! vt100 widget:
242*SimpleMenu*borderWidth: 2
243
244! xterm can switch at runtime between bitmap (default) and TrueType fonts.
245! The "faceSize" resource controls the size of the latter.  However, it was
246! originally given with a size that makes the two types of fonts different
247! sizes.  Uncomment this line to use the same size as "fixed".
248!*faceSize: 8
249
250! Here is a pattern that is useful for double-clicking on a URL:
251!*charClass: 33:48,35:48,37-38:48,43-47:48,58:48,61:48,63-64:48,95:48,126:48
252!
253! Alternatively,
254!*on2Clicks: regex [[:alpha:]]+://([[:alnum:]!#+,./=?@_~-]|(%[[:xdigit:]][[:xdigit:]]))+
255
256*allowWindowOps: false
257*pointerMode: 0
258
259! VT100s and similar terminals recognize escape sequences and control
260! characters to which they reply to the host with other escape sequences,
261! to provide information.  The "resize" program uses this feature.
262!
263! In addition, xterm recognizes several escape sequences which can be used to
264! set fonts, window properties, return settings via escape sequences.  Some
265! find these useful; others are concerned with the possibility of unexpected
266! inputs.
267!
268! All of these features can be enabled or disabled via menus.
269!
270! Depending on your environment, you may wish to disable those by default by
271! uncommenting one or more of the resource settings below:
272!*allowFontOps: false
273!*allowTcapOps: false
274!*allowTitleOps: false
275!*allowWindowOps: false
276