Weblog entry #6 for uroboros

Damn' XTerm...
Posted by uroboros on Wed 18 Jan 2006 at 20:06
Tags: none.

Hello everybody,

I switched from ATerm to XTerm (that one in Debian/Sarge GNU/Linux) and registered several problems with keyboard. At first, look at my ~/.Xresources file if there is not some stupid fault. Then I will describe the problem.

XTerm*termName:         xterm
XTerm*eightBitInput:    true
Xterm*eightBitOutput:   true
XTerm*metaSendsEscape:  false
XTerm*modifyCursorKeys: 2
XTerm*alwaysUseMods:    false
XTerm*brokenSelections: true
XTerm*locale:           false
XTerm*curses:           true
XTerm*cursorBlink:      false
XTerm*cursorColor:      red
XTerm*popOnBell:        true
XTerm*visualBell:       true
XTerm*messages:         true
XTerm*underLine:        true
XTerm*printAttributes:  2
XTerm*colorBDmode:      true
XTerm*color256:         true
XTerm*color1:           darkred
XTerm*color3:           orange
XTerm*color4:           navyblue
XTerm*color5:           magenta
XTerm*color6:           deepskyblue
XTerm*color7:           white
XTerm*background:       black
XTerm*foreground:       white
XTerm*pointerShape:     right_ptr
XTerm*font:             -misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso8859-2
XTerm*saveLines:        10000

And now the problem:

When I type ctrl-left it will produce 3D output. But in ATerm it produced ctrl-p (I guessed that from behaviour of some programs, typically IRSSI, where ctrl-n|p switches window forth and back). Similarly in XTerm I get 5C instead of ctrl-n as in ATerm. The problem is much more serious, because any other combinations of modifiers and arrow-keys does work as well. My meta-something keypress is destroyed too.

Can anybody help to get back the behaviour I had in ATerm changing configuration of XTerm please? I spent 3 or 4 days (really, not kidding) in "googling out something", tried several tens of different keyboard remapings, XTerm X resources hacks etc., but with no progression. I am very sad of it, because I like XTerm the most (and because it can be found nearly everywhere).

Thank you for your advices.

 

Comments on this Entry

Posted by orchid (209.217.xx.xx) on Fri 20 Jan 2006 at 22:21
[ Send Message | View Weblogs ]
Do you know what each of your xresources entries does?
I don't use xterm so I am unfamiliar with some of these settings,
but the first thing I would try, unless I knew for sure what each setting does is start by commenting out all you key board related entries with a !

Then xrdb -merge the file and test it out to rule out anything in that file.

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search