xref: /curl/docs/cmdline-opts/telnet-option.md (revision 2494b8dd)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: telnet-option
5Short: t
6Arg: <opt=val>
7Help: Set telnet option
8Category: telnet
9Added: 7.7
10Multi: append
11See-also:
12  - config
13Example:
14  - -t TTYPE=vt100 telnet://example.com/
15---
16
17# `--telnet-option`
18
19Pass options to the telnet protocol. Supported options are:
20
21## `TTYPE=<term>`
22Sets the terminal type.
23
24## `XDISPLOC=<X display>`
25Sets the X display location.
26
27## `NEW_ENV=<var,val>`
28Sets an environment variable.
29