[fa.info-vax] F and Terminals

info-vax@ucbvax.ARPA (12/19/84)

From: Peter A. Manera <NYU.MANERA%CU20B@COLUMBIA.ARPA>


F$GETDVI("SYS$COMMAND","DEVTYPE") returns a number.  For example, if the
terminal has been SET (either directly or by /INQUIRE) to VT52, F$GETDVI
returns 64; for a VT100, 96; et.al.  By trial and error, we've been able
to match 22 terminal types with the appropriate number, the highest of
which was 102 for a VT132.  The implication is that we don't know 80 others,
and we havn't been able to locate anything in the documentation.  (Sounds
a little like the CPU query of a few weeks ago, doesn't it?)

Of course, we're trying to assign terminal types at login for the various
logicals (TERM for CCA emacs and Eunice, TERM_INGRES for Ingres, etc.).  We
start with SET TERM/INQUIRE and then hope for the best, or the user can SET
TERM/DEV=whatever and then take this command file to get the logicals.  Would
be nice if we knew what to do with the other 80 (?) possible returns.

Peter
-------

info-vax@ucbvax.ARPA (12/19/84)

From: Mark Johnson <MHJohnson@HI-MULTICS.ARPA>

One of the sessions at the Fall 84 DECUS symposium covered the foreign
terminal support for VMS V4.  In that session the issue of terminal id
number was discussed.  In brief, a file similar to a termcap from Un*x
can be compiled to generate descriptions of the normal DEC terminals
along with anything you might own.  This description is used by 

  SET TERM/DEVI=xxx

to set the appropriate terminal characteristics and the id becomes a
number used by the SMG$ routines to lookup the codes for your particular
terminal.

These id numbers however are subject to change EVERY time you rebuild
the terminal data file.  The audience asked for a conversion to/from the
name and id & we got the usual ``noted''.  I hope DEC listens.

By the way, in VMS V3, there are big holes in the numbering scheme of
the terminal id.

  --Mark <MHJohnson @ HI-MULTICS>

info-vax@ucbvax.ARPA (01/10/85)

From: Klaas_Lingbeek%QZCOM.MAILNET@MIT-MULTICS.ARPA

CRreate a file DEVDEF.MAR containing
        $DCDEF
        .END
Assemble this file using the following command:
$ MACRO DEVDEF/LIST/SHOW=EXP
and you'll find all the info in file DEVDEF.LIS
Also try $TTDEF and/or $TT2DEF
Good Luck!                      KeesdeGroot

info-vax@ucbvax.ARPA (02/14/85)

From: John_Aronsson_QZ%QZCOM.MAILNET@MIT-MULTICS.ARPA

Or simply look at STARLET.PAS there you got the comments too.