rltelnet - connect to a socket with readline frontend
rltelnet www.nethype,de:80 rltelnet www.google.com 80 rltelnet unix/ /path/to/socket
This program connects to a socket using AnyEvent::Socket::tcp_connect, prints everything it receives from the socket and offers a readline editing interface to send lines to the socket.
This is very remotely what telnet does when used on a non-telnet socket, except that it uses readline and supports more types of socketsd (e.g. unix domain sockets).
Marc Lehmann <firstname.lastname@example.org> http://software.schmorp.de/pkg/AnyEvent-ReadLine-Gnu.html