From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: * X-Spam-Status: No, score=1.7 required=5.0 tests=BAYES_00,DNS_FROM_OPENWHOIS, FRT_GUARANTEE1,FUZZY_GUARANTEE,SPF_NEUTRAL autolearn=no version=3.2.5 Message-ID: <4BD41211.6050304@gmail.com> Date: Sun, 25 Apr 2010 13:57:37 +0400 From: Alexey Gladkov User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10pre) Gecko/20100406 Lightning/1.0b2pre Thunderbird/3.0.4 MIME-Version: 1.0 To: kbd@lists.altlinux.org References: <1272179528-32543-1-git-send-email-shtrom@ssji.net> In-Reply-To: <1272179528-32543-1-git-send-email-shtrom@ssji.net> X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [kbd] [PATCH] [loadkeys] Don't open console on --bkeymap 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: Sun, 25 Apr 2010 09:57:48 -0000 Archived-At: List-Archive: 25.04.2010 11:12, Olivier Mehani wrote: > From: Olivier Mehani > > Check that -b hasn't specified, similarly to -m, before loadkeys tries to open > the console. As for --mktable, --bkeymap doesn't need it. This allows to dump > binary keymaps in a larger range of situations where ownership of the console > device is not guarranteed e.g., when running from an Xterm. > > Signed-off-by: Olivier Mehani > --- > src/loadkeys.c | 2 +- You must change the loadkeys.y too. I applied with this change. Thanks! -- Rgrds, legion