Cursor On/Off
20-Feb-92 11:56:29
Sb: #20567-Cursor On/Off
Fm: Charles Conlow 74116,3067
To: Eric Schultz 72527,1162
Eric:
I don't know how you've coded your 'ConOutStr()', but here's something I
just tested (and use quite a bit myself)….
some_function( )
{
char buffer[ 256 ];
memset( buffer, 0, 256 );
sprintf( buf, "%c%c%c%c", 0x9b, 0x30, 0x20, 0x70 );
ConOutStr( buf );
};
You can mess with the 'buffer' business as you like. And by pre-defining
some arrays of characters, any control sequences you like can be sent to
the console device (i.e. ConOutStr( Clear_String_buffer ), ConOutStr(
Cursor_Left_Buffer) ).
By doing a modest amount of debugging (even using 'printf()' stuff, you can
see what's being sent to the device.
Charles Conlow @ Artemis Systems – via Whap!