tpp stands for text presentation program and is an ncurses-based presentation tool. The presentation can be written with your favorite editor in a simple description format and then shown on any text terminal that is supported by ncurses - ranging from an old VT100 to the Linux framebuffer to an xterm.
15 lines
427 B
Text
15 lines
427 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2009/03/29 23:35:55 emil_s Exp $
|
|
|
|
# Need rubygems to locate ruby-ncurses
|
|
|
|
--- tpp.rb.orig 2007-04-23 10:12:21.000000000 +0100
|
|
+++ tpp.rb
|
|
@@ -2,6 +2,8 @@
|
|
|
|
version_number = "1.3.1"
|
|
|
|
+require 'rubygems' if RUBY_VERSION.sub(/\.\d+$/, "") < "1.9"
|
|
+
|
|
# Loads the ncurses-ruby module and imports "Ncurses" into the
|
|
# current namespace. It stops the program if loading the
|
|
# ncurses-ruby module fails.
|