DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T d

⟦2b0f9ec53⟧ TextFile

    Length: 1692 (0x69c)
    Types: TextFile
    Names: »def.h«

Derivation

└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦883b7f77d⟧ »dvi2vdu.tar.Z« 
        └─⟦f158c222e⟧ 
            └─⟦this⟧ »dvi2vdu/dvi2vdu-1.1J/src/def.h« 

TextFile

/* Some	generally useful definitions for dvitovdu
 
   Mark	J. Hewitt  Kernel Technology Limited. 22-November-1989
*/
 
static char *sccsid_def[] = "@(#)def.h	1.1";
 
#include <stdio.h>
 
#define	ABS(a) (((a)<0)? -(a):(a))
 
#define	ESC 033
#define	FF  014
#define	SO 016
#define	SI 017
#define	DEL  '\177'
#define	FS  034
#define	GS  035
#define	US  037
#define	TRUE 0x0001
#define	FALSE 0x0000
#define	CAN 030
 
#ifndef	VOIDPTR
#define	VOIDPTR	void
#endif
 
typedef	VOIDPTR	Void;		/* for ptr to functions returning void */
 
#ifdef BSD
#ifndef BSD_FILESYSTEM
#define BSD_FILESYSTEM
#endif /* BSD_FILESYSTEM */
#endif /* BSD */
 
#define MAXSTRLEN 81

#define exitprog(i) exit(i)
 
typedef  char   stringvalue[MAXSTRLEN+1] ;
 
/* Per device action routines */
 
extern	Void (*ClearScreen) (),
	     (*ClearTextLine) (),
	     (*LoadFont) (),
	     (*MoveToTextLine) (),
	     (*ResetVDU) (),
	     (*ShowChar) (),
	     (*ShowRectangle) (),
	     (*StartGraphics) (),
	     (*StartText) ();
 
extern	void InitSysInterface (),
	     InitVDUInterface (),
	     MoveAbs (),
	     Read (),
	     ReadString	(),
	     RestoreTerminal (),
	     Write (),
	     WriteBuffer (),
	     WriteCard (),
	     WriteInt (),
	     WriteLn (),
	     WriteString (),
	     exit(),
	     free(),
	     suspend ();
 
extern int  windowh,
	    windowht,
	    windowstatusl,
	    windowv,
	    windowwd,
	    bottoml,
	    screenht,
	    messagel,
	    commandl,
	    maxhp,
	    maxvp,
	    minhp,
	    minvp;
 
 
extern char *malloc (),
	    *strcpy ();
 
extern char TeXtoASCII[];
 
extern int  DVIstatusl;
 
extern int  strlen ();
 
extern unsigned	int mag,
		    paperht,
		    paperwd,
		    resolution;