From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Message-ID: <4841E52D.5090807@gmail.com> Date: Sun, 01 Jun 2008 03:54:21 +0400 From: Alexey Gladkov User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.8.1.14) Gecko/20080512 Thunderbird/2.0.0.14 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: Linux console tools development discussion References: <20080531073115.GB3877@debian.homenet> In-Reply-To: <20080531073115.GB3877@debian.homenet> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [kbd] unicode_start should not call setfont X-BeenThere: kbd@lists.altlinux.org X-Mailman-Version: 2.1.10b3 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: Sat, 31 May 2008 23:53:53 -0000 Archived-At: List-Archive: Michael Schutte wrote: > Hi, >=20 > I think that unicode_start should not mess with the user=E2=80=99s cons= ole font. > It should only put the console into Unicode mode and be done with it. > The problem with the current approach is that the default Unicode fonts= > considered by the script are often not what the user wants to see. > Every font should be fine to display enough characters to be readable, > anyway, and users who need a larger subset of Unicode characters can ru= n > setfont manually. It would also make sense because unicode_stop never > changes font. >=20 > The obvious counter-argument is backwards compatibility, but then, most= > users will not call unicode_start themselves but leave it to their > distribution=E2=80=99s init scripts. What do you think? We could do another thing: diff --git a/src/unicode_start b/src/unicode_start index 82ef457..63c9967 100755 --- a/src/unicode_start +++ b/src/unicode_start @@ -83,7 +83,6 @@ case "$#" in setfont "$1" ;; 0) - setfont "$DEFAULT_UNICODE_FONT" ;; *) echo "usage: unicode_start [font [unicode map]]" --- Most distributions load own fonts after executing unicode_start. I=20 think we can remove the setting of default font. Without any arguments unicode_start will only set unicode mode and=20 will not set font. How about that? --=20 Rgrds, legion