Bug#916349: xterm: X error (BadLength) with GNU screen
On 2018-12-13 14:17:48 +0100, Julien Cristau wrote:
> Please share your xterm config.
Here's the "appres XTerm" output:
*tek4014*fontLarge: 9x15
*tek4014*font2: 8x13
*tek4014*font3: 6x13
*tek4014*fontSmall: 6x10
*MenuButton*borderWidth: 0
*Scrollbar.thickness: 8
*Scrollbar.background: grey
*Scrollbar.foreground: black
*mainMenu*redraw*Label: Redraw Window
*mainMenu*oldFunctionKeys*Label: Old Function-Keys
*mainMenu*interrupt*Label: Send INT Signal
*mainMenu*8-bit control*Label: 8-Bit Controls
*mainMenu*logging*Label: Log to File
*mainMenu*sunFunctionKeys*Label: Sun Function-Keys
*mainMenu*hangup*Label: Send HUP Signal
*mainMenu*print-immediate*Label: Print-All Immediately
*mainMenu*sunKeyboard*Label: VT220 Keyboard
*mainMenu*terminate*Label: Send TERM Signal
*mainMenu*backarrow key*Label: Backarrow Key (BS/DEL)
*mainMenu*print-on-error*Label: Print-All on Error
*mainMenu*hpFunctionKeys*Label: HP Function-Keys
*mainMenu*kill*Label: Send KILL Signal
*mainMenu*num-lock*Label: Alt/NumLock Modifiers
*mainMenu*toolbar*Label: Toolbar
*mainMenu*print*Label: Print Window
*mainMenu*scoFunctionKeys*Label: SCO Function-Keys
*mainMenu*quit*Label: Quit
*mainMenu*alt-esc*Label: Alt Sends Escape
*mainMenu*print-redir*Label: Redirect to Printer
*mainMenu*fullscreen*Label: Full Screen
*mainMenu*tcapFunctionKeys*Label: Termcap Function-Keys
*mainMenu*meta-esc*Label: Meta Sends Escape
*mainMenu*dump-html*Label: XHTML Screen Dump
*mainMenu*securekbd*Label: Secure Keyboard
*mainMenu*suspend*Label: Send STOP Signal
*mainMenu*dump-svg*Label: SVG Screen Dump
*mainMenu*allowsends*Label: Allow SendEvents
*mainMenu*delete-is-del*Label: Delete is DEL
*mainMenu*continue*Label: Send CONT Signal
*mainMenu.Label: Main Options
*fontMenu*font-linedrawing*Label: Line-Drawing Characters
*fontMenu*font2*Label: Tiny
*fontMenu*allow-color-ops*Label: Allow Color Ops
*fontMenu*font-doublesize*Label: Doublesized Characters
*fontMenu*font3*Label: Small
*fontMenu*allow-font-ops*Label: Allow Font Ops
*fontMenu*font-loadable*Label: VT220 Soft Fonts
*fontMenu*font4*Label: Medium
*fontMenu*allow-tcap-ops*Label: Allow Termcap Ops
*fontMenu*font-packed*Label: Packed Font
*fontMenu*font5*Label: Large
*fontMenu*allow-title-ops*Label: Allow Title Ops
*fontMenu*render-font*Label: TrueType Fonts
*fontMenu*fontdefault*Label: Default
*fontMenu*font6*Label: Huge
*fontMenu*allow-window-ops*Label: Allow Window Ops
*fontMenu*utf8-mode*Label: UTF-8 Encoding
*fontMenu*font1*Label: Unreadable
*fontMenu*fontescape*Label: Escape Sequence
*fontMenu*utf8-fonts*Label: UTF-8 Fonts
*fontMenu*fontsel*Label: Selection
*fontMenu*allow-bold-fonts*Label: Bold Fonts
*fontMenu*utf8-title*Label: UTF-8 Titles
*fontMenu*allow-mouse-ops*Label: Allow Mouse Ops
*fontMenu.Label: VT Fonts
*SimpleMenu*menuLabel.font: -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-*
*SimpleMenu*menuLabel.vertSpace: 100
*SimpleMenu*Sme.height: 16
*SimpleMenu*BackingStore: NotUseful
*SimpleMenu*HorizontalMargins: 16
*SimpleMenu*Cursor: left_ptr
*SimpleMenu*borderWidth: 2
*vtMenu*allow132*Label: Allow 80/132 Column Switching
*vtMenu*reversevideo*Label: Enable Reverse Video
*vtMenu*titeInhibit*Label: Enable Alternate Screen Switching
*vtMenu*altscreen*Label: Show Alternate Screen
*vtMenu*keepSelection*Label: Keep Selection
*vtMenu*autowrap*Label: Enable Auto Wraparound
*vtMenu*activeicon*Label: Enable Active Icon
*vtMenu*sixelScrolling*Label: Sixel Scrolling
*vtMenu*selectToClipboard*Label: Select to Clipboard
*vtMenu*reversewrap*Label: Enable Reverse Wraparound
*vtMenu*softreset*Label: Do Soft Reset
*vtMenu*privateColorRegisters*Label: Private Color Registers
*vtMenu*cursesemul*Label: Enable Curses Emulation
*vtMenu*autolinefeed*Label: Enable Auto Linefeed
*vtMenu*hardreset*Label: Do Full Reset
*vtMenu*visualbell*Label: Enable Visual Bell
*vtMenu*appcursor*Label: Enable Application Cursor Keys
*vtMenu*clearsavedlines*Label: Reset and Clear Saved Lines
*vtMenu*bellIsUrgent*Label: Enable Bell Urgency
*vtMenu*appkeypad*Label: Enable Application Keypad
*vtMenu*tekshow*Label: Show Tek Window
*vtMenu*poponbell*Label: Enable Pop on Bell
*vtMenu*scrollbar*Label: Enable Scrollbar
*vtMenu*scrollkey*Label: Scroll to Bottom on Key Press
*vtMenu*tekmode*Label: Switch to Tek Mode
*vtMenu*scrollttyoutput*Label: Scroll to Bottom on Tty Output
*vtMenu*jumpscroll*Label: Enable Jump Scroll
*vtMenu*cursorblink*Label: Enable Blinking Cursor
*vtMenu*vthide*Label: Hide VT Window
*vtMenu.Label: VT Options
*form.Thickness: 0
*VT100.utf8Fonts.font4: -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1
*VT100.utf8Fonts.font2: -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
*VT100.utf8Fonts.font6: -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
*VT100.utf8Fonts.font5: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
*VT100.utf8Fonts.font3: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
*VT100.utf8Fonts.font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
*VT100.color12: rgb:80/80/ff
*VT100.font2: 5x7
*VT100*font2: -adobe-courier-medium-r-normal-*-10-*-*-*-*-*-*-*
*VT100.colorBD: rgb:ff/aa/aa
*VT100.color13: rgb:ff/55/ff
*VT100.font3: 6x10
*VT100*font3: fixed
*VT100.colorBL: red
*VT100.color14: rgb:55/ff/ff
*VT100.font4: 7x13
*VT100*font4: -adobe-courier-medium-r-normal-*-12-*-*-*-*-*-*-*
*VT100.colorRV: green
*VT100.saveLines: 600
*VT100.color15: rgb:ff/ff/ff
*VT100.font5: 9x15
*VT100*font5: -adobe-courier-medium-r-normal-*-14-*-*-*-*-*-*-*
*VT100.colorUL: cyan
*VT100*font: fixed
*VT100.oldXtermFKeys: true
*VT100.font6: 10x20
*VT100*font6: -adobe-courier-medium-r-normal-*-16-*-*-*-*-*-*-*
*VT100.color0: rgb:00/00/00
*VT100.geometry: 80x60
*VT100.color1: rgb:aa/00/00
*VT100.reverseWrap: true
*VT100.color2: rgb:00/aa/00
*VT100.charClass: 43:48,45-58:48,126:48
*VT100.color3: rgb:aa/aa/00
*VT100.color4: rgb:40/40/ff
*VT100.color5: rgb:aa/00/aa
*VT100.color6: rgb:00/aa/aa
*VT100*translations: #override \n\
Shift<Key>Tab: string("\033[Z") \n\
Ctrl<Key>BackSpace: string("\033[7;5~") \n\
Ctrl<Key>Up: scroll-back(1, line) \n\
Ctrl<Key>Down: scroll-forw(1, line) \n\
Meta<Btn1Down>: exec-formatted("browser %s", PRIMARY)
*VT100.color7: rgb:aa/aa/aa
*VT100.background: black
*VT100.color8: rgb:55/55/55
*VT100.foreground: rgb:dd/dd/dd
*VT100.color9: rgb:ff/55/55
*VT100.allowBoldFonts: false
*VT100.font1: nil2
*VT100.color10: rgb:55/ff/55
*VT100.backarrowKey: true
*VT100.color11: rgb:ff/ff/55
*VT100.colorBDMode: true
*tekMenu*tekreset*Label: RESET
*tekMenu*tektext2*Label: #2 Size Characters
*tekMenu*tekhide*Label: Hide Tek Window
*tekMenu*tekcopy*Label: COPY
*tekMenu*tektext3*Label: #3 Size Characters
*tekMenu*vtshow*Label: Show VT Window
*tekMenu*tektextsmall*Label: Small Characters
*tekMenu*vtmode*Label: Switch to VT Mode
*tekMenu*tektextlarge*Label: Large Characters
*tekMenu*tekpage*Label: PAGE
*tekMenu.Label: Tek Options
*menubar.borderWidth: 0
XTerm*faceName: Monospace
XTerm*faceSize: 10
*printerCommand:
*pointerColor: red
*keepSelection: true
*pointerMode: 2
*saveLines: 1024
*termName: xterm-debian
*scrollBar: true
*defaultVirtualBindings: osfCancel: <Key>Escape\n\
osfLeft: <Key>Left\n\
osfUp: <Key>Up\n\
osfRight: <Key>Right\n\
osfDown: <Key>Down\n\
osfEndLine: <Key>End\n\
osfBeginLine: <Key>Home\n\
osfPageUp: <Key>Prior\n\
osfPageDown: <Key>Next\n\
osfBackSpace: <Key>BackSpace\n\
osfDelete: <Key>Delete\n\
osfInsert: <Key>Insert\n\
osfMenu: <Key>Menu\n\
osfMenuBar: Shift<Key>Menu
*backarrowKeyIsErase: true
*scrollTtyOutput: false
*deleteIsDEL: false
*ptyInitialErase: true
*scrollKey: true
*eightBitInput: false
*utf8Title: true
*eightBitOutput: true
*visualBell: true
*allowC1Printable: true
*modifyKeyboard: 2
*IconFont: nil2
After downgrading xterm to 337-1, then reupgrading to 338-1, I can
no longer reproduce the bug (for the moment).
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: