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

Conference csc32::consolemanager

Title:POLYCENTER Console Manager
Notice:Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS:
Moderator:CSC32::BUTTERWORTH
Created:Thu Aug 06 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1541
Total number of notes:6564

867.0. "Save/keep a log of action/filter/dispatch." by UTROP1::RIJSBERGEN_M (Marcel Rijsbergen @uto) Thu Jul 13 1995 15:09

    
    I've checked for titles (log, action, filter, save) but couldn't come
    up with the proper one although I recall that this question was asked
    before.
    
    How can I keep the .COM and .LOG of the dispatch in CONSOLE$TMP:.
    During a filter I see the files being created but they disappear again.
    Since the last line contains 'EXIT $STATUS' I exited my action routine 
    EXIT 1, 2, 3, 4
    EXIT %X00000028	-w- Abort
    EXIT 1C		-F- diskquota exceeded
    to return something as $STATUS but .COM and .LOG keep vanishing.
    There is probably one last step I forget ?
    
    Regards, Marcel.
T.RTitleUserPersonal
Name
DateLines
867.1OPG::PHILIPAnd through the square window...Thu Jul 13 1995 16:049
Marcel,

  $ DEFINE/SYS CONSOLE$DEBUG "ACTIONS"

  This should do what you need, you will also get extra events when
  you do this as well.

Cheers,
Phil
867.2WOTVAX::WATSONRLambs... so cute... but so tasty !Fri Oct 18 1996 04:378
�  $ DEFINE/SYS CONSOLE$DEBUG "ACTIONS"

    Are the possible settings for the CONSOLE$DEBUG logical documented
    anywhere ? Also, by doing the above, will it stop the action routine
    log files from being deleted ?

Thanks,
Ross
867.3CSC32::BUTTERWORTHGun Control is a steady hand.Fri Oct 18 1996 15:2592
    >   Are the possible settings for the CONSOLE$DEBUG logical documented
    >    anywhere ? 
    
    Not really.  I cut and pasted the possible values from the source and
    pasted them to the end of this note.
    
    >Also, by doing the above, will it stop the action routine log files from 
    >being deleted ?
    
    Yes it will, and the correct equivalence name to use is "ACTION".
    
    
    /*                                                                         
    */
    /* Debug switches, define CONSOLE$DEBUG or setenv the CONSOLE_DEBUG
    value   */
    /* to one or more of these...                                              
    */
    /*                                                                         
    */
    
    #define DEBUG_ALL                   "ALL"
    #define DEBUG_ARCHIVE               "ARCHIVE"
    #define DEBUG_PUBLIC_API            "API"
    #define DEBUG_ENS                   "ENS"
    #define DEBUG_ICONMGT               "ICONMGT"
    #define DEBUG_SHM                   "SHM"
    #define DEBUG_C3                    "C3"
    #define DEBUG_EVENTLIST             "EVENTLIST"
    #define DEBUG_DAEMON                "DAEMON"
    #define DEBUG_EDITOR                "EDIT"
    #define DEBUG_ACTION                "ACTION"
    #define DEBUG_WATCH                 "WATCH"
    #define DEBUG_TERMINAL              "TERMINAL"
    #define DEBUG_DIALOG                "DIALOG"
    #define DEBUG_HELP                  "HELP"
    
    
    The following are the possible values for the CONSOLE$DEBUG_LEVEL
    logical:
    
    #define CMDebugLevelNone            0
    
    #define CMDebugLevelMisc            (1L<<0)         /* 1                   
    */
    #define CMDebugLevelConfigure       (1L<<1)         /* 2                   
    */
    #define CMDebugLevelScan            (1L<<2)         /* 4                   
    */
    #define CMDebugLevelStartChild      (1L<<3)         /* 8                   
    */
    #define CMDebugLevelTimers          (1L<<4)         /* 16                  
    */
    #define CMDebugLevelControlMsgs     (1L<<5)         /* 32                  
    */
    #define CMDebugLevelUI              (1L<<6)         /* 64                  
    */
    #define CMDebugLevelCallbacks       (1L<<7)         /* 128                 
    */
    #define CMDebugLevelFiles           (1L<<8)         /* 256                 
    */
    #define CMDebugLevelEnterLeave      (1L<<9)         /* 512                 
    */
    #define CMDebugLevelTELNETOptions   (1L<<10)        /* 1024                
    */
    #define CMDebugLevelTerminalIO      (1L<<11)        /* 2048                
    */
    
    #define CMDebugLevelLAT             (1L<<12)        /* 4096                
    */
    #define CMDebugLevelUnused13        (1L<<13)        /* 8192                
    */
    #define CMDebugLevelUnused14        (1L<<14)        /* 16384               
    */
    #define CMDebugLevelUnused15        (1L<<15)        /* 32768               
    */
    #define CMDebugLevelUnused16        (1L<<16)        /* 65536               
    */
    #define CMDebugLevelUnused17        (1L<<17)        /* 131072              
    */
    #define CMDebugLevelUnused18        (1L<<18)        /* 262144              
    */
    #define CMDebugLevelUnused19        (1L<<19)        /* 524288              
    */
    #define CMDebugLevelUnused20        (1L<<20)        /* 1048576             
    */
    #define CMDebugLevelUnused21        (1L<<21)        /* 2097152             
    */
    #define CMDebugLevelUnused22        (1L<<22)        /* 4194304             
    */
    
    #define CMDebugLevelAll             0xFFFFFFFF