home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / e / k95hebrew.txt < prev    next >
Text File  |  2020-01-01  |  9KB  |  200 lines

  1. KERMIT 95 HEBREW CHARACTER-SET SUPPORT
  2.  
  3.   As of: Kermit 95 1.1.16
  4.   For:   Windows 95, Windows NT, OS/2
  5.   Date:  8 February 1998
  6.  
  7.  
  8. 1. HEBREW FILE TRANSFER
  9.  
  10. Hebrew file transfer is fully described in "Using C-Kermit", second edition.
  11.  
  12. Commands:
  13.  
  14. SET TRANSFER CHARACTER-SET HEBREW-ISO
  15.   ISO 8859-8 Latin/Hebrew Alphabet
  16.  
  17. SET FILE CHARACTER-SET HEBREW-ISO
  18.   ISO 8859-8 Latin/Hebrew Alphabet
  19.  
  20. SET FILE CHARACTER-SET CP862
  21.   Hebrew PC Code Page
  22.  
  23. SET FILE CHARACTER-SET HEBREW-7
  24.   DEC 7-Bit (VT100) Hebrew
  25.  
  26. An invertible translation table between Latin/Hebrew and CP862 is used during
  27. both terminal emulation and file transfer.  The translation table between
  28. Hebrew-7 and Latin/Hebrew, however, is not invertible because these character
  29. sets are different sizes.
  30.  
  31. Here is an example of uploading a Hebrew file from a PC to UNIX.  The PC
  32. version is coded in the Hebrew PC code page, and the UNIX version is to be
  33. stored in the 7-bit Hebrew character-set so it can be sent as network e-mail:
  34.  
  35. C-Kermit> set file character-set hebrew-7 ; I want 7-bit text for email
  36. C-Kermit> receive                         ; Wait for the file.
  37. <Alt-X>                                   ; Escape back to the PC
  38. K-95> set file type text                  ; Make sure we are in text mode
  39. K-95> set file character-set cp862        ; File is in Hebrew PC code page
  40. K-95> set xfer character-set hebrew       ; Send using ISO Latin/Hebrew
  41. K-95> send rab.oof                        ; Send the file
  42.  
  43. The file sender automatically tells the file receiver that the transfer
  44. character-set is Hebrew.
  45.  
  46. The three Hebrew character sets are also available for use in Kermit's
  47. TRANSLATE command, which translates a local file from one character-set to
  48. another.  Thus you can use Kermit to convert a local file from, say,
  49. Latin/Hebrew to Hebrew-7.
  50.  
  51. Kermit's Hebrew file transfer features can be used in conjunction with MS-DOS
  52. Kermit 3.13 and later and C-Kermit 5A(189) and later (with which Kermit 95
  53. shares the same translation tables to ensure consistent translations) and IBM
  54. Mainframe Kermit 4.2 or later, which translates between Latin/Hebrew and IBM
  55. CECP 424 (the Hebrew EBCDIC Country Extended Code Page).
  56.  
  57.  
  58. 2. HEBREW TERMINAL EMULATION
  59.  
  60. "Hebrew terminal emulation" means the use of Hebrew characters while emulating
  61. VT100, VT320, ANSI, or other type of terminal, and translation between the
  62. Windows encoding for Hebrew and the host encoding.
  63.  
  64. It does not mean right-to-left writing direction; thus it would be the
  65. responsibility of the host application to place Hebrew characters in the
  66. desired position on the screen by using escape sequences.  This should not
  67. be surprising, however, since very few of the terminals that Kermit
  68. emulates support right-to-left writing direction either.
  69.  
  70. Kermit 95's Hebrew support is widely used with Hebrew University's ALEPH
  71. bibliographic software.
  72.  
  73. 2.1. The PC Hebrew Character Set
  74.  
  75. Kermit 95 can be used to read and write Hebrew characters on the host if you
  76. have the Hebrew code page, CP862, loaded on your PC.  In Windows 95, it is not
  77. likely that you have this, or can have it, unless you have installed the
  78. Israeli (or Hebrew) version of Windows; see the BUGS.TXT file for more
  79. information about this.
  80.  
  81. As of Kermit 95 1.1.8, in Windows NT only, we don't use code pages any more,
  82. but instead we use Unicode, which NT supports.  The recommended font is
  83. Lucida Console (fixed-pitch Unicode), but unfortunately the USA version of
  84. this font does not include a full set of Hebrew letters.  It is not known
  85. whether the Lucida console version that comes with Hebrew Windows NT includes
  86. full Hebrew support.
  87.  
  88. The OS/2 version of Kermit 95 comes with a Hebrew "PC font" equivalent to
  89. Code Page 862.  You can use this in fullscreen sessions only -- NOT in an OS/2
  90. Window, and even then it works only if your video driver allows it.  In
  91. Kermit/2, the command:
  92.  
  93.   SET TERMINAL CODE-PAGE 862
  94.  
  95. actually attempts to load the Hebrew CP862 font into your video adapter
  96. (this can't be done in Windows 95). 
  97.  
  98. 2.2. Hebrew Character-Set Translation
  99.  
  100. Hebrew character-set translation is enabled during terminal emulation
  101. via the command:
  102.  
  103.   SET TERMINAL REMOTE-CHARACTER-SET { HEBREW-ISO, HEBREW-7, CP862 }
  104.   SET TERMINAL LOCAL-CHARACTER-SET CP862
  105.   SET TERMINAL BYTESIZE 8    ; Not needed for Hebrew-7
  106.  
  107. (choose the character set that is appropriate for the host or service
  108. you are connecting to.)
  109.  
  110. HEBREW-ISO is ISO 8859-8, the Latin/Hebrew Alphabet.
  111. HEBREW-7 is 7-bit Hebrew as implemented on Hebrew-model DEC VT100 terminals.
  112. CP862 is the PC Hebrew code page.
  113.  
  114. 2.3. Entering Hebrew Characters on the Keyboard
  115.  
  116. If you are using Windows 95, and you have a Hebrew keyboard and driver, you
  117. might need to tell Kermit 95 to:
  118.  
  119.   SET WIN95 KEYBOARD HEBREW
  120.  
  121. and then you can use your keyboard in the normal manner.
  122.  
  123. If you do not have a Hebrew keyboard and driver, you can use Kermit 95's
  124. built-in Hebrew keyboard mode:
  125.  
  126.  . The \KkbHebrew verb, which may be assigned to any key.  It is assigned by
  127.    default to Ctrl-Alt-Shift-H.  It switches the main keypad (mostly the
  128.    lowercase letters) into Hebrew mode (see keymap below).  When the keyboard
  129.    is in Hebrew mode, the terminal type in the status line has "-H" appended
  130.    to it, for example "VT220-H".
  131.  
  132.  . The \KkbEnglish verb to switch the main keypad back to English mode.
  133.  
  134.  . The \KkbHebrew function is performed automatically in VT emulation if
  135.    the host application sends CSI ? 35 h, and the \KkbEnglish function with
  136.    CSI ? 35 l.
  137.  
  138.  . Hebrew keyboard mode is cleared when you execute the \Kreset (reset
  139.    terminal) function, assigned to Alt-r by default.
  140.  
  141. The Hebrew key layout associated with these verbs follows follows the layout
  142. used by Hebrew WordPerfect, Windows, and Word.  The names of the Hebrew
  143. letters are from the ISO 8859-8 Standard.  These are the key assignments when
  144. the keyboard is in Hebrew mode, listed in three different orders for easy
  145. lookup:
  146.  
  147. Hebrew Order             Roman Order              QWERTY Keyboard Order
  148.  
  149.   q = Slash                , = Taw                  q = Slash
  150.   w = Apostrophe           . = Terminal Zade        w = Apostrophe
  151.   ' = Comma                ' = Comma                e = Qoph
  152.   / = Period               / = Period               r = Resh
  153.   t = Aleph                ; = Terminal Pe          t = Aleph
  154.   c = Bet                  a = Shin                 y = Tet
  155.   d = Gimel                b = Nun                  u = Waw
  156.   s = Dalet                c = Bet                  i = Terminal Nun
  157.   v = He                   d = Gimel                o = Terminal Mem
  158.   u = Waw                  e = Qoph                 p = Pe
  159.   z = Zain                 f = Kaph                 a = Shin
  160.   j = Chet                 g = Ayin                 s = Dalet
  161.   y = Tet                  h = Yod                  d = Gimel
  162.   h = Yod                  i = Terminal Nun         f = Kaph
  163.   l = Terminal Kaph        j = Chet                 g = Ayin
  164.   f = Kaph                 k = Lamed                h = Yod
  165.   k = Lamed                l = Terminal Kaph        j = Chet
  166.   o = Terminal Mem         m = Zade                 k = Lamed
  167.   n = Mem                  n = Mem                  l = Terminal Kaph
  168.   i = Terminal Nun         o = Terminal Mem         ; = Terminal Pe
  169.   b = Nun                  p = Pe                   ' = Comma
  170.   x = Samech               q = Slash                z = Zain
  171.   g = Ayin                 r = Resh                 x = Samech
  172.   ; = Terminal Pe          s = Dalet                c = Bet
  173.   p = Pe                   t = Aleph                v = He
  174.   . = Terminal Zade        u = Waw                  b = Nun
  175.   m = Zade                 v = He                   n = Mem
  176.   e = Qoph                 w = Apostrophe           m = Zade
  177.   r = Resh                 x = Samech               , = Taw
  178.   a = Shin                 y = Tet                  . = Terminal Zade
  179.   , = Taw                  z = Zain                 / = Period
  180.  
  181. To use Kermit 95 with host-based Hebrew software such as ALEPH
  182. (the Hebrew University library software), give these commands to Kermit:
  183.  
  184.   set terminal bytesize 8
  185.   set term code-page 862
  186.   set term character-set hebrew-iso cp862
  187.   set key \372 \KkbHebrew      ; F5 = Enter Hebrew keyboard mode
  188.   set key \373 \KkbEnglish     ; F6 = Enter English keyboard mode
  189.   set key \374 \KdecF7         ; F7 = DEC F7 (used with ALEPH software)
  190.  
  191. Of course, you can assign the \KkbHebrew, \KkbEnglish, and \KdecF7 verbs
  192. to any other keys of your choice.
  193.  
  194. To define your own Hebrew key map, create a file containing the desired SET
  195. TERM KEY HEBREW commands, in which the assigned values are CP862 values.  TAKE
  196. this file, and then whenever you execute the \KkbHebrew verb, your keyboard
  197. will have the mappings defined in this file.
  198.  
  199. (End of HEBREW.TXT)
  200.