[comp.windows.x] National characters keyboard X11

gosv@logm.se (Guran Svensson) (03/28/91)

---------------------------------------------------------------
FROM:
	Goran Svensson
	Telesoft
	Box 4148 Malmo
	SWEDEN

	ph  46-40-254876 (office)
	fax 46-40-254880

	net address:  gosv@logm.se

----------------------------------------------------------------

	I have problems concerning national letters and X-environment.
	I use ISO-8859 font and it displays as it should on output from
	programs (also executed from within xterm).

	Problem 1:	Running xterm, 8 bit characters generated from keyboard
			gets displayed as square and bell.
			Simular problem with an application using  Athena Text
			widget.

	Problem 2:	Remapping the keyboard with xmodmap I would like to
			use two modifier keys ex. Compose Shift key, and 
			should then need four keysym per key.
			I need this to use national keyboard Europe.
			But I can only get two keysym assigned to a key, 
			ie. unshifted and shifted.

	System I am using:
		SUN Sparc 1+
		SUN OS 4.1.1
		X11 Release 4


	Please send any answers direct to my address 'gosv@logm.se' since I 
	have no direct access to your database.

					Goran Svensson

mouse@lightning.mcrcim.mcgill.EDU (der Mouse) (04/02/91)

> I have problems concerning national letters and X-environment.  I use
> ISO-8859 font and it displays as it should on output from programs
> (also executed from within xterm).

> Problem 2:	Remapping the keyboard with xmodmap I would like to use
> 		two modifier keys ex. Compose Shift key, and should
> 		then need four keysym per key.  I need this to use
> 		national keyboard Europe.  But I can only get two
> 		keysym assigned to a key, ie. unshifted and shifted.

That's what the Mode_switch keysym is for.  Put the Mode_switch keysym
on some key, then tie that key to an unused modifier bit.  Then, when
that key is down, the third and fourth columns will be used instead of
the second and third columns for a given key.

(Yes, this should be more extensible....)

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu