using 'printf' in a script in terminal window
Mike McNally
emmecinque at gmail.com
Sun Nov 22 14:30:36 CET 2009
Out of idle curiosity, how did you develop this theory that the
form-feed ASCII control
character is supposed to clear the window of any and all terminal
emulators, especially
in light of the fact that it doesn't?
On Sun, Nov 22, 2009 at 5:25 AM, Jerry <gesbbb at yahoo.com> wrote:
> On Sat, 21 Nov 2009 18:33:08 -0600
> Mike McNally <emmecinque at gmail.com> replied:
>
>> According to
>>
>> http://tinyurl.com/yh8qye9
>>
>> the VT-102 "clear screen" escape sequence is ESC [ 2 J, and indeed
>> when I run
>>
>> printf '\033[2J'
>>
>> on those terminal emulators, the screen clears in each one.
>
> Interesting! That occurs here also. However, I did notice that the
> cursor is not relocated to the top of the screen. It remains at the
> position it was when the printf '\033[2J' command was issued. Somehow,
> that does not seem correct either.
>
> Thanks very much for your feedback. I am in the process of creating a
> bug report now.
>
> --
> Jerry
> gesbbb at yahoo.com
>
> |::::=======
> |::::=======
> |===========
> |===========
> |
>
> The chief enemy of creativity is "good" sense.
>
> Picasso
>
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce
> http://www.xfce.org
>
--
Turtle, turtle, on the ground,
Pink and shiny, turn around.
More information about the Xfce
mailing list