The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Changing cursor position using shell script balamv Shell Programming and Scripting 2 06-02-2008 10:10 AM
get terminal width and cursor position Sreejesh.S High Level Programming 0 05-16-2008 04:02 AM
Cursor Global Position boogy High Level Programming 3 02-12-2007 07:18 AM
Cursor position gefa UNIX for Dummies Questions & Answers 3 03-17-2006 07:07 AM
Get the cursor position bestbuyernc Shell Programming and Scripting 0 07-27-2005 01:59 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-30-2007
Registered User
 

Join Date: Aug 2007
Posts: 1
Command to know the terminal cursor position

Dear all,

How can i get the current cursor position..is thr any command to find the same?

Thanks in Advance
Aneesh
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-30-2007
Registered User
 

Join Date: Aug 2007
Posts: 3
do u mean in vi editor....
set ruler....
Reply With Quote
  #3 (permalink)  
Old 08-30-2007
Registered User
 

Join Date: Aug 2007
Posts: 3
set ruler like this....
:se ruler
Reply With Quote
  #4 (permalink)  
Old 09-02-2007
Moderator
 

Join Date: Dec 2003
Location: /dev/florida
Posts: 954
You could write a small program using the CURSES getxy() function
to output the X and Y co-ordinates

void getyx(WINDOW *win, int y, int x);
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:09 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0