Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ANSI escape sequence question

2 views
Skip to first unread message

exile

unread,
Apr 23, 2003, 1:45:57 AM4/23/03
to
1. Is it possible to hide the cursor (making it invisible) using
ANSI escape sequences?

2. What does this sequence really do?

From a reference:
" ESC[#;#R Reports current cursor line & column
"
I tried it. Nothing visible happend. What is this function supposed to
do?

(I know this isn't the most fitting group for these kind of questions
but google doesn't let me post to comp.msdos.programmer, so please
don't redirect me there)

TIA

Bill Godfrey

unread,
Apr 23, 2003, 4:57:26 AM4/23/03
to
white...@arcor.de (exile) wrote:

> From a reference:
> " ESC[#;#R Reports current cursor line & column
> "
> I tried it. Nothing visible happend. What is this function supposed to
> do?

This kind of command will go server -> terminal. You'll see a response from
whereever the keyboard input comes from.

The response will have the usual "\033[" prefix. It could be that your
server is seeing this and simply eating it before you notice it.
Alternatively, the server may simply echo the response back which is eaten
by the vt100.

A lack of response is an indication that the vt100 does not recognise this
query.

Bill, abusing the word "vt100".

Thomas Dickey

unread,
Apr 23, 2003, 6:56:56 AM4/23/03
to
exile <white...@arcor.de> wrote:
> 1. Is it possible to hide the cursor (making it invisible) using
> ANSI escape sequences?

No - ANSI (obsolete: use ISO 6429) doesn't define a sequence for this.
Some terminal types (DEC vt320 for example) do, using private sequences.

--
Thomas E. Dickey <dic...@radix.net> <dic...@herndon4.his.com>
http://dickey.his.com
ftp://dickey.his.com

0 new messages