DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

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

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦46f60b45f⟧ TextFile

    Length: 1691 (0x69b)
    Types: TextFile
    Notes: UNIX file
    Names: »ttysrv.h«

Derivation

└─⟦7decd0fac⟧ Bits:30004155/disk4.imd SW95713I 386/ix Software Development System Rel. 2.0
└─⟦7decd0fac⟧ UNIX Filesystem
    └─⟦this⟧ »sd/new/usr/include/ttysrv.h« 

TextFile

/*	Copyright (c) 1984 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.	*/

#ident	"@(#)ttysrv.h	2.3 - 88/05/27"
#ident	"@(#)ttysrv.h	2.3 - 88/05/27"

#define PROC_L		"/usr/net/adm/cfg/ttysrv.pl"
#define	CHGE_PROC_L	"/usr/net/adm/tmp/ttysrv.cp"
#define TSTAB		"/usr/net/adm/cfg/ttysrv.db"

#define	MAXTRIES	5
#define DECREMENT	0
#define	INCREMENT	1
#define	TRUE		1
#define	FALSE		0

/* Streams modules pushed by ttysrv */

#define	NTTY		"ntty"
#define	LD0		"ld0"
#define	RDWR		"tirdwr"

/* Control characters for the menu */

#define	DEL		0177
#define	FS		034
#define	ERASE		010
#define	KILL		0100
#define	EOT		04

/*  Maximum page sizes */

#define	MAXPAGSRV	18
#define	FIELDLEN	80
#define	SRVFIELD	18

#define	MAXLNLEN	512
#define	MAXSYS		256

#define	TSMENU		01	/* Menu was made already */
#define	TSMENUSNT	02	/* Menu of systems sent to user */
#define	TSERROR		04	/* Error message to user */
#define	TSWAIT		010	/* Wait for answer from user */
#define	TSCHGERR	020	/* Error in changing proc file */
#define	TSLOGERR	040	/* Error in opening log */
#define	TSSIGHUP	0100	/* SIGHUP indication */
#define	TSDEFAULT	0200	/* Execute the default entry in the database */
#define	TSEDIT		0400	/* Edited the process limit file successfully*/
#define TSNOLIMIT	01000	/* No process limit file */
#define TSSERVICE	02000	/* Service Executed properly */

#define	HSIZE		2048
#define	FDOUTBNDS	21

struct proclim {
	int count;
	int maxcnt;
};

typedef	char	SERVICES[15];

extern char *calspace[];
extern short calindex;

typedef	char	bool;