/*
 *      Terminal definition file for BRISTOL site.
 */

#define TER_ROWS 24
#define TER_COLS 80

/* table of characters for input (INMODE) mode */
char  ictab[] =
 {      /* 000 - 007, null - ^G */
        IGN, WRIGHT, WLEFT, IGN, IGN, LEND, TAILERASE, WERASE,
        /* 010 - 017, ^H - ^O */
        LEFT, TAB, NL, UP, DOWN, CR, BOTSCREEN, TOPSCREEN,
        /* 020 - 027, ^P - ^W */
        NEXTPAGE, LASTPAGE, ERASE, LSTART, IGN, HEADRUBOUT, SEND, WRUBOUT,
        /* 030 - 037, ^X - ^_ */
        RIGHT, CHMODE, CONTROL, ENTERedit, IGN, LINEERASE, IGN, IGN,
        SPACE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, RUBOUT
 };

/* table of characters for edit (EDMODE) mode. Much the same
 * as ictab, except for the absence of UP, DOWN, TOPSCREEN,
 * BOTSCREEN and LINEERASE. CR is also COMMAND in this mode,
 * LF is CMDSTAY
 */
char  ectab[] =
 {      /* 000 - 007, null - ^G */
        IGN, WRIGHT, WLEFT, IGN, IGN, LEND, TAILERASE, WERASE,
        /* 010 - 017, ^H - ^O */
        LEFT, TAB, CMDSTAY, IGN, IGN, COMMAND, IGN, IGN,
        /* 020 - 027, ^P - ^W */
        IGN, IGN, ERASE, LSTART, IGN, HEADRUBOUT, SEND, WRUBOUT,
        /* 030 - 037, ^X - ^_ */
        RIGHT, CHMODE, CONTROL, ENTERedit, IGN, IGN, IGN, IGN,
        SPACE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, ONE,
        ONE, ONE, ONE, ONE, ONE, ONE, ONE, RUBOUT
 };

#include "vt100.def"
#include "dt22.def"
