static bool td_initconsole( void ) /********************************/ { if( !ostream_init( UIConHandle ) ) return( false ); // Initialize the term as documented in "Terminal Control Under QNX" TI_EXEC_PROG( init_prog ); TI_INIT1_STRING(); TI_INIT2_STRING(); TI_CLEAR_MARGINS(); TI_PUT_FILE( init_file ); TI_INIT3_STRING(); // Now we're initialized, so set term to usable mode: TI_CA_ENABLE(); TI_ENABLE_ACS(); // disable auto-right-margin TI_NOWRAP(); // if we can't then we just won't use the bottom right corner TI_ignore_bottom_right = !TCAP_NOSCROLL; QNXDebugPrintf1( "IgnoreLowerRight=%d", TI_ignore_bottom_right ); TI_NOBOLD(); TI_NOBLINK(); __flush(); return( true ); }
static bool intern td_initconsole( void ) /***************************************/ { if( !ostream_init(UIConHandle) ) return( FALSE ); QNX_NOWRAP(); QNX_NOBOLD(); QNX_NOBLINK(); __flush(); return( TRUE ); }
static bool td_initconsole( void ) /********************************/ { if( !ostream_init( UIConHandle ) ) return( false ); QNX_NOWRAP(); QNX_NOBOLD(); QNX_NOBLINK(); __flush(); return( true ); }