Control the cygwin terminal with escape sequences

Philippe Verdret philippe.verdret@xps-pro.com
Mon Mar 3 13:42:00 GMT 2003


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



More information about the Cygwin-xfree mailing list