Print this page
5218 posix definition of NULL
correct unistd.h and iso/stddef_iso.h
update gate source affected


 333         { "rmso", TIO_ATTR_STR, &termio_info.ti_rmso },
 334         { "smul", TIO_ATTR_STR, &termio_info.ti_smul },
 335         { "rmul", TIO_ATTR_STR, &termio_info.ti_rmul },
 336         { "enacs", TIO_ATTR_STR, &termio_info.ti_enacs },
 337         { "smacs", TIO_ATTR_STR, &termio_info.ti_smacs },
 338         { "rmacs", TIO_ATTR_STR, &termio_info.ti_rmacs },
 339         { "smcup", TIO_ATTR_STR, &termio_info.ti_smcup },
 340         { "rmcup", TIO_ATTR_STR, &termio_info.ti_rmcup },
 341         { "rev", TIO_ATTR_STR, &termio_info.ti_rev },
 342         { "bold", TIO_ATTR_STR, &termio_info.ti_bold },
 343         { "dim", TIO_ATTR_STR, &termio_info.ti_dim },
 344         { "sgr0", TIO_ATTR_STR, &termio_info.ti_sgr0 },
 345         { "smir", TIO_ATTR_STR, &termio_info.ti_smir },
 346         { "rmir", TIO_ATTR_STR, &termio_info.ti_rmir },
 347         { "ich1", TIO_ATTR_STR, &termio_info.ti_ich1 },
 348         { "ip", TIO_ATTR_STR, &termio_info.ti_ip },
 349         { "clear", TIO_ATTR_STR, &termio_info.ti_clear },
 350         { "cnorm", TIO_ATTR_STR, &termio_info.ti_cnorm },
 351         { "nel", TIO_ATTR_STR, &termio_info.ti_nel },
 352         { "cr", TIO_ATTR_STR, &termio_info.ti_cr },
 353         { NULL, NULL, NULL }
 354 };
 355 
 356 /*
 357  * One-key accelerators.  Some commands are used so frequently as to need
 358  * single-key equivalents.  termio_accelkeys contains a list of the accelerator
 359  * keys, with termio_accel listing the accelerated commands.  The array is
 360  * indexed by the offset of the accelerator in the macro string, and as such
 361  * *must* stay in the same order.
 362  */
 363 static const char *const termio_accelkeys = "[]";
 364 
 365 static const char *const termio_accelstrings[] = {
 366         "::step over",  /* [ */
 367         "::step"        /* ] */
 368 };
 369 
 370 static const char *
 371 termio_accel_lookup(int c)
 372 {
 373         const char *acc;




 333         { "rmso", TIO_ATTR_STR, &termio_info.ti_rmso },
 334         { "smul", TIO_ATTR_STR, &termio_info.ti_smul },
 335         { "rmul", TIO_ATTR_STR, &termio_info.ti_rmul },
 336         { "enacs", TIO_ATTR_STR, &termio_info.ti_enacs },
 337         { "smacs", TIO_ATTR_STR, &termio_info.ti_smacs },
 338         { "rmacs", TIO_ATTR_STR, &termio_info.ti_rmacs },
 339         { "smcup", TIO_ATTR_STR, &termio_info.ti_smcup },
 340         { "rmcup", TIO_ATTR_STR, &termio_info.ti_rmcup },
 341         { "rev", TIO_ATTR_STR, &termio_info.ti_rev },
 342         { "bold", TIO_ATTR_STR, &termio_info.ti_bold },
 343         { "dim", TIO_ATTR_STR, &termio_info.ti_dim },
 344         { "sgr0", TIO_ATTR_STR, &termio_info.ti_sgr0 },
 345         { "smir", TIO_ATTR_STR, &termio_info.ti_smir },
 346         { "rmir", TIO_ATTR_STR, &termio_info.ti_rmir },
 347         { "ich1", TIO_ATTR_STR, &termio_info.ti_ich1 },
 348         { "ip", TIO_ATTR_STR, &termio_info.ti_ip },
 349         { "clear", TIO_ATTR_STR, &termio_info.ti_clear },
 350         { "cnorm", TIO_ATTR_STR, &termio_info.ti_cnorm },
 351         { "nel", TIO_ATTR_STR, &termio_info.ti_nel },
 352         { "cr", TIO_ATTR_STR, &termio_info.ti_cr },
 353         { NULL, 0, NULL }
 354 };
 355 
 356 /*
 357  * One-key accelerators.  Some commands are used so frequently as to need
 358  * single-key equivalents.  termio_accelkeys contains a list of the accelerator
 359  * keys, with termio_accel listing the accelerated commands.  The array is
 360  * indexed by the offset of the accelerator in the macro string, and as such
 361  * *must* stay in the same order.
 362  */
 363 static const char *const termio_accelkeys = "[]";
 364 
 365 static const char *const termio_accelstrings[] = {
 366         "::step over",  /* [ */
 367         "::step"        /* ] */
 368 };
 369 
 370 static const char *
 371 termio_accel_lookup(int c)
 372 {
 373         const char *acc;