Hello,

I have problems to understand how the capability u6 (cursor position
report) is supposed to being used.

My naive expectation was that I output a u7 (cursor position request),
then read the result and use u6 for a *scanf() function.  But, in my
case, because of the %i in "\E[%i%d;%dR" a *scanf() fails.

In util-linux (term-utils/setterm.c) and also ncurses
(ncurses/tty/tty_update.c) such results ares scanned using a constant
format "\033[%d;%dR" -- no tigetstr() happens.

Regards,

Dirk

Attachment: signature.asc
Description: PGP signature

Reply via email to