From 0b7a5126aed5b881ec48a7d82319917dcd74bbbb Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Thu, 21 Feb 2019 21:02:19 -0500 Subject: add symbols from --- src/term/txttoc.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/term/txttoc.sh (limited to 'src/term/txttoc.sh') diff --git a/src/term/txttoc.sh b/src/term/txttoc.sh new file mode 100644 index 00000000..7b360b1d --- /dev/null +++ b/src/term/txttoc.sh @@ -0,0 +1,15 @@ +while read long_name terminfo_name termcap_name description; do + cat <<-EOF > $long_name.c + #include + + #define $long_name tigetstr("$terminfo_name") + + /** $description **/ + + /* + TERMINFO_NAME($terminfo_name) + TERMCAP_NAME($termcap_name) + XOPEN(400) + */ +EOF +done -- cgit v1.2.1