Hello
I have a wierd problem which has just started happening on my solaris
2.5 box.
If I am in c shell (csh), every time it executes a program, the
shell hangs after the program has finished. This applies to csh scripts
as well as interactive use. It responds fine to builtin commands but
if I do, say, "ls", the output from ls comes out on the screen fine and
I can see that the ls process has exited, but the shell never comes back
with a prompt.
I have done on a truss on the csh and it is sleeping in a sigsuspend
call.
I have tried getting rid of all environment variables before invoking
the csh but this doesn't help.
The box is running fine apart from that; all other shells work OK; and
the csh binary itself looks OK so I am really stuck.
Something else strange that started happning around the same time is if
you
telnet onto the box and log in as any user, you get a '#' prompt,
whereas if you are already logged in then you do 'exec login' and login
you get the correct prompt (%). All the users have ksh as their login
shell so I don't know if this can be related to the csh problem.
I have no idea what caused it to get into this state - we don't use csh
much apart from a few old scripts. The only thing I can think of that's
happened recently is we have installed samba, but I would guess that's
a red herring.
grateful for any ideas or suggestions from any remaining c shell users
out there
--- Tim Robinson
Sent via Deja.com http://www.deja.com/
Before you buy.