[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

159.0. "Is such-and-such back up yet?" by SPRITE::OSMAN () Fri Sep 20 1985 13:07

Here's a clever (if I say so myself :-) one-line DCL command that will
tell you when a network node comes back up:

     	$ MAIL NL: NM%node::your_node::your_username /SUBJ="node IS UP !"

Hey Porter, do you read this notes file ?

/Eric
T.RTitleUserPersonal
Name
DateLines
159.1SCOTTY::FISHERFri Sep 20 1985 16:229
Does this require the now defunct PASSTHRU, or does MAIL itself understand
the forwarding business?

Sounds like a good hack, though.  Reminds me of how I use the telephone
callback feature to find out when someone around the corner is off the phone
so I can go bug him/her.

Burns

159.2SPRITE::OSMANFri Sep 20 1985 17:468
Yes, I do the same thing with the phone.

One thing I've been tempted to do but never did:  To find out when someone
gets back in their office, I could put their receiver on their chair and
then star-5 them.  When they come in and hang up their phone, I'll get
three rings !

/Eric
159.3BEING::POSTPISCHILFri Sep 20 1985 17:554
Please explain about the phones.


				-- edp
159.4DONJON::GOLDSTEINFri Sep 20 1985 18:0912
On Dimension PBX, "*5" is the feature code (unless changed) for Call
Back.  You dial *5, a busy extension number, and hang up.  When the
line is free, your phone rings (special ring) and when you pick it up,
the other guy's phone rings.  Sort of hacky.  Some other PBXs allow
you to Flash on the busy signal and dial the code, rather than hang up
and dial the code and then the number again, as you must do on Dimension.

Unless you're using the above handset-on-chair hack, after all, you
don't know to invoke the feature unless you've first gotten a busy
signal.

Fred
159.5EDSVAX::CRESSEYMon Sep 23 1985 08:107
    We have that feature at Bedford,  but it is requested by code '36',
    not by a star code.  But then, none of our features are requested
    by star codes.

    The term that I have heard for this feature is "CAMPING".

    Dave
159.6WSGATE::FISHERMon Sep 23 1985 12:035
re .4:  The new Northern Telecom system which is being installed in a number
of locations does not make you redial the number after you get a busy.

Burns

159.7VIKING::WASSERMon Sep 23 1985 16:568
Back to the subject of MAIL:

	A friend told me that "SET FORWARD NM%mynode::me" will cause your 
	incomming messages to circulate until forwarding is turned off.  
	This would be similar to asking your secretery to hold all calls.

		-John Wasser

159.8PARVAX::PFAUMon Sep 23 1985 19:385
re: .-1

Sounds like a waste of CPU to me.  Why would you do such a thing?

tom_p
159.9VIKING::WASSERTue Sep 24 1985 10:107
	Why?

	Because it's there!

	Or as Tom Lehrer might say:
		"It's something you might find useful some day (in a rather
		bizzare set of circumstances)"
159.10STOLI::FONSECASun Dec 01 1985 14:2311
re: .0
For an added touch of portability, this com file will do the trick.

$ MAIL NL: NM%'p1'::sys$rem_node::your_user_name /SUBJ="IT's UP!"


re: .8

Isn't that the concise one-line definition of hacking?

Hacking:  "The act of elegantly wasting CPU time."
159.11TINCUP::DCHAVEZTue Dec 03 1985 09:5011
RE: .0

Eric,

Could you explain 'how' your one-line dcl command works?  I've been trying
to send mail to node APPLES for about a week now (via NMAIL) and it keeps
trying but doesn't get there.  Anyway, does your dcl command assume that
I have an account on the node in question?

Thanks in advance
Dale
159.12SPRITE::OSMANWed Dec 04 1985 10:5722
My dcl command does not require you to have an account on the node in
question.

The command relies on the experimental observation that nodes allow
themselves to be used "en gratis" as way-stations for network mail
traffic.  Hence you can mail to

	A::B::USER

and node "A::" allows you to route your message through it, even though
you nor USER has any account on A::.

Since NMAIL interprets errors, my command allows you to tell when A::
has come up again.

Of course, if your purpose of knowing that APPLES is up is to send mail
to it, you might as well just use NMAIL in the normal way.

My command is useful for things other than mail.  For instance, I use
it occasionally for writing to a notes file.
     
/Eric
159.13NANUCK::SSMITHWed Dec 04 1985 14:067
We've got two systems here in the office Ether-netted together.  When I want to
get to the other one (and its down), I use it to send myself mail when it's up.

$ MAIL NL: NM%'p1'::34875::SSMITH /SUBJ="IT's UP!" 

(34875 is my node number)  It simply sends me mail by routing through the other
system. 
159.14VAXUUM::DYERWed Dec 04 1985 14:302
	    [RE .13]:  . . . and now we've come full circle!
			<_Jym_>
159.15GAEA::DCHAVEZWed Dec 04 1985 14:313
Makes sense...thanks

Dale