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

Conference noted::hackers_v1

Title:-={ H A C K E R S }=-
Notice:Write locked - see NOTED::HACKERS
Moderator:DIEHRD::MORRIS
Created:Thu Feb 20 1986
Last Modified:Mon Aug 03 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:680
Total number of notes:5456

537.0. "How to trap sys messages" by WMVAXC::LTMMGR (Seems like the nothing, never was) Mon Aug 24 1987 18:08

    How would I go about trapping system messages in order to 
    prevent them from disturbing my display contents?
    
    A good example of WHAT I want to do is in WHAT.EXE
    
    All system messages are trapped and sent to a display line.
    
    Thanks
T.RTitleUserPersonal
Name
DateLines
537.1WJG::GUINEAUMon Aug 24 1987 18:355


Write a Condition Handler, enable it and then (from inside the CH)
use $GETMSG or $PUTMSG to intercept system messages...
537.2I did it in SMG$, easy!ANGORA::ZARLENGALiving on the hedge ...Mon Aug 24 1987 20:427
    	SMG has some easy-to-use built in functions for just this
    sort of thing.
    
    	Check out Volume 5D (in v4.0 manuals) - or around there if
    your set is newer.
    
    -mike
537.3nothing whatsoever to do with hackersPUGH::JUSTINCWed Sep 02 1987 13:438
    I know that this has nothing to do with hackers etc but could anyone
    out there mail me some prompts????
    Please!!!!
    
    
                           thankya very much
                                justinc 
    
537.4What's in a name?MDVAX3::COARA wretched hive of bugs and flamers.Tue Dec 15 1987 11:596
    If you mean broadcast messages, use SMG.  If you mean error messages,
    use .1.
    
    Re .3:  Mail you some prompts?  What do you mean?
    
    #ken	:-)}
537.5A 'prompt' answer !!CHEFS::VEALESSimon Veale - DEC Park, ReadingTue Dec 15 1987 12:5210
    
    
    Re .3: Lots of people write themselves command procedures which
           set their terminal prompt to something 'unusual', pictures
           usually.
    
           Why not look in RDGENG::COMMAND_PROCEDURES, I'm sure I've
           seen some there.
    
           S.