delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/06/12:36:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Date: Tue, 6 Oct 2009 09:35:56 -0700
From: Gary Johnson <garyjohn AT spocom DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: No CRs in :! command output from vim in rxvt
Message-ID: <20091006163556.GA5048@KCJs-Computer>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20091005211225 DOT GB3860 AT KCJs-Computer>
Mime-Version: 1.0
In-Reply-To: <20091005211225.GB3860@KCJs-Computer>
User-Agent: Mutt/1.4.2.2i
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019