Hi!:
I can't write special chars on Linux. It is ok on dos, but for linux doesn't work.
Why ?
.
.
write('Char 128: '+ chr(128);
.
.
Thanks...

Mailing lists / fpc-pascal / 2002-08
6 messages · 4 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi!:
I can't write special chars on Linux. It is ok on dos, but for linux doesn't work.
Why ?
.
.
write('Char 128: '+ chr(128);
.
.
Thanks...
I can't write special chars on Linux. It is ok on dos, but for linux
doesn't work.
My guess would be term type issues.
Jim
Hi!: I can't write special chars on Linux. It is ok on dos, but for linux doesn't work.…
It's possible that the terminal emulation and character set you're using on the console doesn't support the "IBM ANSI" character set.
g.
It make sense, but some programs (like midnight commander) handle this chars very well on various terminal emulators...
Where can i read about freepascal and terminals ?
Hi!
I assume that you use CRT in your program. Right?
CRT is known to be doing nasty things. Replace it with nCRT. It works absolutely identical, and much better.
If you want to use line graphics, you should have a look on oCRT. This is ObjectCRT and uses ncurses. This works PERFECTLY!
Rainer
mfg
Ing. Rainer Hantsch
Yes !!, i use CRT...!!
Thank you very much for the tip !!
Inpromptu