From:	SMTP%"RELAY-INFO-VAX@CRVAX.SRI.COM" 27-MAY-1993 10:44:17.19
To:	EVERHART
CC:	
Subj:	Re: how to preserve decterm window size from SET TERMINAL /INQUIRE

X-Newsgroups: comp.os.vms
From: fairfield@slacvx.slac.stanford.edu
Subject: Re: how to preserve decterm window size from SET TERMINAL /INQUIRE
Message-Id: <1993May26.150349.1@slacvx.slac.stanford.edu>
Lines: 31
Sender: news@unixhub.SLAC.Stanford.EDU
Organization: Stanford Linear Accelerator Center
Date: Wed, 26 May 1993 23:03:49 GMT
To: Info-VAX@kl.sri.com
X-Gateway-Source-Info: USENET

In article <2EC5B15A217F0004D2@MAX.U.WASHINGTON.EDU>, DEREK@U.WASHINGTON.EDU writes:
> So, I've been reading this thread, and I am curious.  I, too, don't like
> the use of SET TERMINAL /INQUIRE "forced" upon me.  At sites where I have
> worked and seen this, we usually end up agreeing to modify the code to be
> something on the order of:
> 
> $ if f$mode() .eqs. "INTERACTIVE"
> $    then
> $        if f$getdvi("TT:","DEVTYPE") .EQS. "0" then $ set term /inquire/line
> $    endif
> 
> What I am curious about is that MOST of the postings for this problem seem
> to use the device NAME.
[...]
> Is there something I am missing?  See, I can understand checks of this sort
> being made so that one could, perhaps, keep track of certain types of
> connections, but it doesn't make sense to me for the SET TERM/INQUIRE stuff.

    Nope.  I think you've got a clean method there :-)  
    Alfred Falk <falk@arc.ab.ca> suggested the same thing in 
    another followup which (at this site) followed yours...  
    It's almost enough to make me go clean up that old chaff 
    in our stuff.

	-Ken
-- 
 Dr. Kenneth H. Fairfield    |   Internet: Fairfield@Slac.Stanford.Edu
 SLAC, P.O.Box 4349, MS 98   |   DECnet:   45537::FAIRFIELD (45537=SLACVX)
 Stanford, CA   94309        |   FAX:      (415) 926-4335
 ----------------------------------------------------------------------------
 These opinions are mine, not SLAC's, Stanford's, nor the DOE's...

