[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to map F12 to a string in XWindow



Paulo Henrique Baptista de Oliveira <baptista@linuxsolutions.com.br> writes:

>   Something else people like to change are the bindings of the function
>   keys.  Suppose that you want to make F12 produce the string "emacs ".

> 	Now I want to know how to the same thing in a xterm inside XWindow.
> 	How can I do this?

You'd need to add an X resource.  From looking at xterm(1), it looks
like you should add

XTerm*VT100.Translations: #override <Key>F12: string("emacs ")

to your .Xresources file, then run 'xrdb -merge .Xresources'.

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: