Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: command-line editing speed

On May 8, 12:11pm, <Norman.Azadian@xxxxxxxxxxxx> wrote:
} I'm running version 3.1.5 ($-=3567HRXZhiklms)  on a relatively powerful
} HP machine.  Recently we've been noticing that command-line editing
} seems to have become much slower.

For quite some time now I've been noticing that my keyboard "driver"
loses its key-repeat-rate setting.  That is, have to use the console
"kbdrate" command to restore it, it has nothing to do with the X11 key
repeat setting.  This doesn't happen in any regular way that I can track
down, and I sometimes go for weeks without it happening at all.

However, your problem is more likely related to something else I've
noticed:  ioctl()/stty doesn't always report the right simulated "baud
rate" for X terminal emulators.  ZLE adjusts its display behavior based
on the reported baud rate.  I've had to put code into my .zshrc to force
the BAUD variable to have a reasonable setting regardless of what stty
claimed it to be.

Messages sorted by: Reverse Date, Date, Thread, Author