Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Apr 1999 22:02:47 -0800 (PST)
From:      Randy Bush <randy@psg.com>
To:        Dennis Rockwell <dennis@bbn.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: flag and alt as meta in X 
Message-ID:  <m10Tfzb-0008G4C@rip.psg.com>
References:  <randy@psg.com> <m10SvsV-0008G4C@rip.psg.com> <199904021741.MAA05858@po1.bbn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>> how can i make the billy-flag-keys and the alt keys all act as meta in open
>> mode (pc3), xterms, and emacs?
> Here's what I do, I think it's even the right thing.  The
> first two lines change the misplaced CAPS LOCK key to CTRL,
> as it should be.
> 
> In .xsession, I have
> 	xmodmap .Xmodmap-FreeBSD
>
> and .Xmodmap-FreeBSD contains
> clear lock
> add control = Caps_Lock
> clear mod4
> add mod1 = Meta_L
> add mod1 = Meta_R

this seems to have changed nothing.  

i already had caps-lock and control mapped to control, using /etc/XF86Config

    Section "Keyboard"
       Protocol        "Standard"
       AutoRepeat      500 30
       LeftAlt         Meta
       RightAlt        Meta
       ScrollLock      Compose
       RightCtl        Control
       XkbKeycodes     "xfree86"
       XkbTypes        "default"
       XkbCompat       "default"
       XkbSymbols      "us(pc101)"
       XkbGeometry     "pc"
       XkbRules        "xfree86"
       XkbModel        "pc104"
       XkbLayout       "us"
       XkbOptions      "ctrl:nocaps"
    EndSection

what's funny is that my desktop with a 104 key keyboard has 
  ALT  == meta for tvtwm control
  flag == meta in emacs and xterm

my sony laptop with 101 keyboard has 
  ALT == meta for tvtwm, emacs, and xterm

what i want is
  (ALT|flag) == meta in tvtwm, emacs, and xterm

and i am beginning to feel pretty stoopid.

randy


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m10Tfzb-0008G4C>