From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baurjan Ismagulov Subject: Re: using Turkish in dosemu Date: Mon, 17 Jun 2002 16:34:42 +0300 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <20020617133439.GD26953@gantek.com> References: <20020616165323.GB5240@gantek.com> <20020617113812.GB26953@gantek.com> <87elf6w0rx.fsf@eatpbank.ru> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <87elf6w0rx.fsf@eatpbank.ru> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-msdos@vger.kernel.org Hello Sergey, thanks much for your reply! On Mon, Jun 17, 2002 at 04:24:50PM +0400, Sergey Suleymanov wrote: > Dosemu passed only known keys. You have to define all needed > keys in keymap file. Could you please give a bit more details? Do you mean I should: 1. Load a Linux keymap generating appropriate codes in 857 encoding. E.g., comma key (between m and period on US keyboards) should generate o with diaeresis. I have "keycode 51=+148 +153" in the .kmap file. Is this correct? (I think that particular letter is the same in 437). 2. Specify $_layout="load tr", where tr is the file I've sent in the first posting. This setup doesn't work for me. I don't load keyb or any other keyboard driver under DOS, if this is relevant. > For "ibm" charset dosemu issues \033(U escapes. If you are not > using native (without acm) fonts, you'll get some misplaced > chars. I assume that \033(U makes the console driver output the symbol at the specified position in the font (couldn't find anything useful via Google. How can I search for literal strings?), doesn't it? I'm using cp857-8x16 stolen from DOS. It does have an acm (mapping 857 characters to Unicode), but I also load the same acm, so that showcfont outputs for the following commands are identical: consolechars -f cp857-8x16.psf -m cp857.acm consolechars -f cp857-8x16.psf -m straight-to-font If I interpret what you are saying correctly, this font should work. When I look at the file with all 256 characters in Volkov, it shows some characters translated. And this looks as _translation_, not as "some misplaced chars". Returning to the original example: right and left arrows are translated to greater and less signs, so that subdir labels in Volkov look (literally) as ">SUB-DIR<" (instead of filled triangles around the text). Looks as if dosemu thinks that the application outputs 437, and the screen accepts 8859-1. Is it somehow related to $_internal_char_set and $_external_char_set? Thanks in advance, Baurjan. P.S. Please cc to me, I'm not subscribed.