elitak/screenutils — comment on commit 8052931f6d775a46f8c3567ae691694d20058fa8
File:  line 0
By elitak:

I'm not 100% clear on what you're saying might be broken. My interpretation of what you mean is that because I removed the "-x" option on line 140, the commands won't get sent to the named screen session. It was a while ago that I worked on this, but I think I discovered that "-x" was unnecessary (at least on my version of screen: 4.00.03jw4), so I removed it. Option "-x" is for reattaching a session, but semantically, you shouldn't have to do that in order to use "-X" to send a command, based off of what's written in the screen manpage.

Give it a try and do let me know if it's broken, since this revision has been working fine for me since I committed it. I will make a pull request since you find the work useful, even though I added a bunch of FIXME/TODOs that I never got around to addressing. Thanks for looking and commenting.