[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

768.0. "DECmate, ALL-IN-1 2.4 and VMS 5.5 ?" by NCCODE::HARRIS (oooppps) Fri May 29 1992 16:51

    hi -
    
    can someone answer this - or point me towards another conference?
    
    users with DECmates, ALL-IN-1 2.4 and VMS 5.5.  the DECmates were set
    up as a 227 (?). this allowed teh functionality of the top row of keys
    (F) keys.  since upgrading to VMS 5.5 (a couple of days ago), the
    DECmates are not interpereting things correctly and garbage is
    appearing in documents.
    
    the DECmates terminal mode setups were changed to 100 and work fine
    except that the functionality of the top row of keys will not work with
    this setup.
    
    any ideas?  i didnt' know people still used DECmates!
    
    	ann
T.RTitleUserPersonal
Name
DateLines
768.1DECmates don't like 8-bit charactersWAYLND::HOWARDBen. Our business is computers, not moneyThu Jun 04 1992 23:3344
    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
768.2Our modified A1WPSPLUS_LOGIN.COMATLANA::SHERMANDebt Free!Fri Jun 05 1992 17:2422
    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
$!
...