Hi, I have just upgraded from RedHat 7.0 to RedHat 8.0, and now a program which I wrote using RedHat 6.something, which continued to work under RedHat 7.0, no longer works properly under RedHat 8.0.
This program uses the "C" run-time library "write" to display text on the terminal, sending ANSI escape sequences such as "CSI 1 ; 1 H" to position the cursor in the top right hand corner of the terminal. Now instead the CSI code is dropped and the remaining string is dumped to the display. The environment variable TERM is set to "linux". The program "cat" can be used to dump the above sequence to the terminal with the intended result. My program runs correctly from regular virtual terminals under RedHat 7, but not from xterm under RedHat 7 (that doesn't particularly concern me, but it is something I discovered when trying to understand the problem). On the xterm terminal, the CSI is replaced by a question mark. It also works correctly from a RedHat 7 virtual terminal running an "ssh" connection to RedHat 8 running the program on the RedHat 8 computer. Locally on the RedHat 8 machine I have found no way to make it work, trying it using virtual terminals, xterm, virtual terminals running an "ssh" connection to itself. Any idea what I'm doing wrong? Regards, Greg Wood. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
