+1
and you also have expect for perl (my favorite) and indeed expect
library for c.
Dealing with i/o timing is not a simple task. Why reinvent the wheel ?
-Carlos
Adam Atkinson @ 13/10/2013 06:40 -0300 dixit:
> Mathew wrote:
>> Hi,
>>
>> Does anyone aware or tried to use a C/C++ code to capture telnet/ssh
>> output to a text file?
>>
>> I am thinking of a way to perform checks/changes on many routers.
>
> I use expect for this. It's very very good at it.
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
-- Carlos G Mendioroz <tron_at_huapi.ba.ar> LW7 EQI Argentina Blogs and organic groups at http://www.ccie.netReceived on Sun Oct 13 2013 - 07:36:23 ART
This archive was generated by hypermail 2.2.0 : Fri Nov 01 2013 - 07:35:39 ART