:orphan: .. title:: CONFIG_NATIVE_UART_AUTOATTACH_DEFAULT_CMD .. kconfig:: CONFIG_NATIVE_UART_AUTOATTACH_DEFAULT_CMD CONFIG_NATIVE_UART_AUTOATTACH_DEFAULT_CMD ######################################### *Default command to attach the UART to a new terminal* Type: ``string`` Help ==== .. code-block:: none If the native_posix executable is called with the --attach_uart command line option, this will be the default command which will be run to attach a new terminal to the 1st UART. Note that this command must have one, and only one, '%s' as placeholder for the pseudoterminal device name (e.g. /dev/pts/35) This is only applicable if the UART_0 is configured to use its own PTY with NATIVE_UART_0_ON_OWN_PTY. The 2nd UART will not be affected by this option. If you are using GNOME, then you can use this command string 'gnome-terminal -- screen %s' Direct dependencies =================== \ :kconfig:`UART_NATIVE_POSIX ` && \ :kconfig:`SERIAL ` *(Includes any dependencies from ifs and menus.)* Default ======= - "xterm -e screen %s &" Kconfig definition ================== At ``/serial/Kconfig.native_posix:59`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:42`` → ``/Kconfig:26`` → ``/serial/Kconfig:108`` Menu path: (Top) → Device Drivers → Serial Drivers → UART driver for native_posix .. code-block:: kconfig config NATIVE_UART_AUTOATTACH_DEFAULT_CMD string "Default command to attach the UART to a new terminal" default "xterm -e screen %s &" depends on UART_NATIVE_POSIX && SERIAL help If the native_posix executable is called with the --attach_uart command line option, this will be the default command which will be run to attach a new terminal to the 1st UART. Note that this command must have one, and only one, '%s' as placeholder for the pseudoterminal device name (e.g. /dev/pts/35) This is only applicable if the UART_0 is configured to use its own PTY with NATIVE_UART_0_ON_OWN_PTY. The 2nd UART will not be affected by this option. If you are using GNOME, then you can use this command string 'gnome-terminal -- screen %s' *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*