public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* MinTTY feature? Or bug?
@ 2009-01-26  9:49 Lee D. Rothstein
  2009-01-29 22:19 ` Andy Koppe
  0 siblings, 1 reply; 2+ messages in thread
From: Lee D. Rothstein @ 2009-01-26  9:49 UTC (permalink / raw)
  To: Cygwin Tech List

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.

Lee

--
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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: MinTTY feature? Or bug?
  2009-01-26  9:49 MinTTY feature? Or bug? Lee D. Rothstein
@ 2009-01-29 22:19 ` Andy Koppe
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Koppe @ 2009-01-29 22:19 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-29 19:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-26  9:49 MinTTY feature? Or bug? Lee D. Rothstein
2009-01-29 22:19 ` Andy Koppe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).