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 :
- download and unzip this freepascal package (22 Mo) : http://olivier.coursiere.free.fr/download/fpc-2.3.1.i386-haiku.tar.gz (i will upload a smaller one with only the ide on sunday evening : ftp does not work here).
- run "fp" in the bin subdirectory
- press F11 to enter the menu
- use arrow keys to navigate in the menu
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 , 16 years ago
comment:2 by , 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 , 16 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
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.