added method to get the text from the screen using quick3270