Read the tutorial again, it explains EXACTLY how to run a file in screen in step 6.
In step 7 it lists some changes to your .sh file in order to add libcod. THIS DOES NOT MAKE THE SCREEN COMMANDS IN STEP 6 INVALID.
And
is by far the worst bug report i've seen in my life.i tried screen didn't work i think.