Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can AIX tell what line cursor is on ?

Status
Not open for further replies.

Tison

Programmer
Joined
May 12, 1999
Messages
216
Location
CH
Is it possible in AIX to tell what line or column the cursor is on ?
OR
Is it possible to tell how many lines of data are displayed on a screen ?
 
I'm assuming you mean in a terminal or telnet window of some sort.

Yes.

For script use, try getting your information from "termdef"

 
OK,,how do I do it ?
 
[tt]ROWS=`termdef -l`
COLS=`termdef -c`[/tt]

[tt]man termdef[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top