The situation is...
I have a Debian box, runs a game server.
Said game server stays active in the terminal session that launches it.
There's no easy and bug free remote management utility for said game server, so my idea is to set up some custom commands in usermin to let other users of the server change the map, change the mod the game runs, etc.
So, running these commands from usermin, it's necessary to start the server in a detached screen session, since the server needs a terminal session to run in and since it's started from a webpage it has no terminal session otherwise and goes defunct. This works to start the server just fine, and it can be stopped by doing a killall on the screen process, so that's also fine.
The next step, though, is being able to send commands to the game terminal with usermin/webmin custom commands.
Is it possible to send text and/or commands to a detached screen session without re-attaching it? The screen man page seems to hint that this is possible with the -X switch, but the documentation is a bit sketchy on that option, I'm not sure whether it'll take any text or system command or only screen commands, and all tinkering i've done with the -X switch has failed.
Can this be done or not?