Re: Get current screen location
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Re: Get current screen location




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Get current screen location  
Thomas Dickey


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:03 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register