1718 |
#else |
#else |
1719 |
#ifdef VMS |
#ifdef VMS |
1720 |
|
|
1721 |
|
/* Use a fresh channel since the current one may have stale info |
1722 |
|
(for example, from prior to a suspend); and to avoid a dependency |
1723 |
|
in the init sequence. */ |
1724 |
|
int chan; |
1725 |
struct sensemode tty; |
struct sensemode tty; |
1726 |
|
|
1727 |
SYS$QIOW (0, input_fd, IO$_SENSEMODE, &tty, 0, 0, |
SYS$ASSIGN (&input_dsc, &chan, 0, 0); |
1728 |
&tty.class, 12, 0, 0, 0, 0); |
SYS$QIOW (0, chan, IO$_SENSEMODE, &tty, 0, 0, |
1729 |
|
&tty.class, 12, 0, 0, 0, 0); |
1730 |
|
SYS$DASSGN (chan); |
1731 |
*widthp = tty.scr_wid; |
*widthp = tty.scr_wid; |
1732 |
*heightp = tty.scr_len; |
*heightp = tty.scr_len; |
1733 |
|
|