[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
|
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
2654.0. "8-bit characters and ansi-colours in decterm" by KIPPIS::LINNA_ALHO () Wed Apr 25 1990 09:48
Hi,
the customer found a problem in decwindows with multinational
8-bit characters.
The program changes colours in decterm-window using ansi esc's
and displays the characters it received as an input .
Problem occurs in printf without '\n' so that the 8-bit characters
are displayed only in the first 'cell' on the row .
However , the missing 8-bit characters will become visible
after an EXPOSE to the decterm-window occurs.
With '\n' the program works ok.
We have found the problem in decwindows/vms FT 5.4 and also in
ultrix 4.0
-martti
****************************************************
#include <stdio.h>
main ()
{
int i;
int j;
char buff[1024];
gets (buff);
/* */
for (j = 30; j < 38; j++)
for (i = 30; i < 38; i++)
/* this printf doesn't work !!!
*/
printf ("\033[3%ld;%ldm%s", j, i, buff);
/* this printf works
*/
/* printf ("\033[3%ld;%ldm%s\n", j, i, buff);
*/
exit (0);
}
T.R | Title | User | Personal Name | Date | Lines
|
---|