OpenQNX :: The QNX Community Portal

Oct 06, 2008 - 07:08 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 46 unlogged users and 1 registered user online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
davea
Post subject: Detecting console switch (QNX6)  PostPosted: Jul 27, 2007 - 05:40 PM
Active Member


Joined: Jul 25, 2003
Posts: 16

Want to port QNX 4 app to QNX6 at some point, but app wrote directly to video card memory and would detect when console switched , so would either refresh screen or stop writing. Is there either a virtual CGA console buffer I can write to (not interested in ncurses) or a way to detect that my app is the currenty active console similar to QNX4
 
 View user's profile Send private message  
Reply with quote Back to top
maschoen
Post subject: RE: Detecting console switch (QNX6)  PostPosted: Jul 27, 2007 - 08:36 PM
QNX Master


Joined: Jun 25, 2003
Posts: 1095

I'm guessing here, but consider the discussion that went on a few months ago about (re-)creating a text ditto program for QNX 6. The consensus was that the console driver did not have the needed user calls, and would have to be rewritten to provide them. I suspect that the call you are looking for is in the same category, although this could be wrong. If you can get the source to the console driver, it might not be a large task to add it.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.