From:	SMTP%"RELAY-INFO-VAX@CRVAX.SRI.COM" 16-AUG-1994 11:01:02.31
To:	EVERHART
CC:	
Subj:	Re: Procomm/Alpha

From: fdc@fdc.cc.columbia.edu (Frank da Cruz)
X-Newsgroups: comp.os.vms
Subject: Re: Procomm/Alpha
Date: 16 Aug 1994 13:14:54 GMT
Organization: Columbia University
Lines: 35
Distribution: World
Message-ID: <32qe4e$8ed@apakabar.cc.columbia.edu>
NNTP-Posting-Host: fdc.cc.columbia.edu
To: Info-VAX@CRVAX.SRI.COM
X-Gateway-Source-Info: USENET

In article <01HFYC5SURO29D4H2U@HCACAD.HOLYCROSS.EDU> Father Pomeroy  
<JBP@HCACAD.HOLYCROSS.EDU> writes:
>  We encountered the fact that in VMS 6.1, a SET TERM/INQ does NOT set the
> page length at all. It is left where it was. We found that our PROCOMM
> PC's were being set to 255x255. The result was this sort of strange
> output. 
>
Uh oh, a new terminal inquiry sequence.  This is going to break about
1,000,000 login scripts.

The old behavior was for VMS to send ESC Z and wait a few seconds for a
terminal-type ID, and if it didn't come, then to send ESC [ c and wait again,
and then finally to time out.  VMS login scripts commonly wait for ESC Z
and then send something like ESC [ 1 c (for VT100).

VMS 6.1 seens to send:

  ESC [ c            New style terminal ID query for VT220 & above
  ESC \              (What is this doing here?)*
  ESC [ Z            Old-style terminal ID query
  ESC 7              Save cursor position
  ESC [ 255;255H     Goto 255,255
  ESC [ 6 n          Report cursor position
  ESC 8              Restore cursor position

* ESC \ is String Terminator, which is only supposed to appear at the end
  of a string-containing escape sequence like DCS, APC, OSC, or PM.

Time for a significant portion of the world's population to adjust its VMS
login scripts...

- Frank

P.S. Of course, MS-DOS Kermit & OS/2 C-Kermit's terminal emulators respond
correctly to the new sequence :-)

