[comp.windows.x] How Can I Use Fonts' Diacriticals?

drapeau@jessica.stanford.edu (George D. Drapeau) (03/29/89)

We have a French professor here who would like to use X for one of his
classes, part of which would mean the students typing French on the
workstations.  I would like to know how I can map the keyboard so that
students could get access to the diacritical characters in some of the
fonts.  If you type, for example,

	xfd '*times-medium-r-normal--18*'

with an R3 server, you'll see the characters I'm talking about.  I've
looked at the man page for 'xmodmap' and typed 'xmodmap -pk'.
The information I'm given is that only keycodes 8 through 129 are
available to me, but the diacriticals are obviously not included in
that range.

I should mention that I'm on a Sun4; I don't know if that'll make any
difference.  Perhaps the Sun sample server only supports the range I
mentioned.  Is that limitation only with the Sun server?

Is there anything I can do to get access to those diacriticals?

Thanks in advance,

______________________________________________________________________________
George D. Drapeau			Internet: drapeau@jessica.stanford.edu
Academic Information Resources
Stanford University

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (03/29/89)

    I've looked at the man page for 'xmodmap' and typed 'xmodmap -pk'.
    The information I'm given is that only keycodes 8 through 129 are
    available to me, but the diacriticals are obviously not included in
    that range.

Keycodes are NOT the same as character codes.  Keys are labelled with
keysyms, and the keysyms are the basis of translation to characters.
The simplest way to get diacriticals is to relabel your some of your
keys (e.g. using xmodmap) so that diacritical keysyms are somewhere on the keyboard.