genki / present

Presentation tool for terminal

This URL has Read+Write access

name age message
file .gitignore Sat Aug 30 12:39:46 -0700 2008 Updated [genki]
file ChangeLog Sat Aug 30 12:18:34 -0700 2008 First commit [genki]
file README Loading commit data...
file Rakefile
directory bin/ Sat Aug 30 12:39:25 -0700 2008 Updated [genki]
directory lib/
file present.gemspec
directory sample/ Sat Aug 30 14:48:38 -0700 2008 Updated commands. [genki]
directory test/ Sat Aug 30 12:39:25 -0700 2008 Updated [genki]
README
= present

Presentation tool for terminal.

== Description

This program is for terminal addicts.
You can make a presentation by using your favorite terminal.

== Installation

=== Archive Installation

  rake install

=== Gem Installation

  gem install present


== Features/Problems

- You can make a presentation by using your favorite terminal.
- You need to configure font size of terminal by yourself.
- You can't use pictures, yet.
  Making pictures into ASCII art is a future work ;-)
- You must encode presentation files as EUC-JP if you want to use Japanese.
  This limitation comes from ruby-ncurses.

== Synopsis

  present [options] file [duration] [page]

    `file` specifies presentation file. there is an example in the sample/ dir.
    
    `duration` specifies expected duration in minute. This is optional. The
    default value is 5 min.

    `page` specifies the page number which will be started from. This is
    optional. The default value is 1.

== File Format

The presentation file is a text file which includes series of pages of which
you will present.

The pages are separated by blank lines.  The page itself consists of lines.
Each line has a command at the beginning and text follows it.  The command and
the text are separated by white spaces.  The available commands are as follows.

= Title. The text follows will be rendered at the center of screen with larger
  font.
- Explanation. The text will follow the previous text. The text is right
  alignment.
* Header. The text will appear at the top of the page with bold style.
+ Bullet. The text will follow the previous text with bullet mark at the
  beginning. The text is left alignment. Bullets can be nested by doubling or
  tripling the symbol.
  You can avoid margin between the line and the previous line by appending `-`
  symbol, like this `+-`.
< Left alignment text.
> Right aligment text.
% Color. You can change color of texts which appears after the line.
The color specified by the name of basic colors, such as red, blue, white,
black, and so on. If the text is `0`, the color is reset.
, Wait. Wait for your hitting keys if the text is `-`.  Wait for specified
  interval if the text is a number in sec
: Execute command. The text will be executed as a internal command.
# Message. The text will be displayed with large font in the middle.
. Final message.

The command can be empty, it means that the line starts with white spaces.  The
texts of these lines are simply added to the texts of previous lines
respectively.

== Copyright

Author::    Genki Takiuchi <genki@s21g.com>
Copyright:: Copyright (c) 2008 Genki Takiuchi
License::