Method RequestPty allocates a pseudo-terminal for the session.

Namespace: Jscape.Ssh
Assembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0

Syntax

C#
public void RequestPty(
	string type,
	int charWidth,
	int charHeight,
	ITerminalMode[] modes
)
Visual Basic
Public Sub RequestPty ( _
	type As String, _
	charWidth As Integer, _
	charHeight As Integer, _
	modes As ITerminalMode() _
)
Visual C++
public:
void RequestPty(
	String^ type, 
	int charWidth, 
	int charHeight, 
	array<ITerminalMode^>^ modes
)

Parameters

type
Type: System..::..String
TERM environment variable
charWidth
Type: System..::..Int32
the terminal width in chars
charHeight
Type: System..::..Int32
the terminal height in chars
modes
Type: array<ITerminalMode>[]()[][]

Exceptions

ExceptionCondition
Jscape.Ssh..::..SshExceptionif an I/O error occurs

See Also