This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: No CRs in :! command output from vim in rxvt


On 2009-10-05, Gary Johnson wrote:
> When I run vim in an rxvt terminal, and I execute a shell command
> such as
>
>     :!ls
>
> there are no carriage returns in the output, only line feeds at the
> ends of the lines, so the lines stair-step across the terminal
> window.

[...]

> This looks to me like a problem with rxvt rather than with vim, but
> I'm not sure.  In any case, does anyone know of a solution, other
> than piping all such commands through u2d?  Thanks.

Here's a little more information.  While on a Linux system, I opened
an xterm window, ssh'd to a system running Cygwin 1.5 on Windows XP,
executed "stty onlret", started vim and executed ":!stty" with the
result that the stair-stepping is still there.

    :!stty
    speed 38400 baud; line = 0;
                               -imaxbel
                                       onlret

That would suggest that the problem is with vim on Cygwin and not
with rxvt.  Vim on Linux doesn't do this.

Regards,
Gary



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]