monky-2.1.0.0: A system state collecting library and application

PortabilityLinux
Stabilitytesting
Maintainerongy
Safe HaskellNone

Monky.Outputs.Show

Description

Can be used to store output or transmit in a human readable form.

Simple receiver can be:


import System.IO
import Monky.Modules
import Monky.Outputs.Dzen2

main :: IO ()
main = do
  out <- getDzenOut 20 /home/ongy/.monky/xbm
  input <- getContents
  mapM_ (doLine out . read) $ lines input

Used with:

 monky -d \/tmp\/monky | .\/Test | dzen2 -w 1280 -y 20

Synopsis

Documentation

getShowOut :: IO ShowOutputSource

Get an output handle for show formatting

data ShowOutput Source

The output handle for using show instance

Constructors

ShowOutput