[fpc-pascal]Problems with "Write" and/or ANSI-Emulation from fpc

jc g00r00 at earthlink.net
Fri Jul 27 03:05:18 CEST 2001


>the output of the program is exactly:
>---------------------------------------------------------------------------
>49  50  51  52  53  54  55  56  57  48  97
>98  99  100 101 102
>---------------------------------------------------------------------------
>
>but why ? normaly the output must be:
>---------------------------------------------------------------------------
>49  50  51  52  53  54  55  56  57  48  97  98  99  100 101 102
>---------------------------------------------------------------------------
>
>has fpc an own ansi emulation in write/writlen procedures ?
>if so, there is an bug in the ansi-code sequence/s "ESC[s" and/or "ESC[u".
>
>on the standard linux console with the shell-command echo the output is 
>100% ok.
>
>can you help me to fix this problem ?

I've had some similar strange results with ANSI and FPC's write function 
under Linux.  I've never narrowed it down to a specific problem though, so 
it could be FPC or my code itself...





More information about the fpc-pascal mailing list