write command-result to console

Maximilian Kirchner <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
Hi,

I want to use screen to keep track of my gameservers - for instance my minecraft server.
Now I want to send the command "list" (which lists all players) to the server and write the result in a file.
When I use "screen -p 0 -S minecraft-w1 -X eval 'stuff list\015'" the command is evaluated, but I can only see the result when returning to screen via "screen -r minecraft-w1". Is there any way to write the result to my shell or into a file?
The command "list" is not executed as an own command but just as a prompt within the minecraft-server, so I cannot just pipe the command-output into a file.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.