summaryrefslogtreecommitdiff
path: root/src/term/txttoc.sh
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2022-04-13 19:52:12 -0400
committerJakob Kaivo <jkk@ung.org>2022-04-13 19:52:12 -0400
commitc93dd9bc67485586f3fad4958e70a1fd3c83c2d4 (patch)
tree70dccb9034eceaa3d8df4330207c3d7756e0334e /src/term/txttoc.sh
parentefeeb5db9e8178a5f0ade3f99832782ab0cb4442 (diff)
split out curses
Diffstat (limited to 'src/term/txttoc.sh')
-rw-r--r--src/term/txttoc.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/term/txttoc.sh b/src/term/txttoc.sh
deleted file mode 100644
index 9d4571e6..00000000
--- a/src/term/txttoc.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-FUNCTION=${1:-tigetstr}
-while read long_name terminfo_name termcap_name description; do
- cat <<-EOF > $long_name.c
- #include <term.h>
-
- #define $long_name ${FUNCTION}("$terminfo_name")
-
- /** $description **/
-
- /*
- TERMINFO_NAME($terminfo_name)
- TERMCAP_NAME($termcap_name)
- XOPEN(400)
- */
-EOF
-done