| Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 | 
| Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit | 
| Moderator: | STAR::VATNE | 
| Created: | Mon Oct 30 1989 | 
| Last Modified: | Mon Dec 31 1990 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 3726 | 
| Total number of notes: | 19516 | 
    Is there some way to determine, from DCL, whether Sys$Command is a
    DECterm?  It appears to emulate a VT-3xx so faithfully that it is
    impossible to tell the difference.  What I'd like to do is write a
    command procedure to either Spawn a subprocess, on a genuine VT-3xx,
    or use "Create/Terminal" on a VAXstation.
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 3641.1 | works for me | VMSSPT::J_OTTERSON | Jeff Otterson, CSSE VMS Support | Mon Nov 12 1990 13:21 | 7 | 
| $ devnam = f$getdvi("TT","DEVNAM")
$ if (f$locate("TWA",devnam) .lt. f$length(devnam)) -
 .or. (f$locate("FTA",devnam) .lt. f$length(devnam))
$ then
$     write sys$output "likely a decterm"
$ endif
 | |||||