reassign console to display

The graphics implementation we are using isn’t set up to return the
display back to the console after the application finishes, so you’re
stuck looking at it when it’s done. During testing, it would be nice to
get the console back.

You can get back to Photon if you start it from a remote console, since
it will take back control of the display, but how can you get the
display/CRT back to original the console?

(yeah, we could go into Photon and then shut photon down again or simply
only use remote sessions, but …)

I would imagine there is some command to reassign the console to the
display/CRT.

Thanks.
eric

eric allhusen <eallhusen@yahoo.com> wrote:

The graphics implementation we are using isn’t set up to return the
display back to the console after the application finishes, so you’re
stuck looking at it when it’s done. During testing, it would be nice to
get the console back.

You can get back to Photon if you start it from a remote console, since
it will take back control of the display, but how can you get the
display/CRT back to original the console?

(yeah, we could go into Photon and then shut photon down again or simply
only use remote sessions, but …)

I would imagine there is some command to reassign the console to the
display/CRT.

QNX4 or QNX6?

Slaying and restarting the console driver might do it.

Under QNX4 doing a CTRL-ALT-> then a CTRL-ALT-< might do it.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

David Gibbs <dagibbs@qnx.com> wrote:

eric allhusen <> eallhusen@yahoo.com> > wrote:

The graphics implementation we are using isn’t set up to return the
display back to the console after the application finishes, so you’re
stuck looking at it when it’s done. During testing, it would be nice to
get the console back.

You can get back to Photon if you start it from a remote console, since
it will take back control of the display, but how can you get the
display/CRT back to original the console?

(yeah, we could go into Photon and then shut photon down again or simply
only use remote sessions, but …)

I would imagine there is some command to reassign the console to the
display/CRT.

Hm…I was thinking on this last night. I don’t think the console has
been “un-assigned” per se. What has happened is your graphics
implementation has talked to the graphics card, and put it into
graphics mode. It needs to be switched back to text mode… but
this is usually the domain of whatever did the first mode switch.

Basically, that thing is expected to restore things to how they were
when it is done. Because of this, there’s isn’t a general utility to
switch you back out of graphics mode.

My suggestions were things that I thought might attempt to put the
graphics card into a particular (text) mode…and so might do this,
rather than “re-assign the console” type things.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.