Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!uakari.primate.wisc.edu!uflorida!unf7!epate From: epate@unf7.UUCP (Ed Pate) Newsgroups: comp.unix.i386 Subject: Re: Changing the prompt in C shell Keywords: SCO UNIX prompt csh cwd Message-ID: <254@unf7.UUCP> Date: 26 Mar 90 09:45:26 GMT References: <637@ncelvax.UUCP> <6733@turnkey.TCC.COM> Reply-To: epate@unf7.UUCP (Ed Pate) Organization: University of North Florida, Jacksonville Lines: 11 The prompt characters in standard Sys V are controlled by the shell variables PS1 and PS2. By placing them in your .profile file, you may set them at login or you may set them at anytime from the shell. .profile: PS1='abcd >' PS1=$LOGNAME or any other thing you would care to do with a shell variable. You must remember to export the variable or it won't show the change. PS1 is the standard prompt and PS2 is the secondary prompt (for when you didn;t enter all the required parameters and the program is asking for the rest)