Ihaveworms
Ukfay Ancerkay
- Joined
- Jul 25, 2006
- Messages
- 4,754
I am not a big linux man so I don't know all the odds and ends about it.
Here is the scenerio:
There is a server running minecraft. We used screen to start another terminal session and started the minecraft server there. So if the look at that screen, you can see all the console activity there of the minecraft server such as people chatting and stuff.
I want to write a program that parses this console information. How can I start this program in another terminal session (like our "main" session) and read the output from the console on the other session. Additionally, how do I even read this information from the terminal session. I have only had do deal with direct input from files and keyboard before so I am not sure how to read the information coming in.
Thanks.
Here is the scenerio:
There is a server running minecraft. We used screen to start another terminal session and started the minecraft server there. So if the look at that screen, you can see all the console activity there of the minecraft server such as people chatting and stuff.
I want to write a program that parses this console information. How can I start this program in another terminal session (like our "main" session) and read the output from the console on the other session. Additionally, how do I even read this information from the terminal session. I have only had do deal with direct input from files and keyboard before so I am not sure how to read the information coming in.
Thanks.