set the typmatic delay to minimum and repeate rate to maximum. we could add options to /dev/consctl for this but I have never seen anyone want anything else. I would do this in the bios but the HP bios on my latest terminal doesn't have the options. -Steve Reference: /n/sources/patch/applied/typematic-rate Date: Thu Aug 25 11:41:54 CES 2011 Signed-off-by: steve@quintile.net --- /sys/src/9/pc/kbd.c Thu Aug 25 11:13:58 2011 +++ /sys/src/9/pc/kbd.c Thu Aug 25 11:13:54 2011 @@ -659,8 +659,13 @@ nokbd = 0; /* disable mouse */ - if (outbyte(Cmd, 0x60) < 0 || outbyte(Data, ccc) < 0) + if(outbyte(Cmd, 0x60) < 0 || outbyte(Data, ccc) < 0) print("i8042: kbdinit mouse disable failed\n"); + + /* set typematic rate/delay (0 -> delay=250ms & rate=30cps) */ + if(outbyte(Data, 0xf3) << 0 || outbyte(Data, 0) < 0) + print("i8042: kbdinit set typamatic rate failed\n"); + } void