I am using gdb in a remote computer to which I am connected through ssh. The problem is that there are some key bindings I usually use that are wrong. Specially, the problem is that the keys** “Page-Up” and “Page-Down” are interpreted as the character “~”** instead of perform the Page-Up / Page-Down operation. I have been searching in google for days but I have been unabled to find an answer.
I have tested the above connecting from other computers with Windows (MobaxTerm) and SLES 12. In both cases, the Page-Up / Page-Down key works properly. so the problem only appears when I connect to the other computer from SLES 11.
I have tried to use sh, bash and csh, and nothing works.
What is going wrong?