From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baurjan Ismagulov Subject: Re: using Turkish in dosemu Date: Thu, 20 Jun 2002 14:47:10 +0300 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <20020620114709.GB10172@gantek.com> References: <20020616165323.GB5240@gantek.com> <20020617113812.GB26953@gantek.com> <87elf6w0rx.fsf@eatpbank.ru> <20020617133439.GD26953@gantek.com> <87bsa93y95.fsf@eatpbank.ru> <20020618101518.GA15750@gantek.com> <87d6uo1zyg.fsf@eatpbank.ru> <20020619150115.GA9096@gantek.com> <87ptyma6hx.fsf@eatpbank.ru> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <87ptyma6hx.fsf@eatpbank.ru> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-msdos@vger.kernel.org Cc: solt@eatpbank.ru On Thu, Jun 20, 2002 at 09:01:14AM +0400, Sergey Suleymanov wrote: > Baurjan> Unfortunately, no :( (tried both default > Baurjan> compiletime-settings and compiletime-settings.devel). > > Strange. It should fix loading external keytable with "load > ". The only difference was that pressing altgr-[ produces 159 (small s with cedilla) instead of 156 (pound sign), which is printed without the patch -- while both of these are not what I want. I've started to think that my dosemu tr keymap is wrong. I list 857 codes there; shoudn't I? Sergey, if you are able to produce small o with diaeresis, could you please send your loadkeys and dosemu keymaps? > Was patch applied without reject? Did you do make mrproper? Yes. Yes. > Can you mail me -D+k debug output? Here are some interesting lines: config.term_charset=2 keyb_config_charset=terminal_cp437 paste_charset=iso8859-1 keyb_charset=iso8859-1 keynum->keysym: 33->00f6 Keynum 0x33 is comma (the key between m and period), isn't it? And 0x00f6 is utf-8 code for small o with diaeresis, isn't it? If so, shouldn't it be 0x0094 (odiaeresis in 857)? I use "keycode 51 = 148 less" in the kernel keymap, and the following in dosemu keymap: keytable keyb-user { 0= 0,27,"1234567890*-",127,9, "qwertyu",141,"op",167,129,13,0,"as", "dfghjkl",159,"i",130,0,44,"zxcv", "bnm",148,135,".",0,"*",0," ",0,0,0,0,0,0, ... And are those cp437 / iso8859-1 settings important? Should they be set to cp857 / iso8859-9, or that requires extra hacking? > BTW, you can check keytable with dosemu -I 'keytable dump > ' It's name should be keyb-user. dosemu.bin -I 'keytable dump tr' didn't show any keyboard-related info, and dos session didn't start. > "echo -ne '\033(K'" or "charset G0 cp437" enables IBM Codepage > 437 mapping to Unicode. I think codepage 437 is not the same > as codepage 857, isn't it? Yes, these are different. With best regards, Baurjan.