$tcp_on_read  –  Callback pattern mapping for lines ready by tcp_read

$tcp_on_read defines a mapping of function name to TCP line pattern. When a line is read by tcp_read then all patterns are tested against the line. The functions (i.e. the keys of this array) of matching patterns are called with two arguments:

  1. session name
  2. the new line
BashSupport Pro is a Zsh IDE with support for $tcp_on_readtry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal