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

Conference share::zap

Title:Zap Technical Conference
Notice:ZAP Version 5.3 is available. See note 1.1
Moderator:ZAPDEV::MACONI
Created:Mon Feb 24 1986
Last Modified:Mon May 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:170
Total number of notes:492

96.0. "Zap not zapping & esc characters questions" by HAMPS::MANSFIELD_S (An English Sarah) Wed Aug 07 1991 06:36

    I'm dealing with a customer who has purchased ZAP via the assets
    program, but who has problems setting it up. He has customised his
    zap.dat file & says that zap is running, zap$monitor & zap$run_status
    look OK, but when he logs on to a user account with an non-excluded UIC
    & leave the terminal idle, it doesn't get zapped.
    
    He has faxed me a copy of his zap.dat file & it looks like this.
    
    
    /sensitivity=5
    /traceback=true
    /debug=false
    /send=5,4,3,2,1
    /inswap=true
    /ignore_suspended=false
    [*,*]	*	console		*	nomessage
    [001,004]	*	remote		*	nomessage
    [001,*]	*	all		*	nomessage
    [*,*]	*	batch		*	nomessage
    [*,*]	*	network		*	nomessage
    [*,*]	*	detach		*	nomessage
    [300,110]	*	all		*	nomessage
    .
    . other excluded uics...
    .
    [*,*]	*	all		5	message
    
    
    Any ideas as to what might be going wrong ?
    
    Also, in the event of ZAP being activated, they would like to exit out
    of the application they are running by using escape codes. (This is the
    normal way an interactive user would exit out of the application.) They
    want to do it this way, as the application maintains a count of
    users using the application, and only allows so many users to use the
    application at once. Simply killing the process means that this count
    is not reset, and therefore stops someone else using the application. I
    can see from the documentation that it ought to be possible to stop the
    process using a command file, but I'm not quite sure how this command
    file could be used to stop the application. Would a write sys$output
    command in this command file have the same effect as a user typing in a
    key sequence, or would it simply display on the terminal without
    sending the escape seq back to the program that's running ?
    
    Thanks for your help,
    	Sarah.
T.RTitleUserPersonal
Name
DateLines
96.1Possible solution ZAPDEV::MACONIThe Doctor is InFri Aug 09 1991 10:1316
Assuming that the ".. other excluded uics .." does not include the uic in
question, then it looks as though it is properly set up.  However, you do have
an entry for the "console", which is immune.  If the customer is using a non-DEC
terminal server setup, then check the name of the terminal on which they are
logging into.  In ZAP V4.2 or earlier, the console is ANY device which begins
with 'O' as in OPA0:.  This problem has occurred before at other sites.  Just
remove the entry for "console" or change it to only include [1,4] uic's.

By the description of what you said that the customer would like to do, you will
need to find a program that can place data into the users input buffer.  ZAP
could then create the detached process that runs that program using the user
written procedures facility.  However, ZAP does not include any such program.

[If you find a reliable program, please send me info as it might be nice to
 include in future versions]