Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Nov 2004 10:01:37 +0100
From:      Matteo Riondato <rionda@gufi.org>
To:        freebsd-hackers@freebsd.org
Subject:   Little kbdmap.c diff
Message-ID:  <1099904496.45709.36.camel@kaiser.sig11.org>

next in thread | raw e-mail | index | archive | help

--=-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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1099904496.45709.36.camel>