diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2026-02-24 06:50:55 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2026-02-24 07:16:16 +0100 |
| commit | b86f0198d6879cb63485b14c050925e34b6549d0 (patch) | |
| tree | 7359c9cb3467858b9ed7f540206166d68e42247e /scripts/basic | |
| parent | 4bdbb7cc0a1451809f136cac36e04b0178887357 (diff) | |
| download | busybox-w32-b86f0198d6879cb63485b14c050925e34b6549d0.tar.gz busybox-w32-b86f0198d6879cb63485b14c050925e34b6549d0.tar.bz2 busybox-w32-b86f0198d6879cb63485b14c050925e34b6549d0.zip | |
telnet: fixes after testing against some MUD servers
A few size tests were not tight enough. More importantly,
the logic "is this a telnet server?" made more robust.
TTYPE seems to be understood by the MUD server I tried,
for some reason NAWS is not?
function old new delta
packed_usage 36040 36078 +38
write_to_net 598 620 +22
telnet_main 455 462 +7
handle_SIGWINCH 15 21 +6
read_from_net 534 539 +5
show_menu 212 203 -9
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 5/1 up/down: 78/-9) Total: 69 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
