EnglishFrenchSpanish

OnWorks favicon

mprompt - Online in the Cloud

Run mprompt in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mprompt that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


mprompt - simple prompt-based control for mpd

SYNOPSIS


mpompt [-s] [-m key=key] [-t n] [-f] [tty] [-T] [host]

DESCRIPTION


mprompt is a mpd client with a prompt-based interface. It is designed to be usable on a
headless machine.

At the prompt, enter the name of a playlist, or part of the name of an album, artist, or
song. Matching items will start playing. You can also paste in urls to stream.

(If the perl String::Approx module is available, it will be used to handle typos, etc in
the names you enter.)

Use the left and right arrow keys to adjust volume, and the up and down arrow keys to move
through the playlist.

The Tab and Enter keys can both be used to pause and unpause playback. (Enter toggles
pause only if nothing has been entered at the prompt.)

Example of how to run mprompt in /etc/inittab:

1:2345:respawn:/usr/bin/mprompt /dev/tty1

OPTIONS


-s This option allows shell commands to be typed in to mprompt, to be run by whatever
user it is running as. (Typically root if it is run from /etc/inittab).

To enter a shell command, type a "!", followed by the command to run, followed by
Enter.

-m key=key
This option allows remapping keys. Any key can be remapped to any other key, which is
useful to support keyboard with unusual key layouts, or missing keys.

For alphanumeric and punctuation keys, individual symbols can be remapped. For
example, "-m a=b" will turn each entered "a" into "b".

For other keys, use the following names:

<return>
<tab>
<space>
<up>
<down>
<left>
<right>
<backspace>

For example, -m "n=<down>" will map the "n" key to the down arrow, causing that key to
change to the next track; -m "<space>=<return>" will make the space bar act as a
pause.

It's possible to swap keys too. For example, -m "<down>=<up>" -m "<up>=<down>"

A single key can also be bound to a series of keystrokes. For example, -m "1=Mule
Variations<return>" will cause the "1" key to play the "Mule Variations" album, a nice
choice.

-t n
Adds a timeout, a specified number of seconds after which the entry on the command
line will be cleared. Useful for headless systems, to avoid cat-on-keyboard confusing
your later commands.

-T Enables terse output mode. This mode tries to avoid displaying excessive or complex
things, with the intent that mprompt's output can be piped into a speech synthesiser,
such as espeak.

Use mprompt online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    archlabs_repo
    archlabs_repo
    Package repo for ArchLabs This is an
    application that can also be fetched
    from
    https://sourceforge.net/projects/archlabs-repo/.
    It has been hosted in OnWorks in...
    Download archlabs_repo
  • 2
    Zephyr Project
    Zephyr Project
    The Zephyr Project is a new generation
    real-time operating system (RTOS) that
    supports multiple hardware
    architectures. It is based on a
    small-footprint kernel...
    Download Zephyr Project
  • 3
    SCons
    SCons
    SCons is a software construction tool
    that is a superior alternative to the
    classic "Make" build tool that
    we all know and love. SCons is
    implemented a...
    Download SCons
  • 4
    PSeInt
    PSeInt
    PSeInt is a pseudo-code interpreter for
    spanish-speaking programming students.
    Its main purpose is to be a tool for
    learning and understanding the basic
    concep...
    Download PSeInt
  • 5
    oStorybook
    oStorybook
    oStorybook l'outil privil�gi� des
    �crivains. ATTENTION : voir sur
    http://ostorybook.tuxfamily.org/v5/
    --en_EN oStorybook the right tool for
    writers. WARNIN...
    Download oStorybook
  • 6
    Asuswrt-Merlin
    Asuswrt-Merlin
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • More »

Linux commands

  • 1
    aafigure
    aafigure
    aafigure - convert ASCII art to an
    image ...
    Run aafigure
  • 2
    aafire
    aafire
    aafire, aainfo, aasavefont, aatest -
    aalib example programs ...
    Run aafire
  • 3
    coqtop.opt
    coqtop.opt
    coqtop.opt - The native-code Coq
    toplevel ...
    Run coqtop.opt
  • 4
    coqwc
    coqwc
    coqwc - print the number of
    specification, proof and comment lines
    in Coq files ...
    Run coqwc
  • 5
    g15composer
    g15composer
    g15composer - Scriptable command
    interface to libg15render(3) drawing
    functions DESCRIPTION: G15composer is a
    scriptable command interface to the
    libg15render ...
    Run g15composer
  • 6
    g15daemon
    g15daemon
    g15daemon - provides access to extra
    keys and the LCD available on the
    logitech G15 keyboard. DESCRIPTION:
    G15Daemon allows users access to all
    extra keys by d...
    Run g15daemon
  • More »

Ad