stdin mixer 0.9.1

stdin mixer allows the standard input of a program to be accessed from different terminals through a Unix socket.
stdin mixer is a small program that allows the standard input of a program to be accessed from different terminals through a Unix socket. It can be used to provide a simple remote control method for programs like mplayer or mpg321.

How does it work

'stdinmix [app]' allow two ways of sending commands to its child application stdin:

- using the terminal stdin (as if you run the application alone)
- using a unix socket, by default at /tmp/socket-sm.UID, overwritable by the environment variable SM_SOCKET.

If you don't specify any argument, it will connect to the mentioned unix socket, and forward the current stdin to that socket.

How do I use it

I wanted a program for transcribing voice in audio tracks. I had mplayer, and I only needed a way to send commands to it as "-slave". By now, on need, I use xbindkeys [1] to map F1 to "mplayer-remote -p" (pause) and F2 to "mplayer-remote -b" (back a few seconds). Then I can transcribe in my favourite editor (vim) pausing and moving back the audio track when needed.

You can find some scripts in the utils/ directory.

What's New in This Release:

This release implements everything but remotely closing stdin.

last updated on:
October 2nd, 2007, 17:41 GMT
price:
FREE!
developed by:
Lluis Batlle i Rossell
homepage:
vicerveza.homeunix.net
license type:
GPL v3 
category:
ROOT \ Terminals

FREE!

In a hurry? Add it to your Download Basket!

user rating 21

3.3/5
 

0/5

Add your review!

SUBMIT