YAPQ (yet another prompt question)

Jonathan I. Kamens jik at athena.mit.edu
Wed Aug 16 15:22:38 AEST 1989


In article <2113 at infmx.UUCP> aland at infmx.UUCP (alan denney) writes:
=In article <1356 at unhd.unh.UUCP> rg at unh.UUCP (Roger   Gonzalez) writes:
=|
=|Since a child 'csh' is spawned whenever I 'su', I thought it would be
=|nice to have the prompt reflect the 'su-ed' state.  Hence, in .cshrc, I
=|had:
=|[problem text deleted]
=Did you try su-ing to uid that definitely has csh as its shell?
=I suspect that root on your system uses sh by default. sh(1) would
=gag on the "set prompt" command, as it is not valid set syntax
=for sh.

  Ahem.  Since when does /bin/sh even look for a file called ".cshrc"
when it starts up?  The characters "csh" in the filename ".cshrc" are
significant, no?

Jonathan Kamens			              USnail:
MIT Project Athena				432 S. Rose Blvd.
jik at Athena.MIT.EDU				Akron, OH  44320
Office: 617-253-4261			      Home: 216-869-6432



More information about the Comp.unix.questions mailing list