nuttx/drivers/serial
Alan Carvalho de Assis 375462322e drivers/serial: Modify serial/pty to allow NSH/Telnet line edit
Both the UART and PTY serial drivers previously assumed all
VT100/ANSI escape sequences were fixed 3-byte CSI sequences, causing
longer CSI and SS3 key sequences (such as Home, End, Delete, and
modified keys) to leak stray characters into the terminal when local
echo was enabled. This patch replaces the fixed-length logic with a
state machine that correctly recognizes and suppresses escape
sequences of any length, while preserving the data delivered to
applications. The change only affects local echo behavior, is fully
backward compatible, and has been validated with both interactive NSH
sessions and automated PTY tests.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
Assisted-by: Claude Code
2026-07-22 22:07:18 +08:00
..
CMakeLists.txt serial/xlnx_ps: add common Xilinx UART Peripheral System (XUARTPS) support 2026-02-27 08:14:03 -03:00
Kconfig serial/xlnx_ps: add help chapter for XUARTPS 2026-02-27 08:14:03 -03:00
Kconfig-16550 drivers/serial/16550: add polling mode support for serial drivers 2026-02-27 08:14:03 -03:00
Kconfig-cmsdk drivers/serial:support arm cmsdk drivers 2024-04-26 18:42:35 -03:00
Kconfig-lpuart Add initial support for NXP S32K3 MCU family 2022-07-25 23:47:05 +08:00
Kconfig-pci drivers/serial: simplify 16550_PCI_UARTx_CLOCK config 2025-01-03 08:52:43 +08:00
Kconfig-pl011 drivers/serial/uart_pl011.c : add the interface about clock and reset control for reducing power consumption. 2024-06-03 21:18:44 +08:00
Kconfig-sci We have ported NuttX on Renesas RX65N Micro-controller. This port includes following interfaces 2019-10-11 23:36:57 +08:00
Kconfig-uart drivers/serial/Kconfig: Split serial Rx/Tx DMA. 2019-12-03 07:06:30 -06:00
Kconfig-usart drivers/serial/serial: prevent race conditions on 8-bit architectures 2025-06-19 10:01:24 -03:00
Kconfig-xlnxps drivers/serial/xlnxps: add polling mode support for serial drivers 2026-02-27 08:14:03 -03:00
Make.defs serial/xlnx_ps: add common Xilinx UART Peripheral System (XUARTPS) support 2026-02-27 08:14:03 -03:00
ptmx.c drivers/: Multiple Drivers Are Registered With World Writable - Part 2 2026-07-15 15:27:28 +08:00
pty.c drivers/serial: Modify serial/pty to allow NSH/Telnet line edit 2026-07-22 22:07:18 +08:00
pty.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
serial.c drivers/serial: Modify serial/pty to allow NSH/Telnet line edit 2026-07-22 22:07:18 +08:00
serial_cmsdk.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
serial_dma.c style: fix checkpatch issues after debug.h move 2026-04-07 07:50:06 -03:00
serial_gdbstub.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
serial_io.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
uart_16550.c arch/mips: Add basic support for MIPS Creator CI20 board 2026-07-15 08:02:55 -03:00
uart_bth4.c drivers/: Multiple Drivers Are Registered With World Writable - Part 2 2026-07-15 15:27:28 +08:00
uart_bth5.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
uart_hostfs.c drivers/: Multiple Drivers Are Registered With World Writable Part 3 2026-07-16 09:49:07 -03:00
uart_pci_16550.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
uart_pl011.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
uart_ram.c drivers/serial/uart_ram: match uart_ops_s receive() prototype 2026-07-09 09:59:27 -04:00
uart_rpmsg.c serial/uart_rpmsg: Remove redundant CONFIG_RPMSG_UART_CONSOLE macro check 2026-03-03 11:55:34 -05:00
uart_rpmsg_raw.c serial/uart_rpmsg: Remove redundant CONFIG_RPMSG_UART_CONSOLE macro check 2026-03-03 11:55:34 -05:00
uart_xlnx_ps.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00