[Prev][Next][Index]

Re: Alt and Meta modifiers



        Hi,

        Thanks for advice, this   works fine, but can't  help me.
This binds LeftAlt to  Meta,  but RightAlt binds to  ModeShift(or
Mode_switch???).  Keycode of  ModeShift is  equivalent to keycode
of AltGraph   on Sun-4 keyboard.   But  I don't know how  to bind
emacs   function   to  this  modifier.     According   to   emacs
documentation,  it may bind its  actions only to Alt,Meta,Control
or Shift modifiers.

I tried:
        RightAlt    Alt
but this don't work.

        Can somebody help? How can I bind right Alt to Alt?
Or how can I bind emacs function to Mode_switch modifier?

Thanks,
Daniel


>>>>> "Evgeny" == Evgeny Stambulchik <fnevgeny@plasma-gate.weizmann.ac.il> writes:

    Evgeny> danielv@msil.sps.mot.com (Daniel Vainer) wrote:
    >> 
    >> Hi all,
    >> 
    >> When I work on my Sun station I bind a few emacs-function
    >> with Alt-something keys.  And emacs binds a  lot  of its function
    >> with  Meta-something.  On  Sun   keyboard   I have two   separate
    >> modifiers  Alt and Meta,   so these definitions  don't interfere.
    >> For example Meta-x is the execute-extended-command emacs function
    >> and Alt-x is the my own exit function.
    >> 
    >> In Linux we have only one Alt modifier. All tools (I know
    >> about emacs and  tcsh) use it as Meta  modifier.  Can I use  left
    >> Alt as Meta and right Alt  as Alt ? I  tried to play with xmodmap
    >> but never had success. Does somebody knows way how to do this?

    Evgeny> Make sure you have the following lines uncommented in your XF86Config file:

    Evgeny>     LeftAlt     Meta
    Evgeny>     RightAlt    ModeShift

    Evgeny> (This should be in the "Keyboard" section)

    Evgeny> Evgeny