home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!netsys!agate!ucbvax!mhs.attmail.com!simons/G=Colin/I=CB/S=Sewell/O=H.A.Simons.Ltd/OU=CORP
- From: simons/G=Colin/I=CB/S=Sewell/O=H.A.Simons.Ltd/OU=CORP@mhs.attmail.com
- Newsgroups: comp.os.vms
- Subject: Re: SET TERM/INQUIRE
- Message-ID: <9211120400.AA10408@ucbvax.Berkeley.EDU>
- Date: 12 Nov 92 02:50:01 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 57
-
- FRED W. BACH writes:
-
- |In article <9211031433.01@klnet.UUCP>, klovatt@klnet.UUCP (Keith Lovatt) writes...
- |>FRED W. BACH (music@erich.triumf.ca) wrote:
- |>: We have just found out that SET TERMINAL/INQUIRE should not be followed
- |>: immediately by another SET TERM command. Depending on system and network
- |>: overhead, there is about a 75% chance that the second command will be
- |>: totally ignored. The effect is very reproducible.
- |
- | And then he answers
- |>
- |>Why not just put it all on one line? ie
- |>
- |>$ SET TERM/INQURE/NOTAB/NOFORM
- |>
- |>This works just fine for us.
- |>Keith Lovatt | Scarborough, Ontario, Canada
- |
- | I seem to remember from a long time ago that SET TERM/INQUIRE
- | *was* supposed to be used in its naked form and not combined with
- | other SET TERM statements. I have no way of checking whether this
- | restriction was ever true or not.
- |
- | I don't think the SET TERM/INQUIRE/DEV=vt200/PAGE=28 is reliable in
- | our setup here. We have separated them into two separate commands
- |
- | SET TERM/INQUIRE and SET TERM/DEV=VT200/PAGE=28
- |
- | which must be separated by more than 0.5 seconds on our 3100. We are
- | running VMS 5.5-2HW and motif 1.1 .
- |
-
- The problem is the combination of the /INQUIRE and /DEVICE_TYPE=
- qualifiers. I am not sure i see the point of using SET
- TERMINAL/INQUIRE which sets the device type of the terminal
- and then immediately following that with a SET TERM/DEV=VT200
- which negates any results of SET TERM/INQ unless the inquiry
- set the terminal to vt200_series type. Including both qualifiers
- on the same SET TERM command does not make sense and in fact
- the result of such a command would be the that the device
- type would be set to whatever the inquiry said it was, while the
- /DEVICE_TYPE value would be ignored.
-
- However, you can put other qualifiers with the SET TERM/INQ
- command with no problem. the inquiry sets the device type +
- any other terminal capabilities/defaults of the particular
- device type and further qualifiers override those
- capabilities/defaults.
-
- the fact that SET TERM/INQ flushes the typeahead buffer is
- documented under HELP SET TERM/INQUIRE. This would not affect
- command file input, just user typed input.
-
- colin sewell
- h.a.simons ltd.
- vancouver, bc
-
-