nuttx-apps/system/readline
fangpeina 1903bf29e5 system/readline: Add software echo for normal characters
Background:
Previously, when CONFIG_READLINE_ECHO was enabled, it only handled
special cases like:
- Tab completion output
- Backspace character echo
- VT100 control sequences (e.g., erase to end of line)

Normal character echoing relied entirely on the hardware ECHO flag in
the underlying serial driver (termios).This caused issues when NSH
stdout was redirected to syslog via CONFIG_NSH_ALTSTDOUT="/dev/log":

now no more output interleaving when using syslog redirection.

Signed-off-by: fangpeina <fangpeina@xiaomi.com>
2026-04-20 15:20:24 +08:00
..
CMakeLists.txt system/readline: correct the readline(3) prototype 2026-04-20 15:13:10 +08:00
Kconfig system/readline: Move READLINE_HAVE_EXTMATCH inside SYSTEM_READLINE section 2026-04-20 14:57:54 +08:00
Make.defs Make.defs: Change "ifeq ($(XXX),y)" to "ifneq ($(XXX),) 2026-04-20 15:05:00 +08:00
Makefile system/readline: correct the readline(3) prototype 2026-04-20 15:13:10 +08:00
readline.c apps: Fix compilation error after nuttx/arch.h excluded. 2026-04-20 15:18:49 +08:00
readline.h stdio: Remove CONFIG_EOL_IS_XXX 2026-04-20 15:07:45 +08:00
readline_common.c system/readline: Add software echo for normal characters 2026-04-20 15:20:24 +08:00
readline_fd.c system/readline: Add software echo for normal characters 2026-04-20 15:20:24 +08:00
readline_stream.c system/readline: correct the readline(3) prototype 2026-04-20 15:13:10 +08:00