On 2010-10-13, ZyX wrote:

> Sometimes after I kill vim I get this stair-stepping in a terminal, but if I 
> do 
> ``stty onlcr'' everything gets fine (in zsh this can be fixed by putting 
> ``ttyctl -f'' into .zshrc if you are interested. No calls to `stty' will be 
> required then). Try to examine ``stty'' output (without arguments), on my 
> machine it is
>     speed 38400 baud; line = 0;
>     erase = ^H;
>     -brkint ixoff -imaxbel iutf8
> both inside vim (:!stty) and in terminal. If it changes, try to find why: 
> here 
> ``strace'' will be your friend, if I am not mistaking tty is controlled by 
> ``ioctl'' system call, so you need to find on what event it is called.
> 
> By the way, does the output of the following command echo the same stepping 
> formation?:
>     :!stty -onlcr && ls -l

Yes, the stair-stepping is still present.  Also, if I execute

    :!stty -a

the stair-stepping is sometimes present as I described previously
using "ls", but the output contains "onlcr" (no -) in both
stair-stepped and non-stair-stepped cases.

The output of "stty" on this machine is

    speed 38400 baud; line = 0;
    erase = ^H;
    -imaxbel
    -echoe -echok -echoctl -echoke

both from a shell prompt and from within vim.

Regards,
Gary

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to