[Bug 12266] New: typing gets invisible when PS1 is special

bugzilla at busybox.net bugzilla at busybox.net
Sun Oct 20 06:05:28 UTC 2019


https://bugs.busybox.net/show_bug.cgi?id=12266

            Bug ID: 12266
           Summary: typing gets invisible when PS1 is special
           Product: Busybox
           Version: 1.31.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: bb at npl.de
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Created attachment 8266
  --> https://bugs.busybox.net/attachment.cgi?id=8266&action=edit
reproduce the error by sourcing this file

With busybox v1.31.0 on OpenWrt (musl) my login "hangs" during the prompt.

Attached is a script, which is sourced during profile.d
You can reproduce the issue by sourcing this script on a system, e.g.

user at box # . /tmp/prompt.sh

After that, i cannot see what i type anymore.

What works is e.g. uptime | logger -s
Also reseting the terminal with 'reset' does not help.

With older busybox-versions, e.g.
v1.27.2 and
v1.28.4
it runs without problems.
Sorry that i cannot help more at the moment (e.g. git bisect).

I can see the problem at least with "musl" and these architectures:

mipsel and
ath79
x86_64

I also checked with this binary and it happens there too:
https://busybox.net/downloads/binaries/1.31.0-i686-uclibc/busybox

It does NOT happen with:
https://busybox.net/downloads/binaries/1.30.0-i686/busybox

thanks for your work - bye, Bastian Bittorf

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list