version 1.4, 1997/09/16 19:25:00 |
version 1.5, 1997/12/02 17:56:30 |
|
|
PC = (PCptr = tgetstr("pc", &bufptr)) ? *PCptr : 0; |
PC = (PCptr = tgetstr("pc", &bufptr)) ? *PCptr : 0; |
|
|
/* set convenience strings */ |
/* set convenience strings */ |
(void) strcpy(home, tgoto(cursor_motion, 0, 0)); |
(void) strncpy(home, tgoto(cursor_motion, 0, 0), sizeof (home) -1); |
|
home[sizeof (home) -1] = 0; |
/* (lower_left is set in get_screensize) */ |
/* (lower_left is set in get_screensize) */ |
|
|
/* get the actual screen size with an ioctl, if needed */ |
/* get the actual screen size with an ioctl, if needed */ |
|
|
} |
} |
} |
} |
|
|
(void) strcpy(lower_left, tgoto(cursor_motion, 0, screen_length - 1)); |
(void) strncpy(lower_left, tgoto(cursor_motion, 0, screen_length - 1), |
|
sizeof (lower_left) -1); |
|
lower_left[sizeof(lower_left) -1] = 0; |
} |
} |
|
|
void standout(msg) |
void standout(msg) |