How to kill a telnet client with rlwrap since ^] does not work?

Solution 1:

rlwrap is a wrapper for GNU readline, so it's doing everything locally and only passing your input through after you press Enter. When you press Ctrl+] you don't see the telnet> prompt because readline has not yet sent your input.

To kill your telnet connection, then, press Ctrl+], then q, then Enter.

Solution 2:

Ctrl+c, Esc, Enter, Ctrl+], Enter, q, Enter