I haven't used .Xresources much, but in the docs that I have looked over, from time to time I see mention of the #override command. Or modifier. Or whatever it is.

That's the problem; I don't know what it is (:

Here's an example, taken from man xterm on my system:

*VT100*translations:    #override \n\
        Meta <KeyPress> /:dabbrev-expand()

I've spent a surprising amount of time trying to find out what exactly #override is, but with no luck so far.

Can someone point me to docs that explain #override?



#override merges the translations with the existing translation, overriding any that conflict, compared to #augment which also merges, but the existing translations that conflict take precedence.

  • Thanks, that explains it. I'm still not sure what the exact link is between .Xresources and the described translation tables, but I suspect if I read more of that book I can figure it out... – jwd Nov 10 '11 at 17:22
  • @jwd The translations resource is a translation from input events (key or mouse presses) to actions (something that happens in a program). In other words, they're key bindings. X resources specify parameters of a program, especially parameters related to the user interface such as visual appearance, or here user input. – Gilles 'SO- stop being evil' Nov 10 '11 at 23:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.