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
read terminal command munnu High Level Programming 6 01-11-2007 12:56 PM
file attributes Hitori Shell Programming and Scripting 1 07-12-2006 12:12 PM
How to read lock terminal values in solaris pankajarora_12 UNIX for Dummies Questions & Answers 0 07-11-2006 07:31 AM
read from terminal rein Shell Programming and Scripting 1 10-21-2005 07:43 AM
Terminal Hungup at the time of read pkusumam Shell Programming and Scripting 1 11-30-2001 12:19 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-17-2008
Registered User
 

Join Date: May 2008
Posts: 2
Stumble this Post!
How to read terminal attributes using ioctl()

I want to get the terminal attributes such as ,
terminal width
terminal height
current cursor position

Can I use ioctl function.
Please help me how to use this function to get these details..

If possible please explain with a sample code.

I'm very new to UNIX progrmming....

Thanks and Regards,
Sree
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-17-2008
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,449
Stumble this Post!
See: How to programm TTY devices under UNIX platform?
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:23 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