Browse files

Update curses documentation for luaposix integration.

  • Loading branch information...
1 parent 13abdea commit fd29c65856625e07f3c6c5b943da1714feedaa08 @rrthomas committed Sep 11, 2011
Showing with 13 additions and 24 deletions.
  1. +1 −1
  2. +12 −23
@@ -23,7 +23,7 @@ ChangeLog:
LUA_ENV = LUA_INIT= LUA_PATH="$(abs_srcdir)/?.lua;;" LUA_CPATH="$(abs_builddir)/$(objdir)/?$(shrext);;"
-HTML = lcurses.html lcurses_c.html
+HTML = curses.html lcurses_c.html
$(srcdir)/tests-posix.lua \
@@ -1,4 +1,4 @@
-# Build lcurses documentation
+# Build luaposix curses documentation
# (c) Peter Billam 2011
# Permission is hereby granted, free of charge, to any person obtaining
@@ -59,7 +59,7 @@
close O;
my @P = (<DATA>); close P;
-open(O, '>', 'lcurses.html') or die;
+open(O, '>', 'curses.html') or die;
foreach my $line (@P) {
if ($line =~ /^<code>(\w+)\(/) {
my $s = $1;
@@ -106,7 +106,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="">
-<title>lcurses documentation</title>
+<title>luaposix curses documentation</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
<STYLE type="text/css"><!--
@@ -117,7 +117,7 @@
<body style="background-color: white">
-<FONT COLOR="#800000"><I>lcurses documentation</I></FONT>
+<FONT COLOR="#800000"><I>luaposix curses documentation</I></FONT>
<!-- INDEX BEGIN -->
@@ -150,7 +150,7 @@
<h2><a name="name">NAME</a></h2><DIV CLASS="txt">
-<p><strong>lcurses</strong> &nbsp; - &nbsp;
+<p><strong>luaposix curses</strong> &nbsp; - &nbsp;
a C library for Lua 5.1 that wraps the curses API.
</DIV><h2><a name="synopsis">SYNOPSIS</a></h2><DIV CLASS="txt">
@@ -174,7 +174,7 @@
</DIV><h2><a name="description">DESCRIPTION</a></h2><DIV CLASS="txt">
-<p><code>lcurses</code> is the interface between Lua and your system's <code>ncurses</code>
+<p>luaposix <code>curses</code> is the interface between Lua and your system's <code>ncurses</code>
or <code>curses</code> library. For descriptions on the usage of a given function
or constant, consult your system's documentation, starting with
<code>man ncurses</code> or <code>man curses</code></p>
@@ -470,34 +470,23 @@
For example, <code>addch()</code> has three other
variants: <code>waddch()</code>, <code>mvaddch()</code>,
and <code>mvwaddch()</code>.
-The Perl Curses module combines these variants into one
-&quot;Unified Function&quot;
-which detects how many arguments it has and behaves accordingly.
-But with this Lua module you must always specify the window
-(because it is the Object)
-e.g.: <code>stdscr:addch()</code>,
-and so the <code>mv-</code> variant is retained.
-If you are translating Perl code into Lua you may wish to use
-<A HREF="uf.txt">some wrapper functions</A>.
</DIV><h2><a name="installation">INSTALLATION</a></h2><DIV CLASS="txt">
- luarocks install lcurses</pre>
+ luarocks install luaposix</pre>
</DIV><h2><a name="author">AUTHOR</a></h2><DIV CLASS="txt">
-<p><B>lcurses</B> was written by &nbsp; Reuben Thomas &nbsp;
-<a href="">
+<p><B>luaposix curses</B> was originally written by Tiago Dionizio, and is maintained by Reuben Thomas at
+<a href="">
This documentation was created by
<A HREF="make_lcurses_doc">a script</A>
written by
<A HREF="">Peter Billam</A>.
</DIV><h2><a name="see_also">SEE ALSO</a></h2><DIV CLASS="txt">
-<pre><a href=""></a>
-<a href=""></a>
-<a href=""></a>
-<a href=""></a>
+<a href=""></a>
+<a href=""></a>
<a href=""></a>
<a href=""></a>
man ncurses

0 comments on commit fd29c65

Please sign in to comment.