Every couple of months I return to a gnu screen
session just to find out that the running script was stalling for hours or days. My suspicion is, that I, while I try to detach, accidentally press some key combination that makes the process halt. When I attach later and notice the stalling I often see that my tries to detach have left command line input like D^[[D^[[D
or ^[[
. But I was not able reproduce it. Do you have an idea?
I experienced this behaviour with python scripts and C++ code.