[Bug 12516] New: If compiled in, it is impossible to disable cursor position query escape sequence in ash lineedit

bugzilla at busybox.net bugzilla at busybox.net
Wed Jan 29 07:51:46 UTC 2020


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

            Bug ID: 12516
           Summary: If compiled in, it is impossible to disable cursor
                    position query escape sequence in ash lineedit
           Product: Busybox
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Standard Compliance
          Assignee: unassigned at busybox.net
          Reporter: alo at louko.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

If line editing feature is compiled in busybox, it is imbossible to disable ash
to send ESC [ 6n after each prompt in interactive mode.

This is wrong in many ways:

- There are terminals which don't accept ANSI escape sequences.
- It makes is difficult to do sane script talking to ash in a remote device.
- It is not documented properly.
- This is probably against POSIX shell specs.

Ideal solution would be to:

- Make it possible to disable it with a run-time option.
- Automatically detect that the terminal doesn't reply and then disable it
automatically.

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


More information about the busybox-cvs mailing list