version 1.41, 2019/06/28 13:35:05 |
version 1.42, 2021/06/22 18:32:24 |
|
|
#undef CTRL |
#undef CTRL |
#define CTRL(x) ((x) & 0x1f) |
#define CTRL(x) ((x) & 0x1f) |
|
|
const char *_nc_progname = "tset"; |
const char *_nc_progname; |
|
|
static TTY mode, oldmode, original; |
static TTY mode, oldmode, original; |
|
|
|
|
const char *p; |
const char *p; |
const char *ttype; |
const char *ttype; |
|
|
|
_nc_progname = _nc_rootname(*argv); |
|
|
if (pledge("stdio rpath wpath tty", NULL) == -1) |
if (pledge("stdio rpath wpath tty", NULL) == -1) |
err("pledge: %s", strerror(errno)); |
err("pledge: %s", strerror(errno)); |
|
|
|
|
usage(); |
usage(); |
} |
} |
} |
} |
|
|
_nc_progname = _nc_rootname(*argv); |
|
argc -= optind; |
argc -= optind; |
argv += optind; |
argv += optind; |
|
|