RT#88706 Correct POD
[Net-Telnet.git] / ChangeLog
blob7cb88ede2d43fe282c46b28e89ae006bfc4dd22e
1         * Break ancient perl compatibility, fix 5.10.1.
3 2013-04-21  Jay Rogers  <jay@rgrs.com>
5         * Version 3.04 released.
7 2012-12-15  Jay Rogers  <jay@rgrs.com>
9         * Telnet.pm (open family sockfamily): Added IPv6
10         support.  It is enabled using the method/parameter
11         family() and the installed Socket package version is
12         1.94+ (which corresponds with perl 5.14+).
14         * Telnet.pm (peerhost peerport sockhost sockport):
15         New methods to support IPv6, because the inherited
16         ones from IO::Socket::INET don't.
18         * Telnet.pm (open localhost localfamily): New
19         methods and open() parameters for binding to a local
20         network interface.
22         * Telnet.pm (dump_log, input_log, option_log, output_log): Fixed
23         so they turn off logging when passed an empty string arg.
25         * Telnet.pm (_fillbuf _put): Fixed to use
26         Errno::EINTR, when possible, to test for an
27         interrupted select(), sysread(), or syswrite().  The
28         test for $! =~ /^interrupted doesn't work when LANG
29         is not English.
31 2002-12-17  Jay Rogers  <jay@rgrs.com>
33         * Telnet.pm (dump_log, input_log, option_log, output_log): Fixed
34         so they take a bare filehandle.
36 2002-07-16  Jay Rogers  <jay@rgrs.com>
38         * Version 3.03 released.
40         * Telnet.pm (getlines): Changed behavior so it works like
41         IO::Handle::getlines().  Instead of returning just the lines
42         currently available for reading, it now returns all lines until
43         end-of-file.  To get the old behavior, use "All => ''" named
44         parameter.
46         * Telnet.pm (put): New method put() is like print(), except that
47         it doesn't write the trailing output_record_separator ("\n").  It
48         also takes named parameters.
50         * Telnet.pm (last_prompt): New method last_prompt() provides the
51         last prompt matched by cmd() or login().
53         * Telnet.pm (rs): New method rs() is synonymous with
54         input_record_separator().
56         * Telnet.pm (ors): New method ors() is synonymous with
57         output_record_separator.
59         * Telnet.pm (ofs): New method ofs() is synonymous with
60         output_field_separator().
62         * Telnet.pm (input_log, output_log, option_log): Fixed so they
63         always return the filehandle of the logfile or "" if logging
64         turned-off.
66         * Telnet.pm (dump_log, input_log, option_log, output_log): Fixed
67         so they work with an unblessed or tied filehandle.
69         * Telnet.pm (cmd_remove_mode, errmode, input_record_separator)
70         (max_buffer_length, option_callback, port, prompt, timeout): These
71         attribute methods now ignore an invalid argument and print a
72         warning to stderr.  This also applies to a named parameter used to
73         override one of these attributes.
75         * Telnet.pm (cmd): Added named parameters to override Errmode, and
76         Input_record_separator.
78         * Telnet.pm (get, waitfor): Added named parameters to override
79         Binmode, Errmode, and Telnetmode.
81         * Telnet.pm (getline, getlines): Added named parameters to
82         override Binmode, Errmode, Input_record_separator, and Telnetmode.
84         * Telnet.pm (login, open): Added named parameter to override
85         Errmode.
87         * Telnet.pm (login): Added two 0.01 second delays to workaround
88         bug in Linux login program.
90         * Telnet.pm (break): Fixed to properly send TELNET break command.
92         * Telnet.pm (open): Fixed to properly handle an absolute timeout
93         value.
95         * Telnet.pm: Squelched the warning "isn't numeric" caused by
96         deficiency in ActiveState perl and MS-Windows.
98         * t/select.t: Fixed test #3 so it passes when running on Linux 2.4
99         or greater.
101 2000-05-27  Jay Rogers  <jay@rgrs.com>
103         * Version 3.02 released.
105         * Telnet.pm: Squelched the warning "Ambiguous call resolved as
106         CORE::open()" introduced by perl5.005
108         * Telnet.pm: Fixed incorrect handling of CR LF when chars are sent
109         in separate blocks.
111         * Telnet.pm: Modified log routines to accept a tied filehandle.
113         * Telnet.pm (get): Fixed to correctly set timed_out() to indicate
114         no time-out error when data is not immediately available but
115         subsequently arrives and is read before the time-out interval
116         expires.
118         * Telnet.pm (get): Fixed timeout error when timeout=0, and no
119         data read, but there's still data in the buffer yet to be
120         returned.
122         * Telnet.pm (get): Errmode action now happens when timeout=0 and
123         time-out occurs.
125 1997-12-27  Jay Rogers  <jay@rgrs.com>
127         * Version 3.01 released.
129         * Telnet.pm (binmode): calling binmode() without an argument no
130         longer sets binmode to 1, but rather just returns the current
131         value for binmode.
133         * Telnet.pm (telnetmode): calling telnetmode() without an argument
134         no longer sets telnetmode to 1, but rather just returns the
135         current value for telnetmode.
137         * Telnet.pm (cmd): Removes the first line of output when the
138         remote side told us it would echo or the user requests its removal
139         explicitly with cmd_remove_mode()
141         * Telnet.pm (cmd_remove_mode): New method that contains the mode
142         for how to deal with an echoed back command in the output returned
143         by cmd().  Default is set to "auto", which means cmd() removes the
144         first line of output when the remote side told us it would echo.
146         * Telnet.pm (new): By default, an offer to echo made by the remote
147         side of a TELNET connection is always accepted.
149         * Telnet.pm (new): Fixed default prompt to work with prompts
150         containing $
152         * Telnet.pm (fhopen): Changed to work with any open filehandle
153         including uni-directional pipes like STDIN.
155         * Telnet.pm (host): When passed a null string or undef for a
156         hostname it no longer changes it to "localhost".
158         * Telnet.pm (waitfor): Now performs error mode action when eof is
159         encountered before the pattern match.
161         * Telnet.pm (waitfor): Changed text of error messages when
162         timing-out.
164         * Telnet.pm (login): Changed text of error messages when
165         timing-out.
167         * Telnet.pm: Fixed non-portable use of \r\n to the more portable
168         \015\012.
170         * Telnet.pm (break): Fixed to no longer send the
171         output_record_separator.
173         * Telnet.pm: Stopped erroneously converting input character
174         sequences which look like TELNET escaped carriage-returns
175         (\015\000), when not in telnetmode.
177         * Telnet.pm (buffer): New method that returns scalar reference to
178         object's input buffer.
180         * Telnet.pm (buffer_empty): New method that discards all data in
181         object's input buffer.
183         * Telnet.pm (option_accept): New method used to indicate our
184         willingness to accept a telnet option offered by the remote side.
186         * Telnet.pm (option_callback): New method used to receive
187         notification of telnet option negotiation.
189         * Telnet.pm (option_log): New method that is used to log option
190         negotiation.
192         * Telnet.pm (option_state): New method that returns the current
193         state of a telnet option.