sync code with last improvements from OpenBSD
This commit is contained in:
commit
88965415ff
26235 changed files with 29195616 additions and 0 deletions
41
app/xterm/vms.h
Normal file
41
app/xterm/vms.h
Normal file
|
@ -0,0 +1,41 @@
|
|||
/* $XTermId: vms.h,v 1.6 2022/10/06 19:37:30 tom 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, size_t size);
|
Loading…
Add table
Add a link
Reference in a new issue