|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 5118 (0x13fe) Types: TextFile Notes: Uncompressed file
└─⟦5a9f1bdbd⟧ Bits:30004698 RC900 Environment Rel. 2.0 (5.25 inch) └─⟦5a9f1bdbd⟧ UNIX Filesystem └─⟦8ca667577⟧ »RCENV.ISC/new/usr/include/sys/at_ansi.h.Z« └─⟦de58d8f44⟧ Bits:30004699 RC900 Environment Rel. 2.0 (3.5 inch) └─⟦de58d8f44⟧ UNIX Filesystem └─⟦8ca667577⟧ »RCENV.ISC/new/usr/include/sys/at_ansi.h.Z« └─⟦this⟧
/* Copyright (c) 1984, 1986, 1987, 1988 AT&T */ /* All Rights Reserved */ /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */ /* The copyright notice above does not evidence any */ /* actual or intended publication of such source code. */ /* Copyright (c) 1987, 1988 Microsoft Corporation */ /* All Rights Reserved */ /* This Module contains Proprietary Information of Microsoft */ /* Corporation and should be treated as Confidential. */ /* * definitions for PC AT x3.64 terminal emulator */ /* * Copyrighted as an unpublished work. * (c) Copyright 1986,1988 INTERACTIVE Systems Corporation * All rights reserved. * * RESTRICTED RIGHTS * * These programs are supplied under a license. They may be used, * disclosed, and/or copied only as permitted under such license * agreement. Any copy must contain the above copyright notice and * this restricted rights notice. Use, copying, and/or disclosure * of the programs is strictly prohibited unless otherwise provided * in the license agreement. */ #ident "@(#)at_ansi.h 2.2 - 91/06/10" #ident "@(#)at_ansi.h 2.6 - 89/08/31 ISC" /* * EJ 91.05.30 flags for no cursor, 7-bit and keypad mode */ #define ANSI_MAXPARAMS 5 /* maximum number of ANSI parameters */ #define ANSI_MAXTAB 40 /* maximum number of tab stops */ #define ANSI_MAXFKEY 30 /* max length of function key with <ESC>Q */ #define ANSI_MOVEBASE 0x0001 /* if set move base when scrolling */ #define ANSI_NOWRAP 0x0002 /* if set don't autowrap at column 80 */ #define ANSI_NOCURSOR 0x0004 /* if no cursor visible */ #define ANSI_7BIT 0x0008 /* if set 7 bit mode */ #define ANSI_KEYPAD 0x0010 /* if set keypad alt mode */ /* * Font values for ansistate */ #define ANSI_FONT0 0 /* Primary font (default) */ #define ANSI_FONT1 1 /* First alternate font */ #define ANSI_FONT2 2 /* Second alternate font */ /* * directions for moving bytes in screen memory. * UP means toward higher addresses. * DOWN means toward lower addresses. */ #define UP 0 #define DOWN 1 /* definitions for ringing the bell */ #define NORMBELL 1331 /* initial value loaded into timer */ #define BELLLEN (HZ/10) /* ring for 1/10 sec. between checks */ #define BELLCNT 2 /* check bell twice before turning off */ struct attrmask { unchar attr; /* new attribute to turn on */ unchar mask; /* old attributes to leave on */ }; struct ansistate { /* state for ansi x3.64 emulator */ ushort *scraddr; /* pointer to char/attribute buffer */ short ansiid; /* unique id for this x3.64 terminal */ ushort flags; /* flags for this x3.64 terminal */ ushort width; /* number of characters horizontally */ ushort height; /* number of characters vertically */ ushort scrsize; /* number of characters on screen */ struct attrmask *attrmask; /* attribute masks/values ptr */ char nattrmsks; /* size of attrmask array */ unchar normattr; /* "normal" attribute */ unchar undattr; /* attribute to use when underlining */ unchar font; /* font type */ int (*bell)(); /* ptr to bell function */ int (*clrdisplay)(); /* ptr to clrdisplay function */ int (*moveit)(); /* ptr to moveit function */ int (*setcursor)(); /* ptr to setcursor function */ int (*setbase)(); /* ptr to setbase function */ int (*storeword)(); /* ptr to storeword function */ int (*shiftset)(); /* ptr to shiftset function */ int (*undattrset)(); /* ptr to undattrset function */ void (*sendscreen)(); /* ptr to sendscreen function */ void (*setlock)(); /* ptr to setlock function */ int (*addstring)(); /* ptr to add function key string function */ int (*setoverscan)(); /* ptr to overscan color function */ int (*setcursorshape)(); /* ptr to cursor shape routine */ int (*setblink)(); /* pointer to blink vs bold routine */ caddr_t dspec; /* device specific information */ ushort curbase; /* upper left hand corner of screen in buffer */ short line; /* current line number */ short column; /* current column number */ ushort cursor; /* current address of cursor, 0-based */ unchar state; /* state in output esc seq processing */ unchar undstate; /* underline processing state */ unchar attribute; /* current attribute for characters */ unchar gotparam; /* does output esc seq have a param */ ushort curparam; /* current param # of output esc seq */ ushort paramval; /* value of current param */ short params[ANSI_MAXPARAMS]; /* parameters of output esc seq */ unchar ntabs; /* number of tab stops set */ unchar tabs[ANSI_MAXTAB]; /* list of tab stops */ char fkey[ANSI_MAXFKEY]; /* work space for function key */ ushort cursorshape; /* current shape of cursor */ ushort bellpitch; /* current pitch of bell (^G) */ ushort bellduration; /* current duration of bell (^G) */ ushort overscan; /* current overscan color */ short saveline; /* save space for cursor position */ short savecolumn; /* save space for cursor position */ unchar savenorm; /* save space for vt attributes */ unchar savervrs; /* save space for vt attributes */ unchar savegrap; /* save space for vt attributes */ unchar savecurr; /* save space for vt attributes */ };