Keyboard configuration question

I am using an application that makes use of my keyboards ‘Print Screen’
button. I have confirmed through a small C program that my ‘Print Screen’
button is not being noticed by the system. I can press it all I want but
there appears to be no signal sent to the system. I would assume that I
would be able to use the ‘kbd’ or ‘kedit’ utilities but neither appear to be
installed on my system. I have scoured the entire distribution CD that I
got but cannot find either of those programs.

My problems are two fold:

  1. How can I ‘turn on’ my print screen button
  2. Where can I get my hands on the ‘kbd’ and ‘kedit’ utilities.

Thanks in advance for the help,


Chris Haidvogel
Software Engineer
Videk, Inc.
2200 Brighton Henrietta Town Line Rd.
Rochester, NY 14623
Phone: (716) 292-6210
Fax: (716) 292 5884
E-mail: cph@videk.com

May I add another keyboard related question: how can I intercept ^C key so
that I am not
inadvertently flung out of my real-time control program (which is now using
text only display via curses, and not photon)?

Ed

“Chris Haidvogel” <cph@videk.com> wrote in message
news:a14e83$rvm$1@inn.qnx.com

I am using an application that makes use of my keyboards ‘Print Screen’
button. I have confirmed through a small C program that my ‘Print Screen’
button is not being noticed by the system. I can press it all I want but
there appears to be no signal sent to the system. I would assume that I
would be able to use the ‘kbd’ or ‘kedit’ utilities but neither appear to
be
installed on my system. I have scoured the entire distribution CD that I
got but cannot find either of those programs.

My problems are two fold:

  1. How can I ‘turn on’ my print screen button
  2. Where can I get my hands on the ‘kbd’ and ‘kedit’ utilities.

Thanks in advance for the help,


Chris Haidvogel
Software Engineer
Videk, Inc.
2200 Brighton Henrietta Town Line Rd.
Rochester, NY 14623
Phone: (716) 292-6210
Fax: (716) 292 5884
E-mail: > cph@videk.com

Hi Ed,

You could set up a signal handler that catches the ^C and runs your
handler. If you do a search in the helpviewer for sigaction, there is
an example that should help

Regards
Brenda


Ed Clark wrote:

May I add another keyboard related question: how can I intercept ^C key so
that I am not
inadvertently flung out of my real-time control program (which is now using
text only display via curses, and not photon)?

Ed

“Chris Haidvogel” <> cph@videk.com> > wrote in message
news:a14e83$rvm$> 1@inn.qnx.com> …

I am using an application that makes use of my keyboards ‘Print Screen’
button. I have confirmed through a small C program that my ‘Print Screen’
button is not being noticed by the system. I can press it all I want but
there appears to be no signal sent to the system. I would assume that I
would be able to use the ‘kbd’ or ‘kedit’ utilities but neither appear to

be

installed on my system. I have scoured the entire distribution CD that I
got but cannot find either of those programs.

My problems are two fold:

  1. How can I ‘turn on’ my print screen button
  2. Where can I get my hands on the ‘kbd’ and ‘kedit’ utilities.

Thanks in advance for the help,


Chris Haidvogel
Software Engineer
Videk, Inc.
2200 Brighton Henrietta Town Line Rd.
Rochester, NY 14623
Phone: (716) 292-6210
Fax: (716) 292 5884
E-mail: > cph@videk.com


\

Hi Chris,

Are you using photon or text mode ?

Chris Haidvogel wrote:

I am using an application that makes use of my keyboards ‘Print Screen’
button. I have confirmed through a small C program that my ‘Print
Screen’
button is not being noticed by the system. I can press it all I want but
there appears to be no signal sent to the system. I would assume that I
would be able to use the ‘kbd’ or ‘kedit’ utilities but neither
appear to be
installed on my system. I have scoured the entire distribution CD that I
got but cannot find either of those programs.

My problems are two fold:

  1. How can I ‘turn on’ my print screen button

Within Photon the print screen button will launch snapshot by default.


  1. Where can I get my hands on the ‘kbd’ and ‘kedit’ utilities.

These were QNX4 utilities and are not used in RTP, the phlocale utility
is used for setting the keyboard layout within photon - the menu option
is Localization. And the utility mkkbd will be added to a future release
of RTP - this allows you to compile text into a keyboard table. The
kedit utility doesn’t have a RTP equivalent.

Regards
Brenda


Thanks in advance for the help,


Chris Haidvogel
Software Engineer
Videk, Inc.
2200 Brighton Henrietta Town Line Rd.
Rochester, NY 14623
Phone: (716) 292-6210
Fax: (716) 292 5884
E-mail: > cph@videk.com
\