Hi. I have simple console application:
program test; var s : string; begin while s <> 'q' do readln(s); end. 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). I thought it is done automatically by libreadline or something and that it will work on linux too. But the very same application compiled in FPC 2.4.0 in linux does not have history support. When I press arrow up, it only write ^[[A and nothing else. I tested it in xterm, urxvt and virtual console. I have Debian 5.0 with FPC from freepascal.org. Can you help me to make readln history working on linux too? Thanks. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal