Thank you for your reply. I know about Emil's mail, and I know that restoring screen is expected behaviour of curses (CRT) library. But I don't think, that my example doesn't leave a visible trace. I will include my code example here again.
program hello; uses crt; begin clrscr; writeln; writeln; writeln("Hello Dolly"); <- I'm writing Hello Doly here, it is end. a visible trace, isn't it?
I also did some additional tests and found, that it is working in xterm, when that xterm is running remotely from my Sun Ultra on x86 machine running Mandrake. Maybe it is a Debian specific problem. Also I'm a little bit confused about fidling with TERM variable, as I wrote in my previous post.
Any ideas now?
Thanks
mARTin
Frank Heckenbach wrote:
Martin Rusko wrote:
When running $ ./hello.e under xterm in X Windows, it just blinks and NOTHING is written into screen.
Quoting a mail from Emil Jerabek of 31 Jan 2002:
: 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).
(This applies to most kinds of X terminals.)
I could try to avoid this feature (optionally) in the CRT unit, if there's interest (last time the issue was discussed, there was not much of a reaction, so I assumed noone really cared).
Frank