Setting shell prompt variable different from .cshrc
Martin J. Buckley
buckley at odin.m2c.org
Sat Feb 3 09:38:23 AEST 1990
I would like to create an applications that uses a shell as the primary
interface. A separate window or terminal session would be maintained
for this application. To keep things simple, the only designator that
this session serves a special purpose would be the command prompt.
I expected this to be easy, but have been unable to successfully
implement this under ultrix. Have tried all of the following to no
avail:
1) creating a cshell script that sets the environment variable "prompt" to
the desired value and invoke a subshell via "csh -s -f"
2) created a shell script that invokes a subshell via
"(export prompt;prompt=value;csh)"
3) created a cshell that modified HOME to point to a directory that has
a .cshrc with prompt set and invoked a csh.
None of these worked on Ultrix. I would appreciate any suggestion on what I
am doing wrong and/or on how to accomplish this.
Thanks
Martin Buckley
None of these things worked.
Martin Buckley
buckley at m2c.org (CSNET, internet with MX support)
buckley%m2c.org at relay.cs.net (Internet)
{harvard,bu-cs,ulowell,frog,applix,umvlsi}!m2c!buckley (UUCP)
More information about the Comp.unix.questions
mailing list