7

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?

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
jwd
  • 1,282
  • 8
  • 12

1 Answers1

5

http://menehune.opt.wfu.edu/Kokua/Irix_6.5.21_doc_cd/usr/share/Insight/library/SGI_bookshelves/SGI_Developer/books/XLib_WinSys/sgi_html/ch08.html

#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.

camh
  • 38,261
  • 8
  • 74
  • 62
  • 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