Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2001-11

FP IDE keys in xterm

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marcel van der Heide

I like to use the FP IDE under X in an xterm, but the ctrl-left/right and shift-arow keys don't work properly in an xterm.
After some fiddling I've found that adding the following to your .Xdefaults makes the ctrl-left and right work:

XTerm*vt100.translations: #override \
Ctrl<Key>Right: string(0x00) string(0x74) \n\
Ctrl<Key>Left: string(0x00) string(0x73) \n

Maybe it'll help other people with the same problem.

I have not found a solution for the shift-arrows yet.

The drawback is that this influences all programs that are run in an xterm. Is there a better way to do this, or could those key combinations be added to the 'learnkeys' of the IDE?

Best wishes and thanks,

Marcel