Re: FVWM: my wish list

From: Jim Clark <jimc_at_ind.tansu.com.au>
Date: Wed, 27 Sep 1995 07:34:15 +1000 (EST)

>
> >
> > >>>>> "Scott" == Scott RoLanD <shr_at_s3.com> writes:
> >
> > Scott> NOte, I am willing to believe that the following might show my
> > Scott> cluelessness. I am currently using fvwm 1.24r. If there is
> > Scott> someway to accomplish the following, even with just an upgrade
> > Scott> to the beta 2.0, please let me know.
> >
>
> I have a similar question. I read that in the X-window FAQ :
>
> ------------------------------------------------------------------------------
> Subject: 20) How do I remap the keys on my keyboard to produce a string?
>
> There is no method of arranging for a particular string to be produced
> when you press a particular key. The xmodmap client, which is useful for
> moving your CTRL and ESC keys to useful places, just rearranges keys and does
> not do "macro expansion."
> [deleted text]

You can however map keys to strings within an xterm by setting up keymap
translations in your Xresource (or Xdefaults) file (handy for function key
shortcuts).
>From the Xterm manpage;

     Below is a sample how of the keymap() action is used to add
     special keys for entering commonly-typed works:

         *VT100.Translations: #override <Key>F13: keymap(dbx)
         *VT100.dbxKeymap.translations: \
              <Key>F14: keymap(None) \n\
              <Key>F17: string("next") string(0x0d) \n\
              <Key>F18: string("step") string(0x0d) \n\
              <Key>F19: string("continue") string(0x0d) \n\
              <Key>F20: string("print ") insert-selection(PRIMARY, CUT_BUFFER0)


Jim
-- 
       .    +-----------------------------------------------------------------+
   ,--_|\   | Jim Clark - Consultant for Real Time Australia, Pty. Ltd.       |
  /  Oz  \  |           - at Telecom's  Intelligent Network Development       |
  \_,--\_/  | 'what we see is what we get; nothing else is real' - Niels Bohr |
        v   +-----------------------------------------------------------------+
--
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue Sep 26 1995 - 16:32:18 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:57 BST