Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!zazen!news From: anderson@macc.wisc.edu (Jess Anderson) Newsgroups: comp.sys.next Subject: SoundPlayer in .login, etc. Message-ID: <1991Jan25.002608.27643@macc.wisc.edu> Date: 25 Jan 91 00:26:08 GMT Sender: news@macc.wisc.edu (USENET News System) Organization: Madison Academic Computing Center, UW-Madison Lines: 27 Today I played with sound :-), and here's what happens. Having made a suitable *.snd file that says, "Hi, there" I put this as the last line of my .login: sndplay /Users/anderson/etc/hi_there.snd This works exactly as you would expect from the NeXT, to general mirth of visitors in the office. If I rlogin from somewhere else, the (I guess restricted) shell produces a diagnostic when it gets to that line: sndplay: can't play soundfile: /Users/anderson/etc/hi_there.snd So, I would say the system knows something one could use to test and not make the call under the rlogin case. He or she who knows, please do tell. <> It does not do to leave a dragon out of your calculations, <> if you live near him. -- J.R.R. Tolkien -- Jess Anderson <> Madison Academic Computing Center <> University of Wisconsin Internet: anderson@macc.wisc.edu <-best, UUCP:{}!uwvax!macc.wisc.edu!anderson NeXTmail w/attachments: anderson@yak.macc.wisc.edu Bitnet: anderson@wiscmacc Room 3130 <> 1210 West Dayton Street / Madison WI 53706 <> Phone 608/262-5888