I'm in the process of porting a SCO Unix C program over to SuSE Linux. It is a text based program which I am currently executing in a bash shell through the KDE Konsole shell program. (on SCO it runs from the ksh command line).
The program is written in C which I compiled with gcc.
The program uses extended ASCII characters to draw line graphics (ie. ASCII decimal value 179 draws a vertical line).
This works fine on DOS and SCO. But on Linux the line graphics get translated into box characters. Our quick fix is to change the characters to standard ASCII (ie. using a pipe (|) symbol for a vertical line). This gives us line graphics in our program, but looks like garbage.
Is there a way to use ASCII line graphics in Linux?
Thanks
The program is written in C which I compiled with gcc.
The program uses extended ASCII characters to draw line graphics (ie. ASCII decimal value 179 draws a vertical line).
This works fine on DOS and SCO. But on Linux the line graphics get translated into box characters. Our quick fix is to change the characters to standard ASCII (ie. using a pipe (|) symbol for a vertical line). This gives us line graphics in our program, but looks like garbage.
Is there a way to use ASCII line graphics in Linux?
Thanks