/*	Convergent Technologies - System V - Oct 1983	*/
/*	"@(#)window.h	1.6"	*/

#ifndef window_h
#define window_h

#include <sys/types.h>

#define NWCC 2

struct wioctl {
	wndw_t	wi_dfltwndw;	/* dflt window for controlling tty */
	wndw_t	wi_wndw;	/* current window for tty I/O */
	slot_t	wi_mycpuslot;
	slot_t	wi_destcpuslot;
	port_t	wi_bport;
	char	wi_dummy;
	unsigned char wi_cc[NWCC];	/* bytes for user use */
};

#define	WIOC		('w'<<8)
#define	WIOCGET		(WIOC|1)
#define	WIOCSET		(WIOC|2)
#define	WIOCDIRECT	(WIOC|3)
#define	WIOCUNDIRECT	(WIOC|4)
#define WIOCSETP	(WIOC|5)
#define WIOCCLRP	(WIOC|6)
#define WIOCCLUSTER	(WIOC|7)

#endif

/* TSP stuff */
#define TSP1 	4		/* tty ID for the TSP1 port */
#define TSP2 	5		/* tty ID for the TSP1 port */
