Clear Screen

Thomas Dickey dickey@his.com
Wed Dec 1 22:44:00 GMT 2010


On Wed, 1 Dec 2010, Andy Koppe wrote:

> On 1 December 2010 21:24, Thomas Dickey wrote:
>> By the way, the clearing of the screen on ctrl/L is not done by xterm.
>> (PuTTY does this, in case you're mistaking it for xterm, otherwise
>> I'd assume bash is doing it).
>
> Yep, bash sends '\e[2J' when ^L is pressed. PuTTY's behaviour of
> interpreting ^L as formfeed is due to its SCOANSI mode being enabled
> by default. (Strange that the VT100 interpreted ^L, which of course is
> ASCII formfeed, as linefeed instead.)

yes - it used to be that only printers did form-feeds, and terminals did 
not.  See my comment about a "repaginator" here:

http://invisible-island.net/personal/oldprogs.html

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

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



More information about the Cygwin-xfree mailing list