The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Weird scenario with Awk Khoomfire UNIX for Advanced & Expert Users 4 10-28-2007 08:25 PM
HP-UX weird FTP ? IngmarMeins HP-UX 10 11-29-2005 04:22 PM
Kind of weird question Cyberaxe UNIX for Dummies Questions & Answers 2 07-26-2005 02:19 PM
weird stuff woofie Windows & DOS: Issues & Discussions 4 11-16-2004 03:41 PM
Weird script Duckman UNIX for Dummies Questions & Answers 2 03-14-2001 09:53 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-18-2004
Registered User
 

Join Date: Sep 2004
Location: Mumbai-India
Posts: 151
Weird Question

As in Windows we have Video memory and we can access it through C programs, do we have anything similar to that in Unix and similar operating systems. If we have some sort of Video memory in Unix flavours, then how can we access it through C programs.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-20-2004
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,861
Video memory is a PC thing. Unix runs on a LOT of different hardware platforms, and was around before PC's. I/O operations are initiated in kernel mode.

The ncurses library supports some screen operations, which allow you to get data from what is on the display. Check that out.
Reply With Quote
  #3 (permalink)  
Old 10-20-2004
Registered User
 

Join Date: Sep 2003
Location: Canada
Posts: 56
Yeah, and even with Windows, you usually don't access the video memory directly. AFAIK, most apps will use the GDI lib or DirectX/OpenGL for bitmap graphics. And in fact, most apps won't need bitmaps at all; they will just use GUI widgets.

If you need bitmap graphics under UNIX, take a look at X11 (Ximage functions or the MIT-SHM extension are prolly what you should use), GGI, SDL or something with OpenGL.
Reply With Quote
  #4 (permalink)  
Old 10-20-2004
Registered User
 

Join Date: Sep 2004
Location: Mumbai-India
Posts: 151
Can u please tell me where can i find good help about the Ncurses library. I have tried to find some material about Ncurses but was some unable to find some useful information.
Reply With Quote
  #5 (permalink)  
Old 10-21-2004
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
http://dickey.his.com/ncurses/ncurses.faq.html
http://en.tldp.org/HOWTO/NCURSES-Programming-HOWTO/
http://web.cs.mun.ca/~rod/ncurses/ncurses.html

A google search for ncurses gives 580,997 results just like those three.

Cheers
ZB
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




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


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