News for hackers. Stuff that matters.
Re: by dgl on Saturday June 03, 2023 @07:42PM (#36181600)
Same; I made a ~/bin/telnet that does:

    #!/bin/sh
    nc -v "$1" "${2:-23}"
Obviously it doesn't do the telnet protocol when run on port 23 (note the real telnet client disables the telnet handshake when port != 23, which is why it's useful as a generic TCP client anyway), but this basically keeps my muscle memory happy and it's clear from the output what's happening.
Re: by JdeBP on Sunday June 04, 2023 @04:48AM (#36184092)
Someone with initials "DJB" did much the same thing in 1999. (-:

    % cat /package/admin/djbwares/command/mconnect
    #!/bin/sh
    # WARNING: This file was auto-generated. Do not edit!
    exec /usr/local/bin/tcpclient -RHl0 -- "${1-0}" "${2-25}" /usr/local/bin/mconnect-io
    %
* https://jdebp.uk/Softwares/djbwares/guide/commands/mconnect....

* https://jdebp.uk/Softwares/djbwares/guide/commands/mconnect-...

* https://jdebp.uk/Softwares/djbwares/guide/commands/[email protected]...

* https://jdebp.uk/Softwares/djbwares/guide/commands/[email protected]