10-26-07 12:34 PM
Stephane CHAZELAS <this.address@is.invalid> wrote:
> 2007-10-25, 11:47(-00), Thomas Dickey:
[vbcol=seagreen]
> Thanks Thomas,
> So, how much can you rely on tput u7, then?
It's in ncurses - but not in other implementations.
> I can see u7 is often set to \e[6n, but terminfo(5) manpage,
> only describes u7 as "user string #7". Is there any sort of
> standard that says that u7 should contain the "request cursor
> position" escape sequence when available?
There is no _standard_, but the comments in ncurses' terminfo.src note
this use. The tack program (which I understand to be the origin of
this) assumes these strings are set up, and will use them. Since the
example is from vt100, then most of the currently-used terminals should
support this.
Some other applications may use them, but I do not have a list.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
[ Post a follow-up to this message ]
|