Looking for Cursor contol characters for Windows

S

spanton7

I'm writing a ruby program with runs in a Command windows (DOS Box)
on Windows 2000 and need to update certain files on the screen with out
repainting the whole screen. To accomplish this I am looking
for the table of control characters which can move the cursor
around.

Any ideas or references to packages with these capabilities
would be greatly appreciated.

John
 
A

Aredridel

I'm writing a ruby program with runs in a Command windows (DOS Box)
on Windows 2000 and need to update certain files on the screen with out
repainting the whole screen. To accomplish this I am looking
for the table of control characters which can move the cursor
around.

Any ideas or references to packages with these capabilities
would be greatly appreciated.

search for "ANSI control codes" or "VT100 Control codes"

ESC[$v;$hH

where ESC is the escape character, decimal 27, $v is the row, and $h is
the column, and the [, ; and H are literal.

Ari
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top