UPDATE# NEW CHARACTER-SET SUPPORT A new command is available to tell MS-DOS Kermit what your actual code page is, for purposes of character-set translation during terminal emulation: SET TERMINAL CODE-PAGE CPnnn where nnn are digits. This command is necessary because most PCs fail to report active code pages other than CP437 and CP850 correctly, and so Kermit generally has no way to find out when you have some other code page loaded. This command is distinct from SET FILE CHARACTER-SET, so you can select translations for terminal emulation and file transfer separately if you want to. MS-DOS Kermit knows about the following code pages: Code Page File-Xfer Term-Emul Comments CP437 Y Y Original PC, and usually hardware, code page CP850 Y Y Multilingual West European code page CP852* Y Y Multilingual East European code page CP860 Y Y Portuguese code page CP861* Y Y Icelandic code page CP862* Y Y Hebrew code page CP863 Y Y Canadian-French code page CP865 Y Y Norwegian/Danish code page CP866 Y N Cyrillic code page Shift-JIS** Y N Japanese Kanji multibyte code page = CP982 ** New to version 3.12 * New to version 3.13 Roman character sets for East European languages (Czech, Polish, Hungarian, Romanian, etc) (version 3.13). Commands: SET TERMINAL CHARACTER-SET LATIN2 ; ISO 8859-2 Latin Alphabet 2 SET TRANSFER CHARACTER-SET LATIN2 ; ISO 8859-2 Latin Alphabet 2 SET TERMINAL CODE-PAGE CP852 ; Code page 852 SET FILE CHARACTER-SET CP852 ; Code page 852 MS-DOS 5.0 and later include the East European Code Page, CP852. To use this code page: 1. Add the following lines to your AUTOEXEC.BAT file and then reboot: C:\DOS\MODE CON: CP PREPARE=((850,,437,852) C:\DOS\EGA.CPI) 4. To load the East European code page, use this DOS command: C:\DOS\MODE CON: CP SELECT=852 New Icelandic code page support (version 3.13). Commands: SET TERMINAL CHARACTER-SET LATIN1 (or DEC-MCS, or whatever) SET TRANSFER CHARACTER-SET LATIN1 SET TERMINAL CODE-PAGE CP861 SET FILE CHARACTER-SET CP861 Use MODE CON CP PREPARE, if necessary, to install this code page. Use MODE CON CP SELECT=861 to load it. Cyrillic terminal emulation and file transfer (version 3.11): For Cyrillic terminal emulation, use the initialization files supplied on the distribution diskette in CYRILLIC.INI. This is a "text archive of several different files; use a text editor to pick out the ones you need. A public-domain Cyrillic code page, constructed by Dimitri Vulis of D&M Consulting in New York City, is supplied in the file CP866.CPI. Let's assume your Kermit installation diskette is in drive A:. To install the Cyrillic Code page: 1. MKDIR C:\CYRILLIC 2. COPY A:\CYRILLIC\CP866.CPI C:\CYRILLIC 3. Add the following lines to your AUTOEXEC.BAT file and then reboot: C:\DOS\MODE CON: CP PREPARE=((850,,437) C:\DOS\EGA.CPI) C:\DOS\MODE CON: CP PREPARE=((,866,,) C:\CYRILLIC\CP866.CPI) Note: If you also want to use the East European Code Page, substitute: C:\DOS\MODE CON: CP PREPARE=((850,,437,852) C:\DOS\EGA.CPI) 4. To load the Cyrillic code page, use this DOS command: C:\DOS\MODE CON: CP SELECT=866 5. Then start Kermit, TAKE the desired .INI files from CYRILLIC.INI for Cyrillic terminal emulation. For file transfer use these commands: SET FILE CHARACTER-SET CP866 SET TRANSFER CHARACTER-SET CYRILLIC Japanese Kanji file transfer (version 3.12). Commands: SET TRANSFER CHARACTER-SET JAPANESE-EUC SET FILE CHARACTER-SET SHIFT-JIS Kanji character-set translation during terminal emulation is not yet available, but Kermit CONNECT mode works in Kanji mode on Japanese DOS/V computers, which is useful if the remote host uses the same Shift-JIS character set as MS-DOS Kermit. Hebrew terminal emulation and file transfer (version 3.13). Commands: SET TRANSFER CHARACTER-SET HEBREW-ISO SET FILE CHARACTER-SET CP862 SET TERMINAL CHARACTER-SET { HEBREW-ISO, HEBREW-7 } SET TERMINAL DIRECTION { RIGHT-TO-LEFT, LEFT-TO-RIGHT } SET TERMINAL CODE-PAGE CP862 Terminal direction is controlled in two different ways: (1) by host-generated escape sequences (automatic, see below) and (2) by the SET TERMINAL DIRECTION command. When the writing direction is changed by escape sequences from the host, the cursor-positioning coordinate system is not changed. For example, if Kermit was in left-to-right mode and the host send ESC [ ? 34 h, position (1,1) would still be in the upper left. This is how a real Hebrew-model VT terminal works. If, however, you command Kermit into RIGHT-TO-LEFT mode, the coordinate system flips right to left so the origin (1,1) is at the upper right corner, which is useful for viewing and composing some right to left text. The host can override the user setting, and the user can later override the host setting. Hebrew character sets: . CP862 is the PC Hebrew code page, available from IBM as EGAHE.COM, or perhaps as a hardware code page on Hebrew-model PCs. We cannot distribute this code page because it is proprietary. You must have this code page loaded in order to see Hebrew characters on your screen. . HEBREW-ISO is the 8-bit standard ISO 8859-8 Latin/Hebrew alphabet. . HEBREW-7 is the 7-bit Hebrew "National Replacement Character Set" (NRC), ASCII with the lowercase Roman letters replaced by Hebrew letters, often used in e-mail. MS-DOS Kermit 3.13 supports: . Automatic selection of writing direction by host escape sequence. . ISO 2022-compliant terminal character-set designation and invocation. . Hebrew keyboard mode. Hebrew-specific escape sequences recognized by the VT220 and 320 terminal emulators: ESC ) H Designates right half of Latin/Hebrew to G1 ESC * H Designates right half of Latin/Hebrew to G2 ESC + H Designates right half of Latin/Hebrew to G3 ESC ( % = Designates 7-bit Hebrew NRC to G0-G3 ESC ) " 4 Designates DEC supplement Hebrew letters to G1 ESC * " 4 Designates DEC supplement Hebrew letters to G2 ESC + " 4 Designates DEC supplement Hebrew letters to G3 DCS 0 ! u " 4 ST Assigns DEC supplement Hebrew as UPSS DCS 0 ! u H ST Assigns Latin/Hebrew as UPSS CSI ? 34 h Sets right-to-left screen-writing mode CSI ? 34 l Sets left-to-right screen-writing mode CSI ? 35 h Sets Hebrew keyboard mapping via Kermit macros CSI ? 35 l Sets Roman (North American) keyboard mapping, ditto CSI ? 36 h Hebrew encoding mode is 7-bit Hebrew-7 "National mode" CSI ? 36 l Hebrew encoding mode is 8-bit ISO Latin/Hebrew Hebrew keyboard mapping: CSI ? 35 h invokes the macro KEYBOARDS, which you must define to set up your keyboard for entering Hebrew characters. If this macro is not defined, nothing happens. CSI ? 35 l invokes the macro KEYBOARDR, which you must define to set up your keyboard for entering Roman (North American) characters. If this macro is not defined, nothing happens. Note: do not define KEYBOARDS without also defining KEYBOARDR to undo its effects! The various reports furnished by MS-DOS Kermit also include Hebrew- specific information, and the following host-initiated operations work in both left-to-right and right-to-left mode: Insert/Replace Mode, Autowrap, Backspace, Carriage Return, Linefeed, Formfeed, Vertical Tab, Horizontal Tab. The keyboard mapping sequences invoke the user-defined macros KEYBOARDS (h) and KEYBOARDR (l). Users should define these macros to accomplish the desired keyboard mappings with SET KEY commands. In VT100 and VT102 mode, the following functions are supported: ESC ) 1 Enter Hebrew mode ESC ) B Exit Hebrew mode West European (including Icelandic), East European, Cyrillic, Hebrew, and Kanji file transfer work in conjunction with C-Kermit 5A(189) and IBM Mainframe Kermit 4.2.4. Hebrew file transfer is not available in C-Kermit 5A(188) or earlier. Character-set translation goal selection: SET TRANSLATION CHARACTER-SET { READABLE, INVERTIBLE } Default is READABLE. INVERTIBLE attempts to use code points as much in common between the transfer and file character sets as possible, with the transfer character set having priority. Thus INVERTIBLE can create code points which do not display correctly on the destination machine but yield the closest match when a file is sent back to the originator. Terminal-to-host keyboard character shifting: SET TERMINAL OUTPUT-SHIFT { NONE, AUTOMATIC, SI/SO, SS2, SS3 } Allows you to type 8-bit characters on a 7-bit terminal connection. MS-DOS Kermit supplies the selected type of shifting: NONE - (Default) No shifting SI/SO - Shift-In Shift-Out around each 8-bit character (GR = G1) SS2 - Single-Shift 2 before each 8-bit character (GR = G2) SS3 - Single-Shift 3 before each 8-bit character (GR = G3) AUTO - Shift type depends on current character set GR assignment .