summaryrefslogtreecommitdiff
path: root/usr.bin/mg/ttydef.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-02-25 19:08:53 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-02-25 19:08:53 +0000
commit998d769a0cf8bef7d4ca0d26945c151a23b542ec (patch)
treefe53a083eaa06a2bf7631453e18a161a86ad9d62 /usr.bin/mg/ttydef.h
parentb0226ecd4460819556afd27fd575d64421fd0f68 (diff)
initial import of mg2a
Diffstat (limited to 'usr.bin/mg/ttydef.h')
-rw-r--r--usr.bin/mg/ttydef.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/usr.bin/mg/ttydef.h b/usr.bin/mg/ttydef.h
new file mode 100644
index 00000000000..3700ea0f174
--- /dev/null
+++ b/usr.bin/mg/ttydef.h
@@ -0,0 +1,25 @@
+/*
+ * Termcap terminal file, nothing special, just make it big
+ * enough for windowing systems.
+ */
+
+#define GOSLING /* Compile in fancy display. */
+/* #define MEMMAP */ /* Not memory mapped video. */
+
+#define NROW 66 /* (maximum) Rows. */
+#define NCOL 132 /* (maximum) Columns. */
+/* #define MOVE_STANDOUT /* don't move in standout mode */
+#define STANDOUT_GLITCH /* possible standout glitch */
+#define TERMCAP /* for possible use in ttyio.c */
+
+#define getkbd() (ttgetc())
+
+#ifndef XKEYS
+#define ttykeymapinit() {}
+#endif
+
+extern int tputs();
+#define putpad(str, num) tputs(str, num, ttputc)
+
+#define KFIRST K00
+#define KLAST K00