The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

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
Command to know the terminal cursor position aneesha HP-UX 3 09-02-2007 03:16 PM
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 02-06-2007
Registered User
 

Join Date: Feb 2007
Posts: 3
Stumble this Post!
Cursor Global Position

Hello all,

How can i get the global position of the cursor?
(i'm using c language, and suse 10.1 linux)

Thanks.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 02-06-2007
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,844
Stumble this Post!
use:
ncurses library for xterm
ANSI escape sequences to set and get (depending on the tty) cursor position
Reply With Quote
  #3 (permalink)  
Old 02-06-2007
Registered User
 

Join Date: Feb 2007
Posts: 3
Stumble this Post!
Thanks for your replay,

but i need to get the global position, i mean for all the screen.

i'm using framebuffer to draw something on the screen(desktop), and i want to get the position of the cursor.

How can i do that?

Thanks.
Reply With Quote
  #4 (permalink)  
Old 02-12-2007
Registered User
 

Join Date: Feb 2007
Posts: 3
Stumble this Post!
any help? any idea?
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:11 PM.


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

Content Relevant URLs by vBSEO 3.2.0