/* Copyright (C) Magna Carta Software, Inc. 1990. All Rights Reserved. C COMMUNICATIONS TOOLKIT ALTOS3.H -- Include file for ALTOS3 terminal emulation. */ #if !defined(ALTOS3_H_INCLUDED) #define ALTOS_3_INCLUDED #if !defined(COMM_H_INCLUDED) #include #endif #if !defined(TERMINAL_H_INCLUDED) #include #endif /* ALTOS MODE NAMES (values correspond to 2 raised to the parameter value) */ #define ACSARM 0X100 /* auto repeat mode */ #define ACSAWM 0X80 /* autowrap mode */ #define ACSCKM 0X2 /* cursor keys mode */ #define ACSCOLM 0X8 /* column mode */ #define ACSOM 0X40 /* origin mode */ #define ACSSCLM 0X10 /* scrolling mode */ #define ACSSCNM 0X20 /* screen mode */ void altos3_conoutc(COMM_PORT *p, short ch); void altos3_c_putc(TERMINAL *t, short ch); void altos3_c_write(COMM_PORT *p, short ch); short altos3_dispatch(TERMINAL *t, char *buf, short ch); short altos3_init(TERMINAL *t); void altos3_parse(TERMINAL *t, short ch); short altos3_reset_mode(TERMINAL *t, WORD *num, WORD len, WORD delim); short altos3_set_mode(TERMINAL *t, WORD *num, WORD len, WORD delim); #endif