ddd & gdb console

Hello,

I try to enter the following char “:” into the gdb console inside ddd.
But I get the following char “>”.

(I want to enter the command: “target qnx IP:port”)

I also tried all keys on my keyboard, but I don’t get the “:”.

In a shell or any other app my keyboard layout is right.

QNX 6.2.1B
DDD 3.3.1
german keyboard layout

Any tips how I could enter the “:” ?

Thank you very much for your help !

Best regards

Fiffi

I suspect the problem is that DDD uses XPhoton which only supports the ‘C’ locale and your keyboard doesn’t match that. I guess if you knew which key on your keyboard mapped to the ‘:’ on the US keyboard, you may be able to work around the problem.

Rick…

Hello rick,

I examined the problem a little bit:

If I set the keyboard to german into Photon, I don’t get “:” on any key !
But if I set the keboard in Photon to US english into Photon, I get the “:” when I press shift + “ö”. (Thats normally for a german keyboard + US english keyboard driver)

You are right, the problem is inside XPhoton: I tried the gdb console of emacs and got the same problem.

I suspect the problem is that DDD uses XPhoton which only supports the ‘C’ locale and your keyboard
doesn’t match that.

What do you mean ?
Is there any workaround possible, that I can use the german keyboard layout ?

Thank you very much for your help ! :smiley:

I was nearly to switch to plain gdb on console instead of using ddd. Now I can use ddd with a US keyboard layout… :wink:

Best regards

Fiffi

There are some tweaks you need to do if you want to get the non-US keyboard to work in XPhoton.

openqnx.com/PNphpBB2-viewtopic-t1077-.html