XTerm.ad revision bcf4e684
1! $XTermId: XTerm.ad,v 1.85 2007/11/26 18:42:37 tom Exp $ 2 3*saveLines: 1024 4 5*SimpleMenu*BackingStore: NotUseful 6*SimpleMenu*menuLabel.font: -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-* 7*SimpleMenu*menuLabel.vertSpace: 100 8*SimpleMenu*HorizontalMargins: 16 9*SimpleMenu*Sme.height: 16 10 11*SimpleMenu*Cursor: left_ptr 12 13*mainMenu.Label: Main Options 14*mainMenu*toolbar*Label: Toolbar 15*mainMenu*securekbd*Label: Secure Keyboard 16*mainMenu*allowsends*Label: Allow SendEvents 17*mainMenu*redraw*Label: Redraw Window 18*mainMenu*logging*Label: Log to File 19*mainMenu*print*Label: Print Window 20*mainMenu*print-redir*Label: Redirect to Printer 21*mainMenu*8-bit control*Label: 8-Bit Controls 22*mainMenu*backarrow key*Label: Backarrow Key (BS/DEL) 23*mainMenu*num-lock*Label: Alt/NumLock Modifiers 24*mainMenu*alt-esc*Label: Alt Sends Escape 25*mainMenu*meta-esc*Label: Meta Sends Escape 26*mainMenu*delete-is-del*Label: Delete is DEL 27*mainMenu*oldFunctionKeys*Label: Old Function-Keys 28*mainMenu*sunFunctionKeys*Label: Sun Function-Keys 29*mainMenu*sunKeyboard*Label: VT220 Keyboard 30*mainMenu*hpFunctionKeys*Label: HP Function-Keys 31*mainMenu*scoFunctionKeys*Label: SCO Function-Keys 32*mainMenu*tcapFunctionKeys*Label: Termcap Function-Keys 33*mainMenu*suspend*Label: Send STOP Signal 34*mainMenu*continue*Label: Send CONT Signal 35*mainMenu*interrupt*Label: Send INT Signal 36*mainMenu*hangup*Label: Send HUP Signal 37*mainMenu*terminate*Label: Send TERM Signal 38*mainMenu*kill*Label: Send KILL Signal 39*mainMenu*quit*Label: Quit 40 41*vtMenu.Label: VT Options 42*vtMenu*scrollbar*Label: Enable Scrollbar 43*vtMenu*jumpscroll*Label: Enable Jump Scroll 44*vtMenu*reversevideo*Label: Enable Reverse Video 45*vtMenu*autowrap*Label: Enable Auto Wraparound 46*vtMenu*reversewrap*Label: Enable Reverse Wraparound 47*vtMenu*autolinefeed*Label: Enable Auto Linefeed 48*vtMenu*appcursor*Label: Enable Application Cursor Keys 49*vtMenu*appkeypad*Label: Enable Application Keypad 50*vtMenu*scrollkey*Label: Scroll to Bottom on Key Press 51*vtMenu*scrollttyoutput*Label: Scroll to Bottom on Tty Output 52*vtMenu*allow132*Label: Allow 80/132 Column Switching 53*vtMenu*keepSelection*Label: Keep Selection 54*vtMenu*selectToClipboard*Label: Select to Clipboard 55*vtMenu*cursesemul*Label: Enable Curses Emulation 56*vtMenu*visualbell*Label: Enable Visual Bell 57*vtMenu*bellIsUrgent*Label: Enable Bell Urgency 58*vtMenu*poponbell*Label: Enable Pop on Bell 59*vtMenu*cursorblink*Label: Enable Blinking Cursor 60*vtMenu*titeInhibit*Label: Enable Alternate Screen Switching 61*vtMenu*activeicon*Label: Enable Active Icon 62*vtMenu*softreset*Label: Do Soft Reset 63*vtMenu*hardreset*Label: Do Full Reset 64*vtMenu*clearsavedlines*Label: Reset and Clear Saved Lines 65*vtMenu*tekshow*Label: Show Tek Window 66*vtMenu*tekmode*Label: Switch to Tek Mode 67*vtMenu*vthide*Label: Hide VT Window 68*vtMenu*altscreen*Label: Show Alternate Screen 69 70*fontMenu.Label: VT Fonts 71*fontMenu*fontdefault*Label: Default 72*fontMenu*font1*Label: Unreadable 73*VT100.font1: nil2 74*IconFont: nil2 75*fontMenu*font2*Label: Tiny 76*VT100.font2: 5x7 77*fontMenu*font3*Label: Small 78*VT100.font3: 6x10 79*fontMenu*font4*Label: Medium 80*VT100.font4: 7x13 81*fontMenu*font5*Label: Large 82*VT100.font5: 9x15 83*fontMenu*font6*Label: Huge 84*VT100.font6: 10x20 85*fontMenu*fontescape*Label: Escape Sequence 86*fontMenu*fontsel*Label: Selection 87!fontescape and fontsel overridden by application 88*fontMenu*font-linedrawing*Label: Line-Drawing Characters 89*fontMenu*font-doublesize*Label: Doublesized Characters 90*fontMenu*font-loadable*Label: VT220 Soft Fonts 91*fontMenu*render-font*Label: TrueType Fonts 92*fontMenu*utf8-mode*Label: UTF-8 93*fontMenu*utf8-title*Label: UTF-8 Titles 94 95*VT100.utf8Fonts.font2: -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1 96*VT100.utf8Fonts.font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 97*VT100.utf8Fonts.font3: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1 98*VT100.utf8Fonts.font4: -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1 99*VT100.utf8Fonts.font5: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1 100*VT100.utf8Fonts.font6: -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1 101 102*tekMenu.Label: Tek Options 103*tekMenu*tektextlarge*Label: Large Characters 104*tekMenu*tektext2*Label: #2 Size Characters 105*tekMenu*tektext3*Label: #3 Size Characters 106*tekMenu*tektextsmall*Label: Small Characters 107*tekMenu*tekpage*Label: PAGE 108*tekMenu*tekreset*Label: RESET 109*tekMenu*tekcopy*Label: COPY 110*tekMenu*vtshow*Label: Show VT Window 111*tekMenu*vtmode*Label: Switch to VT Mode 112*tekMenu*tekhide*Label: Hide Tek Window 113 114*tek4014*fontLarge: 9x15 115*tek4014*font2: 8x13 116*tek4014*font3: 6x13 117*tek4014*fontSmall: 6x10 118 119! If xterm is built with a toolbar, the widget hierarchy looks like this, 120! showing widget name / class names. The complete menu hierarchy is built 121! at startup because it is needed to make the layout work for the menubar: 122! 123! xterm/XTerm 124! form/Form 125! menubar/Box 126! mainMenuButton/MenuButton 127! mainMenu/SimpleMenu 128! menuLabel/SmeBSB 129! toolbar/SmeBSB 130! ... 131! vtMenu/SimpleMenu 132! menuLabel/SmeBSB 133! scrollbar/SmeBSB 134! ... 135! fontMenu/SimpleMenu 136! menuLabel/SmeBSB 137! fontdefault/SmeBSB 138! ... 139! tekMenu/SimpleMenu 140! menuLabel/SmeBSB 141! fontdefault/SmeBSB 142! ... 143! vt100/VT100 144! tektronix/TopLevelShell 145! shellext/VendorShellExt 146! tek4014/Tek4014 147! 148! If built without a toolbar, the widget hierarchy is simpler, because there 149! is no form, and the popup menu widgets are created only when they are first 150! used. 151! 152! xterm/XTerm 153! shellext/VendorShellExt 154! mainMenu/SimpleMenu 155! menuLabel/SmeBSB 156! ... 157! ... 158! vt100/VT100 159! tektronix/TopLevelShell 160! shellext/VendorShellExt 161! tek4014/Tek4014 162! 163! A more complete list of the widget/class names can be obtained using editres 164! to dump a file. Some widget names are not available until the corresponding 165! menu has been created. 166 167! These resources reduce space around the menubar, by eliminating padding in 168! the enclosing form (Thickness) and the border of the Box which represents 169! the menubar widget. 170*form.Thickness: 0 171*menubar.borderWidth: 0 172 173! If we wanted to eliminate the border of the popup menus, we could do this 174! instead, since they are children of the menubar: 175!*menubar*borderWidth: 0 176 177! Eliminate the border of the buttons in the menubar, so the only line around 178! the text is for the highlighted button: 179*MenuButton*borderWidth: 0 180 181! Set a border for the menus to make them simpler to distinguish against the 182! vt100 widget: 183*SimpleMenu*borderWidth: 2 184 185! Here is a pattern that is useful for double-clicking on a URL: 186!*charClass: 33:48,35:48,37-38:48,43-47:48,58:48,61:48,63-64:48,95:48,126:48 187! 188! Alternatively, 189!*on2Clicks: regex [[:alpha:]]+://([[:alnum:]!#+,./=?@_~-]|(%[[:xdigit:]][[:xdigit:]]))+ 190 191*allowWindowOps: false 192*pointerMode: never 193