From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 To: Linux console tools development discussion References: <10c42442-39d5-a138-b2b6-902c70296d89@ziu.info> <20160906192614.GH31992@comp-core-i7-2640m-0182e6.fortress> From: Michal Soltys Message-ID: <32bb3467-ff33-c1d3-ce94-878f891d2c9c@ziu.info> Date: Mon, 19 Sep 2016 22:10:58 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160906192614.GH31992@comp-core-i7-2640m-0182e6.fortress> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-MailScanner-ID: 6680BE537C.A5144 X-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-MailScanner-From: soltys@ziu.info Subject: Re: [kbd] unicode option for not working correctly since commit: bad17ea03 X-BeenThere: kbd@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Linux console tools development discussion List-Id: Linux console tools development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2016 20:11:18 -0000 Archived-At: List-Archive: On 2016-09-06 21:26, Alexey Gladkov wrote: > On Thu, Jun 16, 2016 at 03:06:43AM +0200, Michal Soltys wrote: >> Hi, >> >> So for example (assuming LANG is set correctly as well to utf8 locale): >> >> unicode_start LatArCyrHeb-16 >> loadkeys -u pl > > Can you show me your keymap ? > It's standard kbd keymap (pl.map.gz). >> still behaved fine. >> >> loadkeys -u no longer works and despite the console operating in utf-8 >> mode requires console map (in this case -m 8859-2). > > You mean `setfont -m 8859-2 ...` ? > Yea, it still seems to handle input with 8th bit set providing workaround for the issue. Simple test: 1) log on console, assure proper LANG (e.g. pl_PL.utf8 or en_US.utf8) 2) unicode_start LatArCyrHeb-16 3) loadkeys -u pl This basically should work just fine. Polish glyphs are under alt-a,c,e,l,n,o,s,x,z On pre-2.0 versions all will be working fine (or to be precise, pre-commit I bisected). After that commit some will be failing. If you do setfont -m 8859-2 - this will provide the workaround.