/* Copyright (C) Magna Carta Software, Inc. 1990. All Rights Reserved. C COMMUNICATIONS TOOLKIT TV.H -- Include file for TELEVIDEO terminal emulation. */ #if !defined(TV_H_INCLUDED) #define TV_H_INCLUDED #if !defined(TERMINAL_H_INCLUDED) #include #endif #define ISPROTECTED 1 #define INPROTECTMODE 2 #define isprotected(a) ((a)->mode & 1) /* character protected */ #define inprotectmode(a) ((a)->mode & 2) /* in protect mode */ void tv_sgr_(TERMINAL *t); void tv_cpr_(TERMINAL *t); void tv_cur_att_(TERMINAL *t, short cmd); void tv_cur_pos_(TERMINAL *t, short cmd); short tv_dispatch_ctrl_(TERMINAL *t, short ch); void tv_erase_(TERMINAL *t, short cmd); short tv_parse_cmd_(TERMINAL *t, const char *n); short tv_putc_(TERMINAL *t, short ch, short att); void tv_rpm_(TERMINAL *t); void tv_set_mode_(TERMINAL *t, short cmd); void tv_spm_(TERMINAL *t); void tv_reset_mode_(TERMINAL *t, short cmd); void tv925_init(TERMINAL *t); #endif