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
)
Visual Basic
Public Sub RequestPty ( _
	type As String, _
	charWidth As Integer, _
	charHeight As Integer _
)
Visual C++
public:
void RequestPty(
	String^ type, 
	int charWidth, 
	int charHeight
)

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

Exceptions

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

See Also