Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!rochester!ken From: ken@cs.rochester.edu (Ken Yap) Newsgroups: alt.folklore.computers Subject: Re: Lights on Burroughs machines (shutdown messages) Message-ID: <1990Jan20.033608.28979@cs.rochester.edu> Date: 20 Jan 90 03:36:08 GMT References: <1990Jan15.173434.5792@virtech.uucp> <729@ncs.dnd.ca> <9082@ttidca.TTI.COM> <25b77c7a.2b35@polyslo.CalPoly.EDU> Reply-To: ken@cs.rochester.edu Organization: University of Rochester Computer Science Department Lines: 40 Address: Rochester, NY 14627, (716) 275-1448 |~IBM 370's and their descendants do the same thing (though they display |~DEAD). | | Can't remember what machine it was, but if it crashed... | the console would print: | | P | L | O | P....... | | And then give the kernal debug prompt. I had fun with this program when I was learning about signals and in particular signal 15 a.k.a. SIGTERM. catch() { int fd; fd = open("/dev/tty8", 2); write(fd, "Arrggh, you dirty rat!\n\n\n\n", 26); } main() { signal(15, catch); sleep(100000); } (Please, no nitpicks about small errors and bad style, I'm just trying to give the idea. Besides, I was a bad programmer then. :-)) The next time the system manager did a graceful shutdown of the 11/40, it printed on the console Arrggh, you dirty rat! much to his chagrin. PS: And yes, the console was /dev/tty8 in those days. Ask an old-timer.