home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / softsys / andrew / 1476 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  1.5 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!MONSTER.UMD.EDU!greene
  2. From: greene@MONSTER.UMD.EDU (Stephan Greene)
  3. Newsgroups: comp.soft-sys.andrew
  4. Subject: Re: National characters in texts
  5. Message-ID: <gfG=iHs00k00JQTmt9@monster.umd.edu>
  6. Date: 4 Jan 93 22:34:59 GMT
  7. References: <1i9m56INNah0@fbi-news.Informatik.Uni-Dortmund.DE>
  8. Sender: daemon@ucbvax.BERKELEY.EDU
  9. Distribution: world
  10. Organization: The Internet
  11. Lines: 31
  12.  
  13.  
  14. > What annoys me is that typing a national character (i. e. a German
  15. > umlaut) in, say, ez
  16. > crashes the application.
  17.  
  18. I think this is the same problem that I encountered and fixed when I was
  19. working on an ISO keyboard in Sweden this summer (a DECstation, in that
  20. case). It occurs when you have a keyboard that sends 8-bit characters
  21. directly to the application, as opposed to your having mapped a
  22. key-sequence of 7-bit characters to self-insert an 8-bit character.
  23. Correct me if I'm wrong, but in this case the compchar package has
  24. nothing to do with it.
  25.  
  26. I went into the following files, and changed some "char" declarations to
  27. "unsigned char" and the problem was solved. I don't have the details
  28. handy, but the places to do it are pretty obvious. I would think you
  29. need to hit the SelfInsert routines in the txt*.c files at the very
  30. least. This may be overkill, but I made that change in these files:
  31.  
  32. bind.c
  33. bind.ch
  34. keymap.c
  35. keymap.ch
  36. txtcmds.c
  37. txtvcmod.c
  38.  
  39. This was in ATK 5.0. I can dig up the files if anyone wants to diff them
  40. against newer versions.
  41.  
  42. Stephan Greene
  43. University of Maryland
  44.