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 |
This may or may not qualify as a "hack" but I wish to add code to a pascal program I wrote while still in college. Simply enough all I want to do is to check to see if a terminal has /NOBROADCAST set and if so set it to /BROADCAST and then $BRKTHRUW a message and then of course reset it. The checking for /NOBROADCAST is easy. I have been scanning the system services manuals and other VMS manuals durring lunch looking for some sort of system routine to do it. ********** Is there one I am not seeing???? ************** Oh ya, the program (acually two) spawns off a subprocess and waits for a given delta time ($hiber) then $BRKTHRUW's a message. An alarm program. I use process logicals to communicate the delta time to the subprocess. Thanx, Brian (Mac)
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
287.1 | THEBAY::MTHOMAS | The Mad Hacker | Wed Aug 13 1986 23:13 | 9 | |
Take a look at I/O users guide, Part I, terminal driver. All you need to do is a IO$_SENSEMODE to the terminal. You will receive back the characteristics buffer which, among other things, will have the value of the TT$V_NOBRDCST bit (set if broadcasts are disabled). that's it. matt | |||||
287.2 | finding a manual is half the battle | WHOARU::MCCARTHY | Error Message #000000 | Mon Aug 18 1986 08:28 | 14 |
Thanks Matt! I have been "playing" with it since I got your reply. I was not expecting such a quick response! I like the fact that the I/O users guide does almost exactly what I need! I looked at the TOOLSHED and noticed two alarm programs, one that does spawn. I will continue with mine though. It works fine now I just want to "make absolutely sure" the alarm will be seen. (reset nobroadcast). Thanks again, Brian (Mac) |