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

Conference bulova::decw_jan-89_to_nov-90

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

3641.0. "Is Sys$Command a DECterm?" by SUBWAY::OBERLE () Mon Nov 12 1990 12:09

    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.RTitleUserPersonal
Name
DateLines
3641.1works for meVMSSPT::J_OTTERSONJeff Otterson, CSSE VMS SupportMon Nov 12 1990 13:217
$ 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