On Wed, 25 Mar 1998, Chris Bond wrote:

> Hi,
> 
> Theres a way to turn the number lock on by default, i remember someone
> posting something to the list a while back.  It involves editing one of
> the linux source c files.  Does anyone know how to do this ?

Man setleds.

Something like "setleds -D +num" will do it.

If you want it set at boot time add something like the following
to rc.local or where ever you wish


#!/bin/sh
INITTY=/dev/tty[1-9]*

for tty in $INITTY
do
        /usr/bin/setleds -D +num < $tty
done

......Tom                       "Do not meddle in the affairs of wizards,
[EMAIL PROTECTED]                   for you are crunchy and good with ketchup."

         Unix IS user friendly. It's just selective about who its friends are.


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

Reply via email to