Could you tell me where to set ash's prompt as "[root at localhost]#"?

Jan Evert van Grootheest Jan-Evert.van.Grootheest at Vialis.nl
Wed Mar 14 14:24:39 UTC 2007


Hi John,

	-----Oorspronkelijk bericht-----
	Van: busybox-bounces at busybox.net
[mailto:busybox-bounces at busybox.net] Namens ZHOU ZHONGJUN
	Verzonden: woensdag 14 maart 2007 15:05
	Aan: ZHOU ZHONGJUN; busybox at busybox.net
	Onderwerp: Could you tell me where to set ash's prompt as
"[root at localhost]#"?
	
	

	Hi, all,
	
	Could you tell me where to set shell prompt as
"[root at localhost]#"?  when I let ash/sh of busybox is bringing-up, there
is no any prompt ,  The uart is still alive.  When I press
PS1="[\h at u]#",then press enter key, it get "[\h@" prompt. The following
is my booting message printed in UART.
	
	 

I think you intended PS1="[\h@\u]#" (you had u instead of \u).

Also, perhaps it is necessary to turn on CONFIG_FEATURE_SH_FANCY_PROMPT?

-- Jan Evert 
 
The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. Vialis is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20070314/6d223d82/attachment-0001.htm 


More information about the busybox mailing list