Hello all, I will try describe my problem in short:
{<program name=hello.pas>}
program hello; uses crt; begin clrscr; writeln; writeln; writeln("Hello Dolly"); end.
{</program>}
Then will I compile this code with: gpc -o hello.e --automake hello.pas
!!!Main problem!!!: When running $ ./hello.e under xterm in X Windows, it just blinks and NOTHING is written into screen.
$ ./hello.e > err.log 2>&1 produces me this:
^[(B^[)0^[[?1049h^[[1;24r^[[m^O^[[4l^[[?7h^[[39;49m^[[?1h^[=^[[39;49m^[[37m^[[40m^[[37m^[[40m^[[H^[[2J^[[m^O^[[39;49m^[[37m^[[40m^[[?1h^[=^[[?25h^[[39;49m^[[37m^[[40m^[[37m^[[40m^[[H^[[2J
Hello Dolly^M ^[[m^O^[[39;49m^[[37m^[[40m^[[39;49m^[[24d^[[K^[[24;1H^[[?1049l^M^[[?1l^[>
It behaves just fine and as expected when I change TERM variable from xterm to linux or vt100. But it is not solution, for me. ;-(
System is: Debian Woody (stable) running on sparc64 (Sun Ultra 1) Relevant packages: stable libncurses5 5.2.20020112a-7 stable libncurses5-dev 5.2.20020112a-7 stable ncurses-bin 5.2.20020112a-7 stable ncurses-base 5.2.20020112a-7 stable ncurses-term 5.2.20020112a-7 stable gpc-2.95 1:2.95.4-7
Any help, tips will be very appreciated. Thanks.
mARTin