Is it possible to clear the terminal screen (Hyperterminal/Br@y's) with USART? What charater(s) do you have to send?
Thanks,
Andy
Is it possible to clear the terminal screen (Hyperterminal/Br@y's) with USART? What charater(s) do you have to send?
Thanks,
Andy
It depends on what terminal emulation mode it set to.
IIRC For ANSI it's "
putchar(27); putchar('['); putchar('2'); putchar('J');
Depending what terminal type they are simulating you will need to get a copy of their escape sequences. This should let you clear the screen, move the cursor, change text colour etc.
Haven't played with that for many years. :) Try in VT100 or ANSI mode and get a copy of the escape sequences, I should have some info somewhere but it has been some 10 years since I used them.
edit beaten by a clog lenght... :)
In the good old days it was just Ctrl-L which would be:
putchar(12);
In the good old days it was just Ctrl-L which would be:putchar(12);
JW
PS. Bray's is highly unsuitable for this kind of job, and hypoterminal is not the best one around. Try TeraTerm for this particular purpose.
I think that a
VT52s (including HyperTerminal's emulation of VT52s) work with