Re: Keyboard autorepeat

2000-01-27 Thread Dänzer


--- Ed Cogburn [EMAIL PROTECTED] wrote:

 To clear up the earlier confusion from above:  I now know the
SetKbdSettings
 stuff is coming from *GNOME* (latest version of GNOME, I'm using potato
 updated almost daily).  It now sets the keyboard every time it starts, thus
 the value of AutoRepeat in XF86Config *seems* to be ignored, but actually
 its just being overridden at startup every time.

Thanks for hunting that down.

GNOME probably uses xset (or the Xkb extension?) to change the rate(s), so it
really boils down to the change in the X server I mentioned.


 Setting the keyboard in GNOME's config will solve the problem, AutoRepeat
in
 XF86Config can be ignored as long as you use GNOME. 

Surely GNOME is a better way to configure this than fiddling in XF86Config :)


Michel


=
Software is like sex; it's better when it's free
 -- Linus Torvalds

If you continue running Windows, your system may become unstable.
 -- Windows 95 BSOD
__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


Re: Keyboard autorepeat

2000-01-26 Thread Ed Cogburn
Ed Cogburn wrote:
 
 Michel Dänzer wrote:
 
  --- Ed Cogburn [EMAIL PROTECTED] wrote:
 
 There is, to me, something suspicious that I haven't noticed before.
   The last lines of the text console after starting X now include:
  
 SetKbdSettings - type: 0 rate: 5 delay: 105 snumlk: 0
 SetKbdSettings - succeeded
  
   Where is this coming from?  Its NOT the AutoRepeat thing in
   XF86Config, this is something new thats been added recently.
 
  Let's repeat it: It _is_ the AutoRepeat thing. It was ignored in former
  versions of XFree86.
 
 Then there is another problem that I'm seeing because AutoRepeat does
 nothing at all.  I can change the 250 to 500 or the 5 to 0, 6, or 15
 and rerun X.  NO CHANGE.  Also, the SetKbdSettings lines do not change
 either, the rate remains 5 and the delay 105.


To clear up the earlier confusion from above:  I now know the
SetKbdSettings stuff is coming from *GNOME* (latest version of GNOME,
I'm using potato updated almost daily).  It now sets the keyboard
every time it starts, thus the value of AutoRepeat in XF86Config
*seems* to be ignored, but actually its just being overridden at
startup every time.
Setting the keyboard in GNOME's config will solve the problem,
AutoRepeat in XF86Config can be ignored as long as you use GNOME. 
Note:  The rate variable doesn't seem to be linear, so you have to
experiment with the numbers to find what is comfortable for you,
{rate=25, delay=250} works for me.


-- 
It is dangerous to be right when the government is wrong. - Voltaire

Ed C.



Re: Keyboard autorepeat

2000-01-19 Thread Ed Cogburn
Michel Dänzer wrote:
 
 --- Ed Cogburn [EMAIL PROTECTED] wrote:
 
There is, to me, something suspicious that I haven't noticed before.
  The last lines of the text console after starting X now include:
 
SetKbdSettings - type: 0 rate: 5 delay: 105 snumlk: 0
SetKbdSettings - succeeded
 
  Where is this coming from?  Its NOT the AutoRepeat thing in
  XF86Config, this is something new thats been added recently.
 
 Let's repeat it: It _is_ the AutoRepeat thing. It was ignored in former
 versions of XFree86.


Then there is another problem that I'm seeing because AutoRepeat does
nothing at all.  I can change the 250 to 500 or the 5 to 0, 6, or 15
and rerun X.  NO CHANGE.  Also, the SetKbdSettings lines do not change
either, the rate remains 5 and the delay 105.


-- 
It is dangerous to be right when the government is wrong. --
Voltaire

Ed C.


Re: Keyboard autorepeat

2000-01-17 Thread Ethan Benson

On 16/1/2000 Alisdair McDiarmid wrote:


Where can I change this setting?


/sbin/kbdrate -r 30.0 -d 250

worked for me.  do it on the console though, or else it will only 
affect X it seems.


can anyone tell me why there is a /etc/pam.d/kbdrate file that seems 
to do nothing?  any user can use kbdrate and change the keyboard 
settings globally afaict.


Ethan


Re: Keyboard autorepeat

2000-01-17 Thread Dänzer


--- Alisdair McDiarmid [EMAIL PROTECTED] wrote:
 On Sun, Jan 16, 2000 at 06:53:25PM +, Alisdair McDiarmid wrote:
  I just upgraded my machine to current potato, and the keyboard
  autorepeat settings have changed: delay is now 500ms instead of ~300ms
  as it was before.
  
  I've fixed the problem in X by editing my XF86Config file (added
  AutoRepeat 300 5 in the Keyboard section) but the virtual console
  setting is still wrong.
 
 No it's not, I'm just being stupid.
 
 By the way, where did this change in the recent upgrade? Somewhere in
 the X packages?

Upstream in XFree86.

Former versions didn't even handle the AutoRepeat option. While 3.3.6 does,
it can't restore it for the console because the rate can't be inquired.


Michel


=
Software is like sex; it's better when it's free
 -- Linus Torvalds

If you continue running Windows, your system may become unstable.
 -- Windows 95 BSOD
__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


Re: Keyboard autorepeat

2000-01-17 Thread Ed Cogburn
Alisdair McDiarmid wrote:
 
 On Sun, Jan 16, 2000 at 06:53:25PM +, Alisdair McDiarmid wrote:
  I just upgraded my machine to current potato, and the keyboard
  autorepeat settings have changed: delay is now 500ms instead of ~300ms
  as it was before.
 
  I've fixed the problem in X by editing my XF86Config file (added
  AutoRepeat 300 5 in the Keyboard section) but the virtual console
  setting is still wrong.
 
 No it's not, I'm just being stupid.
 
 By the way, where did this change in the recent upgrade? Somewhere in
 the X packages?


I'm having the same problems, and I think its X related.  I run
kbdrate on boot up, and everything is fine untill I run X.  The kbd
suddenly speeds up not just in virtual consoles in X, but also back in
the text console terms as well.  I have to run kbdrate now, every time
I turn around.

There is, to me, something suspicious that I haven't noticed before. 
The last lines of the text console after starting X now include:

SetKbdSettings - type: 0 rate: 5 delay: 105 snumlk: 0
SetKbdSettings - succeeded

Where is this coming from?  Its NOT the AutoRepeat thing in
XF86Config, this is something new thats been added recently.


-- 
It is dangerous to be right when the government is wrong. --
Voltaire

Ed C.


Re: Keyboard autorepeat

2000-01-17 Thread Dänzer


--- Ed Cogburn [EMAIL PROTECTED] wrote:

   There is, to me, something suspicious that I haven't noticed before. 
 The last lines of the text console after starting X now include:
 
   SetKbdSettings - type: 0 rate: 5 delay: 105 snumlk: 0
   SetKbdSettings - succeeded
 
 Where is this coming from?  Its NOT the AutoRepeat thing in
 XF86Config, this is something new thats been added recently.

Let's repeat it: It _is_ the AutoRepeat thing. It was ignored in former
versions of XFree86.


Michel


=
Software is like sex; it's better when it's free
 -- Linus Torvalds

If you continue running Windows, your system may become unstable.
 -- Windows 95 BSOD
__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


Keyboard autorepeat

2000-01-16 Thread Alisdair McDiarmid
I just upgraded my machine to current potato, and the keyboard
autorepeat settings have changed: delay is now 500ms instead of ~300ms
as it was before.

I've no idea which package this can be configured in. I've fixed the
problem in X by editing my XF86Config file (added AutoRepeat 300 5 in
the Keyboard section) but the virtual console setting is still wrong.

Where can I change this setting?

Thanks in advance,
-- 
Alisdair McDiarmid[EMAIL PROTECTED]


Re: Keyboard autorepeat

2000-01-16 Thread Alisdair McDiarmid
On Sun, Jan 16, 2000 at 06:53:25PM +, Alisdair McDiarmid wrote:
 I just upgraded my machine to current potato, and the keyboard
 autorepeat settings have changed: delay is now 500ms instead of ~300ms
 as it was before.
 
 I've fixed the problem in X by editing my XF86Config file (added
 AutoRepeat 300 5 in the Keyboard section) but the virtual console
 setting is still wrong.

No it's not, I'm just being stupid.

By the way, where did this change in the recent upgrade? Somewhere in
the X packages?
-- 
Alisdair McDiarmid[EMAIL PROTECTED]


Re: keyboard autorepeat

1999-09-20 Thread David Wright
Quoting Ian Zimmerman ([EMAIL PROTECTED]):
 Is there a clean way to once and for always set the keyboard
 autorepeat delay and rate on a Debian system?  I mean something like 
 
 kbdrate -d 500 -r 10.0
 
 somewhere in the /etc/init.d/* scripts.  grep says no there is no
 such thing -- do I have to add it myself, and if so, what's the best
 place? 

$ cat /etc/rc.boot/keyboardrate 
#!/bin/sh
#
# Set the keyboard repetition rate.
#
# mS
DELAY=500
# cps
REPEAT=15
/sbin/kbdrate -r $REPEAT -d $DELAY
exit 0

OK, you're not meant to use /etc/rc.boot, but I'll stop when Debian stops.
I can't remember whether unsupported values just don't work, or whether
the closest values are used. I don't even know whether linux or firmware
handles this.

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.


Re: keyboard autorepeat

1999-09-20 Thread Brian Servis
*- On 20 Sep, David Wright wrote about Re: keyboard autorepeat
 Quoting Ian Zimmerman ([EMAIL PROTECTED]):
 Is there a clean way to once and for always set the keyboard
 autorepeat delay and rate on a Debian system?  I mean something like 
 
 kbdrate -d 500 -r 10.0
 
 somewhere in the /etc/init.d/* scripts.  grep says no there is no
 such thing -- do I have to add it myself, and if so, what's the best
 place? 
 
 $ cat /etc/rc.boot/keyboardrate 
 #!/bin/sh
 #
 # Set the keyboard repetition rate.
 #
 # mS
 DELAY=500
 # cps
 REPEAT=15
 /sbin/kbdrate -r $REPEAT -d $DELAY
 exit 0
 
 OK, you're not meant to use /etc/rc.boot, but I'll stop when Debian stops.

Debian is stopping to use it. The only document that is not updated
is the Debian policy, although the change has been accepted, see 
http://www.debian.org/Bugs/db/32/32448.html. Also look at 'man 5
rc.boot', /usr/doc/sysvinit/README.runlevels.gz and
http://www.debian.org/lintian/reports/Tpackage-installs-into-etc-rc.boot.html.

The correct procedure is to put the script in /etc/init.d with a .sh
extension and link to it from /etc/rcS.d.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


keyboard autorepeat

1999-09-13 Thread Ian Zimmerman
Is there a clean way to once and for always set the keyboard
autorepeat delay and rate on a Debian system?  I mean something like 

kbdrate -d 500 -r 10.0

somewhere in the /etc/init.d/* scripts.  grep says no there is no
such thing -- do I have to add it myself, and if so, what's the best
place? 

As a start, I tried to use the Gnome control panel to set it in X
(although eventually I want it in text mode too).  But changing the
keyboard settings there seems to have no effect at all ...

-- 
Ian Zimmerman
Lightbinders, Inc.
2325 3rd Street #324, San Francisco, California 94107