On Wed, 25 Mar 1998, Steve Chadsey wrote:
> This is in the Linux FAQ:
> ---
> Question 7.10. How do I get NUM LOCK to default to on ?
>
> Use the setleds program, for example (in /etc/rc.local or one of the
> /etc/rc.d/* files):
> for t in 1 2 3 4 5 6 7 8
> do
> setleds +num < /dev/tty$t > /dev/null
> done
>
> setleds is part of the kbd package (see Q7.9 `How do I remap my keyboard
> to UK, French, etc. ?').
>
> Alternatively, patch your kernel. You need to arrange for KBD_DEFLEDS
> to
> be defined to (1 << VC_NUMLOCK) when compiling drivers/char/keyboard.c.
The shell scripts works fine, i've been using it for a while its just
annoying because i can't put it on cron or nothing because when u login to
the kernel it turns the num-lock off again. I've tried to change
keyboard.c as surgested here but it didn't make a difference.
Chris.
--
Regards, From Chris.
--==== SysOp of Logics BBS ====-- irc Nickname: |Fingers|
[EMAIL PROTECTED] Tel: +44 (0) 1432 370535
---================--- Data: +44 (0) 1432 278319
http://www.uk.logics.com/ Pager:+44 (0) 1523 459522
or [EMAIL PROTECTED]
...Software is like sex. It's better when it's free...
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.