Skip to content
Snippets Groups Projects
Commit 2b56753d authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Provide a means to get a user_spawn_id, and add a demo that does so.

Don't block when data might be available in the buffer.
parent dc4f994b
No related branches found
No related tags found
No related merge requests found
2003-10-17 Per Cederqvist <ceder@ceder.dyndns.org>
Provide a means to get a user_spawn_id, and add a demo that does
so.
* pcl_expect/user.py: New module.
(__all__): New constant.
(RAW): New constant.
(CBREAK): New constant.
(COOKED): New constant.
(user): New class.
(user.__init__): New method.
(user.send): New method.
(user.close): New method.
* demo/ftp_interact.py: New demo with user interaction.
Don't block when data might be available in the buffer.
* pcl_expect/__init__.py (controller.loop): Don't block in select
if an action was taken on the previous run through the loop. It
may have left parseable data in a buffer.
2003-10-14 Per Cederqvist <ceder@ceder.dyndns.org> 2003-10-14 Per Cederqvist <ceder@ceder.dyndns.org>
Continue inside loops by the default. Use break (or return BREAK Continue inside loops by the default. Use break (or return BREAK
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment