home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / sysv386 / 13974 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.3 KB

  1. Path: sparky!uunet!pipex!unipalm!uknet!mcsun!sunic!seunet!compound!smith
  2. From: smith@compound.se (Bjorn Smith)
  3. Newsgroups: comp.unix.sysv386
  4. Subject: Does X11R5 supports 8 bit characters ?
  5. Message-ID: <Btzvvv.nK@compound.se>
  6. Date: 3 Sep 92 09:04:43 GMT
  7. Organization: Compound Systems AB
  8. Lines: 33
  9. X-Newsreader: Tin 1.1 PL5
  10.  
  11. In our SVR4 X11R5 environment we are having some difficulties
  12. mapping key codes to character values > 127.
  13. Could anyone please explain why the following doesn`t work ?
  14.  
  15. Mapping a key to "aring" (funny Swedish a-relative) by feeding
  16.  
  17.     keycode 34 = aring Aring
  18.  
  19. into xmodmap. Looking at the result with xev shows exactly what I expect,
  20. the character a with a small circle above (aring).
  21. When I press the same key at the shell prompt I get 'e' echoed back which
  22. is the character value for "aring" with the 8th bit stripped off.
  23.  
  24. Trying
  25.  
  26.     cat > xxx 
  27.  
  28. and the pressing the key gets the same result (the 'e').
  29.  
  30. Then I edit xxx with a binary editor (beav) to containg the proper value
  31. for "aring". After that I type
  32.     
  33.     cat xxx
  34.  
  35. and the famous "aring" comes out as expected.
  36.  
  37. According the xterm manual it should be able to handle 8 bit chars.
  38.  
  39. Many thanks in advance for any kind of help !
  40. -- 
  41. Bj|rn Smith    Compound Systems, phone +46 8 7923689
  42. UUCP:         {uunet,mcsun}!seunet!comsys!smith
  43. Domain Address:    smith@compound.se
  44.