Opened 16 years ago

Closed 16 years ago

#2815 closed bug (invalid)

Some keys do not work anymore in the freepascal IDE under Haiku's Terminal

Reported by: oco Owned by: jackburton
Priority: normal Milestone: R1
Component: Applications/Terminal Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Steps to reproduce :

The FreePascal IDE (a text mode one) used to work under the Haiku terminal. But currently some keys do not work anymore.

For example, only the left arrow key work when navigating in the menu. All other arrow keys do not work.

Maybe, i should change something in ide code but i can not figure what have changed under Haiku, probably around June (the same code compiled under BeOS work in the BeOS Terminal).

Any hints are welcome.

Change History (3)

comment:1 by bonefish, 16 years ago

Haiku's terminal behaves closer to xterm (it implements a subset of xterm's features). Among other things several keys do now generate sequences different from BeOS's terminal. If FreePascal hardcoded the BeOS sequences, that would explain why it doesn't work correctly anymore. If it uses libtermcap/libncurses, it should be fine, though.

comment:2 by oco, 16 years ago

Thanks to your hints, i finally found the problem in fpc. fpc has is own drawing system and should support xterm "out of the box". But there was conflicting key definitions.

There is still some problems to write characters in different colors (the ide support syntax highlighting). I will check fpc code against definitions in termcap ("xterm" parameters).

In any case, this specific bug should be closed.

comment:3 by bonefish, 16 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.