Bug 6887 - Add XK_dead_stroke to keysymdef.h
Summary: Add XK_dead_stroke to keysymdef.h
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xlib (show other bugs)
Version: git
Hardware: All All
: high normal
Assignee: Daniel Stone
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-10 19:59 UTC by Egbert Eich
Modified: 2006-06-01 16:37 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Egbert Eich 2006-05-10 19:59:46 UTC
Troy Korjuslommi sent the following request to xorg-arch@.
To me this request seems to make sense, however the xkb maintainer should
ulitmately decide. I'm adding it here so it doesn't get dropped on the floor.

[the component is slightly wrong - but I couldn't find xkb nor proto/X11]
=========================================================

Hi,

I wanted to inquire about making an addition to the 
keysymdef.h file.

Alan Coopersmith said this was the right forum to request
this change.

I am part of the Kotoistus project in Finland. We have
defined a new keyboard layout for Finland. The layout
has been approved by Microsoft, and will be in Vista.
(The Kotoistus project is also a member of Unicode.org for 
CLDR work.)
 
I am in the process of building a keyboard setup for
X windows, and for Linux in particular. 

One problem I have come across is that we need a dead_stroke
key. I discussed this with Simos Xenitellis, and he mentioned
that there was some need for a a dead_stroke character also
for cyrillic scripts.

I was wondering if it was possible to define Ufe63 as dead_stroke?
I.e.
#define XK_dead_stroke    0xfe63

You can find the new layout for Finnish at
http://kotoistus.tksoft.com/linux/symbols_fi.txt


Thank you,



Troy Korjuslommi                Tksoft Inc.
tjk@tksoft.com
Comment 1 Daniel Stone 2006-05-10 21:14:09 UTC
that would be 0x1000fe63, rather than 0xfe63, but I don't see a problem with this.
Comment 2 Jim Gettys 2006-05-10 21:31:20 UTC
Is there a unicode code point for this?  If so, why not just use the unicode
part of the keysym space for defining this.
Comment 3 Daniel Stone 2006-05-10 21:38:19 UTC
UFE63 seems to be 'small hyphen-minus', or so gucharmap tells me.  is that the
intention?
Comment 4 Troy Korjuslommi 2006-05-11 00:51:42 UTC
I picked the value as it is the value after "XK_dead_horn  0xfe62."

Dead stroke doesn't really exist in the same sense as the other dead
letters (which have a corresponding unicode character). The mapping 
to unicode characters must be done on a character by character basis.
It is just convenient to have it, as otherwise we need to assign
a key on the keyboard for each of the characters which have some kind
of stroke in them. 

 
Comment 5 Troy Korjuslommi 2006-05-13 18:37:48 UTC
Bug 6901, the new Finnish keyboard map, uses this key. For now the value is
used, not the word dead_stroke. See the Compose file referenced in the bug
report for how dead_stroke will be used. I guess it makes sense to submit a bug
report on the additions to Compose file only after dead_stroke can be used as a
name...
Comment 6 Daniel Stone 2006-06-01 16:37:14 UTC
committed to xproto HEAD, released as 7.0.7


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.