From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 8 09:01:56 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14E2D16A4CE for ; Mon, 8 Nov 2004 09:01:56 +0000 (GMT) Received: from vsmtp3.tin.it (vsmtp3alice.tin.it [212.216.176.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 792D743D5D for ; Mon, 8 Nov 2004 09:01:55 +0000 (GMT) (envelope-from rionda@gufi.org) Received: from kaiser.sig11.org (82.50.115.156) by vsmtp3.tin.it (7.0.027) id 4183C0F60039578D for freebsd-hackers@freebsd.org; Mon, 8 Nov 2004 10:01:53 +0100 Received: from [127.0.0.1] (localhost [127.0.0.1]) by kaiser.sig11.org (Postfix) with ESMTP id 5D017E9 for ; Mon, 8 Nov 2004 10:01:37 +0100 (CET) From: Matteo Riondato To: freebsd-hackers@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-XRIcGPme1tWemkoBzOe8" Message-Id: <1099904496.45709.36.camel@kaiser.sig11.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 08 Nov 2004 10:01:37 +0100 Subject: Little kbdmap.c diff X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rionda@gufi.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 09:01:56 -0000 --=-XRIcGPme1tWemkoBzOe8 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi folks, I would propose this little patch for usr.sbin/kbdmap/kbdmap.c : --- kbdmap.c.old Sun Nov 7 21:22:08 2004 +++ kbdmap.c Sun Nov 7 21:33:53 2004 @@ -288,7 +288,7 @@ if (!x11) system(kbd_cmd); =20 - printf("keymap=3D%s\n", km->keym); + fprintf(stderr, "keymap=3D%s\n", km->keym); free(kbd_cmd); } With this patch, kbdmap will print user choice on stderr instead of stdout. This will make saving user preference really easier for FreeSBIE [1] and I think it's such a small thing that nobody would have any objection.. [1] FreeSBIE (www.freesbie.org) is a project that aims to develope a FreeBSD based LiveCD. Best Regards P.S. CC'ed to wollman@ because he's the last one to have commited modification to kbdmap.c=20 --=20 Rionda aka Matteo Riondato GUFI Staff Member (http://www.gufi.org) FreeSBIE Developer (http://www.freesbie.org) BSD-FAQ-it Main Developer (http://utenti.gufi.org/~rionda) Sent from: kaiser.sig11.org running FreeBSD-6.0-CURRENT --=-XRIcGPme1tWemkoBzOe8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQBBjzXw2Mp4pR7Fa+wRAtH9AKCkct7flCRZ0YFoOTo29vsrT698WgCg3MS7 Zv8h34FWMyZeIEYVwnfqvI8= =AoYu -----END PGP SIGNATURE----- --=-XRIcGPme1tWemkoBzOe8--