hello, i am working on a 8051 controller..i have to display a certain message on a particular location on the terminal...is there any function through which i can set the cursor position..??or any other method for doing this??
This is done with escape sequences:
ascii-table.com/ansi-escape-sequences-vt-100.php
how can this be implemented??could you elaborate??i was referring to a PC serial hyper terminal...
What Terminal?
Sorry, who is actually supposed to be doing this work...?
"how can this be implemented??"
www.8052.com/.../160143
"could you elaborate??"
www.lmgtfy.com
"i was referring to a PC serial hyper terminal"
Do you think it makes any difference to the PC whether the commands come from an 8051, or anything else...?
a serial hyperterminal..
Console windows in Windows versions do not support ANSI escape sequences at all..
Now you have to decide. A console window (as in the command-line window available for test-based command-line tools) or the hyperterminal?
The hyperterminal is dumb. But not dumb enough that it only supports printing characters one one line and switching to next text line. It have ANSI, VT52, VT100, ...
That is terminal emulations, i.e. emulations of smart consoles that allows lots of things to be done by just decoding the character stream that is received.
Haven't Google given you enough information already?
well i tried sending a sequence of {0x1b,'[',6,'C'} to the hyper terminal...but the message doesnt get displayed at the 6th location from start...am i doing anything wrong here??
If it's not working, then you must be!
Have you actually spent any time looking at examples?
This stuff was well-established 20 years ago - it's not like you're breaking any new ground!