Exercises

  1. Modify xkibitz so that it is not necessary to use whitespace to separate the interactive commands from the arguments.

  2. Write the missing dial procedure (page 346).

  3. Modify the dialback script (page 346) so that when the computer calls back, it provides a shell immediately instead of a login prompt.

  4. Modify the rz-sz script (page 347) so that it transfers files in the other direction.

Get Exploring Expect now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.