[fpc-pascal] LineInfo unit/Video unit -- need help!

Kornel Kisielewicz charon at magma-net.pl
Thu Feb 3 16:10:37 CET 2005


Hello,

    I'm in the process of porting my FreePascal roguelike game from DOS to 
Linux. The game finally compiles, but I've hit two problems, one with the 
Video unit, the other one with LineInfo.

    Video seems to work wierd on an KDE Terminal -- ClearScreen produces a 
screen ful of white flashing G's on a Lightgray background. On the textmode 
terminal all is ok tough. It seems as the terminal has inverted 
Color/Character bytes... Manually filling the screen with $0700 helps ($0007 
produces the same effect). But this is not a big issue I can do that 
manualy -- I just wonder why that happens.

    LineInfo -- I don't know why, but on Linux when I use Video, and the 
linetrace is printed, after each line it just goes one line down without 
returning to the beginning of the line (as it does in DOS/Win). How can that 
be corrected? Also I would really like that trace to be also printed to a 
file, so people can more easily make bug-reports, how to do that?

At your service,
Kornel Kisielewicz 





More information about the fpc-pascal mailing list