DDD annoyance

Hello all,

I am new to gdb and trying to run it in DDD (also new for me).
It happens that in the gdb command line (inside ddd) I cannot type any
character other than letters, numbers, and a few others. No dot ( . ), no
slash ( / ), hence no way to give a pathname !

However in the basic (command line) gdb as well as in other photon
applications, the full keyboard works properly.

Do I need to remap the keyboard in some DDD config file, or… ?

Thanks !

Alain.

“Alain Goyé” <agoye@club-internet.fr> wrote:

Hello

Hello all,

I am new to gdb and trying to run it in DDD (also new for me).
It happens that in the gdb command line (inside ddd) I cannot type any
character other than letters, numbers, and a few others. No dot ( . ), no
slash ( / ), hence no way to give a pathname !

However in the basic (command line) gdb as well as in other photon
applications, the full keyboard works properly.

How about if you start “gdb”, do you experiance the same problems?

Do I need to remap the keyboard in some DDD config file, or… ?

export the following environment varialables:
export XErrorDB=/usr/share/XErrorDB
export XKeysymDB=/usr/share/XKeysymDB




Thanks !

Alain.

Previously, Marcin Dzieciol wrote in qdn.public.qnxrtp.newuser:

“Alain Goyé” <> agoye@club-internet.fr> > wrote:

Hello

Hello all,

I am new to gdb and trying to run it in DDD (also new for me).
It happens that in the gdb command line (inside ddd) I cannot type any
character other than letters, numbers, and a few others. No dot ( . ), no
slash ( / ), hence no way to give a pathname !

However in the basic (command line) gdb as well as in other photon
applications, the full keyboard works properly.

How about if you start “gdb”, do you experiance the same problems?

  • “gdb” alone (in a terminal) works fine, I have the full keyboard.
  • starting “gdb” in another terminal before I start ddd doesn’t help.
  • I just installed nedit and… the same problem arises (characters can’t be typed in the edit window nor in the “open file” window…). Hence it seems to be Xphoton-specific ? (ped works fine)

But - sorry - I also forgot to say (you maybe guessed it ?): I use a french (“AZERTY”) keyboard…

Do I need to remap the keyboard in some DDD config file, or… ?

export the following environment varialables:
export XErrorDB=/usr/share/XErrorDB
export XKeysymDB=/usr/share/XKeysymDB

It did not seem to help.

When launching ddd from the terminal I get (with or without exporting the variables) the following messages:
Warning:
Name: arg
Class: XmTextField
Character ‘\141’ not supported in font. Discarded.

Warning:
Name: arg
Class: XmTextField
Character ‘\151’ not supported in font. Discarded.

Warning:
Name: arg
Class: XmTextField
Character ‘\156’ not supported in font. Discarded.

gdb: cannot set terminal foreground process group: Inappropriate I/O control operation

… and a bench of similar messages when opening the File/Open window…

Sorry for disturbing if I could be more clever and find some answer alone…

Thanks !

Alain.

In article Voyager.001217000529.802867E@agoye,
Alain Goyé <alain.goye@free.fr> wrote:

  • “gdb” alone (in a terminal) works fine, I have the full keyboard.
  • starting “gdb” in another terminal before I start ddd doesn’t help.
  • I just installed nedit and… the same problem arises (characters
    can’t be typed in the edit window nor in the “open file” window…).
    Hence it seems to be Xphoton-specific ? (ped works fine)

But - sorry - I also forgot to say (you maybe guessed it ?): I use a
french (“AZERTY”) keyboard…

The bug is in Xphoton.

Xphoton currently only supports us keyboards.
Since there is no simple way to get the current keymap
from the input driver, Xphoton doesn’t even try :frowning:

It will be fixed.


Garry Turcotte (R&D)
QNX Software Systems, Ltd.