Sign in Join

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

Mailing lists / fpc-pascal / 2001-03

inputs, differents between DOS and Linux

9 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

stefan

Dear friends,

i have a problem with some inputs under fpc.
I wrote the programs how under Turbo Pascal (Dos), but i do not know, why the inputs can not be modified.
Here is one example:

program test123;
uses crt;
var name    : string[20];
Begin
gotoxy(3,3);writeln('Please enter your name: ');
gotoxy(30,3);readln(name);
.....
end;

If i put in the name, i have to do it very correctly, because i cannot use the key how BACKSPACE or DELETE to modify a sign.

What can i do?

Yours,

Stefan Hintermeier,

**************************************************************** * Stefan Hintermeier, * * write under * * Planet earth - Germany - Bavaria * ****************************************************************

Reply by email

Jonas
stefan wrote 20 lines
i have a problem with some inputs under fpc. I wrote the programs how under Turbo Pascal (Dos), but i do not know, why the inputs can not be modified. Here is one example: program test123; uses crt; var name : string[20]; Begin gotoxy(3,3);writeln('Please enter your name: '); gotoxy(30,3);readln(name); ..... end; If i put in the name, i have to do it very correctly, because i cannot use the key how BACKSPACE or DELETE to modify a sign.

Under which OS are you working and what version of the compile do you use? This was afaik only a problem under Linux when using version 1.0.2 or earlier and was fixed in 1.0.4.

Jonas

Reply by email

stefan
to Jonas

Dear Jonas,

i am working under Suse Linux, 6.3 (came out last year).

Yours

Stefan

Am Die, 20 M�r 2001 schrieben Sie:

Show quoted text 31 lines
On Tuesday, March 20, 2001, at 08:55 AM, stefan wrote: > i have a problem with some inputs under fpc. > I wrote the programs how under Turbo Pascal (Dos), but i do not know, > why the inputs can not be modified. > Here is one example: > > program test123; > > uses crt; > > var name : string[20]; > Begin > > gotoxy(3,3);writeln('Please enter your name: '); > gotoxy(30,3);readln(name); > > ..... > end; > > If i put in the name, i have to do it very correctly, because i cannot > use the key how BACKSPACE or DELETE to modify a sign. Under which OS are you working and what version of the compile do you use? This was afaik only a problem under Linux when using version 1.0.2 or earlier and was fixed in 1.0.4. Jonas _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
**************************************************************** * Stefan Hintermeier, * * write under * * Planet earth - Germany - Bavaria * ****************************************************************

Reply by email

Jonas
stefan wrote
Dear Jonas, i am working under Suse Linux, 6.3 (came out last year).

And which version of FPC? Try

ppc386 -iV

to get the version number.

Jonas

Reply by email

stefan
to Jonas: And which version of FPC? Try ppc386 -iV to get the version number. Jonas

Hi Jonas,

my version number is 0.99.12

it is original from the cd of Suse-Linux.

Yours,

Stefan.

Am Die, 20 M�r 2001 schrieben Sie:

Show quoted text 19 lines
On Tuesday, March 20, 2001, at 10:50 AM, stefan wrote: > > Dear Jonas, > > i am working under Suse Linux, 6.3 (came out last year). And which version of FPC? Try ppc386 -iV to get the version number. Jonas _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
**************************************************************** * Stefan Hintermeier, * * write under * * Planet earth - Germany - Bavaria * ****************************************************************

Reply by email

Jonas
stefan wrote
my version number is 0.99.12 it is original from the cd of Suse-Linux.

In that case, please upgrade to version 1.0.4. Rpm's are available for download on our website.

Jnas

Reply by email

stefan
to Jonas

Hi Jonas,

i will do it now ! (the download :) )

Thank you.

Yours

Stefan.

Am Mit, 21 M�r 2001 schrieben Sie:

Show quoted text 14 lines
On Wednesday, March 21, 2001, at 10:42 AM, stefan wrote: > my version number is 0.99.12 > > it is original from the cd of Suse-Linux. In that case, please upgrade to version 1.0.4. Rpm's are available for download on our website. Jnas _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
**************************************************************** * Stefan Hintermeier, * * write under * * Planet earth - Germany - Bavaria * ****************************************************************

Reply by email