Stdin Mixer is a software that enables the standard input of a program to be accessed from various terminals via a Unix socket, simplifying the management of input sources.
So, how does it work? The app, stdinmix, offers two ways of sending commands to its child application stdin. You may choose to use the terminal stdin, just as you are running the application alone. Alternatively, you have the option of using a Unix socket (by default, located at /tmp/socket-sm.UID, which can be overwritten by the environment variable SM_SOCKET). If you do not specify any argument, it will establish a connection to the mentioned Unix socket and forward the present stdin to that socket.
Personally, I used this program to transcribe voice in audio tracks. I already had mplayer, and I required a way to send commands to it in the "-slave" format. Whenever necessary, I utilize xbindkeys [1] to map F1 to "mplayer-remote -p" (to pause) and F2 to "mplayer-remote -b" (to move back a few seconds). I then transcribe within my favourite editor (vim), pausing and moving back the audio track whenever audio playback is required.
If you wish to get hands-on with the program, you may find a bunch of scripts available in the utils/ directory.
Lastly, I should mention that the latest release of stdin mixer implemented everything apart from remotely closing stdin.
Version 0.9.1: N/A