Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!snorkelwacker!think!husc6!m2c!odin.m2c.org!buckley From: buckley@odin.m2c.org (Martin J. Buckley) Newsgroups: comp.unix.questions Subject: Setting shell prompt variable different from .cshrc Message-ID: <5308@m2c.M2C.ORG> Date: 2 Feb 90 22:38:23 GMT Sender: news@m2c.ORG Reply-To: buckley@odin.m2c.org (Martin J. Buckley) Distribution: usa Organization: Massachusetts Microelectronic Center, Westboro, Mass. Lines: 30 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@m2c.org (CSNET, internet with MX support) buckley%m2c.org@relay.cs.net (Internet) {harvard,bu-cs,ulowell,frog,applix,umvlsi}!m2c!buckley (UUCP)