This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Control the cygwin terminal with escape sequences


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]