I found something on the mailing list, thanks tuxuday :)
I am doing it now as follows:
#!/bin/bash screen -X screen -t NEWWINDOW
I'm not sure what is sleeping, maybe they are not needed in all environments, but I can easily wait for these 0.2s.
My .bash_aliases
changes the title of the screen window with a delay, so the inconvenient NEWWINDOW
will not be delayed for long (and thus will not prevent further calls to this script).
source share