diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-06-16 21:51:00 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-06-16 21:51:00 +0000 |
commit | ea424166e2a53649eea8d8899fc9294ca023964c (patch) | |
tree | c35c0b8daf356f341979d346c440336bcd13c899 /src/os_vms.c | |
parent | 78599adb5219f98053673ca27683f922a9ca338b (diff) | |
download | vim-git-ea424166e2a53649eea8d8899fc9294ca023964c.tar.gz |
updated for version 7.0086
Diffstat (limited to 'src/os_vms.c')
-rw-r--r-- | src/os_vms.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/os_vms.c b/src/os_vms.c index c26937d8a..6fd05d503 100644 --- a/src/os_vms.c +++ b/src/os_vms.c @@ -300,7 +300,7 @@ vms_read(char *inbuf, size_t nbytes) { int status, function, len; TT_MODE tt_mode; - ITEM itmlst[2]; + ITEM itmlst[3]; static long trm_mask[8] = {-1, -1, -1, -1, -1, -1, -1, -1}; /* whatever happened earlier we need an iochan here */ @@ -308,10 +308,11 @@ vms_read(char *inbuf, size_t nbytes) tt_mode = get_tty(); vul_item(&itmlst[0], 0, TRM$_MODIFIERS, - (char *)( TRM$M_TM_ESCAPE | TRM$M_TM_TIMED | TRM$M_TM_NOECHO | - TRM$M_TM_NOEDIT | TRM$M_TM_NOFILTR | - TRM$M_TM_NORECALL| TRM$M_TM_TRMNOECHO), 0); - vul_item(&itmlst[1], sizeof(trm_mask), TRM$_TERM, (char *)&trm_mask, 0); + (char *)( TRM$M_TM_ESCAPE | TRM$M_TM_TIMED | TRM$M_TM_NOECHO | + TRM$M_TM_NOEDIT | TRM$M_TM_NOFILTR | + TRM$M_TM_NORECALL| TRM$M_TM_TRMNOECHO), 0); + vul_item(&itmlst[1], 0, TRM$_TIMEOUT, (char *) 1, 0 ); + vul_item(&itmlst[2], sizeof(trm_mask), TRM$_TERM, (char *)&trm_mask, 0); function = (IO$_READLBLK | IO$M_EXTEND); memset(inbuf, 0, nbytes); |