On Wed, 1 Sep 2010 19:30:07 +0200, Dusan Halicky wrote about [fpc-pascal] ReadLine history works in windows/cmd.exe but not in bash/linux:
> I compiled it in windows (FPC 2.4.0), run it in cmd.exe and I was > surprised that history of commands is working out of the box (by > pressing arrow UP). That is standard behaviour for most modern shells. > Can you help me to make readln history working on linux too? The readln() function has nothing to do with libreadline. The problem you are seeing is due to the shell you are using and the key binding options you have assigned or defaulted to in the shell and/or the terminal emulator. It has nothing to do with FPC. Try: man 1 bash and see how you can set the options you need. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@ntlworld.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
signature.asc
Description: PGP signature
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal