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>
index | next in thread | raw e-mail
[-- Attachment #1 --]
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);
- printf("keymap=%s\n", km->keym);
+ fprintf(stderr, "keymap=%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
--
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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)
iD8DBQBBjzXw2Mp4pR7Fa+wRAtH9AKCkct7flCRZ0YFoOTo29vsrT698WgCg3MS7
Zv8h34FWMyZeIEYVwnfqvI8=
=AoYu
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1099904496.45709.36.camel>
