aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/xterm/vms.h
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/xterm/vms.h')
-rw-r--r--nx-X11/programs/xterm/vms.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/nx-X11/programs/xterm/vms.h b/nx-X11/programs/xterm/vms.h
new file mode 100644
index 000000000..86f338eb9
--- /dev/null
+++ b/nx-X11/programs/xterm/vms.h
@@ -0,0 +1,39 @@
+/* $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];