Little kbdmap.c diff

Matteo Riondato rionda at gufi.org
Mon Nov 8 01:01:56 PST 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20041108/f2ddddcd/attachment.bin


More information about the freebsd-hackers mailing list