From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31184 invoked by alias); 29 Jan 2009 19:53:01 -0000 Received: (qmail 31173 invoked by uid 22791); 29 Jan 2009 19:53:00 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from ug-out-1314.google.com (HELO ug-out-1314.google.com) (66.249.92.168) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 29 Jan 2009 19:52:52 +0000 Received: by ug-out-1314.google.com with SMTP id 36so653755uga.17 for ; Thu, 29 Jan 2009 11:52:48 -0800 (PST) Received: by 10.67.103.11 with SMTP id f11mr1260862ugm.12.1233258768841; Thu, 29 Jan 2009 11:52:48 -0800 (PST) Received: from ?192.168.0.5? (92-235-183-122.cable.ubr18.sgyl.blueyonder.co.uk [92.235.183.122]) by mx.google.com with ESMTPS id 24sm18524937ugf.22.2009.01.29.11.52.45 (version=SSLv3 cipher=RC4-MD5); Thu, 29 Jan 2009 11:52:47 -0800 (PST) Message-ID: <49820941.8090301@gmail.com> Date: Thu, 29 Jan 2009 22:19:00 -0000 From: Andy Koppe User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: MinTTY feature? Or bug? References: <497D3B1F.7040006@veritech.com> In-Reply-To: <497D3B1F.7040006@veritech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2009-01/txt/msg00868.txt.bz2 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/