Hello there all unix type people
Does anyone know how I could programme the function keys so that they could
enter some text into a GUI rather than write the same thing 20 times a day.
Thanks for any help
Kev G
Does anyone know how I could programme the function keys so that they could
enter some text into a GUI rather than write the same thing 20 times a day.
Thanks for any help
Kev G
> Hello there all unix type people
> Does anyone know how I could programme the function keys so that they could
> enter some text into a GUI rather than write the same thing 20 times a day.
Although this sounds like a simple thing it is in fact very complicated
in the GUI world. Particularly in the X GUI world which is where I assume
you are. There is no general means of doing this that will work for any
GUI attached to any keyboard device.
Check to see if the GUI app supports this. For example, you can program
the function keys for an xterm (or derivatives thereof) by setting translations
in a resource file (e.g. .Xdefaults). Perhaps the app you are using will
support this. IF this GUI happens to be Motif based and the widget you are
typing into happens to be an XmText widget then you can set translations
by putting something like the following in your .Xdefaults file:
guiname*XmText.translations: #override\n\
<Key>F5: insert-string("hello")\n\
<Key>F6: insert-string("goodbye")\n
Otherwise, perhaps you can actually program the keyboard you are typing on.
Look to the documentation of the keyboard (or the system it is part of) to
see if this can be done.
HTH,
-- ced
--
Chuck Dillon
Senior Software Engineer
Genetics Computer Group, a subsidiary of Pharmacopeia, Inc.
XFree86 xterm and dtterm recognize the vt220 DECUDK which lets one programQuote:> Check to see if the GUI app supports this. For example, you can program
> the function keys for an xterm (or derivatives thereof) by setting translations
--
http://dickey.his.com
ftp://dickey.his.com
1. Newbie CShell Programing VT320 Function keys How ???
I wish to program a VT320+'s function keys on login, then run an application
then when the user logs out I wish to return the Function keys to thier
factory defaults.
Any help greatfully recived
Ben the Bemused ;-}
2. Getty does not want to go to VC 12, help!!
3. Programming of Function keys
4. Help interpreting PDT message
5. Programming the function keys in Xterm
6. Help: Mandrake 9.2- my eth1 won't talk to my ADSL modem
7. Newbie Q: Programming Function Keys in Linux
9. Problem with programming function keys
10. Function keys, with remote programs don't work
13. How do I program SCO TermLite Function Keys?