diff options
author | Lorry <lorry@roadtrain.codethink.co.uk> | 2012-07-10 15:54:41 +0100 |
---|---|---|
committer | Lorry <lorry@roadtrain.codethink.co.uk> | 2012-07-10 15:54:41 +0100 |
commit | 18853b9e7f177a39aa228c812169b0f1e95324a0 (patch) | |
tree | 47af94eeac283b1fd9183d6133fb1b3fe4758eb1 /vms.h | |
download | xterm-18853b9e7f177a39aa228c812169b0f1e95324a0.tar.gz |
Tarball conversion
Diffstat (limited to 'vms.h')
-rw-r--r-- | vms.h | 41 |
1 files changed, 41 insertions, 0 deletions
@@ -0,0 +1,41 @@ +/* $XFree86: xc/programs/xterm/vms.h,v 1.1 2000/02/08 17:19:45 dawes Exp $ */ + +/* vms.h + */ +#include <ssdef.h> +#include <iodef.h> +#include <msgdef.h> +#include <descrip.h> +#include <dvidef.h> +#include <jpidef.h> +#include <prcdef.h> +#include <dcdef.h> +#include <ttdef.h> +#include <tt2def.h> +#include <accdef.h> +#include <prvdef.h> + +struct IOSB +{ + short int status; + short int len; + int unused; +} mbx_read_iosb,iosb; + +#define MAXITEMLIST 5 + +short int tt_chan; /* channel to the Pseudo terminal */ +short int mbx_chan; /* channel to the mailbox */ +struct accdef mbx_buf; /* mailbox buffer */ +short int mbxunit; /* mailbox unit number */ +int pid; /* PID of created process */ +static $DESCRIPTOR (image, "SYS$SYSTEM:LOGINOUT.EXE"); + +static struct items { + short int buflen; + short int code; + int buffer; + int return_addr; +} itemlist[MAXITEMLIST]; + +int tt_write(const char *tt_write_buf,int size); |