Guillaume Rousse wrote:
Maybe this is a silly idea, but... Did you run the example program in Konsole? If so, you can't expect it to do anything visible.
You're perfectly right, i just tested with rxvt and eterm. But
- how did you guess i used konsole :-) ?
- is there a reason why this doesn't work (and should be reported as a bug
to konsole maintainers) ?
That's not a bug, that's a feature :-) Konsole restores automatically the previous screen contents after the curses shut down (-> your example doesn't leave a visible trace). Moreover it buffers the screen output, so that rapid changes are merged together to reduce the load on X server (-> you don't even see a flash or something like that).
This should work though:
program Test (Input, Output);
uses Crt;
begin WriteLn ('Hello world!'); Write ('Press ENTER, svp... '); ReadLn end.
Emil Jerabek