Hi, Using busybox 1.34.1, I noticed that ash shell displays the prompt on stdout instead of stderr when CONFIG_FEATURE_EDITING is set. Other shells like bash do not behave this way: the prompt is always on stderr.
Moreover, the IEEE standard specifies that the prompt must be written on stderr: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html *PS1* Each time an interactive shell is ready to read a command, the value of this variable shall be subjected to parameter expansion and written to standard error. Regards, Rachid
_______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox