[18367] in Athena Bugs
sun4 8.4.10: script
daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Mon Oct 2 17:30:32 2000
Message-Id: <200010022130.RAA14337@scrubbing-bubbles.mit.edu>
To: bugs@MIT.EDU
Date: Mon, 02 Oct 2000 17:30:24 -0400
From: "Jacob Morzinski" <jmorzins@MIT.EDU>
System name: scrubbing-bubbles.mit.edu
Type and version: Ultra-60 8.4.10 (with mkserv)
Display type: unknown
Shell: /bin/sh (tcsh?)
Window manager: fvwm2
What were you trying to do?
Run "script" on a dialup.
What's wrong:
Script starts, decides that it can't find some program
named "tcsh", and promptly quits.
What should have happened:
I think it should have looked for tcsh in my PATH.
Please describe any relevant documentation references:
The manpage on this dialup claims that script forks a
subprocess according to the value of $SHELL. I could
definitely cause it to work if I provided a full path.
(Note the difference between the three invocations of
"script" below.)
scrubbing-bubbles{84}% echo $SHELL
tcsh
scrubbing-bubbles{85}% env SHELL=/bin/sh script
Script started, file is typescript
$ exit
Script done, file is typescript
scrubbing-bubbles{86}% script
Script started, file is typescript
tcsh: No such file or directory
Script done, file is typescript
scrubbing-bubbles{87}% env SHELL=/bin/athena/tcsh script
Script started, file is typescript
% exit
Script done, file is typescript
scrubbing-bubbles{88}% where tcsh
/bin/athena/tcsh
-Jacob