Subject: Re: Newlines
To: Randy Beaudreault <maccult@pacbell.net>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 10/19/2001 20:21:52
On Fri, 19 Oct 2001, Randy Beaudreault wrote:

> >  > I'm messing with my prompt on my firewall/router.  I have my set
> >>  prompt in .cshrc as this: set prompt = "-- $cwd --\n${mch:q}: {\!} ".
> >>  How do I get this to put a line feed or carriage return in place of
> >>  the '\n'?
> >
> >Put in a real line:
> >
> >%  set prompt = "-- $cwd -- \
> >  {\!} "
> >-- /home/reed --
> >  {11}
> 
> Didn't work.  Any other recommendations?

What happened? Show your .cshrc.

Are you using csh?

My .cshrc has:

set prompt = "-- $cwd -- \
 {\!} "

It works for me. I am not using your "${mch:q}:" part.

(Also, you may want to use it in .login instead.)

   Jeremy C. Reed
   http://www.reedmedia.net/