3 ms·
I did an "expect like" thing with my TXR language for scraping documents. Namely IMAP authentication: http://www.kylheku.com/cgit/tamarind/tree/auth.txr http:/
by kazinator 10y ago
I did an "expect like" thing with my TXR language for scraping documents. Namely IMAP authentication:
http://www.kylheku.com/cgit/tamarind/tree/auth.txr http://www.kylheku.com/cgit/tamarind/tree/auth.txr
All that's missing is the pseudo-tty manipulation and whatnot to do that sort of thing over TTY-based sessions.
Timeouts are handled by setting up timeouts at the socket level. These turn into an exception, which we catch and convert to a pattern matching failure.