Sign in Join

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

Mailing lists / fpc-devel / 2001-03

Insisting on IDE

13 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Alejandro Néstor Vargas

I'm insisting about IDE for linux. The only problem I found is that I can't use the ALT+GR key (right alt) because (I supose) it was catched for using with alt funcitons. In many international keyboards the right alt key has a special meaning and is very important in programming, in example for typing [,], {, etc, etc.

If you tell me what do I need to compile the source code that is at the CVS repository, I can try th help to solve the problem. Or you can take it as a "bug report". I think it may not be very difficult for you to avoid catching the right alt key almost on international keyboards.

Alejandro Néstor Vargas Departamento de Desarrollo X Net Cuyo S.A.

Reply by email

Pierre Muller
to Alejandro Néstor Vargas
you wrote 5 lines
I'm insisting about IDE for linux. The only problem I found is that I can't use the ALT+GR key (right alt) because (I supose) it was catched for using with alt funcitons. In many international keyboards the right alt key has a special meaning and is very important in programming, in example for typing [,], {, etc, etc.

The problem is that this completely depends on the way you use the IDE for Linux.
In console mode, I never had any problems with the AltGr keys, but if you run the IDE over telnet or ssh or inside X, then about all and everything can happen !

The ability to get the AltGr keys over telnet mainly depends on the telnet client, so this can be very different
(not to mention that several clients seem to not support correctly the Ansi escape sequences used to draw the desktop, leading for instance to some empty parts of an editor line to be back instead of blue as it should be with default color!)

Under X the same kind of problems can appear,
even if my local frnech keyboard does work pretty well in this respect. But this might also be a simple X configuration problem.

Alt-Gr keys are not handled especially at all by the FP IDE, so you should first test if you can get these special chars by simply hitting the same keys inside an xterm window.

If you tell me what do I need to compile the source code that is at the CVS repository, I can try th help to solve the problem. Or you can take it as a "bug report". I think it may not be very difficult for you to avoid catching the right alt key almost on international keyboards.

As I stated above, no special handling is done for AltGr keys, as the do not result in escape sequences, but just in special chars.

Reply by email

Alejandro Néstor Vargas
to Pierre Muller

El Vie 23 Mar 2001 19:19, escribiste:

Show quoted text 12 lines
At 18:40 23/03/01 -0300, you wrote: >I'm insisting about IDE for linux. The only problem I found is that I > can't use the ALT+GR key (right alt) because (I supose) it was catched > for using with alt funcitons. In many international keyboards the right > alt key has a special meaning and is very important in programming, in > example for typing [,], {, etc, etc. The problem is that this completely depends on the way you use the IDE for Linux. In console mode, I never had any problems with the AltGr keys, but if you run the IDE over telnet or ssh or inside X, then about all and everything can happen !

I am using the IDE on the console... But AltGr key does not work at all...

Under X the same kind of problems can appear, even if my local frnech keyboard does work pretty well in this respect. But this might also be a simple X configuration problem.

:) I never tryed the ide under X, but I just tested it now. The drawing characters seen ugly but altGR key works fine! But I prefer to use the ide in a console if it is possible...

As I stated above, no special handling is done for AltGr keys, as the do not result in escape sequences, but just in special chars.

I tryed also RHIDE and seen that it has problems with catching alt keys for using it for special functions (it does not work at all). In fp IDE it works right, but I don't know why altGR combinations does not work...

I am trying fp under linux console on Mandrake 7.2, kernel 2.2.17. Any sugestions?

Alejandro N�stor Vargas Departamento de Desarrollo X Net Cuyo S.A.

Reply by email

Pierre Muller
to Alejandro Néstor Vargas
you wrote 15 lines
El Vie 23 Mar 2001 19:19, escribiste: > At 18:40 23/03/01 -0300, you wrote: > >I'm insisting about IDE for linux. The only problem I found is that I > > can't use the ALT+GR key (right alt) because (I supose) it was catched > > for using with alt funcitons. In many international keyboards the right > > alt key has a special meaning and is very important in programming, in > > example for typing [,], {, etc, etc. > > The problem is that this completely depends on the way you use > the IDE for Linux. > In console mode, I never had any problems with the AltGr keys, > but if you run the IDE over telnet or ssh or inside X, > then about all and everything can happen ! I am using the IDE on the console... But AltGr key does not work at all...

Do they work if you type those special chars at command prompt ?

Show quoted text 6 lines
> Under X the same kind of problems can appear, > even if my local frnech keyboard does work pretty well in this respect. > But this might also be a simple X configuration problem. :) I never tryed the ide under X, but I just tested it now. The drawing characters seen ugly but altGR key works fine! But I prefer to use the ide

in

a console if it is possible...

For X I strongly suggest that you run it with the following script for an xterm :

#/bin/sh
xterm -fn vga -fb vga -rv -e /the/complete/path/to/you/fp -t `tty` $*

Note that:
1) you need to have vga fonts
2) the -t options will allow the IDE to use the originating xterm window as tty for the compiled program to debug it !

I tryed also RHIDE and seen that it has problems with catching alt keys for using it for special functions (it does not work at all). In fp IDE it works right, but I don't know why altGR combinations does not work...

Do the AltGr keys work in Rhide ?

I am trying fp under linux console on Mandrake 7.2, kernel 2.2.17. Any sugestions?

Do you have a special keyboard ?
Did you configure Linux for this special keyboard ? I have a french keyboard and
in /etc/rc.d

I have a file called rc.keymap
that contains
/usr/bin/loadgzkeys fr-latin1.map

(Note that my Linux is VERY old)

but it might be that your installation didn't set the correct keyboard!

Reply by email

Alejandro Néstor Vargas
to Pierre Muller

El Vie 23 Mar 2001 19:51, escribiste:

> >I am using the IDE on the console... But AltGr key does not work at all... Do they work if you type those special chars at command prompt ?

Yes!, it is working fine. I am user mapkeys es.

#/bin/sh xterm -fn vga -fb vga -rv -e /the/complete/path/to/you/fp -t `tty` $*

It works fine, thank you!

Show quoted text 5 lines
>I tryed also RHIDE and seen that it has problems with catching alt keys > for using it for special functions (it does not work at all). In fp IDE > it works right, but I don't know why altGR combinations does not work... Do the AltGr keys work in Rhide ?

Yes, it works right in Rhide. But RHide has other problems... in example it does not convert variable names to uppercase when evaluating/watching, and some problems with keys... And I had problems on compiling rhide then I can't try to fix these problems.

Show quoted text 12 lines
Do you have a special keyboard ? Did you configure Linux for this special keyboard ? I have a french keyboard and in /etc/rc.d I have a file called rc.keymap that contains /usr/bin/loadgzkeys fr-latin1.map (Note that my Linux is VERY old) but it might be that your installation didn't set the correct keyboard!

My linux is running "loadkeys es" I also tryed "loadkeys es-latin1" with the same results...

I just discovered something!!

In a console, if I runs mc and presses CTRL+O for openning a shell, then the keys works with fp, but line drawing characters appears like in an X Terminal without the options you given...

Alejandro N�stor Vargas Departamento de Desarrollo X Net Cuyo S.A.

Reply by email

Pierre Muller
to Alejandro Néstor Vargas
> #/bin/sh > xterm -fn vga -fb vga -rv -e /the/complete/path/to/you/fp -t `tty` $* It works fine, thank you!

You might get problems with some function keys,
if you have, try to Use
"Options|Preferences|Learn keys"
dialog.

Show quoted text 9 lines
> >I tryed also RHIDE and seen that it has problems with catching alt keys > > for using it for special functions (it does not work at all). In fp IDE > > it works right, but I don't know why altGR combinations does not work... > > Do the AltGr keys work in Rhide ? Yes, it works right in Rhide. But RHide has other problems... in example it does not convert variable names to uppercase when evaluating/watching, and some problems with keys... And I had problems on compiling rhide then I

can't

try to fix these problems.

That is strange ...

Show quoted text 21 lines
> Do you have a special keyboard ? > Did you configure Linux for this special keyboard ? > I have a french keyboard and > in /etc/rc.d > > I have a file called rc.keymap > that contains > /usr/bin/loadgzkeys fr-latin1.map > > (Note that my Linux is VERY old) > > but it might be that your installation didn't set the correct keyboard! My linux is running "loadkeys es" I also tryed "loadkeys es-latin1" with the same results... I just discovered something!! In a console, if I runs mc and presses CTRL+O for openning a shell, then the keys works with fp, but line drawing characters appears like in an X

Terminal

without the options you given...

Try using "fp -F"

this is the poor's man version
of fp (no double lines, but it look more acceptable than letters as border !)

Reply by email

Alejandro Néstor Vargas
to Pierre Muller

El Vie 23 Mar 2001 20:20, escribiste:

Show quoted text 9 lines
>> #/bin/sh >> xterm -fn vga -fb vga -rv -e /the/complete/path/to/you/fp -t `tty` $* > >It works fine, thank you! You might get problems with some function keys, if you have, try to Use "Options|Preferences|Learn keys" dialog.

The main problem may be the backspace key. It acts alwise like delete. When I enters to lern keys function, it is assigned as delete when I press it regardless where is the cursor.

Show quoted text 7 lines
>without the options you given... Try using "fp -F" this is the poor's man version of fp (no double lines, but it look more acceptable than letters as border !)

It don't worked also. Running fp -F from a pts (like inside mc or from telnet) the line drawing characters are presented as letters ("x" for vertical lines, "q" for horizontal lines, etc.). When running it (with -F) from a virtual console (tty*) it runs normally, not with poor's man line drawing.

I was trying some things. In console, when altGR key don't work. If I enters the learn keys screen, I can place the cursor in any position (in exaplle lerning F1) and press keys like "[" (that needs AltGR) and it works. Then, in the editor, pressing "[" key (usint AltGr it acts as F1. It means fp is reading these keys but ignoring it.

I tryed fr-latin1 and AltGR keys are also not working. Are ther anything that I can do for helping you to debug the problem?

Alejandro N�stor Vargas Departamento de Desarrollo X Net Cuyo S.A.

Reply by email

Pierre Muller
to Alejandro Néstor Vargas
Show quoted text 13 lines
> >without the options you given... > > Try using "fp -F" > > this is the poor's man version > of fp (no double lines, but it look more acceptable > than letters as border !) It don't worked also. Running fp -F from a pts (like inside mc or from telnet) the line drawing characters are presented as letters ("x" for vertical lines, "q" for horizontal lines, etc.). When running it (with -F) from a virtual console (tty*) it runs normally, not with poor's man line drawing.

Can you tell me the date that is in the Help|About dialog ?

I was trying some things. In console, when altGR key don't work. If I enters the learn keys screen, I can place the cursor in any position (in exaplle lerning F1) and press keys like "[" (that needs AltGR) and it works. Then,

in

the editor, pressing "[" key (usint AltGr it acts as F1. It means fp is reading these keys but ignoring it. I tryed fr-latin1 and AltGR keys are also not working. Are ther anything

that

I can do for helping you to debug the problem?

I just found out that I also have the problem on console ! I didn't notice that I used an older version when I first tested it, sorry!

So I can confirm that I get the same problem,
this at least means that I should be able to debug the problem !

No idea from where it comes, but the fact that it works inside the "Learn keys" dialog helps me a little.

Thanks for the bug report !

Reply by email

Pierre Muller
to Pierre Muller
Show quoted text 10 lines
>I tryed fr-latin1 and AltGR keys are also not working. Are ther anything that >I can do for helping you to debug the problem? I just found out that I also have the problem on console ! I didn't notice that I used an older version when I first tested it, sorry! So I can confirm that I get the same problem, this at least means that I should be able to debug the problem !

I found the source of the problem and
hope that I fixed it.
I uploaded to ftp.freepascal.org a new FP IDE snapshot for linux.
This executable is completely statically linked, and as such should work on most i386 Linux boxes.
(It was compiled on a 2.2.5 linux machine)

Please try this new version ot and don't hesitate to report more bugs if you find other problems !

Reply by email

Pierre Muller
to Pierre Muller
you wrote 15 lines
>>I tryed fr-latin1 and AltGR keys are also not working. Are ther anything >that >>I can do for helping you to debug the problem? > > > I just found out that I also have the problem on console ! >I didn't notice that I used an older version when I first tested it, sorry! > > So I can confirm that I get the same problem, >this at least means that I should be able to debug the problem ! I found the source of the problem and hope that I fixed it. I uploaded to ftp.freepascal.org a new FP IDE snapshot for linux.

I forgot to tell you where !

it is in /fpc/snapshot/linux dir

WARNING: this is compiled with the 1.0.5 version of the compiler and as such you can not used the compiled RTL
that is present in the same dir as this is a v 1.1 RTL.

If you want to test compilation with this IDE, you will need to upload fpc10.zip from the source dir first and compile the RTL with a v 1.0.4(or 5) ppc386
using the Makefiles included.

Reply by email

Alejandro Néstor Vargas
to Pierre Muller: Can you tell me the date that is in the Help|About dialog ? in that I just found out that…

El Vie 23 Mar 2001 20:52, escribiste:

Show quoted text 7 lines
>It don't worked also. Running fp -F from a pts (like inside mc or from >telnet) the line drawing characters are presented as letters ("x" for >vertical lines, "q" for horizontal lines, etc.). When running it (with -F) >from a virtual console (tty*) it runs normally, not with poor's man line >drawing. Can you tell me the date that is in the Help|About dialog ?

It says Version 0.9.1 2000/12/18

Alejandro N�stor Vargas Departamento de Desarrollo X Net Cuyo S.A.

Reply by email

Alejandro Néstor Vargas
to Pierre Muller: I forgot to tell you where ! it is in /fpc/snapshot/linux dir WARNING: this is compiled…

El S�b 24 Mar 2001 21:08, escribiste:

Show quoted text 8 lines
> I found the source of the problem and >hope that I fixed it. > I uploaded to ftp.freepascal.org a new FP IDE snapshot >for linux. I forgot to tell you where ! it is in /fpc/snapshot/linux dir

I just downloaded
ftp://ftp.freepascal.org/pub/fpc/snapshot/linux/linuxide.tgz

but the files in the tar file are dated 2000/12/18 and are the same size as fp I've already got...

If you want to test compilation with this IDE, you will need to upload fpc10.zip from the source dir first and compile the RTL with a v 1.0.4(or 5) ppc386 using the Makefiles included.

I tryed to compile the ide from the cvs tree, but I need also tvision or something like this that I don't have. Where can I find it?

Alejandro N�stor Vargas Departamento de Desarrollo X Net Cuyo S.A.

Reply by email

Pierre Muller
to Alejandro Néstor Vargas
you wrote 13 lines
El Sáb 24 Mar 2001 21:08, escribiste: > > I found the source of the problem and > >hope that I fixed it. > > I uploaded to ftp.freepascal.org a new FP IDE snapshot > >for linux. > > I forgot to tell you where ! > > it is in /fpc/snapshot/linux dir I just downloaded ftp://ftp.freepascal.org/pub/fpc/snapshot/linux/linuxide.tgz

No, the right file is a zip file,

ftp://ftp.freepascal.org/pub/fpc/snapshot/linux/fp.zip

Sorry, I forgot to tell you the name :(

Show quoted text 11 lines
but the files in the tar file are dated 2000/12/18 and are the same size as fp I've already got... > If you want to test compilation with this IDE, you > will need to upload fpc10.zip from the source dir first > and compile the RTL with a v 1.0.4(or 5) ppc386 > using the Makefiles included. I tryed to compile the ide from the cvs tree, but I need also tvision or something like this that I don't have. Where can I find it?

You can't compile the IDE because there is
no Freeware TVision clone available for now :(

We are trying to create one, but this will take some time.

Reply by email