Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

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.

share|improve this answer
    
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 Nov 10 '11 at 23:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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