XTerm.ad revision c219fbeb
1! $XTermId: XTerm.ad,v 1.94 2011/01/19 22:05:58 tom Exp $ 2! ----------------------------------------------------------------------------- 3! this file is part of xterm 4! 5! Copyright 1996-2010,2011 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*Label: Print Window 52*mainMenu*print-redir*Label: Redirect to Printer 53*mainMenu*8-bit control*Label: 8-Bit Controls 54*mainMenu*backarrow key*Label: Backarrow Key (BS/DEL) 55*mainMenu*num-lock*Label: Alt/NumLock Modifiers 56*mainMenu*alt-esc*Label: Alt Sends Escape 57*mainMenu*meta-esc*Label: Meta Sends Escape 58*mainMenu*delete-is-del*Label: Delete is DEL 59*mainMenu*oldFunctionKeys*Label: Old Function-Keys 60*mainMenu*sunFunctionKeys*Label: Sun Function-Keys 61*mainMenu*sunKeyboard*Label: VT220 Keyboard 62*mainMenu*hpFunctionKeys*Label: HP Function-Keys 63*mainMenu*scoFunctionKeys*Label: SCO Function-Keys 64*mainMenu*tcapFunctionKeys*Label: Termcap Function-Keys 65*mainMenu*suspend*Label: Send STOP Signal 66*mainMenu*continue*Label: Send CONT Signal 67*mainMenu*interrupt*Label: Send INT Signal 68*mainMenu*hangup*Label: Send HUP Signal 69*mainMenu*terminate*Label: Send TERM Signal 70*mainMenu*kill*Label: Send KILL Signal 71*mainMenu*quit*Label: Quit 72 73*vtMenu.Label: VT Options 74*vtMenu*scrollbar*Label: Enable Scrollbar 75*vtMenu*jumpscroll*Label: Enable Jump Scroll 76*vtMenu*reversevideo*Label: Enable Reverse Video 77*vtMenu*autowrap*Label: Enable Auto Wraparound 78*vtMenu*reversewrap*Label: Enable Reverse Wraparound 79*vtMenu*autolinefeed*Label: Enable Auto Linefeed 80*vtMenu*appcursor*Label: Enable Application Cursor Keys 81*vtMenu*appkeypad*Label: Enable Application Keypad 82*vtMenu*scrollkey*Label: Scroll to Bottom on Key Press 83*vtMenu*scrollttyoutput*Label: Scroll to Bottom on Tty Output 84*vtMenu*allow132*Label: Allow 80/132 Column Switching 85*vtMenu*keepSelection*Label: Keep Selection 86*vtMenu*selectToClipboard*Label: Select to Clipboard 87*vtMenu*cursesemul*Label: Enable Curses Emulation 88*vtMenu*visualbell*Label: Enable Visual Bell 89*vtMenu*bellIsUrgent*Label: Enable Bell Urgency 90*vtMenu*poponbell*Label: Enable Pop on Bell 91*vtMenu*cursorblink*Label: Enable Blinking Cursor 92*vtMenu*titeInhibit*Label: Enable Alternate Screen Switching 93*vtMenu*activeicon*Label: Enable Active Icon 94*vtMenu*softreset*Label: Do Soft Reset 95*vtMenu*hardreset*Label: Do Full Reset 96*vtMenu*clearsavedlines*Label: Reset and Clear Saved Lines 97*vtMenu*tekshow*Label: Show Tek Window 98*vtMenu*tekmode*Label: Switch to Tek Mode 99*vtMenu*vthide*Label: Hide VT Window 100*vtMenu*altscreen*Label: Show Alternate Screen 101 102*fontMenu.Label: VT Fonts 103*fontMenu*fontdefault*Label: Default 104*fontMenu*font1*Label: Unreadable 105*VT100.font1: nil2 106*IconFont: nil2 107*fontMenu*font2*Label: Tiny 108*VT100.font2: 5x7 109*fontMenu*font3*Label: Small 110*VT100.font3: 6x10 111*fontMenu*font4*Label: Medium 112*VT100.font4: 7x13 113*fontMenu*font5*Label: Large 114*VT100.font5: 9x15 115*fontMenu*font6*Label: Huge 116*VT100.font6: 10x20 117*fontMenu*fontescape*Label: Escape Sequence 118*fontMenu*fontsel*Label: Selection 119!fontescape and fontsel overridden by application 120*fontMenu*font-linedrawing*Label: Line-Drawing Characters 121*fontMenu*font-doublesize*Label: Doublesized Characters 122*fontMenu*font-loadable*Label: VT220 Soft Fonts 123*fontMenu*font-packed*Label: Packed Font 124*fontMenu*render-font*Label: TrueType Fonts 125*fontMenu*utf8-mode*Label: UTF-8 126*fontMenu*utf8-title*Label: UTF-8 Titles 127 128*fontMenu*allow-color-ops*Label: Allow Color Ops 129*fontMenu*allow-font-ops*Label: Allow Font Ops 130*fontMenu*allow-tcap-ops*Label: Allow Termcap Ops 131*fontMenu*allow-title-ops*Label: Allow Title Ops 132*fontMenu*allow-window-ops*Label: Allow Window Ops 133 134*VT100.utf8Fonts.font2: -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1 135*VT100.utf8Fonts.font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 136*VT100.utf8Fonts.font3: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1 137*VT100.utf8Fonts.font4: -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1 138*VT100.utf8Fonts.font5: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1 139*VT100.utf8Fonts.font6: -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1 140 141*tekMenu.Label: Tek Options 142*tekMenu*tektextlarge*Label: Large Characters 143*tekMenu*tektext2*Label: #2 Size Characters 144*tekMenu*tektext3*Label: #3 Size Characters 145*tekMenu*tektextsmall*Label: Small Characters 146*tekMenu*tekpage*Label: PAGE 147*tekMenu*tekreset*Label: RESET 148*tekMenu*tekcopy*Label: COPY 149*tekMenu*vtshow*Label: Show VT Window 150*tekMenu*vtmode*Label: Switch to VT Mode 151*tekMenu*tekhide*Label: Hide Tek Window 152 153*tek4014*fontLarge: 9x15 154*tek4014*font2: 8x13 155*tek4014*font3: 6x13 156*tek4014*fontSmall: 6x10 157 158! If xterm is built with a toolbar, the widget hierarchy looks like this, 159! showing widget name / class names. The complete menu hierarchy is built 160! at startup because it is needed to make the layout work for the menubar: 161! 162! xterm/XTerm 163! form/Form 164! menubar/Box 165! mainMenuButton/MenuButton 166! mainMenu/SimpleMenu 167! menuLabel/SmeBSB 168! toolbar/SmeBSB 169! ... 170! vtMenu/SimpleMenu 171! menuLabel/SmeBSB 172! scrollbar/SmeBSB 173! ... 174! fontMenu/SimpleMenu 175! menuLabel/SmeBSB 176! fontdefault/SmeBSB 177! ... 178! tekMenu/SimpleMenu 179! menuLabel/SmeBSB 180! fontdefault/SmeBSB 181! ... 182! vt100/VT100 183! tektronix/TopLevelShell 184! shellext/VendorShellExt 185! tek4014/Tek4014 186! 187! If built without a toolbar, the widget hierarchy is simpler, because there 188! is no form, and the popup menu widgets are created only when they are first 189! used. 190! 191! xterm/XTerm 192! shellext/VendorShellExt 193! mainMenu/SimpleMenu 194! menuLabel/SmeBSB 195! ... 196! ... 197! vt100/VT100 198! tektronix/TopLevelShell 199! shellext/VendorShellExt 200! tek4014/Tek4014 201! 202! A more complete list of the widget/class names can be obtained using editres 203! to dump a file. Some widget names are not available until the corresponding 204! menu has been created. 205 206! These resources reduce space around the menubar, by eliminating padding in 207! the enclosing form (Thickness) and the border of the Box which represents 208! the menubar widget. 209*form.Thickness: 0 210*menubar.borderWidth: 0 211 212! If we wanted to eliminate the border of the popup menus, we could do this 213! instead, since they are children of the menubar: 214!*menubar*borderWidth: 0 215 216! Eliminate the border of the buttons in the menubar, so the only line around 217! the text is for the highlighted button: 218*MenuButton*borderWidth: 0 219 220! Set a border for the menus to make them simpler to distinguish against the 221! vt100 widget: 222*SimpleMenu*borderWidth: 2 223 224! xterm can switch at runtime between bitmap (default) and TrueType fonts. 225! The "faceSize" resource controls the size of the latter. However, it was 226! originally given with a size that makes the two types of fonts different 227! sizes. Uncomment this line to use the same size as "fixed". 228!*faceSize: 8 229 230! Here is a pattern that is useful for double-clicking on a URL: 231!*charClass: 33:48,35:48,37-38:48,43-47:48,58:48,61:48,63-64:48,95:48,126:48 232! 233! Alternatively, 234!*on2Clicks: regex [[:alpha:]]+://([[:alnum:]!#+,./=?@_~-]|(%[[:xdigit:]][[:xdigit:]]))+ 235 236*allowWindowOps: false 237*pointerMode: 0 238 239! VT100s and similar terminals recognize escape sequences and control 240! characters to which they reply to the host with other escape sequences, 241! to provide information. The "resize" program uses this feature. 242! 243! In addition, xterm recognizes several escape sequences which can be used to 244! set fonts, window properties, return settings via escape sequences. Some 245! find these useful; others are concerned with the possibility of unexpected 246! inputs. 247! 248! All of these features can be enabled or disabled via menus. 249! 250! Depending on your environment, you may wish to disable those by default by 251! uncommenting one or more of the resource settings below: 252!*allowFontOps: false 253!*allowTcapOps: false 254!*allowTitleOps: false 255!*allowWindowOps: false 256