Sign in Join

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

Mailing lists / fpc-pascal / 2001-03

inputs under Linux console

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Unknown author

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,

Sent through GMX FreeMail - http://www.gmx.net

Reply by email

Jonas Maebe
to Unknown author
Show quoted text 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.

Are you using version 1.0.4? It not being able to use backspace with the linux crt unit was fixed in that version.

Jonas

Reply by email