I'm writing a simple telnetclient but need some ideas in how to detect the login prompt? When connecting to the server it sends out some informations which ends with a new line so they I can handle...