[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

2325.0. "CREAT/TERM and PID" by AKOLD1::FREDA (I'm a THOUSANDAIRRE) Wed Feb 21 1990 14:51

	Problem:

	I have a command procedure in which to notify workstation users of the 
system notices as they use the DECWindows pause screen and seldomly quit. 
Whereby never seeing new notices. In short the command procedure does a 
$set display/creat then begins a loop getting the 'node' names and 
$set disp/node='node'. Then does a $creat/term/detach and back in the loop to 
get the next 'node' to notify,and it works too. But when I start doing a 
$sho user/node/fu I find all kinds of processes with the name
of notice. They DO NOT go away when the workstation owners use the COMMANDS
pull down entry and select quit. Can anyone either tell me where I may be going
wrong or maybe help me with a workaround?

	Thanks in Advance
	Dan
T.RTitleUserPersonal
Name
DateLines
2325.1WHy not use MAIL!NITMOI::PESENTIOnly messages can be draggedFri Feb 23 1990 10:208
If this is a PUSH style of informing users, why not use MAIL?  Create a command
procedure that edits NOTICE.TXT, and mails the updated copy to a list of system
users.

If this is a PULL style of informing users, create a batch job that resubmits 
itself with the create date of the last notice.txt mailed.  If a new notice.txt
is there, it mails it and resubmits with a new date.  You can then make this 
available to the users.  Them that don't run it do so at their own risk.
2325.2Still doesn't help...AKOLD1::FREDAI'm a THOUSANDAIRREMon Mar 05 1990 14:1014
	Mail is one answer, but we choose not to use mail for a couple of 
reasons. One is that many people don't have time to weed through mail first 
thing. Another reason is that when the window is on their screen they are forced
to respond by either reading it or quitting out of the window. If for some 
reason for example the system needs to shut down in 20 min., at least they will
see the window, but they may ignore a new mail informational message as they may
be in the middle of something else. Also, and most importantly, it doesn't 
explain why I'm left with these PID's that I need to manually delete.

-.1 is not a solution. I would prefer to execute this in the manner stated in
.0 if possible. If not, then maybe I need an alternative.

	Dan
2325.3What command line are you using?HANNAH::MESSENGERBob MessengerMon Mar 05 1990 15:5712
Re: .0

What command are you actually using to create the DECterm windows?
Create/term/detach would create a logged in window at the DCL prompt on *your*
account, which I assume isn't what you want.

This works for me with no problem: the process goes away when I Quit.  I'm
not sure why this doesn't work when you do it.  I suggest that you submit a
QAR.  In the meantime, you might want to ask people to use the LOGOUT command
instead of Quit'ing from the Commands menu.

				-- Bob