Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!apple!sun-barr!texsun!pollux!ti-csl!islington-terrace.csc.ti.com From: pf@islington-terrace.csc.ti.com (Paul Fuqua) Newsgroups: comp.windows.x Subject: Re: Sun function keys [really binding strings to keys for text apps] Message-ID: <91821@ti-csl.csc.ti.com> Date: 20 Sep 89 17:12:30 GMT References: <8909191242.AA17680@expo.lcs.mit.edu> Sender: news@ti-csl.csc.ti.com Organization: TI Computer Science Center, Dallas Lines: 32 Moon: Waning Gibbous (67% of full) Date: Tuesday, September 19, 1989 7:42am (CDT) From: jim at EXPO.LCS.MIT.EDU (Jim Fulton) Subject: Re: Sun function keys [really binding strings to keys for text apps] For example, the command xterm -xrm 'XTerm*VT100.Translations: #override F1: string("hello")' pops a window in which pressing F1 causes the string "hello" (without the quotes) to appear in the input stream. If this is for something that you use often, you should put the declaration into your resource database. In my resource database, I have XTerm*Translations: #override F28: string("clear") string(0x0d)\n\ Clear: string(0x15) (That makes the clear-screen key on my lispm send "clear\n" and the clear-input key send ^U.) Whenever I start up an xterm, I get the message "X Toolkit Warning: Actions not found: string" although everything actually works. I see the message when I start xterm on a Sun 4/280 or a MIPS M2000 running X11R3, but not when I start one on a Stellar running something X11R2ish. What's the problem? Paul Fuqua pf@csc.ti.com {smu,texsun,cs.utexas.edu,rice}!ti-csl!pf Texas Instruments Computer Science Center PO Box 655474 MS 238, Dallas, Texas 75265