xwem-devel
[Top] [All Lists]

Re: H-u and H-0...H-9 don't works

From: Zajcev Evgeny <zevlg@xxxxxxxxx>
Subject: Re: H-u and H-0...H-9 don't works
Date: Mon, 24 Mar 2008 02:30:56 +0300
Cc: XWEM <xwem-devel@xxxxxxxx>
Organization: xwem.org
Sender: xwem-devel-bounces@xxxxxxxx
User-agent: Gnus/5.1008 (Gnus v5.10.8) SXEmacs/22.1.7 (berkeley-unix)
"Paul Csanyi" <csanyipal@xxxxxxxxx> writes:

> Hello!
>
> I am new to the xwem.
>
> When I started xwem with startx I can't to use H-u and H-0...H-9
> universal argument commands.

You have to setup Hyper key on your keyboard.  You do this by adding
next to your `.xinitrc':

  xmodmap -e "keycode 115 = Hyper_L"
  xmodmap -e "keycode 116 = Hyper_R"
  xmodmap -e "add mod3 = Hyper_L Hyper_R"

where 115 and 116 are keycodes you want to dedicate for Hyper key.

To find out keycode of particular key on your keyboard, use standard
`xev' utility from X distribution.

After you have setup Hyper key, check it with `xev', try different
combinations, like `H-1', `H-m', `H-C-1', `H-M-<tab>', etc, xev should
report what actually happens.

Also, in order to run xwem you must allow TCP connections to X display
(becase the only way to communicate with X server is TCP socket, AFAIK
there is still no support for unix sockets in (S)XEmacs).  So make
sure you have:

   DisallowTCP=false

in [security] section of your gdm.conf (or whatever)

You might also add in `.xinitrc':

   xhost localhost

to allow local TCP connections to X display.

Anyway, you are very brave to try thing out!  xwem is too user
unfriendly even for mature Emacs hackers ;)

>
> I don't know nothing about these commands.
>
> Is there some document about this for novice xwem users?
>
> Any advices will be appreciated!
>
> -- 
> Regards, Paul Csanyi
> http://www.freewebs.com/csanyi-pal/index.htm

-- 
XWEM - RMS runs Emacs from inside an XWEM frame.

<Prev in Thread] Current Thread [Next in Thread>