switch console

Is there a way to switch console (text mode) from a program.

I’m looking for the console_active QNX4 equivalent.

  • Mario

Mario Charest <goto@nothingness.com> wrote:


Is there a way to switch console (text mode) from a program.

I’m looking for the console_active QNX4 equivalent.

To the best of my knowledge, there is none.

If I were implementing these, I’d do them as a new set of devctl()
for devc-con. Depending on how badly you need them, might be
worth talking to your sales person about either a feature request
to be done by us, or about getting access to devc-con source to
modify yourself. I don’t know how protective we are of that
particular piece.

-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:

Mario Charest <> goto@nothingness.com> > wrote:



Is there a way to switch console (text mode) from a program.

I’m looking for the console_active QNX4 equivalent.

To the best of my knowledge, there is none.

If I were implementing these, I’d do them as a new set of devctl()
for devc-con. Depending on how badly you need them, might be
worth talking to your sales person about either a feature request
to be done by us, or about getting access to devc-con source to
modify yourself. I don’t know how protective we are of that
particular piece.

Or, the hacker way… use the debug interface (look at the source
to gdb to find how we do direct control), and then find the variable
that controls current console, use the debug interface set this, and
call whatever internal function does the console switch, then detach
again. Yeeha!

(Thanks for this evil thought, Eric.)

-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 in message
news:a8il92$bsg$1@nntp.qnx.com

David Gibbs <> dagibbs@qnx.com> > wrote:
Mario Charest <> goto@nothingness.com> > wrote:


Is there a way to switch console (text mode) from a program.

I’m looking for the console_active QNX4 equivalent.

To the best of my knowledge, there is none.

If I were implementing these, I’d do them as a new set of devctl()
for devc-con. Depending on how badly you need them, might be
worth talking to your sales person about either a feature request
to be done by us, or about getting access to devc-con source to
modify yourself. I don’t know how protective we are of that
particular piece.

Or, the hacker way… use the debug interface (look at the source
to gdb to find how we do direct control), and then find the variable
that controls current console, use the debug interface set this, and
call whatever internal function does the console switch, then detach
again. Yeeha!

Well that’s interesting :wink:

(Thanks for this evil thought, Eric.)

-David

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

Hi Dave

I know that QSSL thinks I’m the cry-baby of the internet, but devc-con ought
to be made public domain. Let’s face it. There are dozens of ways that the
QNX4 Dev.com was better. Maybe some of us users could actually make it
usable.

I know that QNX’s desire is, in no uncertain terms, to get rid of text mode
altogether. (And God I don’t know why!) But this is a big mistake. It has
usefulness.

If QSSL won’t fix the damn thing please let someone else do it. I realize
that this is a political issue and not a technical issue. Who is the powers
that be on this one? Let’s talk already.

“David Gibbs” <dagibbs@qnx.com> wrote in message
news:a8ik47$bh6$1@nntp.qnx.com

Mario Charest <> goto@nothingness.com> > wrote:


Is there a way to switch console (text mode) from a program.

I’m looking for the console_active QNX4 equivalent.

To the best of my knowledge, there is none.

If I were implementing these, I’d do them as a new set of devctl()
for devc-con. Depending on how badly you need them, might be
worth talking to your sales person about either a feature request
to be done by us, or about getting access to devc-con source to
modify yourself. I don’t know how protective we are of that
particular piece.

-David

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

I know that QNX’s desire is, in no uncertain terms, to get rid of text mode
altogether. (And God I don’t know why!) But this is a big mistake. It has
usefulness.

Actually, I wouldn’t go that far. I would say that most devices we are
supporting now are actually serial based more then anything else. I
honestly interact with most of my QNX machines via telnet and/or qtalk. :wink:

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

I know that QSSL thinks I’m the cry-baby of the internet, but devc-con
ought
to be made public domain. Let’s face it. There are dozens of ways that
the
QNX4 Dev.com was better. Maybe some of us users could actually make it
usable.

I know that QNX’s desire is, in no uncertain terms, to get rid of text
mode
altogether. (And God I don’t know why!) But this is a big mistake. It
has
usefulness.

Yes, I agree with you :wink: Some people need support for font changing (one of
the employee of QSSL rejected me with next reason: “Font changing IS NOT
CROSSPLATFORM”, what the f…, we must use resources of PC x86 architecture
at least at 100%), international keyboard support, I’m find some cruel bugs
in devc-con (~1.5 years ago), but QSSL doesn’t fix them (I’m reporting about
this bugs every 3 month), my port of TurboVision in ugly state, I need to do
some hacks in my TV port for supporting QNX ;-(), but key combinations like
Shift+arrow key doesn’t work at all, devc-con doesn’t provide needed
functionality ! ANSI code “X ESC [Yb” (replicate Y times symbol X) has bug
with color support from augusta version of beta QNX RtP !

If QSSL won’t fix the damn thing please let someone else do it. I realize
that this is a political issue and not a technical issue. Who is the
powers
that be on this one? Let’s talk already.

“Chris McKillop” <cdm@qnx.com> wrote in message
news:a8j6km$mfe$2@nntp.qnx.com

I know that QNX’s desire is, in no uncertain terms, to get rid of text
mode
altogether. (And God I don’t know why!) But this is a big mistake. It
has
usefulness.


Actually, I wouldn’t go that far. I would say that most devices we are
supporting now are actually serial based more then anything else. I
honestly interact with most of my QNX machines via telnet and/or qtalk. > :wink:

Don’t you miss “ditto” in that case?

Pavol Kycina

“Pavol Kycina” <kycina@microstep-hdo.sk> wrote in message
news:3cadaaab$1@asrpx.mshdo

“Chris McKillop” <> cdm@qnx.com> > wrote in message
news:a8j6km$mfe$> 2@nntp.qnx.com> …

I know that QNX’s desire is, in no uncertain terms, to get rid of text
mode
altogether. (And God I don’t know why!) But this is a big mistake.
It
has
usefulness.


Actually, I wouldn’t go that far. I would say that most devices we are
supporting now are actually serial based more then anything else. I
honestly interact with most of my QNX machines via telnet and/or qtalk.
:wink:


Don’t you miss “ditto” in that case?

I was hoping someone would mention it… I’m getting very tired of
complaining.
Gee I’m doing it now, oh well

Pavol Kycina


\

“Bill Caroselli (Q-TPS)” <QTPS@earthlink.net> wrote:

Hi Dave

I know that QSSL thinks I’m the cry-baby of the internet, but devc-con ought
to be made public domain. Let’s face it. There are dozens of ways that the
QNX4 Dev.com was better. Maybe some of us users could actually make it
usable.

I think it should be made accessible & modifiable – but not public
domain.

If QSSL won’t fix the damn thing please let someone else do it. I realize
that this is a political issue and not a technical issue. Who is the powers
that be on this one? Let’s talk already.

I think the person who is supposed to be the “developper’s issues”
advocate inside QNX is Haris Blentic, hblentic at qnx dot com.

-David

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

<a8ksm2$1q5$2@nntp.qnx.com> dagibbs@qnx.com

I think it should be made accessible & modifiable – but not public
domain.

devc-con source is in “Character (Serial) DDK” in CDROM and
packages.qnx.com/repository;
Actually I’ve modified and posted the devc-con in *.qnxtrp.x86
tuned for Japanese 106 keyboard (nobody seems to remember tho).

Supporting German,French,etc should be a piece of cake.

It’s QNX Community Licensed so these activities seems to be encouraged.

kabe

Previously, David Gibbs wrote in qdn.public.qnxrtp.os:

I think it should be made accessible & modifiable – but not public
domain.

If by public domain you mean that QSSL gives up their copyright to
this code, I don’t think anyone is asking for that. If you mean that
the public should not have immediate access in the source tree, I’m
curious why not. QSSL made statements a few years ago about making
all non-critical technology source code available. I can see the
problem with the kernel and most of Photon, but what could be
critical (except to users) in a console driver?

Mitchell Schoenbrun --------- maschoen@pobox.com

Mitchell Schoenbrun <maschoen@pobox.com> wrote:

Previously, David Gibbs wrote in qdn.public.qnxrtp.os:

I think it should be made accessible & modifiable – but not public
domain.

If by public domain you mean that QSSL gives up their copyright to
this code, I don’t think anyone is asking for that.

The post I was replying to said it should be “public domain”. Usually,
when one is talking about source access, copyright issues, the term
“public domain” does have that specific meaning.

If you mean that
the public should not have immediate access in the source tree, I’m
curious why not.

I said it should be accessible & modifiable. From someone else’s post
in this thread, apparently it already is.

-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 in message
news:a8ksm2$1q5$2@nntp.qnx.com

“Bill Caroselli (Q-TPS)” <> QTPS@earthlink.net> > wrote:
Hi Dave

I know that QSSL thinks I’m the cry-baby of the internet, but devc-con
ought
to be made public domain. Let’s face it. There are dozens of ways that
the
QNX4 Dev.com was better. Maybe some of us users could actually make it
usable.

I think it should be made accessible & modifiable – but not public
domain.

Good enough.