Default ash prompt is horked.

Rob Landley rob at landley.net
Fri Sep 23 18:44:50 UTC 2005


On Friday 23 September 2005 12:38, Paul Fox wrote:
>  > In current svn:
>  >
>  > make allyesconfig
>  > make
>  > PATH= ./busybox ash
>  >
>  > Is the prompt badly screwed up for anyone else?
>
> nope.  but what's your PS1 set to?

Ok, this is deeply disturbing:

landley at driftwood:~/busybox/busybox$ PS1=fruitbat ./busybox ash
x/busyboxexit
landley at driftwood:~/busybox/busybox$ PS1=the_walrus_and_the_carpenter ./busybox ash
the_walrus_and_the_carpenterexit
landley at driftwood:~/busybox/busybox$ PS1=42 ./busybox ash
y/busybox/busybox

Apparently, changes to PS1 only matter if they're _long_enough_?

Rob



More information about the busybox mailing list