I'm not quite sure I understand the question but to go more in depth: its a source engine server(gmod) running on Linux debian and I'm trying to be able to interface fully with both the screen session that is running the game console and the Linux terminal itself, both through(hopefully) jkssh2. So far I am able to
-Input text and output text from the Linux terminal.
-Send text to the screen session/console, ultimately changing things on the game serverserver
I am not able to receive the output from the screen session. Which provides me with two options: 1.the game produces a log.txt on a live basis so if I could somehow stream that text file and have it show on a label view or something similar that would be great! The issue is that the game is constantly clearing log.text files so they end up being named log16091401.text(DDMMYY##).
Or
2. Find a way to make the screen session output directly to a log.
I'm currently bouncing back and forth between this forum and the UNIX forums as I'm not entirely sure which category this falls under :s