Terminfo problem

Allen, Jack Jack.Allen at mckesson.com
Fri Aug 22 18:03:47 UTC 2008


Hello: 
        We have an old application that uses a special Terminal Emulator
running on their PC for DG (Data General) terminals. The cursor
positioning uses the binary value of a single character for the X and Y
location. Basically a ^PXY where X is a character and Y is a character.
The problem is a binary 0 needs to be sent. Looking at the curses
document it states something about 0 value characters being changed to
octal 0200 so it will not be a null and terminate a string and most
terminals will strip the high bit and see the value as 0. But the
Terminal Emulator does not strip the high bit an uses the value, which
is 128 and therefore moves the cursor to the wrong position.

        The current cup value is \020%p2%c%p1%c. Does anyone know how I
can change this so it will truly send a 0 value and not the 0200 value?

--- 
Thanks: 
Jack Allen 




More information about the redhat-list mailing list