… | |
… | |
240 | |
240 | |
241 | 1; |
241 | 1; |
242 | |
242 | |
243 | =back |
243 | =back |
244 | |
244 | |
|
|
245 | =head1 CAVEATS |
|
|
246 | |
|
|
247 | There are some issues with readline that can be problematic in event-based |
|
|
248 | programs: |
|
|
249 | |
|
|
250 | =over 4 |
|
|
251 | |
|
|
252 | =item blocking I/O |
|
|
253 | |
|
|
254 | Readline uses blocking terminal I/O. Under most circumstances, this does |
|
|
255 | not cause big delays, but ttys have the potential to block programs |
|
|
256 | indefinitely (e.g. on XOFF). |
|
|
257 | |
|
|
258 | =item unexpected disk I/O |
|
|
259 | |
|
|
260 | By default, readline does filename completion on TAB, and reads it's config files. |
|
|
261 | |
|
|
262 | =item output intermixing |
|
|
263 | |
|
|
264 | After readline has been initialised, it will mangle the termios tty |
|
|
265 | settings. This does not normally affect output very much, but should be |
|
|
266 | taken into consideration. |
|
|
267 | |
|
|
268 | =back |
|
|
269 | |
|
|
270 | Oh, and the above list is probably not complete. |
|
|
271 | |
245 | =head1 AUTHOR, CONTACT, SUPPORT |
272 | =head1 AUTHOR, CONTACT, SUPPORT |
246 | |
273 | |
247 | Marc Lehmann <schmorp@schmorp.de> |
274 | Marc Lehmann <schmorp@schmorp.de> |
248 | http://software.schmorp.de/pkg/AnyEvent-Readline-Gnu.html |
275 | http://software.schmorp.de/pkg/AnyEvent-Readline-Gnu.html |
249 | |
276 | |