CONFIG_SHELL_TELNET_LINE_BUF_SIZE

Telnet line buffer size

Type: int

Help

This option can be used to modify the size of the buffer storing shell output line, prior to sending it through the network. Of course an output line can be longer than such size, it just means sending it will start as soon as it reaches this size. It really depends on what type of output is expected. A lot of short lines: better reduce this value. On the contrary, raise it.

Direct dependencies

SHELL_BACKEND_TELNET && SHELL_BACKENDS && SHELL

(Includes any dependencies from ifs and menus.)

Default

  • 80

Kconfig definition

At subsys/shell/Kconfig.backends:205

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:24subsys/shell/Kconfig:18

Menu path: (Top) → Shell → Enable shell backends → Enable TELNET backend.

config SHELL_TELNET_LINE_BUF_SIZE
    int "Telnet line buffer size"
    default 80
    depends on SHELL_BACKEND_TELNET && SHELL_BACKENDS && SHELL
    help
      This option can be used to modify the size of the buffer storing
      shell output line, prior to sending it through the network.
      Of course an output line can be longer than such size, it just
      means sending it will start as soon as it reaches this size.
      It really depends on what type of output is expected.
      A lot of short lines: better reduce this value. On the contrary,
      raise it.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)