Lenient dead keys

Andre Majorel aym-11x at teaser.fr
Wed Jan 4 14:10:00 PST 2012


On 2012-01-02 18:46 +0200, Simos Xenitellis wrote:

> What I understand is that, even though you can have a dedicated physical
> key that outputs ^,
> you would like the ability to get dead_circumflex + [character] to print
> '^[character]',
> for those characters that do not take a precomposed circumflex.

Yes. I would like [^] to act as a dead key when it's useful and
as a normal key when it's not.

> In any case, since you use plain xterms, you can create compose sequences
> that you add in your ~/.XCompose
> that cover those combinations that dead_circumflex is not supposed to work
> with.
> For example, for 'b', you would add the line
> 
> <dead_circumflex> <b> : "^b"
> <dead_circumflex> <B> : "^B"
> 
> These two rules say that when you press the keys before the ':', you get
> the string after the ':' (the string in quotes).

Very good, thank you (and Alan). It's tedious and fundamentally
insane but it works. Except for control characters which don't
have a keysym, i.e. most of them.

If someone ever considers adding a pragmatic-dead-keys flag
to XKB, they have my vote.

-- 
André Majorel http://www.teaser.fr/~amajorel/



More information about the xorg mailing list