SUMMARY2: Some problem around my own Xmodmap table

From: Irene A. Shilikhina <irene_at_alpha.iae.nsk.su>
Date: Sat, 18 Mar 2000 10:37:04 +0600 (NSK)

Perhaps I should submit yet another summary. Here it is.

The program 'xev' showed that those keys that caused trouble in
conjunction with certain modifiers did not generate any X events.
Then I tested a number of various keyboards, and all tested keyboards
of the same sort as I used (non-DEC) manifested the same malfunction.
C'est la vie... I installed the right keyboard, and since then everything
has been working as it should.

I would like to thank:
Lucio Chiappetti, Peter Stern, Ann Cantelow, and V.S. Glukhov for their
responses to my summary. Lucio Chiappetti suggested other approach to
my target, while Peter Stern and V.S. Glukhov suspected that I had no 'xev'
in my 4.0D system because I had not installed all the necessary X subsets
 - I'll check it up. Below are my first summary and original question.

Irene
P.S. 'xev' from 3.2c worked out fine.
*************************************************************************
* *
* Irene A. Shilikhina e-mail: irene_at_alpha.iae.nsk.su *
* System administrator, *
* Institute of Automation & Electrometry, *
* Siberian Branch of Russian Academy of Sciences, *
* Novosibirsk, Russia *
* http://www.iae.nsk.su/~irene *
*************************************************************************
* *
* The road to hell is paved with good intentions. *
* *
*************************************************************************

On Fri, 17 Mar 2000, Irene A. Shilikhina wrote:

>
> Hello managers,
>
> I have got three answers (let alone one from Joe Carrico who promises to
> respond to my message when he returns - thanks in advance :-), all of them
> very useful. Many thanks to:
>
> Lucio Chiappetti,
> Joerg Bruehe,
> Kazuro FURUKAWA,
>
> who showed quite different approach to the problem (not problem actually but
> an interesting question for me).
>
> I am very interested in the advice by Lucio Chiappetti who suggested that
> I should use the program /usr/bin/X11/xev I did not know about. This program
> reports on KeyPress and KeyRelease events as well as keycodes and keysyms.
> Unfortunately, there is no 'xev' in 4.0D but I found it in 3.2c (which I
> still have, off line although). I'll try it under 4.0D if it works.
>
> Kazuro FURUKAWA suggested to try a xterm keymap translation resource,
> instead of x keymap with xmodmap. He also attached information on a
> package that he's got some time ago from his Russian friend.
>
> Joerg Bruehe turned my attention to the possibility of interference between
> different modifiers implying the special meaning of 'ctrl-s' and 'ctrl-q' -
> in particular the keys corresponding to 's' and 'q' make difficulty. This
> coincidence also occured to me, although I don't know how it may be.
> Perhaps 'xev' will be able to answer this question.
>
> So, I am inclined to try first 'xev'- if it is possible in 4.0D. Eventually,
> for me, the matter is to understand WHY this is so (since an evident bypass is
> to assign these keysyms to unused keys).
>
> [By the way, even in www.unix.digital.com/faqs, 4.0D documentation on
> X Window System Environment describes the things as they are in 3.2
> rather than in 4.0D. So, there is some discrepancy between the documentation
> and real life. Even prototype for my Xmodmap table I only found in 3.2c.
> There is no /usr/var/X11/xdm/keymap_default link and there is /usr/var/X11/xkb
> directory arranged the other way than 3.2 /usr/lib/X11/keymaps].
>
> Thanks again,
> Irene
>
----------------------------------->%----------------------------------------
>
> On Thu, 16 Mar 2000, Irene A. Shilikhina wrote:
>
> >
> > Hello managers,
> >
> > I have recently created my own Xmodmap table in order to be able (in one
> > of my windows where I load it using xmodmap command and with the appropriate
> > switch key) to work in another language (Russian actually) as well as the
> > default one. So, for example in pine, I can use both alphabets, and
> > everything is working fine - to the exclusion of three (Russian) letters in
> > upper case (in lower case they are printed OK) which are not printed at
> > all, and these bytes even do not go to the file.
> >
> > I have checked up my table umpteen times, moreover, I scratched a tiny
> > little C-program which wrote hex values corresponding to those keysyms to
> > a file, and this file is printed as it should.
> >
> > Further, I assigned these keysyms to other keycodes, and again, these
> > letters were printed correctly.
> >
> > These letters correspond to the keys with 'a', 's', and 'q' letters in
> > Latin, if it is the matter.
> >
> > I suspect there is some mistake in my modifier list. Here it is:
> >
> > clear Shift
> > clear Lock
> > clear Control
> > clear Mod1
> > clear Mod2
> > clear Mod3
> > clear Mod4
> > clear Mod5
> >
> > add Shift = Shift_L Shift_R
> > add Control = Control_L Control_R
> > add Mod1 = Alt_L Alt_R
> > add Mod2 = Mode_switch
> > add Mod4 = Num_Lock
> > add Mod5 = Scroll_Lock
> >
> > keycode 57 = Mode_switch
> >
> > So, I use CapsLock as Rus/Lat switch key.
> >
> > I'll be happy if someone can shed lights upon this. The keyboard is PCXAL,
> > system version 4.0D on DEC 2000 model 300.
> >
> > Thanks,
> > Irene
>
Received on Sat Mar 18 2000 - 05:05:05 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT