delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/29/14:53:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49820941.8090301@gmail.com>
Date: Thu, 29 Jan 2009 19:53:37 +0000
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.18 (Windows/20081105)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: MinTTY feature? Or bug?
References: <497D3B1F DOT 7040006 AT veritech DOT com>
In-Reply-To: <497D3B1F.7040006@veritech.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Lee D. Rothstein wrote:
> Interesting feature or bug of MinTTY that does not obtain with any other
> terminal emulator with which I'm familiar.
> 
> To wit:
> 
> If you have a running synchronous script or command to the screen and you
> type ^l (Ctrl-l) it will immediately clear the screen before the ongoing
> command terminates.
> 
> My feeling is that it doesn't matter, but that the behavior is different
> from other virtual terminals.

I've had a look at this: it's a feature that MinTTY inherited from 
PuTTY. PuTTY emulates features of a whole range of terminals from VT100 
through to VT510, and also the so-called 'SCO ANSI' (from before SCO 
became a dirty word).

Apparently the latter interprets the echoed ^L as an actual form feed, 
whereas all the others just do a linefeed. (There's a separate sequence 
for clearing the screen, which bash sends when it sees a ^L being typed.)

The default compatibility setting includes 'SCO ANSI', hence the 
behaviour you're seeing. I'll take it out in the next release.

Andy

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

- Raw text -


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