head	1.2;
access;
symbols
	OCT93:1.2;
locks;
comment	@ * @;


1.2
date	93.06.11.16.29.21;	author Rhialto;	state Exp;
branches;
next	1.1;

1.1
date	93.06.11.15.08.07;	author Rhialto;	state Exp;
branches;
next	;


desc
@CommandTable[] and ConvFunc()
@


1.2
log
@First real RCS checkin
@
text
@/* $Id$
 * $Log$
 */

/*
 *  DATA.C
 *
 *  David Berezowski - March/88.
 *  Modified for DICE - May/91	Matthew Dillon
 *  Modified for ElCheapoFax April 1993 Olaf 'Rhialto' Seibert.
 *
 *  Copyright (c) 1988  Commodore-Amiga, Inc.
 *  (c)Copyright 1991 Matthew Dillon
 *  (c)Copyright 1993 Olaf Seibert
 */

#include "defs.h"

Prototype const char *CommandTable[];
Prototype int ConvFunc(char *buffer, char c, int crlf_flag);

const char *CommandTable[] ={
	"\377",         /* 00 aRIS reset                        */
	"\377",         /* 01 aRIN initialize                   */
	"\377",         /* 02 aIND linefeed                     */
	"\377",         /* 03 aNEL CRLF                         */
	"\377",         /* 04 aRI reverse LF            (NI)    */

	"\377",         /* 05 aSGR0 normal char set             */
	"\377",         /* 06 aSGR3 italics on                  */
	"\377",         /* 07 aSGR23 italics off                */
	"\377",         /* 08 aSGR4 underline on                */
	"\377",         /* 09 aSGR24 underline off              */
	"\377",         /* 10 aSGR1 boldface on                 */
	"\377",         /* 11 aSGR22 boldface off               */
	"\377",         /* 12 aSFC set foreground color (NI)    */
	"\377",         /* 13 aSBC set background color (NI)    */
	"\377",         /* 14 aSHORP0 normal pitch              */
	"\377",         /* 15 aSHORP2 elite on                  */
	"\377",         /* 16 aSHORP1 elite off                 */
	"\377",         /* 17 aSHORP4 condensed fine on         */
	"\377",         /* 18 aSHORP3 condensed fine off        */
	"\377",         /* 19 aSHORP6 enlarge on                */
	"\377",         /* 20 aSHORP5 enlarge off               */

	"\377",         /* 21 aDEN6 shadow print on             */
	"\377",         /* 22 aDEN5 shadow print off            */
	"\377",         /* 23 aDEN4 double strike on            */
	"\377",         /* 24 aDEN3 double strike off           */
	"\377",         /* 25 aDEN2 NLQ on                      */
	"\377",         /* 26 aDEN1 NLQ off                     */

	"\377",         /* 27 aSUS2 superscript on              */
	"\377",         /* 28 aSUS1 superscript off             */
	"\377",         /* 29 aSUS4 subscript on                */
	"\377",         /* 30 aSUS3 subscript off               */
	"\377",         /* 31 aSUS0 normalize the line          */
	"\377",         /* 32 aPLU partial line up      (NI)    */
	"\377",         /* 33 aPLD partial line down    (NI)    */

	"\377",         /* 34 aFNT0 Typeface 0                  */
	"\377",         /* 35 aFNT1 Typeface 1                  */
	"\377",         /* 36 aFNT2 Typeface 2                  */
	"\377",         /* 37 aFNT3 Typeface 3                  */
	"\377",         /* 38 aFNT4 Typeface 4                  */
	"\377",         /* 39 aFNT5 Typeface 5                  */
	"\377",         /* 40 aFNT6 Typeface 6                  */
	"\377",         /* 41 aFNT7 Typeface 7                  */
	"\377",         /* 42 aFNT8 Typeface 8                  */
	"\377",         /* 43 aFNT9 Typeface 9                  */
	"\377",         /* 44 aFNT10 Typeface 10                */

	"\377",         /* 45 aPROP2 proportional on            */
	"\377",         /* 46 aPROP1 proportional off           */
	"\377",         /* 47 aPROP0 proportional clear    (NI) */
	"\377",         /* 48 aTSS set proportional offset (NI) */
	"\377",         /* 49 aJFY5 auto left justify           */
	"\377",         /* 50 aJFY7 auto right justify          */
	"\377",         /* 51 aJFY6 auto full jusitfy           */
	"\377",         /* 52 aJFY0 auto jusity off             */
	"\377",         /* 53 aJFY3 letter space           (NI) */
	"\377",         /* 54 aJFY1 word fill                   */
	"\377",         /* 55 aVERP0 1/8" line spacing          */
	"\377",         /* 56 aVERP1 1/6" line spacing          */
	"\377",         /* 57 aSLPP set form length             */
	"\377",         /* 58 aPERF perf skip n (n > 0)         */
	"\377",         /* 59 aPERF0 perf skip off              */

	"\377",         /* 60 aLMS set left margin         (NI) */
	"\377",         /* 61 aRMS set right margin        (NI) */
	"\377",         /* 62 aTMS set top margin          (NI) */
	"\377",         /* 63 aBMS set bottom margin       (NI) */
	"\377",         /* 64 aSTBM set T&B margins        (NI) */
	"\377",         /* 65 aSLRM set L&R margins             */
	"\377",         /* 66 aCAM clear margins                */

	"\377",         /* 67 aHTS set horiz tab                */
	"\377",         /* 68 aVTS set vert tab                 */
	"\377",         /* 69 aTBC0 clear horiz tab             */
	"\377",         /* 70 aTBC3 clear all horiz tabs        */
	"\377",         /* 71 aTBC1 clear vert tab              */
	"\377",         /* 72 aTBC4 clear all vert tabs         */
	"\377",         /* 73 aTBCALL clear all h & v tabs      */
	"\377",         /* 74 aTBSALL set default tabs          */

	"\377",         /* 75 aEXTEND extended commands         */
	"\377",         /* 76 aRAW next 'n' chars are raw       */
};

/*
 * We don't have a ExtendedCharTable[].
 * In fact, we don't have text.
 * Enforce this.
 */

int
ConvFunc(char *buffer, char c, int crlf_flag)
{
    debug(("ConvFunc %d '%c'\n", c, c));
    return 0;
}
@


1.1
log
@Initial revision
@
text
@d1 3
@
