X-Git-Url: https://git.pld-linux.org/gitweb.cgi?a=blobdiff_plain;f=XTerm.ad-pl;h=c2f0c9c16f6c3739ce0765140f7ad07b3e872aca;hb=HEAD;hp=145d93e47cd09836da4aa8746c8a4df1437f3e5c;hpb=a3f85ee3ce2f3549ec2098b2326af5d06e43eec2;p=packages%2FX11.git diff --git a/XTerm.ad-pl b/XTerm.ad-pl index 145d93e..c2f0c9c 100644 --- a/XTerm.ad-pl +++ b/XTerm.ad-pl @@ -1,55 +1,33 @@ -NXTerm.JoinSession: False -*SimpleMenu*BackingStore: NotUseful -*SimpleMenu*menuLabel.font: -misc-*-*-*-*-*-15-*-*-*-*-*-*-2 -*SimpleMenu*menuLabel.vertSpace: 100 -*SimpleMenu*HorizontalMargins: 16 -*SimpleMenu*Sme.height: 16 -*SimpleMenu*Cursor: left_ptr -*saveLines: 1500 -*eightBitInput: True -*scrollBar: True -*fullCursor: True -*reverseWrap: True -*titleBar: True -*dynamicColors: True -! Kolory -*XTerm*cursorColor: blue -*XTerm*cursorBlink: yes -*XTerm*background: black -*XTerm*foreground: white -*XTerm*SimpleMenu.background: #00aaff -*XTerm*SimpleMenu.foreground: black +*saveLines: 1024 -! *VT100.geometry: 100x40 -*VT100*colorULMode: on -*VT100*underLine: on -*VT100*colorBDMode: on +*SimpleMenu*BackingStore: NotUseful +*SimpleMenu*menuLabel.font: -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-* +*SimpleMenu*menuLabel.vertSpace: 100 +*SimpleMenu*HorizontalMargins: 16 +*SimpleMenu*Sme.height: 16 -*VT100*color0: black -*VT100*color1: red3 -*VT100*color2: green3 -*VT100*color3: yellow3 -*VT100*color4: blue3 -*VT100*color5: magenta3 -*VT100*color6: cyan3 -*VT100*color7: gray90 -*VT100*color8: gray30 -*VT100*color9: red -*VT100*color10: green -*VT100*color11: yellow -*VT100*color12: blue -*VT100*color13: magenta -*VT100*color14: cyan -*VT100*color15: white -*VT100*colorBD: white -*VT100*colorUL: green +*SimpleMenu*Cursor: left_ptr *mainMenu.Label: Opcje g³ówne +*mainMenu*toolbar*Label: Pasek narzêdziowy *mainMenu*securekbd*Label: Zabezpiecz klawiaturê -*mainMenu*allowsends*Label: Allow SendEvents -*mainMenu*logging*Label: Log to File +*mainMenu*allowsends*Label: Zezwalaj SendEvents *mainMenu*redraw*Label: Od¶wie¿ zawarto¶æ okna +*mainMenu*logging*Label: Loguj do pliku +*mainMenu*print*Label: Drukuj okno +*mainMenu*print-redir*Label: Przekieruj na drukarkê +*mainMenu*eightBit*Label: 8-bitowe sekwencje kontrolne +*mainMenu*backarrow key*Label: Backarrow Key (BS/DEL) +*mainMenu*num-lock*Label: Alt/NumLock Modifiers +*mainMenu*alt-esc*Label: Alt Sends Escape +*mainMenu*meta-esc*Label: Meta Sends Escape +*mainMenu*delete-is-del*Label: Delete is DEL +*mainMenu*oldFunctionKeys*Label: Old Function-Keys +*mainMenu*sunFunctionKeys*Label: Sun Function-Keys +*mainMenu*sunKeyboard*Label: VT220 Keyboard +*mainMenu*hpFunctionKeys*Label: HP Function-Keys +*mainMenu*scoFunctionKeys*Label: SCO Function-Keys *mainMenu*suspend*Label: Wy¶lij sygna³ STOP *mainMenu*continue*Label: Wy¶lij sygna³ CONT *mainMenu*interrupt*Label: Wy¶lij sygna³ INT @@ -57,15 +35,14 @@ NXTerm.JoinSession: False *mainMenu*terminate*Label: Wy¶lij sygna³ TERM *mainMenu*kill*Label: Wy¶lij sygna³ KILL *mainMenu*quit*Label: Koniec -*mainMenu*eightBit*Label: 8-Bit Controls *vtMenu.Label: Opcje terminala *vtMenu*scrollbar*Label: W³±cz pasek przewijania -*vtMenu*jumpscroll*Label: Enable Jump Scroll +*vtMenu*jumpscroll*Label: W³±cz Jump Scroll *vtMenu*reversevideo*Label: Zamieñ kolory t³a i fontu -*vtMenu*autowrap*Label: Enable Auto Wraparound -*vtMenu*reversewrap*Label: Enable Reverse Wraparound -*vtMenu*autolinefeed*Label: Enable Auto Linefeed +*vtMenu*autowrap*Label: W³±cz automatyczne zawijanie linii +*vtMenu*reversewrap*Label: W³±cz odwrotne zawijanie linii +*vtMenu*autolinefeed*Label: W³±cz Auto Linefeed *vtMenu*appcursor*Label: W³acz dla aplikacji klawiaturê kursorów *vtMenu*appkeypad*Label: W³acz dla aplikacji klawiaturê numeryczn± *vtMenu*scrollkey*Label: Przewijaj w dó³ po naci¶niêciu klawisza @@ -73,42 +50,57 @@ NXTerm.JoinSession: False *vtMenu*allow132*Label: Zezwól na prze³±czanie 80/132 kolumn *vtMenu*cursesemul*Label: W³acz emulacjê kursora *vtMenu*visualbell*Label: W³±cz sygna³ wizualny -*vtMenu*marginbell*Label: Enable Margin Bell -*vtMenu*altscreen*Label: Show Alternate Screen +*vtMenu*poponbell*Label: Enable Pop on Bell +*vtMenu*marginbell*Label: W³±cz dzwonek marginesu +*vtMenu*cursorblink*Label: Enable Blinking Cursor +*vtMenu*titeInhibit*Label: Enable Alternate Screen Switching +*vtMenu*activeicon*Label: Enable Active Icon *vtMenu*softreset*Label: Wykonaj miekki reset *vtMenu*hardreset*Label: Wykonaj pe³ny reset *vtMenu*clearsavedlines*Label: Reset i wyczyszcznie bufora terminala *vtMenu*tekshow*Label: Poka¿ okno Tektronic *vtMenu*tekmode*Label: Prze³±cz w tryb Tek *vtMenu*vthide*Label: Ukryj okno terminala - -*font: -misc-*-bold-*-*-*-15-*-*-*-*-*-*-2 +*vtMenu*altscreen*Label: Poka¿ alternatywny obraz *fontMenu.Label: Font terminala *fontMenu*fontdefault*Label: Domy¶lny (iso-8859-2) -#VT100*font: -misc-*-bold-*-*-*-15-*-*-*-*-*-*-2 -*fontMenu*font1*Label: Nieczytelny -*VT100*font1: nil2 -*fontMenu*font2*Label: Bardzo ma³y -*VT100*font2: 5x7 -*fontMenu*font3*Label: Ma³y -*VT100*font3: 6x10 -*fontMenu*font4*Label: ¦redni -*VT100*font4: 7x13 +*VT100*font: -misc-fixed-medium-r-*-*-13-*-*-*-*-*-*-2 +*fontMenu*font1*Label: Nieczytelny (iso-8859-2) +*VT100*font1: -misc-fixed-medium-r-*-*-7-*-*-*-*-*-*-2 +*fontMenu*font2*Label: Bardzo ma³y (iso-8859-2) +*VT100*font2: -misc-fixed-medium-r-*-*-10-*-*-*-*-*-*-2 +*fontMenu*font3*Label: Ma³y (iso-8859-2) +*VT100*font3: -misc-fixed-medium-r-semicondensed-*-13-*-*-*-*-*-*-2 +*fontMenu*font4*Label: ¦redni (iso-8859-2) +*VT100*font4: -misc-fixed-medium-r-*-*-15-*-*-*-*-*-*-2 *fontMenu*font5*Label: Du¿y (iso-8859-2) -*VT100*font5: -misc-*-medium-*-*-*-15-*-*-*-*-*-*-2 +*VT100*font5: -misc-fixed-medium-r-*-*-18-*-*-*-*-*-*-2 *fontMenu*font6*Label: Bardzo du¿y (iso-8859-2) -*VT100*font6: -misc-*-medium-*-*-*-20-*-*-*-*-*-*-2 +*VT100*font6: -misc-fixed-medium-r-*-*-20-*-*-*-*-*-*-2 *fontMenu*fontescape*Label: Escape Sequence *fontMenu*fontsel*Label: Zaznaczony + !fontescape and fontsel overridden by application -*visualBell: off +*fontMenu*font-linedrawing*Label: Czcionka do rysowania linii +*fontMenu*font-doublesize*Label: Czcionka o podwójnym rozmiarze +*fontMenu*font-loadable*Label: Programowe fonty VT220 +*fontMenu*render-font*Label: Fonty TrueType +*fontMenu*utf8-mode*Label: UTF-8 + +*VT100.utf8Fonts.font2: -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1 +*VT100.utf8Fonts.font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 +*VT100.utf8Fonts.font3: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1 +*VT100.utf8Fonts.font4: -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1 +*VT100.utf8Fonts.font5: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1 +*VT100.utf8Fonts.font6: -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1 + *tekMenu.Label: Opcje terminala Tektronix -*tekMenu*tektextlarge*Label: Large Characters -*tekMenu*tektext2*Label: #2 Size Characters -*tekMenu*tektext3*Label: #3 Size Characters -*tekMenu*tektextsmall*Label: Small Characters +*tekMenu*tektextlarge*Label: Du¿a czcionka +*tekMenu*tektext2*Label: Rozmiar #2 czcionki +*tekMenu*tektext3*Label: Rozmiar #3 czcionki +*tekMenu*tektextsmall*Label: Ma³a czcionka *tekMenu*tekpage*Label: PAGE *tekMenu*tekreset*Label: RESET *tekMenu*tekcopy*Label: COPY @@ -116,10 +108,11 @@ NXTerm.JoinSession: False *tekMenu*vtmode*Label: Prze³±cz na tryb terminala *tekMenu*tekhide*Label: Ukryj okno Tektronic -*tek4014*fontLarge: 9x15 -*tek4014*font2: 8x13 -*tek4014*font3: 6x13 -*tek4014*fontSmall: 6x10 +*tek4014*fontLarge: 9x15 +*tek4014*font2: 8x13 +*tek4014*font3: 6x13 +*tek4014*fontSmall: 6x10 + ! This file causes when loaded using xrdb correct behaviour of xterm ! if you are using enclosed xterm.tcap and xterm.ti. @@ -193,40 +186,32 @@ NXTerm.JoinSession: False CtrlPage_Down: string(0x1b) string("[6;5~")\n\ ~MetaPage_Down: string(0x1b) string("[6~")\n\ MetaPage_Down: string(0x1b) string(0x1b) string("[6~")\n\ - ~MetaBackSpace: string(0x08)\n\ + ~MetaBackSpace: string(0x7f)\n\ MetaBackSpace: string(0x1b) string(0x08)\n\ Ctrl ShiftUp: string(0x1b) string("[1;6A")\n\ CtrlUp: string(0x1b) string("[1;5A")\n\ - ShiftUp: string(0x1b) string("O2A")\n\ - ~MetaUp: string(0x1b) string("OA")\n\ - MetaUp: string(0x1b) string(0x1b) string("OA")\n\ + ShiftUp: string(0x1b) string("[1;2A")\n\ + MetaUp: string(0x1b) string("[1;3A")\n\ Ctrl ShiftDown: string(0x1b) string("[1;6B")\n\ CtrlDown: string(0x1b) string("[1;5B")\n\ - ShiftDown: string(0x1b) string("O2B")\n\ - ~MetaDown: string(0x1b) string("OB")\n\ - MetaDown: string(0x1b) string(0x1b) string("OB")\n\ + ShiftDown: string(0x1b) string("[1;2B")\n\ + MetaDown: string(0x1b) string("[1;3B")\n\ Ctrl ShiftLeft: string(0x1b) string("[1;6D")\n\ CtrlLeft: string(0x1b) string("[1;5D")\n\ - ShiftLeft: string(0x1b) string("O2D")\n\ + ShiftLeft: string(0x1b) string("[1;2D")\n\ Mod5Left: string(0x1b) string("b")\n\ - ~MetaLeft: string(0x1b) string("OD")\n\ - MetaLeft: string(0x1b) string(0x1b) string("OD")\n\ + MetaLeft: string(0x1b) string("[1;3D")\n\ Ctrl ShiftRight: string(0x1b) string("[1;6C")\n\ CtrlRight: string(0x1b) string("[1;5C")\n\ - ShiftRight: string(0x1b) string("O2C")\n\ + ShiftRight: string(0x1b) string("[1;2C")\n\ Mod5Right: string(0x1b) string("f")\n\ - ~MetaRight: string(0x1b) string("OC")\n\ - MetaRight: string(0x1b) string(0x1b) string("OC")\n\ + MetaRight: string(0x1b) string("[1;3C")\n\ ~MetaReturn: string(0x0d)\n\ MetaReturn: string(0x1b) string(0x0d)\n\ CtrlTab: string(0x1b) string(0x09)\n\ Mod5Tab: string(0x1b) string(0x09)\n\ ~MetaTab: string(0x09)\n\ MetaTab: string(0x1b) string(0x09)\n\ - ~sF1: string(0x1b) string("[11~")\n\ - ~sF2: string(0x1b) string("[12~")\n\ - ~sF3: string(0x1b) string("[13~")\n\ - ~sF4: string(0x1b) string("[14~")\n\ ~sF5: string(0x1b) string("[15~")\n\ ~sF6: string(0x1b) string("[17~")\n\ ~sF7: string(0x1b) string("[18~")\n\ @@ -243,21 +228,17 @@ NXTerm.JoinSession: False F18: string(0x1b) string("[32~")\n\ F19: string(0x1b) string("[33~")\n\ F20: string(0x1b) string("[34~")\n\ - sF1: string(0x1b) string("[23~")\n\ - sF2: string(0x1b) string("[24~")\n\ - sF3: string(0x1b) string("[25~")\n\ - sF4: string(0x1b) string("[26~")\n\ sF5: string(0x1b) string("[28~")\n\ sF6: string(0x1b) string("[29~")\n\ sF7: string(0x1b) string("[31~")\n\ sF8: string(0x1b) string("[32~")\n\ sF9: string(0x1b) string("[33~")\n\ sF10: string(0x1b) string("[34~")\n\ - aReturn: string(0x1b) string(0x0d)\n\ - aTab: string(0x1b) string(0x09)\n\ aspace: string(0x1b) string(" ")\n\ a squestion: string(0x1b) string("?")\n\ a sexclam: string(0x1b) string("!")\n\ + a period: string(0x1b) string(".")\n\ + a`: string(0x1b) string("`")\n\ a1: string(0x1b) string("1")\n\ a2: string(0x1b) string("2")\n\ a3: string(0x1b) string("3")\n\ @@ -295,3 +276,73 @@ NXTerm.JoinSession: False ax: string(0x1b) string("x")\n\ ay: string(0x1b) string("y")\n\ az: string(0x1b) string("z") + +! If xterm is built with a toolbar, the widget hierarchy looks like this, +! showing widget name / class names. The complete menu hierarchy is built +! at startup because it is needed to make the layout work for the menubar: +! +! xterm/XTerm +! form/Form +! menubar/Box +! mainMenuButton/MenuButton +! mainMenu/SimpleMenu +! menuLabel/SmeBSB +! toolbar/SmeBSB +! ... +! vtMenu/SimpleMenu +! menuLabel/SmeBSB +! scrollbar/SmeBSB +! ... +! fontMenu/SimpleMenu +! menuLabel/SmeBSB +! fontdefault/SmeBSB +! ... +! tekMenu/SimpleMenu +! menuLabel/SmeBSB +! fontdefault/SmeBSB +! ... +! vt100/VT100 +! tektronix/TopLevelShell +! shellext/VendorShellExt +! tek4014/Tek4014 +! +! If built without a toolbar, the widget hierarchy is simpler, because there +! is no form, and the popup menu widgets are created only when they are first +! used. +! +! xterm/XTerm +! shellext/VendorShellExt +! mainMenu/SimpleMenu +! menuLabel/SmeBSB +! ... +! ... +! vt100/VT100 +! tektronix/TopLevelShell +! shellext/VendorShellExt +! tek4014/Tek4014 +! +! A more complete list of the widget/class names can be obtained using editres +! to dump a file. Some widget names are not available until the corresponding +! menu has been created. + +! These resources reduce space around the menubar, by eliminating padding in +! the enclosing form (Thickness) and the border of the Box which represents +! the menubar widget. +*form.Thickness: 0 +*menubar.borderWidth: 0 + +! If we wanted to eliminate the border of the popup menus, we could do this +! instead, since they are children of the menubar: +!*menubar.*.borderWidth: 0 + +! Eliminate the border of the buttons in the menubar, so the only line around +! the text is for the highlighted button: +*MenuButton*borderWidth: 0 + +! Set a border for the menus to make them simpler to distinguish against the +! vt100 widget: +*SimpleMenu*borderWidth: 2 + +! Set polish diacritical letters (¡£¦¬¯±³¶¼¿ with ÆÊÑÓæêñó already set) the same class as regular letters +! in order to properly match while double-click word selection +*charClass: 161:48,163:48,166:48,172:48,175:48,177:48,179:48,182:48,188:48,191:48,198:48,202:48,209:48,211:48,230:48,234:48,241:48,243:48