Date: Thu, 04 Sep 2014 16:52:38 +0200 From: Jan Beich <jbeich@vfemail.net> To: Stefan Esser <se@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r270232 - head/tools/tools/vt/keymaps Message-ID: <ha0n-cua1-wny@vfemail.net> In-Reply-To: <201408201707.s7KH7gtX009303@svn.freebsd.org> (Stefan Esser's message of "Wed, 20 Aug 2014 17:07:42 %2B0000 (UTC)") References: <201408201707.s7KH7gtX009303@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Stefan Esser <se@FreeBSD.org> 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 </dev/ttyv0 kbdcontrol: invalid key definition zsh: exit 1 ------------------------------------------------- VFEmail.net - http://www.vfemail.net ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ha0n-cua1-wny>