I set up my TCSH configuration in NetBSD to make use of the promptchars feature, so that I would have % as the user prompt and # as the su prompt. If I don't set promptchars="%#", then the user prompt is > and the su prompt is # , but if I do then both are % . I have tried multiple combinations of commands, but to no avail. Here is my .cshrc, which I just modified from the default -

The only difference I see it that I use double quotes (") for prompt and you use single quotes (').

That might have been it, though I thought I remembered using double quotes before.

Quote:

Originally Posted by Carpetsmoker

Which version of tcsh are you using (tcsh --version)?

What comes with pkgsrc - 6.15.00nb2

Quote:

Originally Posted by Carpetsmoker

Also, why is "if ($?prompt) then" there? What is this supposed to do? Try removing it.

It's there because that is what comes with the default .cshrc in NetBSD - and I only modified it. This isn't my final .cshrc, but it will suffice until I have time to construct one tailor-made to my unique needs and idiosyncricies.

Thanks for the quick help.

__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)