KERMIT 95 HEBREW CHARACTER-SET SUPPORT As of: Kermit 95 1.1.16 For: Windows 95, Windows NT, OS/2 Date: 8 February 1998 1. HEBREW FILE TRANSFER Hebrew file transfer is fully described in "Using C-Kermit", second edition. Commands: SET TRANSFER CHARACTER-SET HEBREW-ISO ISO 8859-8 Latin/Hebrew Alphabet SET FILE CHARACTER-SET HEBREW-ISO ISO 8859-8 Latin/Hebrew Alphabet SET FILE CHARACTER-SET CP862 Hebrew PC Code Page SET FILE CHARACTER-SET HEBREW-7 DEC 7-Bit (VT100) Hebrew An invertible translation table between Latin/Hebrew and CP862 is used during both terminal emulation and file transfer. The translation table between Hebrew-7 and Latin/Hebrew, however, is not invertible because these character sets are different sizes. Here is an example of uploading a Hebrew file from a PC to UNIX. The PC version is coded in the Hebrew PC code page, and the UNIX version is to be stored in the 7-bit Hebrew character-set so it can be sent as network e-mail: C-Kermit> set file character-set hebrew-7 ; I want 7-bit text for email C-Kermit> receive ; Wait for the file. ; Escape back to the PC K-95> set file type text ; Make sure we are in text mode K-95> set file character-set cp862 ; File is in Hebrew PC code page K-95> set xfer character-set hebrew ; Send using ISO Latin/Hebrew K-95> send rab.oof ; Send the file The file sender automatically tells the file receiver that the transfer character-set is Hebrew. The three Hebrew character sets are also available for use in Kermit's TRANSLATE command, which translates a local file from one character-set to another. Thus you can use Kermit to convert a local file from, say, Latin/Hebrew to Hebrew-7. Kermit's Hebrew file transfer features can be used in conjunction with MS-DOS Kermit 3.13 and later and C-Kermit 5A(189) and later (with which Kermit 95 shares the same translation tables to ensure consistent translations) and IBM Mainframe Kermit 4.2 or later, which translates between Latin/Hebrew and IBM CECP 424 (the Hebrew EBCDIC Country Extended Code Page). 2. HEBREW TERMINAL EMULATION "Hebrew terminal emulation" means the use of Hebrew characters while emulating VT100, VT320, ANSI, or other type of terminal, and translation between the Windows encoding for Hebrew and the host encoding. It does not mean right-to-left writing direction; thus it would be the responsibility of the host application to place Hebrew characters in the desired position on the screen by using escape sequences. This should not be surprising, however, since very few of the terminals that Kermit emulates support right-to-left writing direction either. Kermit 95's Hebrew support is widely used with Hebrew University's ALEPH bibliographic software. 2.1. The PC Hebrew Character Set Kermit 95 can be used to read and write Hebrew characters on the host if you have the Hebrew code page, CP862, loaded on your PC. In Windows 95, it is not likely that you have this, or can have it, unless you have installed the Israeli (or Hebrew) version of Windows; see the BUGS.TXT file for more information about this. As of Kermit 95 1.1.8, in Windows NT only, we don't use code pages any more, but instead we use Unicode, which NT supports. The recommended font is Lucida Console (fixed-pitch Unicode), but unfortunately the USA version of this font does not include a full set of Hebrew letters. It is not known whether the Lucida console version that comes with Hebrew Windows NT includes full Hebrew support. The OS/2 version of Kermit 95 comes with a Hebrew "PC font" equivalent to Code Page 862. You can use this in fullscreen sessions only -- NOT in an OS/2 Window, and even then it works only if your video driver allows it. In Kermit/2, the command: SET TERMINAL CODE-PAGE 862 actually attempts to load the Hebrew CP862 font into your video adapter (this can't be done in Windows 95). 2.2. Hebrew Character-Set Translation Hebrew character-set translation is enabled during terminal emulation via the command: SET TERMINAL REMOTE-CHARACTER-SET { HEBREW-ISO, HEBREW-7, CP862 } SET TERMINAL LOCAL-CHARACTER-SET CP862 SET TERMINAL BYTESIZE 8 ; Not needed for Hebrew-7 (choose the character set that is appropriate for the host or service you are connecting to.) HEBREW-ISO is ISO 8859-8, the Latin/Hebrew Alphabet. HEBREW-7 is 7-bit Hebrew as implemented on Hebrew-model DEC VT100 terminals. CP862 is the PC Hebrew code page. 2.3. Entering Hebrew Characters on the Keyboard If you are using Windows 95, and you have a Hebrew keyboard and driver, you might need to tell Kermit 95 to: SET WIN95 KEYBOARD HEBREW and then you can use your keyboard in the normal manner. If you do not have a Hebrew keyboard and driver, you can use Kermit 95's built-in Hebrew keyboard mode: . The \KkbHebrew verb, which may be assigned to any key. It is assigned by default to Ctrl-Alt-Shift-H. It switches the main keypad (mostly the lowercase letters) into Hebrew mode (see keymap below). When the keyboard is in Hebrew mode, the terminal type in the status line has "-H" appended to it, for example "VT220-H". . The \KkbEnglish verb to switch the main keypad back to English mode. . The \KkbHebrew function is performed automatically in VT emulation if the host application sends CSI ? 35 h, and the \KkbEnglish function with CSI ? 35 l. . Hebrew keyboard mode is cleared when you execute the \Kreset (reset terminal) function, assigned to Alt-r by default. The Hebrew key layout associated with these verbs follows follows the layout used by Hebrew WordPerfect, Windows, and Word. The names of the Hebrew letters are from the ISO 8859-8 Standard. These are the key assignments when the keyboard is in Hebrew mode, listed in three different orders for easy lookup: Hebrew Order Roman Order QWERTY Keyboard Order q = Slash , = Taw q = Slash w = Apostrophe . = Terminal Zade w = Apostrophe ' = Comma ' = Comma e = Qoph / = Period / = Period r = Resh t = Aleph ; = Terminal Pe t = Aleph c = Bet a = Shin y = Tet d = Gimel b = Nun u = Waw s = Dalet c = Bet i = Terminal Nun v = He d = Gimel o = Terminal Mem u = Waw e = Qoph p = Pe z = Zain f = Kaph a = Shin j = Chet g = Ayin s = Dalet y = Tet h = Yod d = Gimel h = Yod i = Terminal Nun f = Kaph l = Terminal Kaph j = Chet g = Ayin f = Kaph k = Lamed h = Yod k = Lamed l = Terminal Kaph j = Chet o = Terminal Mem m = Zade k = Lamed n = Mem n = Mem l = Terminal Kaph i = Terminal Nun o = Terminal Mem ; = Terminal Pe b = Nun p = Pe ' = Comma x = Samech q = Slash z = Zain g = Ayin r = Resh x = Samech ; = Terminal Pe s = Dalet c = Bet p = Pe t = Aleph v = He . = Terminal Zade u = Waw b = Nun m = Zade v = He n = Mem e = Qoph w = Apostrophe m = Zade r = Resh x = Samech , = Taw a = Shin y = Tet . = Terminal Zade , = Taw z = Zain / = Period To use Kermit 95 with host-based Hebrew software such as ALEPH (the Hebrew University library software), give these commands to Kermit: set terminal bytesize 8 set term code-page 862 set term character-set hebrew-iso cp862 set key \372 \KkbHebrew ; F5 = Enter Hebrew keyboard mode set key \373 \KkbEnglish ; F6 = Enter English keyboard mode set key \374 \KdecF7 ; F7 = DEC F7 (used with ALEPH software) Of course, you can assign the \KkbHebrew, \KkbEnglish, and \KdecF7 verbs to any other keys of your choice. To define your own Hebrew key map, create a file containing the desired SET TERM KEY HEBREW commands, in which the assigned values are CP862 values. TAKE this file, and then whenever you execute the \KkbHebrew verb, your keyboard will have the mappings defined in this file. (End of HEBREW.TXT)