Mail Archives: djgpp-workers/2001/06/12/13:55:35
-: > In my estimation much of the missing termios support in djgpp could be
-: > implemented by cannibalizing tinytcap.c.
Here is a brief description of the code:
The file "tinytcap.c" contains a set of functions that
emulate the termcap library for a small set of terminal
types. The terminal-specific info is hard-coded into this
file. It is only used for systems that don't support real
termcap. Another alternative for screen control can be seen
in the "curses.h" and "pc.c" files. Here, macros named
VOIDBIOS and CHECKBIOS are used to indirectly call functions
which perform low-level screen manipulation via BIOS calls.
The `hard-coded' terminal-specific info is already written in pretty
standard termcap style; it would be simple enough to put it in a
separate termcap file and point an environment variable at it.
-:
-: What are its copyright terms?
-:
Here are the relevant bits from the elvis-1.8pl4 distro.
10) Is this shareware, or public domain, or what?
It is not public domain; it is copyrighted by me,
Steve Kirkendall. However, this particular version
is freely redistributable, in either source form or
executable form. (I would prefer that you give
copies away for free, complete with the full source
code... but I'm not going to force you.)
It is not shareware; you aren't expected to send me
anything. You can use it without guilt.
It is not "copylefted." I hold a copyright, but
currently I have not added any of the usual restric-
tions that you would find on copylefted software. If
people start doing really obnoxious things to Elvis,
then I will start adding restrictions to subsequent
versions, but earlier versions won't be affected.
(So far, everybody has been pretty good about this so
no restrictions have been necessary.)
11) Can I reuse parts of your source code?
Yes. Please be careful, though, to make sure that
the code really is mine. Some of the code was con-
tributed by other people, and I don't have the
authority to give you permission to use it. The
author's name can be found near the top of each
source file. If it says "Steve Kirkendall" then you
may use it; otherwise, you'd better contact the
author first.
Please don't remove my name from the source code. If
you modify the source, please make a note of that
fact in a comment near the top of the source code.
And, finally, please mention my name in your documen-
tation.
- Raw text -