Is there a way to get rid of this text as a command line argument or by using a switch of some sort. The window containing emacs vanishes. This process group is orphaned, because there is no process in the session which is not in the process group. Even if screen would try to restart the program, that would be after it received the KILL signal which cannot be caught or ignored. I put this in my .emacs file.
Screen gets the terminal size wrong and messes up.
If correcting tty driver setting and environment variables does not help, look up the terminal capability definition. Screen messes up the terminal output when I use my favourite ap- plication. Setting the terminal size does not help. Fixing this is a three stage procedure. First, find out if terminfo or termcap is used.