KpyM Telnet/SSH Server - Forum
Symbol MC9090 Highlight issues |
J Shah |
Symbol MC9090 Highlight issues |
May 02 2007 17:24 |
|
Hi,
I'm running a console application on the Symbol9090 device through the telnet server. On the device itself I'm using Wavelink's telnet client. The console app uses a Win API function in kernel32.dll to highlight a row. The function called is
bool FillConsoleOutputAttribute
(IntPtr hConsoleOutput,
int wAttribute,
uint nLength,
COORD dwWriteCoord,
ref uint lpNumberOfAttrsWritten
);
where the wAttribute is defined as 128. So the displayed row is black text with gray highlight. However, when this is displayed on the telnet server all I get is black text on black background.
|
Kroum Grigorov |
|
May 02 2007 19:05 |
|
it looks like this symbol device does not recognize ansi colors sequnces.
you can try to set
background_white = "[7m"
in telnet.ini file, this is the "reverse" esc sequence and usually it is well handled by most clients
Kroum
|
© 2007 - 2008 Kroum Grigorov