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 <Zephyr>/subsys/shell/Kconfig.backends:216

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:38<Zephyr>/subsys/shell/Kconfig:18

Menu path: (Top) → Sub Systems and OS Services → 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.)