[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/sysdep.c
From: |
Thien-Thi Nguyen |
Subject: |
[Emacs-diffs] Changes to emacs/src/sysdep.c |
Date: |
Sun, 01 May 2005 07:32:50 -0400 |
Index: emacs/src/sysdep.c
diff -c emacs/src/sysdep.c:1.263 emacs/src/sysdep.c:1.264
*** emacs/src/sysdep.c:1.263 Wed Apr 20 15:09:38 2005
--- emacs/src/sysdep.c Sun May 1 11:32:49 2005
***************
*** 1718,1727 ****
#else
#ifdef VMS
struct sensemode tty;
! SYS$QIOW (0, input_fd, IO$_SENSEMODE, &tty, 0, 0,
! &tty.class, 12, 0, 0, 0, 0);
*widthp = tty.scr_wid;
*heightp = tty.scr_len;
--- 1718,1733 ----
#else
#ifdef VMS
+ /* Use a fresh channel since the current one may have stale info
+ (for example, from prior to a suspend); and to avoid a dependency
+ in the init sequence. */
+ int chan;
struct sensemode tty;
! SYS$ASSIGN (&input_dsc, &chan, 0, 0);
! SYS$QIOW (0, chan, IO$_SENSEMODE, &tty, 0, 0,
! &tty.class, 12, 0, 0, 0, 0);
! SYS$DASSGN (chan);
*widthp = tty.scr_wid;
*heightp = tty.scr_len;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/sysdep.c,
Thien-Thi Nguyen <=