[Gambas-user] PEEK and managing ssh

Bruce adamnt42 at gmail.com
Tue Feb 11 02:13:57 CET 2020


8<

On 11/2/20 11:32 am, Benoît Minisini wrote:
> 2) A new class named "Terminal". The name is not very good, it may 
> change if I find or if someone suggests something better.
> 
> This class encapsulates a Process object, and provides an Expect() 
> method that allows to tell what to answer to the process when it issues 
> a specific prompt.

> Comments, suggestions and questions are welcome!

"ProcessIO" "ProcessQA" "ProcIO" "ProcQA"

and for the Expect method perhaps "Respond"

Public Sub Repond ( prompt As String, answer As String )
Provides a response to a prompt issued by the process.

JM20C
bruce



More information about the User mailing list