File:  [Research Unix] / researchv9 / jerq / src / sam / term / samterm.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:59 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv9-SUN3_old, researchv9-SUN3, HEAD
researchv9-SUN3(old)

#include "flayer.h"
#include "../mesg.h"

#define	MAXFILES	256

enum{
	Up,
	Down
};
#define	NL	10
typedef struct Section Section;
struct Section{
	long	nbytes;
	uchar	*text;		/* if null, we haven't got it */
	Section	*next;
};
typedef struct Rasp{
	long	nbytes;
	Section	*sect;
}Rasp;
#define	Untagged	((unsigned short)65535)
typedef struct Text{
	Rasp	rasp;
	short	nwin;
	short	front;		/* input window */
	ushort	tag;
	char	lock;
	Flayer	l[NL];		/* screen storage */
}Text;
extern Text	*text[];
extern uchar	*name[];
extern ushort	tag[];
extern int	nname;
extern Texture	bullseye;
extern Texture	coffeecup;
extern Texture	sweep;
extern Texture	deadmouse;
extern Texture	lockarrow;
extern Texture	*cursor;
extern Flayer	*which;
extern Flayer	*work;
extern Text	cmd;
extern uchar	*scratch;
extern long	nscralloc;
extern char	lock;
extern long	snarflen;

Flayer	*flwhich();
uchar	**gettext();
uchar	**rload();
uchar	*ALLOC();

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.