Re: Pár problém ů s Woodym
To |
czdebian-l zavinac debian bod cz |
From |
Hans Ginzel <hans zavinac matfyz bod cz> |
Date |
Thu, 8 Aug 2002 10:14:06 +0200 |
Mail-followup-to |
czdebian-l zavinac debian bod cz |
User-agent |
Mutt/1.3.28i |
On Thu, Aug 08, 2002 at 02:09:23AM +0200, Jirka Nemec wrote:
> Přešel jsem z Windowzů přes Mandrake linux k Woodymu a mám s ním několik
:-)
> 1. Nemůžu najít program, který by mi zapínal při startu numlock.
man setleds:
EXAMPLE
One might use setleds in /etc/rc to define the initial and
default state of NumLock, e.g. by
INITTY=/dev/tty[1-8]
for tty in $INITTY; do
setleds -D +num < $tty
done
Nebo zkompilovat jadro s timhle patchem:
--- linux/drivers/char/keyboard.c.orig Wed May 2 22:34:19 2001
+++ linux/drivers/char/keyboard.c Thu May 3 14:04:25 2001
@@ -54,7 +54,8 @@
* Some laptops take the 789uiojklm,. keys as number pad when NumLock
* is on. This seems a good reason to start with NumLock off.
*/
-#define KBD_DEFLEDS 0
+/* #define KBD_DEFLEDS 0 */
+#define KBD_DEFLEDS LED_NUM
#endif
#ifndef KBD_DEFLOCK
--
Hans Ginzel
In case you were thinking of getting the Lord Of The Rings DVD or video
(to be released August 6), using this link will give 15% of
the sales to Vim's charity project in Uganda:
http://iccf-holland.org/lotr.html
Partial thread listing: