java vs c, escape sequences
rick271828
rick314159@yahoo.com
Sat Sep 13 16:18:00 GMT 2008
Can anybody please explain why the c code:
printf("%c[H%c[J",27,27); clears my cygwin console as expected, but the
Java code:
System.out.print("\033[2J\033[H");
displays a back arrow instead on interpreting the escape character?
the problem seems impervious to all language level variations and ansi.sys
loaded or not in windows land
cygwin on windows xp, jdk1.6.0_06 from sun, gcc et.al. from cygwin
thanks for any help
--
View this message in context: http://www.nabble.com/java-vs-c%2C-escape-sequences-tp19469048p19469048.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list