home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / wizards / 3855 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  7.4 KB

  1. Path: sparky!uunet!usc!rpi!scott.skidmore.edu!psinntp!psinntp!tnl!norstar
  2. From: norstar@tnl.com (Daniel Ray)
  3. Newsgroups: comp.unix.wizards
  4. Subject: Re: Extended chars in Unix
  5. Summary: Using 'mapchan' for foreign chars
  6. Message-ID: <395@tnl.com>
  7. Date: 8 Sep 92 15:42:03 GMT
  8. References: <8953@ncratl.AtlantaGA.NCR.COM>
  9. Organization: The Northern Lights, Troy NY
  10. Lines: 234
  11.  
  12. In article <8953@ncratl.AtlantaGA.NCR.COM>, sbarnhar@ncratl.AtlantaGA.NCR.COM (Scott Barnhart) writes:
  13. > I am using Unix SystemVR4, and want to find a way to generate the
  14. > extended ASCII chars from the keyboard.  The reason for this is
  15. > ...
  16.  
  17. I am posting on how to use the SCO XENIX utility 'mapchan' to solve the
  18. problem on foreign chars. I'm not sure if UNIX 4 has it or not. If it does,
  19. one can use the table below to generate all foreign chars plus many useful
  20. symbols. If this works for you, the best place to put it is in /etc/rc after
  21. adding terminals to /etc/default/mapchan or the equivalent config. file.
  22.  
  23. -----------------------cut here--------------------------------------------
  24. #
  25. #    @(#) /usr/lib/mapchan/tnl/tnlcf
  26. #    The Northern Lights
  27. #
  28. # NO DIRECT KEYBOARD MAPPING
  29. # NO DEAD KEY FACILITY
  30. # SETS UP ^_ FOR COMPOSE KEY TO CONSTRUCT ALL EXTENDED ASCII CHARS
  31. #
  32. # You type control-underscore plus two more chars such as ^_ ' e  for
  33. # lowercase e accent acute, etc,...
  34. #
  35.  
  36. input
  37. #
  38. output
  39. #
  40. compose 0x1f    # ^_ (control underscore)
  41. '_' '_' 0x1f    # ^_ (control underscore)
  42. ' ' ' ' 0x9b    # no break space
  43. '`' '`' '`'    # backquote
  44. '"' '"' '"'    # quote
  45. '^' '^' '^'    # circonflex
  46. '6' '6' '^'    # circonflex
  47. '!' '!' 0xad    # inverted !
  48. '8' '8' 0xec    # infinity sign
  49. 'i' 'n' 0xec    # infinity sign
  50. 'I' 'N' 0xec    # infinity sign
  51. 'n' 'o' 0xaa    # not sign
  52. 'N' 'O' 0xaa    # not sign
  53. '?' '?' 0xa8    # inverted ?
  54. '-' '-' 0xc4    # long hyphen
  55. 'E' 'E' 0xe4    # greek uc sigma
  56. '3' '3' 0xe4    # greek uc sigma
  57. 's' 'i' 0xe4    # greek uc sigma
  58. 'S' 'I' 0xe4    # greek uc sigma
  59. 'g' 'e' 0xf2    # greater than or equal
  60. 'G' 'E' 0xf2    # greater than or equal
  61. 'L' 'E' 0xf3    # less than or equal
  62. 'l' 'e' 0xf3    # less than or equal
  63. 'p' 'i' 0xe3    # greek lc pi
  64. 'P' 'I' 0xe3    # greek lc pi
  65. 'G' 'A' 0xe2    # greek uc gamma
  66. 'g' 'a' 0xe7    # greek lc gamma
  67. 'T' 'H' 0xe9    # greek uc theta
  68. 't' 'h' 0xe9    # greek uc theta
  69. 'O' 'M' 0xea    # greek uc omega
  70. 'o' 'm' 0xea    # greek uc omega
  71. 'A' 'L' 0xe0    # greek lc alpha
  72. 'a' 'l' 0xe0    # greek lc alpha
  73. 'E' 'P' 0xee    # greek uc epsilon
  74. 'e' 'p' 0xee    # greek uc epsilon
  75. 'D' 'E' 0xe5    # greek lc delta
  76. 'd' 'e' 0xe5    # greek lc delta
  77. 'B' 'E' 0xe1    # greek lc beta
  78. 'b' 'e' 0xe1    # greek lc beta
  79. 'N' 'U' 0xfc    # greek lc nu
  80. 'n' 'u' 0xfc    # greek lc nu
  81. 'B' 'X' 0xdb    # full filled-in box
  82. 'b' 'x' 0xfe    # small filled-in box
  83. 'B' 'O' 0xb2    # 3/4 shade filled-in box
  84. 'B' 'x' 0xb1    # 1/2 shade filled-in box
  85. 'B' 'o' 0xb0    # 1/4 shade filled-in box
  86. 'R' 'X' 0x9e    # Rx symbol
  87. 'R' 'x' 0x9e    # Rx symbol
  88. 'r' 'x' 0x9e    # Rx symbol
  89. '.' '.' 0xf9    # centered period
  90. 'u' 'n' 0xef    # union sign
  91. 'U' 'N' 0xef    # union sign
  92. 'S' 'Q' 0xfb    # square root sign
  93. 's' 'q' 0xfb    # square root sign
  94. '/' '/' 0xf6    # divisor sign
  95. '~' '~' 0xf7    # approx. equal to
  96. '~' '=' 0xf7    # approx. equal to
  97. '=' '~' 0xf7    # approx. equal to
  98. '=' '=' 0xf0    # identical sign
  99. 'L' '-' 0x9c    # pound sign
  100. 'L' '=' 0x9c    # pound sign
  101. 'l' '-' 0x9c    # pound sign
  102. 'l' '=' 0x9c    # pound sign
  103. 'Y' '-' 0x9d    # yen sign
  104. 'Y' '=' 0x9d    # yen sign
  105. 'y' '-' 0x9d    # yen sign
  106. 'y' '=' 0x9d    # yen sign
  107. 'A' '-' 0xa6    # feminine ordinal indicator
  108. 'A' '_' 0xa6    # feminine ordinal indicator
  109. 'a' '-' 0xa6    # feminine ordinal indicator
  110. 'a' '_' 0xa6    # feminine ordinal indicator
  111. '<' '<' 0xae    # angle quotation mark left
  112. '-' '!' 0xaa    # not sign
  113. '-' '|' 0xaa    # not sign
  114. 'O' ' ' 0xf8    # degree sign
  115. 'o' ' ' 0xf8    # degree sign
  116. 'd' 'g' 0xf8    # degree sign
  117. 'D' 'G' 0xf8    # degree sign
  118. 'o' 'o' 0xf8    # degree sign
  119. '+' '-' 0xf1    # plus/minus sign
  120. '2' '<' 0xfd    # superscript 2
  121. '2' '^' 0xfd    # superscript 2
  122. 0x27 0x27  0x27    # acute accent
  123. 'U' '/' 0xe6    # micro sign
  124. 'u' '/' 0xe6    # micro sign
  125. '/' 'u' 0xe6    # micro sign
  126. '.' '<' 0xfa    # middle dot
  127. '.' '^' 0xfa    # middle dot
  128. 'O' '-' 0xa7    # masculine ordinal indicator
  129. 'O' '_' 0xa7    # masculine ordinal indicator
  130. 'o' '-' 0xa7    # masculine ordinal indicator
  131. 'o' '_' 0xa7    # masculine ordinal indicator
  132. '>' '>' 0xaf    # angle quotation mark right
  133. '1' '4' 0xac    # fraction one-quarter
  134. '1' '2' 0xab    # fraction one-half
  135. 'A' '"' 0x8e    # A umlaut
  136. '"' 'A' 0x8e    # A umlaut
  137. '*' 'A' 0x8f    # A ring
  138. 'A' '*' 0x8f    # A ring
  139. '8' 'A' 0x8f    # A ring
  140. 'A' '8' 0x8f    # A ring
  141. 'A' 'E' 0x92    # AE ligature
  142. 'C' ',' 0x80    # C cedilla
  143. ',' 'C' 0x80    # C cedilla
  144. 0x27 'E' 0x90    # E acute
  145. 'E' 0x27 0x90   # E acute
  146. 'D' '-' 0xe9    # capital Icelandic eth
  147. 'D' 'H' 0xe9    # capital Icelandic eth
  148. 'N' '=' 0xa5    # N tilde
  149. 'N' '~' 0xa5    # N tilde
  150. '~' 'N' 0xa5    # N tilde
  151. '"' 'O' 0x99    # O umlaut
  152. 'O' '"' 0x99    # O umlaut
  153. 'O' '/' 0xed    # O slash
  154. '/' 'O' 0xed    # O slash
  155. 'U' '"' 0x9a    # U umlaut
  156. '"' 'U' 0x9a    # U umlaut
  157. 'P' '1' 0x9e    # capital Icelandic thorn
  158. 'S' 'S' 0xe1    # sharp ss
  159. 's' 's' 0xe1    # sharp ss
  160. 'a' '(' 0x85    # a grave
  161. 'a' '`' 0x85    # a grave
  162. '`' 'a' 0x85    # a grave
  163. 'a' 0x27 0xa0    # a acute
  164. 0x27 'a' 0xa0    # a acute
  165. 'a' '>' 0x83    # a circumflex
  166. 'a' '^' 0x83    # a circumflex
  167. '^' 'a' 0x83    # a circumflex
  168. 'a' '"' 0x84    # a umlaut
  169. '"' 'a' 0x84    # a umlaut
  170. 'a' '*' 0x86    # a ring
  171. '*' 'a' 0x86    # a ring
  172. 'a' '8' 0x86    # a ring
  173. '8' 'a' 0x86    # a ring
  174. 'a' 'e' 0x91    # ae ligature
  175. 'c' ',' 0x87    # c cedilla
  176. ',' 'c' 0x87    # c cedilla
  177. 'e' '(' 0x8a    # e grave
  178. 'e' '`' 0x8a    # e grave
  179. '`' 'e' 0x8a    # e grave
  180. 'e' 39  0x82    # e acute
  181. 39  'e' 0x82    # e acute
  182. 'e' '>' 0x88    # e circumflex
  183. 'e' '^' 0x88    # e circumflex
  184. '^' 'e' 0x88    # e circumflex
  185. 'e' '6' 0x88    # e circumflex
  186. '6' 'e' 0x88    # e circumflex
  187. 'e' '"' 0x89    # e umlaut
  188. 'i' '(' 0x8d    # i grave
  189. 'i' '`' 0x8d    # i grave
  190. '`' 'i' 0x8d    # i grave
  191. 'i' 39  0xa1    # i acute
  192. 39  'i' 0xa1    # i acute
  193. 'i' '>' 0x8c    # i circumflex
  194. 'i' '^' 0x8c    # i circumflex
  195. '^' 'i' 0x8c    # i circumflex
  196. 'i' '6' 0x8c    # i circumflex
  197. '6' 'i' 0x8c    # i circumflex
  198. 'i' '"' 0x8b    # i umlaut
  199. '"' 'i' 0x8b    # i umlaut
  200. 'd' '-' 0xeb    # lowercase Icelandic eth
  201. 'd' 'h' 0xeb    # lowercase Icelandic eth
  202. 'n' '=' 0xa4    # n tilde
  203. 'n' '~' 0xa4    # n tilde
  204. '~' 'n' 0xa4    # n tilde
  205. 'o' '(' 0x95    # o grave
  206. 'o' '`' 0x95    # o grave
  207. '`' 'o' 0x95    # o grave
  208. 'o' 39  0xa2    # o acute
  209. 39  'o' 0xa2    # o acute
  210. 'o' '>' 0x93    # o circumflex
  211. 'o' '^' 0x93    # o circumflex
  212. '^' 'o' 0x93    # o circumflex
  213. 'o' '6' 0x93    # o circumflex
  214. '6' 'o' 0x93    # o circumflex
  215. 'o' '"' 0x94    # o umlaut
  216. '"' 'o' 0x94    # o umlaut
  217. ':' '-' 0xf6    # divide operator
  218. 'o' '/' 0xed    # o slash
  219. '/' 'o' 0xed    # o slash
  220. 'u' '(' 0x97    # u grave
  221. 'u' '`' 0x97    # u grave
  222. '`' 'u' 0x97    # u grave
  223. 'u' 39  0xa3    # u acute
  224. 39  'u' 0xa3    # u acute
  225. 'u' '>' 0x96    # u circumflex
  226. 'u' '^' 0x96    # u circumflex
  227. '^' 'u' 0x96    # u circumflex
  228. 'u' '6' 0x96    # u circumflex
  229. '6' 'u' 0x96    # u circumflex
  230. 'u' '"' 0x81    # u umlaut
  231. '"' 'u' 0x81    # u umlaut
  232. 'p' '1' 0xe8    # lowercase Icelandic thorn
  233. 'y' '"' 0x98    # y umlaut (ij ligature)
  234.  
  235. beep
  236. -----------------------cut here--------------------------------------------
  237.  
  238. -- norstar
  239. The Northern Lights, Troy NY                                 |      
  240. tnl dialins: 518 237-2163 @ 300-2400 bps 8N1 $free         ` | /    
  241. ------------------------------------------------------   --- * ---  
  242. UUCP: uupsi3!tnl!norstar                                   / | .    
  243. Internet: norstar@tnl.com                                    |      
  244.