Re: [Debian]:numLock
On Mon, Oct 25, 1999 at 01:22:11PM +0200, Meinolf Sander wrote:
> > On Sat, Oct 23, 1999 at 10:34:00PM +0200, Uwe Beggerow wrote:
> > > > 2. Moeglichkeit:
> > > > In den Linuxsourcen in linux/drivers/char/keyboard.c die Zeile mit
> > > > #define KBD_DEFLEDS 0
> > > > entsprechend aendern.
> > >
> > > d.h. define KBD_DEFLEDS 1 ???
>
> Das klappte bei mir nicht... ist es denn theoretisch richtig?
Nein, das wird vermutlich Scroll-Lock setzen.
In Linux-FAQ unter http://www.linuxdoc.org/FAQ/Linux-FAQ-7.html#ss7.10
heißt es:
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 (`` 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.
Da VC_NUMLOCK aber üblicherweise 1 ist, wäre 2 für KBD_DEFLEDS
besser...
--
marko schulz
"Alles hat man herausgefunden, nur nicht, wie man lebt"
Jean Paul Sartre
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder: 750
Reply to: