| 227 is VT220 mode with 7-bit escape sequences. Unfortunately, somebody
consciously decided that these terminals should respond to the "what
are you?" sequence (from SET TERM/INQUIRE) as standard VT220's. When
this happens, VMS sets the terminals to /EIGHTBIT. Setting the mode to
100 makes it answer as a VT100, which is /NOEIGHTBIT. I thought that
the top row would still work in 100 mode, but I guess that I'm wrong.
The DECmate does not do eightbit characters at all except in WPS V3.n,
which was only sold in Europe. It actually has less functionality
than V2.3, which was the last customer release.
I don't really know what might have changed in V5.5 to make this a
problem. You will have to check what runs on the system to set the
terminal type. If you are running A1WPSPLUS_LOGIN.COM, then it may be
that the codes that VMS returns have changed (they don't appear to have
changed). Unfortunately, there is no F$GETDVI attribute to say "VT220"
or "VT100", there is just a number like "112". The following piece of
A1WPSPLUS_LOGIN.COM illustrates this:
$ SET TERMINAL/INQUIRE ! Set up default characteristics to test
$ TERM_TYPE := 'f$getdvi("tt:","devtype") ! Find out type of terminal
$ GRAPHICS := 'f$getdvi("tt:","tt_regis")! Is it a graphics terminal
$!
$ IF term_type .eq. 112 THEN GOTO setup_for_VT300 ! VT300_Series terminal
$ IF term_type .eq. 111 THEN GOTO setup_for_pro ! PRO_Series terminal
$ IF term_type .eq. 110 THEN GOTO setup_for_VT200 ! VT200_Series terminal
$ IF term_type .eq. 100 THEN GOTO setup_for_vt125 ! Graphic VT1xx
$ IF term_type .eq. 98 THEN GOTO setup_for_vt1xx ! Emulated VT1xx/VT2xx
$ IF term_type .eq. 96 THEN GOTO setup_for_vt1xx ! VT1xx
$ WRITE sys$output "Unrecognized Terminal, please see your System Manager."
If the value for VT200 changed to something other than 110, then the
procedure won't recognize it.
If the users in question always use DECmates, you could just put the
following into their LOGIN.COM files:
$ SET TERM/INQUIRE/NOEIGHT
(If you've already done the /INQUIRE earlier, then leave it out. But
note that DCL processes the qualifiers left-to-right, so
/INQUIRE/NOEIGHTBIT is not the same as /NOEIGHTBIT/INQUIRE!)
Ben
|
| When we began our involvement with DIAMOND, we modified the provided
SYS$MANAGER:A1WPSPLUS_LOGIN.COM to do as Ben in .1 suggested; it works
well for our (many!) users that still have DECmates.
Hth,
Ron
$! .TITLE A1WPSPLUS_LOGIN
$! .IDENT V2.02 - AMERICAN
$!+
...
$!
$! Setup "real" VT200_Series terminals (VT220, VT240, and DECmate/WPS),
$! and load the TCS character set
$!
$ setup_for_vt200:
$!
$! SET TERMINAL/ADVANCED_VIDEO/EIGHT_BIT/PRINTER/HOST ! This is required
$ SET TERMINAL/ADVANCED_VIDEO/noEIGHT_BIT/PRINTER/HOST ! This is required
$!
...
|