ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-ReadLine-Gnu/Gnu.pm
(Generate patch)

Comparing AnyEvent-ReadLine-Gnu/Gnu.pm (file contents):
Revision 1.3 by root, Thu May 10 22:59:21 2012 UTC vs.
Revision 1.5 by root, Fri May 11 00:20:19 2012 UTC

142 $self = $class->SUPER::new ($arg{name} || $0, $in, $out); 142 $self = $class->SUPER::new ($arg{name} || $0, $in, $out);
143 143
144 $self->CallbackHandlerInstall ($prompt, \&on_line); 144 $self->CallbackHandlerInstall ($prompt, \&on_line);
145 # set the unadorned prompt 145 # set the unadorned prompt
146 $self->rl_set_prompt ($prompt); 146 $self->rl_set_prompt ($prompt);
147 $self->redisplay;
147 148
148 $hidden = 1; 149 $hidden = 1;
149 $self->show; 150 $self->show;
150 151
151 $self 152 $self
255not cause big delays, but ttys have the potential to block programs 256not cause big delays, but ttys have the potential to block programs
256indefinitely (e.g. on XOFF). 257indefinitely (e.g. on XOFF).
257 258
258=item unexpected disk I/O 259=item unexpected disk I/O
259 260
260By default, readline does filename completion on TAB, and reads it's config files. 261By default, readline does filename completion on TAB, and reads its
262config files.
261 263
262=item output intermixing 264Tab completion can be disabled by calling C<< $rl->unbind_key (9) >>.
265
266=item tty settings
263 267
264After readline has been initialised, it will mangle the termios tty 268After readline has been initialised, it will mangle the termios tty
265settings. This does not normally affect output very much, but should be 269settings. This does not normally affect output very much, but should be
266taken into consideration. 270taken into consideration.
267 271
272=item output intermixing
273
274Your program might wish to print messages (for example, log messages) to
275STDOUT or STDERR. This will usually cause confusion, unless readline is
276hidden with the hide method.
277
268=back 278=back
269 279
270Oh, and the above list is probably not complete. 280Oh, and the above list is probably not complete.
271 281
272=head1 AUTHOR, CONTACT, SUPPORT 282=head1 AUTHOR, CONTACT, SUPPORT
273 283
274 Marc Lehmann <schmorp@schmorp.de> 284 Marc Lehmann <schmorp@schmorp.de>
275 http://software.schmorp.de/pkg/AnyEvent-Readline-Gnu.html 285 http://software.schmorp.de/pkg/AnyEvent-Readline-Gnu.html
276 286
277=cut 287=head1 SEE ALSO
278 288
289L<rltelnet> - a simple tcp_connect-with-readline program using this module.
290
291=cut
292

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines