[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

1883.0. "CREATE/TERMINAL/NOPROCESS/PERMANENT?" by ARTFUL::SCOTT (TPU, TP me, TP them, TP ... we?) Mon Dec 11 1989 08:47

If I do a CREATE/TERMINAL/NOPROCESS, this window goes away as soon as the first
image to assign a channel to it deassigns that channel.  Is there any way to
make the terminal window hang around?

I've been using a CREATE/TERMINAL/NOPROCESS/DEFINE=(DBG$INPUT,DBG$OUTPUT) as an
alternative to the insipid DECwindows debugger.  It would be nice if I didn't
have to recreate this window before every debugging session.  It should go away
when I log out, though.
T.RTitleUserPersonal
Name
DateLines
1883.1Just CREATE/TERMINAL should do itRWCVAX::COULSONRoger Coulson - SASE(MSESU) DTN 223-6158Mon Dec 11 1989 09:4611
    RE: CREATE/TERMINAL/NOPROCESS
    
    The /NOPROCESS tells it to create a window but not a process.  A
    CREATE/TERMINAL command creates a subprocess logged in.  A
    CREATE/TERMINAL/DETACHED creates a new process logged in.  A
    CREATE/TERMINAL/DETACHED/NOLOGGED_IN creates a new process not logged
    in and you get a username prompt.  I think you want just
    CREATE/TERMINAL.
    
    	/s/	Roger
    
1883.2Thanks, but it ain't that simpleARTFUL::SCOTTTPU, TP me, TP them, TP ... we?Mon Dec 11 1989 10:344
Thanks, but I've used CREATE/TERMINAL/NOPROCESS, which works fine, but when
I exit the debugger, the window goes away.  I also used it to make a test ter-
minal for my application, and the thing happens--when my application deassigns
the channel for the device, the window goes away.
1883.3SET TERMINAL/NOHANGUPHANNAH::MESSENGERBob MessengerMon Dec 11 1989 10:497
Re: .0

I think you need to SET TERMINAL/NOHANGUP on the created TW devices; this
may require SHARE privilege.  Unfortunately you can't specify this on the
CREATE/TERMINAL command line (CREATE/TERMINAL/NOPROCESS/NOHANGUP).

				-- Bob
1883.4Thanks--that works only too well 8^)ARTFUL::SCOTTTPU, TP me, TP them, TP ... we?Mon Dec 11 1989 12:396
Thank you--SET TERM/NOHANG/PERM works even better than I want it to--the created
windows survive the deletion of my process.  It also required PHYS_IO or LOG_IO,
but that wasn't a problem in this situation.  It'd be nice if there was a way
to do this which didn't need privileges and which would get rid of the window
at process termination (i.e., CREATE/TERM/NOPROCESS/NOHANG).
1883.5simple way (?)...GSRC::WESTVariables don't, Constants aren'tTue Dec 12 1989 20:4016
RE: .0

  Since you mentioned in your note you do this because you don't like the
DECwindows debugger windows then what you *really* want to do is this:

  $ define dbg$decw$display " "

The space IS important between the quotes.  This will have the effect of
turning OFF the DECwindows interface to the debugger so that any program
you run with the debugger will do what it has always done in the past on
any VT terminal.

  Hope this helps...

					-=> Jim <=-

1883.6Allocate itPRNSYS::LOMICKAJJeffrey A. LomickaTue Jan 02 1990 11:457
After doing $ CREATE/TERM/NOPROCESS/DEFINE=(whatever)

Do an $ ALLOCATE whatever

from another process.  The terminal will then remain until the process
which has the terminal allocated is logged out.