Thanks, the method used in the second snippet (added since my original reply) will be useful to me. It's even portable (using the appropriate device name)!
It would be ideal if I had a means of generating an error after doing some valid reads, but I can make do without.
In reply to Re^2: Generating a readline error
by ikegami
in thread Generating a readline error
by ikegami
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |