From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Dvorak layout except when modifier key is pressed Date: Fri, 28 Dec 2007 01:27:20 +0100 Message-ID: <8EF9025B-2D06-4E54-839D-F18BB3DB297B@Web.DE> References: <86prwu1zg1.fsf@eder.homelinux.net> <0KudnQIkqchLee7anZ2dnUVZ_tWtnZ2d@sysmatrix.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1198801676 31322 80.91.229.12 (28 Dec 2007 00:27:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Dec 2007 00:27:56 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: B. T. Raven Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 28 01:28:07 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J8354-0002bU-JF for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Dec 2007 01:28:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J834j-0008Ce-CM for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Dec 2007 19:27:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J834Q-0008AD-1f for help-gnu-emacs@gnu.org; Thu, 27 Dec 2007 19:27:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J834P-00088O-1T for help-gnu-emacs@gnu.org; Thu, 27 Dec 2007 19:27:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J834O-000888-LD for help-gnu-emacs@gnu.org; Thu, 27 Dec 2007 19:27:24 -0500 Original-Received: from fmmailgate02.web.de ([217.72.192.227]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J834O-0004fi-5I for help-gnu-emacs@gnu.org; Thu, 27 Dec 2007 19:27:24 -0500 Original-Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate02.web.de (Postfix) with ESMTP id 49021C0A136C; Fri, 28 Dec 2007 01:27:23 +0100 (CET) Original-Received: from [195.4.206.116] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #208) id 1J834N-0000mz-00; Fri, 28 Dec 2007 01:27:23 +0100 In-Reply-To: <0KudnQIkqchLee7anZ2dnUVZ_tWtnZ2d@sysmatrix.net> X-Mailer: Apple Mail (2.753) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/EX03yrzM84qRVkIgM9ODlv0kkSbjcrHGGD4FT 1+Ns4YH7kYyPGFsZWo8w31MPxahJPKxlS1ZAKGJ+H0dNeKtmZp EY0clpDb0FC5Soj2XMMQ== X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50352 Archived-At: Am 27.12.2007 um 18:45 schrieb B. T. Raven: > Does any of you know what xmodmap expressions I can put in some =20 > file so that my two users (ec and su or sudo) can have the same =20 > keyboard with bottom row super, alt, ctl, space, ctl, alt, super, =20 > hyper? In shell you can 'man xmodmap', in GNU Emacs you have two more =20 choices: manual-entry and woman. > > Are Mod1 thru Mod5 synonyms for these modifiers keys? More =20 > importantly, is this system level stuff off topic here? These are the generic symbols. You can make them being this or that =20 or something else. To change a previous setting (xmodmap -pm), you =20 first need to "reset" it: clear Shift clear Lock clear Control clear Mod1 clear Mod2 clear Mod3 clear Mod4 clear Mod5 then ad(d)just: add Shift =3D Shift_L Shift_R add Lock =3D Caps_Lock add Control =3D Control_L Control_R add Mod1 =3D Mode_switch Mode_switch add Mod2 =3D Meta_L Meta_R add Mod3 =3D Alt_L Alt_R add Mod4 =3D Hyper_L Hyper_R add Mod5 =3D Super_L Super_R Generally you can set the "key bindings" like: keycode 0x35 =3D n N dead_tilde = U203A keycode 66 =3D Meta_L (first line hex value for key code, second example with decimal value) First column: no modifier Second column: with Shift modifier Third column: with Alt modifier Fourth column: with Shift and Alt modifiers The names are defined in /usr/X11/include/X11/keysymdef.h. Multi_key is a nice thing: pressing Multi_key o / could produce =F8. =20 Not sure whether it's still supported ... -- Mit friedvollen Gr=FC=DFen Pete Eat the rich =96 the poor are tough and stringy.