From 9d8726113ec61a9cfcfde2b4092258d5007f5e71 Mon Sep 17 00:00:00 2001 From: Bill Joy Date: Mon, 23 Nov 1981 01:05:23 -0800 Subject: [PATCH] new version with tabs, CB virt term, other enhancements (MRH) SCCS-vsn: usr.bin/tset/tset.delays.h 1.2 --- usr/src/usr.bin/tset/tset.delays.h | 41 ++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/usr/src/usr.bin/tset/tset.delays.h b/usr/src/usr.bin/tset/tset.delays.h index 942d5134b7..dd8bcee0dd 100644 --- a/usr/src/usr.bin/tset/tset.delays.h +++ b/usr/src/usr.bin/tset/tset.delays.h @@ -79,3 +79,44 @@ struct delay FFdelay[] = 2000, FF1, -1 }; + +#ifdef CBVIRTTERM +/* + * Map from the universal tables in termcap to the particular numbers + * this system uses. The lack of standardization of terminal numbers + * is a botch but such is life. + */ +struct vt_map { + char stdnum; + char localnum; +} vt_map[] = { +#ifdef TERM_TEC + 1, TERM_TEC, +#endif +#ifdef TERM_V61 + 2, TERM_V61, +#endif +#ifdef TERM_V10 + 3, TERM_V10, +#endif +#ifdef TERM_TEX + 4, TERM_TEX, +#endif +#ifdef TERM_D40 + 5, TERM_D40, +#endif +#ifdef TERM_H45 + 6, TERM_H45, +#endif +#ifdef TERM_D42 + 7, TERM_D42, +#endif +#ifdef TERM_C100 + 8, TERM_C100, +#endif +#ifdef TERM_MIME + 9, TERM_MIME, +#endif + 0,0 +}; +#endif -- 2.20.1