MUX(1) General Commands Manual MUX(1)

mux - interactive television demo

mux/mux

Mux is a standalone application environment run from the Inferno console in emu (1) or started automatically by init (8) in a native environment. It directly uses the draw (3) device and either keyboard or Infrared, and cannot be run under wm (1). It is included in this release only as an example of the use of the Prefab graphics module described by prefab-intro (2). The simpler style of graphics and interaction provided by Prefab and demonstrated by mux might be more appropriate than Tk on devices that use infrared remote control for interaction, such as televisions, or devices with limited screen space, such as pocket devices or portable telephones.

Mux produces a menu derived from the configuration file /services/basic. Each line in the file has three fields, separated by :, of the following form:

icon:app:label

The icon is the name of a bitmap file to displayed in the menu alongside the textual label (which is the rest of the line). When the item is selected, as described below, mux runs the Dis file

/dis/mux/app.dis

The following applications are available:

Financial reports: a scrolling `ticker tape' along the bottom of the screen.
Movies: select a film from a menu of categories
Today's Newspaper: on-screen newspapers
Television
TV Timetable
Order Pizza
Internet mail
Internet Web Browser: simplistic web browser
Register with a service provider
Presentations
Audio Control

Mux can be controlled using an infrared device, but for demonstration purposes under emu (1) the infrared is emulated using the keyboard (see ir (2)). The following are the common controls:

channel up
channel down
volume up
volume down
cursor up
cursor down
cursor left; rewind
cursor right; fast forward
return to main menu leaving application running; recall
select item
exit and return to the previous screen or menu

/services/basic
/icons/*.bit

/appl/mux

wm (1), ir (2), prefab-intro (2), virgil (2), manufacture (8), register (8), signer (8), virgild (8)

The video demonstrations currently work only on native machines with specific hardware.
For copyright reasons, some databases are not distributed, or have randomly-generated content.