From owner-svn-src-head@FreeBSD.ORG Thu Sep 4 14:53:10 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A7E7B272 for ; Thu, 4 Sep 2014 14:53:10 +0000 (UTC) Received: from vfemail.net (nine.vfemail.net [108.76.175.9]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 468BE1305 for ; Thu, 4 Sep 2014 14:53:10 +0000 (UTC) Received: (qmail 79502 invoked by uid 89); 4 Sep 2014 14:53:02 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 4 Sep 2014 14:53:02 -0000 Received: (qmail 79419 invoked by uid 89); 4 Sep 2014 14:52:44 -0000 Received: by simscan 1.3.1 ppid: 79411, pid: 79415, t: 0.1011s scanners:none Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 4 Sep 2014 14:52:44 -0000 Received: (qmail 18342 invoked by uid 89); 4 Sep 2014 14:52:44 -0000 Received: by simscan 1.4.0 ppid: 18313, pid: 18328, t: 0.9655s scanners:none Received: from unknown (HELO nil) (amJlaWNoQHZmZW1haWwubmV0@172.16.100.27) by 172.16.100.62 with ESMTPA; 4 Sep 2014 14:52:43 -0000 From: Jan Beich To: Stefan Esser Subject: Re: svn commit: r270232 - head/tools/tools/vt/keymaps References: <201408201707.s7KH7gtX009303@svn.freebsd.org> Date: Thu, 04 Sep 2014 16:52:38 +0200 In-Reply-To: <201408201707.s7KH7gtX009303@svn.freebsd.org> (Stefan Esser's message of "Wed, 20 Aug 2014 17:07:42 +0000 (UTC)") Message-ID: MIME-Version: 1.0 Content-Type: text/plain Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2014 14:53:10 -0000 Stefan Esser writes: > Author: se > Date: Wed Aug 20 17:07:41 2014 > New Revision: 270232 > URL: http://svnweb.freebsd.org/changeset/base/270232 > > Log: > The conversion tools have been further improved and some erroneous > conversions have been detected and fixed. [...] > sub local_to_UCS_code > { > my ($char) = @_; > > - return prettyprint_token(ord(Encode::decode("UTF-8", local_to_UCS_string($char)))); > + my $ucs_char = ord(Encode::decode("UTF-8", local_to_UCS_string($char))); > + > + $current_char = lc(chr($ucs_char)), print("SETCUR: $ucs_char\n") > + if $current_char eq ""; The script now emits |SETCUR: 123| lines that kbdcontrol(1) doesn't like. Either removing debug |print| or adding STDERR seems to fix. $ perl tools/tools/vt/keymaps/convert-keymap.pl \ share/vt/keymaps/us.kbd ASCII >foo.kbd $ kbdcontrol -l ./foo.kbd