This repository has been archived by the owner on Nov 13, 2023. It is now read-only.
forked from mazenharake/cecho
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rebarified build and fixed small bug with driver loading
- Loading branch information
Kevin Smith
committed
Jun 11, 2010
1 parent
c8a38f5
commit 6b4fb8e
Showing
8 changed files
with
93 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
*.beam | ||
priv/*.so | ||
priv/lib/* | ||
c_src/*.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{application, cecho, | ||
[{description, "An ncurses library for Erlang"}, | ||
{version, "0.0.1"}, | ||
{modules, [cecho, cecho_srv]}, | ||
{modules, [cecho, cecho_srv, cecho_example]}, | ||
{env, []}, | ||
{mod, {cecho, []}}]}. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
%% Copyright (c) 2010, Mazen Harake | ||
%% All rights reserved. | ||
%% | ||
%% Redistribution and use in source and binary forms, with or without | ||
%% modification, are permitted provided that the following conditions are met: | ||
%% | ||
%% * Redistributions of source code must retain the above copyright notice, | ||
%% this list of conditions and the following disclaimer. | ||
%% * Redistributions in binary form must reproduce the above copyright | ||
%% notice, this list of conditions and the following disclaimer in the | ||
%% documentation and/or other materials provided with the distribution. | ||
%% * Neither the name of the <ORGANIZATION> nor the names of its | ||
%% contributors may be used to endorse or promote products derived from | ||
%% this software without specific prior written permission. | ||
%% | ||
%% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
%% AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
%% IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
%% ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE | ||
%% LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
%% CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
%% SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
%% INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
%% CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
%% ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
%% POSSIBILITY OF SUCH DAMAGE. | ||
|
||
-define(ENDWIN, 0). | ||
-define(INITSCR, 1). | ||
-define(REFRESH, 2). | ||
-define(CBREAK, 3). | ||
-define(NOCBREAK, 4). | ||
-define(ECHO, 5). | ||
-define(NOECHO, 6). | ||
-define(ADDCH, 7). | ||
-define(ADDSTR, 8). | ||
-define(MOVE, 9). | ||
-define(GETYX, 10). | ||
-define(GETMAXYX, 11). | ||
-define(CURS_SET, 12). | ||
-define(ERASE, 13). | ||
-define(HAS_COLORS, 14). | ||
-define(START_COLOR, 15). | ||
-define(INIT_PAIR, 16). | ||
-define(WATTRON, 17). | ||
-define(WATTROFF, 18). | ||
-define(NL, 19). | ||
-define(NONL, 20). | ||
-define(SCROLLOK, 21). | ||
-define(MVADDCH, 22). | ||
-define(MVADDSTR, 23). | ||
-define(NEWWIN, 24). | ||
-define(DELWIN, 25). | ||
-define(WMOVE, 26). | ||
-define(WADDSTR, 27). | ||
-define(WADDCH, 28). | ||
-define(MVWADDSTR, 29). | ||
-define(MVWADDCH, 30). | ||
-define(WREFRESH, 31). | ||
-define(WHLINE, 32). | ||
-define(WVLINE, 33). | ||
-define(WBORDER, 34). | ||
-define(BOX, 35). | ||
-define(KEYPAD, 36). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{erl_opts, [debug_info, fail_on_warning]}. | ||
{so_name, cecho.so}. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters