Newsgroups: comp.unix.admin
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-picayune.mit.edu!athena.mit.edu!jik
From: jik@athena.mit.edu (Jonathan I. Kamens)
Subject: Re: RDUMP(8) problems.
In-Reply-To: jc@raven.bu.edu's message of 22 Apr 91 04:37:30 GMT
Message-ID: <JIK.91Apr22032205@pit-manager.mit.edu>
Sender: news@athena.mit.edu (News system)
Organization: Massachusetts Institute of Technology
References: <JC.91Apr22003730@raven.bu.edu>
Distribution: comp
Date: Mon, 22 Apr 91 07:22:11 GMT
Lines: 20

In article <JC.91Apr22003730@raven.bu.edu> jc@raven.bu.edu (James Cameron) writes:
     DUMP: Protocol to remote tape server botched (code TERM: Undefined variable.
   ?).

The process on the remote machine is running root's .cshrc file, and
it tries to use $TERM.

To fix this, you need to prevent the files from being run, or check to
make sure that they check if $TERM is set before trying to access it.

You probably don't want the .cshrc file run if the shell isn't
interactive anyway, so putting this at the top of the file is usually
a good idea:

	if (! $?prompt) exit

Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik@Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710
