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

Re: weird terminal behavior (moving 4-places at a time)



On Dec 10 96, C. v. Stuckrad <stucki@xxxxxxxxxxxxxxxxx> wrote:
> On Mon, 9 Dec 1996, Louis-David Mitterrand wrote:
> 
> > A funny behaviour occurs sometime that I never saw on bash: when editing
> > the command line or going through history with the arrow keys, the
> > cursor's moves become jerky. When you keep pressing the key the cursor
> > seems to move four spaces at a time. Yet the strangest thing is that it
> > occurs sometimes and then goes away... 
> 
> I always assumed this to be X11-Protocol, or some terminal-driver or
> daemon interaction, as it is the more prominent the longer/slower the line
> is on which you are connected. I see the same behavior for many tools as
> telnet, rlogin, ssh. (It might be connected to the curses library ?) 
> 

No, it's much simpler than that, as Zoltan pointed out to me by private
e-mail. It has to do with with the BAUD setting of the terminal which is
automatically set when the shell starts up. This setting should be set
to 0 when using and xterm or console on the local machine.

export BAUD=0 # that's what I did and everything works like a charm

Cheers.

-- 

     Louis-David Mitterrand
     (Formula 1): http://www.zoom.com/mito/
     (Java page): http://www.zoom.com/mito/quote/
     mito@xxxxxxxxxxx 



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