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

chrisapotek asked:

When I use telnet with rlwrap it looks like there is no way to kill the client. Am I missing something here or I really have to kill the process with the kill command?

My answer:


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.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.