Plus: - do the login/logout in konsole_grantpty. It's just a question of opening the tty slave so that login() won't get confused.
Plus: - do the login/logout in konsole_grantpty. It's just a question of opening the tty slave so that login() won't get confused.