(475a4fe LLVM update: finally on 18.x!)
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <termios.h>
Go to the source code of this file.
|
static char * | getvalue (int *argip, int argc, char *argv[]) |
|
static int | getchoice (int *argip, int argc, char *argv[], const char *options[]) |
|
static BoolQuery | getboolq (int *argip, int argc, char *argv[]) |
|
static bool | seticanon (bool icanon, bool echo) |
|
static void | await_c1 (unsigned char c1) |
|
static char * | read_csi (void) |
|
static char * | read_dcs (void) |
|
static void | usage (int exitcode) |
|
static bool | query_dec_mode (int mode) |
|
static void | do_dec_mode (int mode, BoolQuery val, const char *name) |
|
static int | query_rqss_numeric (char *cmd) |
|
void | restoreicanon (void) |
|
int | main (int argc, char *argv[]) |
|
◆ _XOPEN_SOURCE
#define _XOPEN_SOURCE 600 /* strdup */ |
◆ streq
#define streq |
( |
|
a, |
|
|
|
b |
|
) |
| (strcmp(a,b)==0) |
◆ BoolQuery
◆ await_c1()
static void await_c1 |
( |
unsigned char |
c1 | ) |
|
|
static |
◆ do_dec_mode()
static void do_dec_mode |
( |
int |
mode, |
|
|
BoolQuery |
val, |
|
|
const char * |
name |
|
) |
| |
|
static |
◆ getboolq()
static BoolQuery getboolq |
( |
int * |
argip, |
|
|
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
static |
◆ getchoice()
static int getchoice |
( |
int * |
argip, |
|
|
int |
argc, |
|
|
char * |
argv[], |
|
|
const char * |
options[] |
|
) |
| |
|
static |
◆ getvalue()
static char * getvalue |
( |
int * |
argip, |
|
|
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
static |
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ query_dec_mode()
static bool query_dec_mode |
( |
int |
mode | ) |
|
|
static |
◆ query_rqss_numeric()
static int query_rqss_numeric |
( |
char * |
cmd | ) |
|
|
static |
◆ read_csi()
static char * read_csi |
( |
void |
| ) |
|
|
static |
◆ read_dcs()
static char * read_dcs |
( |
void |
| ) |
|
|
static |
◆ restoreicanon()
void restoreicanon |
( |
void |
| ) |
|
◆ seticanon()
◆ usage()
static void usage |
( |
int |
exitcode | ) |
|
|
static |
◆ helptext
Initial value:= {
"reset",
"s8c1t [off|on]",
"keypad [app|num]",
"screen [off|on|query]",
"cursor [off|on|query]",
"curblink [off|on|query]",
"curshape [block|under|bar|query]",
"mouse [off|click|clickdrag|motion]",
"reportfocus [off|on|query]",
"altscreen [off|on|query]",
"bracketpaste [off|on|query]",
"icontitle [STR]",
"icon [STR]",
"title [STR]",
NULL
}
Definition at line 45 of file vterm-ctrl.c.
◆ wasicanon