Txmms is a very simple menu to output strings to a named pipe to control xmms. The ncurses menu allows selection of the command and shows the status of the output of the command in a message area.
The source code is available here.