This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Control the cygwin terminal with escape sequences
- From: "Philippe Verdret" <philippe dot verdret at xps-pro dot com>
- To: <cygwin-xfree at cygwin dot com>
- Date: Mon, 3 Mar 2003 14:25:18 +0100
- Subject: Control the cygwin terminal with escape sequences
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: <philippe dot verdret at xps-pro dot com>
Hi,
i want to control the cygwin terminal with escape sequences generated
by a Perl program.
I can clear the screen with the echo command:
% echo -e "\033[H\033[J"
but if i write a small inline perl program, i can't:
% perl -e 'print "\033[H\033[J"'
This doesn't work even if i put the screen in 'raw mode' without echo
(with system('stty -echo raw') in the perl program).
Can you help me?
Philippe