curl/docs/cmdline-opts/telnet-option.md
Daniel Stenberg 1f0f0bdb19
managen: strict protocol check
- protocols MUST match one in the accept-list
- protocols are typically all uppercase
- drop All
- use SCP and SFTP instead of SSH
- add Protocols: to some options previously missing one

Closes #18675
2025-09-22 09:06:00 +02:00

29 lines
531 B
Markdown

---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: telnet-option
Short: t
Arg: <opt=val>
Help: Set telnet option
Category: telnet
Protocols: TELNET
Added: 7.7
Multi: append
See-also:
- config
Example:
- -t TTYPE=vt100 telnet://example.com/
---
# `--telnet-option`
Pass options to the telnet protocol. Supported options are:
## `TTYPE=<term>`
Sets the terminal type.
## `XDISPLOC=<X display>`
Sets the X display location.
## `NEW_ENV=<var,val>`
Sets an environment variable.