Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site ucbvax.ARPA Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!info-vax From: info-vax@ucbvax.ARPA Newsgroups: fa.info-vax Subject: F and Terminals Message-ID: <3881@ucbvax.ARPA> Date: Tue, 18-Dec-84 19:29:17 EST Article-I.D.: ucbvax.3881 Posted: Tue Dec 18 19:29:17 1984 Date-Received: Thu, 20-Dec-84 00:33:45 EST Sender: daemon@ucbvax.ARPA Organization: University of California at Berkeley Lines: 19 From: Peter A. ManeraF$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 -------