|
|
| version 1.1.1.1, 2025/01/19 02:04:04 | version 1.4, 2025/02/28 20:06:07 |
|---|---|
| Line 74 int scosgr (short att, short bwflag); | Line 74 int scosgr (short att, short bwflag); |
| #endif | #endif |
| /* system services */ | /* system services */ |
| #include <termios.h> | #if !defined(__APPLE__) && !defined(__gnu_hurd__) && !defined(EMSCRIPTEN) |
| # if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__AMIGA) | |
| # include <termios.h> | |
| # if !defined(__AMIGA) | |
| # define TCGETA TIOCGETA | |
| # define TCSETA TIOCSETA | |
| # endif | |
| # define termio termios | |
| # else | |
| # if !defined(MSDOS) | |
| # include <termio.h> | |
| # endif | |
| # endif | |
| #else | |
| # include <termios.h> | |
| #endif | |
| #include <fcntl.h> | #include <fcntl.h> |
| /* search 'string' for occurence of 'pattrn' | /* search 'string' for occurence of 'pattrn' |
| Line 3352 void write_t (short int col) | Line 3368 void write_t (short int col) |
| } /* end of write_t() */ | } /* end of write_t() */ |
| void ontimo () | void ontimo (void) |
| { /* handle timeout (for read) */ | { /* handle timeout (for read) */ |
| longjmp (sjbuf, 1); | longjmp (sjbuf, 1); |
| } /* end of ontimo() */ | } /* end of ontimo() */ |