WM-MISC(1)                                             WM-MISC(1)

     NAME
          about, coffee, colors, date, edit, mand, memory, polyhedra,
          reversi, rt, stopwatch, sweeper, task, tetris, unibrowse,
          view, winctl - miscellaneous graphical applications

     SYNOPSIS
          wm/about
          wm/coffee
          wm/colors
          wm/date
          wm/edit [file]
          wm/mand
          wm/memory
          wm/polyhedra
          wm/reversi
          wm/rt
          wm/stopwatch
          wm/sweeper
          wm/task
          wm/tetris [ -b blocksize ]
          wm/unibrowse
          wm/view [ -i ] [file...]
          wm/winctl

     DESCRIPTION
          A collection of simple applications and utilities that oper-
          ate under the Wm window manager.  Other Wm applications
          exist, see their respective manual pages for more informa-
          tion.

          wm/about
               Display system version and copyright information.

          wm/coffee
               A whimsical plaything.

          wm/colors
               Displays the Inferno palette.  Clicking on a particular
               colour displays its RGB values.

          wm/date
               Displays the current date and time in a window.

          wm/edit
               A simple cut-and-paste text editor.  Several menus pro-
               vide the usual editing commands.  Text selections are
               dragged out using mouse button 1.  Mouse button-2 dis-
               plays a pop-up menu of the Cut, Copy and Paste com-
               mands.

     Page 1                       Plan 9            (printed 11/18/24)

     WM-MISC(1)                                             WM-MISC(1)

          wm/mand
               A fractal browser to explore the Mandelbrot and Julia
               sets.  Button 1 drags a rectangle to zoom into, button
               2 shows the  Julia set at the chosen point, button 3
               zooms out.  To produce more accurate pictures, the
               iteration depth may be increased by altering the depth
               scale factor. The default number of iterations per
               point is 253. The sets are plotted by filling regions
               of (apparently) the same colour. Deselecting the fill
               option will plot the points in the usual fashion.

          wm/memory
               Displays memory usage.  Three usage bars are displayed,
               one for each of the Inferno memory pools: main, heap
               and image.  The maximum permitted size of each pool is
               given (in megabytes) to the left of its usage bar.
               Each bar also sports a highwater mark.  The usage data
               is re-read and displayed once every second.

          wm/polyhedra
               A program to display convex regular polyhedra. The menu
               options allow the user to alter the speed of rotation
               and the axis of rotation. To display a different solid,
               move forward or back with the prev and next boxes.
               Selecting the dual box will show the dual of a solid
               rather than the original solid. Finally the edges,
               clear and faces boxes determine whether edges are
               shown, whether the screen is cleared before the next
               plot and whether faces are shown respectively.

          wm/reversi
               An implementation of the popular game. The default set
               up is for black to be the machine and white the human
               player. Use the Black and White menu options to change
               this. The level of any machine player may be set using
               the Black level and White level boxes. This determines
               the amount of lookahead performed by the tree search
               algorithm.

          wm/rt
               A Dis module inspector: it can show the Dis instruc-
               tions, strings, types and other attributes of a module;
               it also allows the user to set some attributes stored
               in a module's header.

          wm/stopwatch
               A simple-minded stopwatch.  Only useful for coarse-
               grained timings.

          wm/sweeper
               Mine sweeping game.

     Page 2                       Plan 9            (printed 11/18/24)

     WM-MISC(1)                                             WM-MISC(1)

          wm/task
               Task manager: it lists the processes running when it
               starts, and offers buttons to kill a selected process,
               kill its process group, show its open files, or debug
               it using wm-deb(1). A process is selected from the list
               using mouse button 1.  Task does not automatically
               refresh the list; there is a Refresh button to prompt
               it to do so.

          wm/tetris
               The ubiquitous and annoyingly addictive tile dropping
               game.  The game keys are: `7' move left; `8' rotate
               (anti-clockwise); `9' move right; `p' pause; `space'
               drop and `q' quit.  A mouse or stylus can also be used
               to guide the pieces (eg, by tapping the screen in the
               desired direction).  Scores are stored in the file
               /lib/scores/tetris.  Score file updates are not inter-
               locked - it's only a game!

          wm/unibrowse
               A handy utility for browsing the unicode character set,
               finding out what particular characters look like in
               different fonts, finding out exactly which characters a
               font provides, and finding the name of a character that
               you have managed to grab into the snarf buffer.

          wm/view
               Image viewer.  Displays GIF, Inferno image(6), JPEG,
               PNG and X bitmap image files.  The viewer creates a new
               window to display the contents of each file. If no
               arguments are given, the file browser panel wm-
               filename(1) is displayed to prompt the user to select
               an image file to view.  If the -i option is given, view
               continues to listen for requests from the plumber(8);
               the -i option will normally appear only in rules in
               plumbing(6) files.

          wm/winctl
               Window management tool.  Displays a set of buttons that
               provide for: raising a window to the top or lowering it
               to the bottom of the screen window stack; moving a win-
               dow to a new position; iconising a window; deleting a
               window.

               Click on the button for the required action then click
               on the window to apply it to.  When moving a window,
               click and drag the target.  Deleting a window is
               error-prone. Currently using this tool on a charon or
               acme window has strange effects.

     PLUMBING
          wm/view receives view messages

     Page 3                       Plan 9            (printed 11/18/24)

     WM-MISC(1)                                             WM-MISC(1)

     FILES
          /lib/polyhedra
               Polyhedra data base.

          /lib/scores/tetris
               Tetris high score table.

          /lib/unidata
               Directory holding Unicode character set information,
               used by unibrowse.

          /dev/memory
               Provides memory with memory usage statistics.

     SOURCE
          /appl/wm/about.b
          /appl/wm/coffee.b
          /appl/wm/colors.b
          /appl/wm/date.b
          /appl/wm/edit.b
          /appl/wm/mand.b
          /appl/wm/memory.b
          /appl/wm/polyhedra.b
          /appl/wm/reversi.b
          /appl/wm/rt.b
          /appl/wm/stopwatch.b
          /appl/wm/task.b
          /appl/wm/tetris.b
          /appl/wm/unibrowse.b
          /appl/wm/view.b
          /appl/wm/winctl.b

     Page 4                       Plan 9            (printed 11/18/24)