1 2002-07-16 Jay Rogers <jay@rgrs.com>
3 * Version 3.03 released.
5 * Telnet.pm (getlines): Changed behavior so it works like
6 IO::Handle::getlines(). Instead of returning just the lines
7 currently available for reading, it now returns all lines until
8 end-of-file. To get the old behavior, use "All => ''" named
11 * Telnet.pm (put): New method put() is like print(), except that
12 it doesn't write the trailing output_record_separator ("\n"). It
13 also takes named parameters.
15 * Telnet.pm (last_prompt): New method last_prompt() provides the
16 last prompt matched by cmd() or login().
18 * Telnet.pm (rs): New method rs() is synonymous with
19 input_record_separator().
21 * Telnet.pm (ors): New method ors() is synonymous with
22 output_record_separator.
24 * Telnet.pm (ofs): New method ofs() is synonymous with
25 output_field_separator().
27 * Telnet.pm (input_log, output_log, option_log): Fixed so they
28 always return the filehandle of the logfile or "" if logging
31 * Telnet.pm (dump_log, input_log, option_log, output_log): Fixed
32 so they work with an unblessed or tied filehandle.
34 * Telnet.pm (cmd_remove_mode, errmode, input_record_separator)
35 (max_buffer_length, option_callback, port, prompt, timeout): These
36 attribute methods now ignore an invalid argument and print a
37 warning to stderr. This also applies to a named parameter used to
38 override one of these attributes.
40 * Telnet.pm (cmd): Added named parameters to override Errmode, and
41 Input_record_separator.
43 * Telnet.pm (get, waitfor): Added named parameters to override
44 Binmode, Errmode, and Telnetmode.
46 * Telnet.pm (getline, getlines): Added named parameters to
47 override Binmode, Errmode, Input_record_separator, and Telnetmode.
49 * Telnet.pm (login, open): Added named parameter to override
52 * Telnet.pm (login): Added two 0.01 second delays to workaround
53 bug in Linux login program.
55 * Telnet.pm (break): Fixed to properly send TELNET break command.
57 * Telnet.pm (open): Fixed to properly handle an absolute timeout
60 * Telnet.pm: Squelched the warning "isn't numeric" caused by
61 deficiency in ActiveState perl and MS-Windows.
63 * t/select.t: Fixed test #3 so it passes when running on Linux 2.4
66 2000-05-27 Jay Rogers <jay@rgrs.com>
68 * Version 3.02 released.
70 * Telnet.pm: Squelched the warning "Ambiguous call resolved as
71 CORE::open()" introduced by perl5.005
73 * Telnet.pm: Fixed incorrect handling of CR LF when chars are sent
76 * Telnet.pm: Modified log routines to accept a tied filehandle.
78 * Telnet.pm (get): Fixed to correctly set timed_out() to indicate
79 no time-out error when data is not immediately available but
80 subsequently arrives and is read before the time-out interval
83 * Telnet.pm (get): Fixed timeout error when timeout=0, and no
84 data read, but there's still data in the buffer yet to be
87 * Telnet.pm (get): Errmode action now happens when timeout=0 and
90 1997-12-27 Jay Rogers <jay@rgrs.com>
92 * Version 3.01 released.
94 * Telnet.pm (binmode): calling binmode() without an argument no
95 longer sets binmode to 1, but rather just returns the current
98 * Telnet.pm (telnetmode): calling telnetmode() without an argument
99 no longer sets telnetmode to 1, but rather just returns the
100 current value for telnetmode.
102 * Telnet.pm (cmd): Removes the first line of output when the
103 remote side told us it would echo or the user requests its removal
104 explicitly with cmd_remove_mode()
106 * Telnet.pm (cmd_remove_mode): New method that contains the mode
107 for how to deal with an echoed back command in the output returned
108 by cmd(). Default is set to "auto", which means cmd() removes the
109 first line of output when the remote side told us it would echo.
111 * Telnet.pm (new): By default, an offer to echo made by the remote
112 side of a TELNET connection is always accepted.
114 * Telnet.pm (new): Fixed default prompt to work with prompts
117 * Telnet.pm (fhopen): Changed to work with any open filehandle
118 including uni-directional pipes like STDIN.
120 * Telnet.pm (host): When passed a null string or undef for a
121 hostname it no longer changes it to "localhost".
123 * Telnet.pm (waitfor): Now performs error mode action when eof is
124 encountered before the pattern match.
126 * Telnet.pm (waitfor): Changed text of error messages when
129 * Telnet.pm (login): Changed text of error messages when
132 * Telnet.pm: Fixed non-portable use of \r\n to the more portable
135 * Telnet.pm (break): Fixed to no longer send the
136 output_record_separator.
138 * Telnet.pm: Stopped erroneously converting input character
139 sequences which look like TELNET escaped carriage-returns
140 (\015\000), when not in telnetmode.
142 * Telnet.pm (buffer): New method that returns scalar reference to
143 object's input buffer.
145 * Telnet.pm (buffer_empty): New method that discards all data in
146 object's input buffer.
148 * Telnet.pm (option_accept): New method used to indicate our
149 willingness to accept a telnet option offered by the remote side.
151 * Telnet.pm (option_callback): New method used to receive
152 notification of telnet option negotiation.
154 * Telnet.pm (option_log): New method that is used to log option
157 * Telnet.pm (option_state): New method that returns the current
158 state of a telnet option.