Hello all, I am trying to understand how to build the terminal_stdout_re 
array of regex patterns for my terminal plugin and I can't find any 
documentation on this particular subject. 

For example, let's say that I need to run 2 commands, and I want to capture 
the output of the second device. 

The first command (select device) results in the following response:

b'select device\n\x02s\x03\r\n=>'

And the second command (show stuff) results in this response:

b'show stuff\nshow stuff\x02\r\nInterface 2\r\n\r\npieceOfInfo=9283      
 \r\nConfig Info         12eaej  = N         ddd= 930        
 \r\n\x03\r\n=>'

What regex entry(or entries) should I add to the  terminal_stdout_re so 
that it doesn't time out and so that it doesn't cut off the output from the 
second command? Or alternatively, is there any place to read about how this 
works?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/670b05da-1780-4c6c-b51d-cbaef5c61550%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to