The codes you are using under WIndows are for Unix/LInux ansi terminals ( or emulation). I have checked that under Linux you should be running a terminal that supports and emulates a linux terminal. So, try to open a linux console from konsole, and check that TERM=linux with env.
Then run Dataflex from there.
If you do not find how to open a linux console, try running: konsole --type linux &