OS: FreeBSD 5.2.1
X: 4.3.0_14
Hey, I'm having trouble diagnosing the issue I'm experiencing, could someone please point me in the right direction.
I'm trying to display the following ASCII characters (decimal) 186, 187, 188, 205.
They're displaying fine in the console, though both Eterm and xterm fail to display the correct character in relation to the code.
Here's a piece of code that's doing the work
Any help is appreciatedCode:unsigned char line[MAX] = { 0 }; unsigned int a_ctr, b_ctr; /* counter */ /* LTopCorner, hside line and RTopCorner */ a_ctr = 0; line[a_ctr] = 201; for (a_ctr = 1; a_ctr < width; a_ctr++) line[a_ctr] = 205; line[width] = 187; puts(line);