Sign in Join

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

Mailing lists / fpc-pascal / 2007-04

FP-IDE FPC204 and Ubuntu 6.06

6 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Tiziano_mk

maibe I make something wrong, but if I install FPC2.0.4 on Ubuntu 6.06 the FP-IDE responds randomly to the mouse commands (all menus and keyboard commands are working).

I see the same problem on Free Vision Apps.

(it seems to me that it could be a problem on ncurses, but I'm not an expert on Linux, so I hanve no idea where to go) :-(

any suggestion to resolve it?

TIA
tiziano

Marco van de Voort
to Tiziano_mk
Show quoted text 10 lines
maibe I make something wrong, but if I install FPC2.0.4 on Ubuntu 6.06 the FP-IDE responds randomly to the mouse commands (all menus and keyboard commands are working). I see the same problem on Free Vision Apps. (it seems to me that it could be a problem on ncurses, but I'm not an expert on Linux, so I hanve no idea where to go) :-( any suggestion to resolve it?

You could try to use a different terminal. e.g. xterm .

Tiziano_mk
to Marco van de Voort
Marco van de Voort wrote 10 lines
> maibe I make something wrong, but if I install FPC2.0.4 on Ubuntu 6.06 > the FP-IDE responds randomly to the mouse commands (all menus and > keyboard commands are working). > > I see the same problem on Free Vision Apps. > > (it seems to me that it could be a problem on ncurses, but I'm not an > expert on Linux, so I hanve no idea where to go) :-( You could try to use a different terminal. e.g. xterm .

already done, but the problem persists.

Actually I receive a message from a friend who has the same problem on a Debian distribution (FPC 2.0.4, FP-IDE 1.0.8.).

I'm going to try to reinstall FPC 2.0.2, I remember that there this problem didn't happen.

(My concern is not really the IDE itself but porting to Linux a program built on Windows with the Free Vision Library).

thanks
tiziano

Daniël Mantione
to Tiziano_mk: maibe I make something wrong, but if I install FPC2.0.4 on Ubuntu 6.06 the FP-IDE…

Op Wed, 4 Apr 2007, schreef Tiziano_mk:

Show quoted text 11 lines
maibe I make something wrong, but if I install FPC2.0.4 on Ubuntu 6.06 the FP-IDE responds randomly to the mouse commands (all menus and keyboard commands are working). I see the same problem on Free Vision Apps. (it seems to me that it could be a problem on ncurses, but I'm not an expert on Linux, so I hanve no idea where to go) :-( any suggestion to resolve it?

Can you check if Debian bug 412927 applies in your situation?

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=412927

Daniel

Tiziano_mk
to Daniël Mantione
Daniël Mantione wrote 10 lines
Op Wed, 4 Apr 2007, schreef Tiziano_mk: > maibe I make something wrong, but if I install FPC2.0.4 on Ubuntu 6.06 the > FP-IDE responds randomly to the mouse commands (all menus and keyboard > commands are working). > > any suggestion to resolve it? Can you check if Debian bug 412927 applies in your situation?

In synaptic I find libgpmg1 reported as 1.19.6.21ubuntu1, installed: libgpm.so.1.19.6

I'm not a linux guru, but it seems that this is the case.

So I'm going to realize:
a) that it's really a bug due to the OS, not to FPC;
b) that there is actually no solution (neither trying to recompile);
c) If I want to use fp or Free Vision Apps I have to use FPC2.0.2;
d) Chances for a remedy have to come from debian developers;

is this correct?

thanks a lot!
tiziano

Daniël Mantione
to Tiziano_mk

Op Fri, 6 Apr 2007, schreef Tiziano_mk:

Show quoted text 26 lines
Daniël Mantione wrote: > > Op Wed, 4 Apr 2007, schreef Tiziano_mk: > > > maibe I make something wrong, but if I install FPC2.0.4 on Ubuntu > > 6.06 the > > FP-IDE responds randomly to the mouse commands (all menus and > > keyboard > > commands are working). > > > > any suggestion to resolve it? > > Can you check if Debian bug 412927 applies in your situation? In synaptic I find libgpmg1 reported as 1.19.6.21ubuntu1, installed: libgpm.so.1.19.6 I'm not a linux guru, but it seems that this is the case. So I'm going to realize: a) that it's really a bug due to the OS, not to FPC; b) that there is actually no solution (neither trying to recompile); c) If I want to use fp or Free Vision Apps I have to use FPC2.0.2; d) Chances for a remedy have to come from debian developers; is this correct?

Yes.

I am considering to add an user configurable option to the IDE to switch to a "Debian mouse" mode, but this will be a lot of work, since the gpm unit needs then a if around each field access of the record, further, the gpm unit is hidden between a mouse and Free Vision abstraction layer, so a proper interface will have to be designed; not fun for such a stupid, unnecessary bug.

Perhaps we should ask those Debian guys wether they are going to do something about it.

Daniel