Skip to content

SSH.Channel.RequestTerminal

Andrew Lambert edited this page Nov 26, 2022 · 5 revisions

SSH.Channel.RequestTerminal

Method Signatures

 Sub RequestTerminal(Terminal As String, Width As Integer, Height As Integer, Modes As MemoryBlock, PixelDimensions As Boolean = False)

Parameters

Name Type Comment
Terminal String The terminal type to emulate (vt100, dumb, vanilla, etc.)
Width Integer The width, in character cells, of the terminal.
Height Integer The height, in character cells, of the terminal.
Modes MemoryBlock Terminal mode modifier values.
PixelDimensions Boolean Optional. If True, then the Width and Height parameters are in pixels rather than characters.

Remarks

Requests a pseudoterminal (PTY) of the given dimensions. Note that this does not make sense for all channel types and may be ignored by the server despite returning success.

See also

Clone this wiki locally