Skip to content

Commit

Permalink
snapshot of project "ncurses", label v1_9_5_950917_e209
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasDickey committed Aug 7, 2016
1 parent ee0fec8 commit 07b42b9
Show file tree
Hide file tree
Showing 33 changed files with 2,829 additions and 571 deletions.
4 changes: 4 additions & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
./man/curs_insstr.3x
./man/curs_instr.3x
./man/curs_kernel.3x
./man/curs_mouse.3x
./man/curs_move.3x
./man/curs_outopts.3x
./man/curs_overlay.3x
Expand Down Expand Up @@ -106,6 +107,7 @@
./man/terminfo.5
./man/tic.1m
./man/tput.1
./man/tset.1
./menu/Makefile.in
./menu/READ.ME
./menu/eti.h
Expand Down Expand Up @@ -183,6 +185,7 @@
./ncurses/lib_isendwin.c
./ncurses/lib_kernel.c
./ncurses/lib_longname.c
./ncurses/lib_mouse.c
./ncurses/lib_move.c
./ncurses/lib_mvcur.c
./ncurses/lib_mvwin.c
Expand Down Expand Up @@ -236,6 +239,7 @@
./progs/modules
./progs/termsort.sh
./progs/tput.c
./progs/tset.c
./progs/write_entry.c
./shlib
./test/Makefile.in
Expand Down
12 changes: 7 additions & 5 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,11 @@ The utilities are as follows:
infocmp -- terminfo binary to source decompiler/comparator
clear -- emits clear-screen for current terminal
tput -- shell-script access to terminal capabilities.
tset -- terminal-initialization utility

The first two are used for manipulating terminfo descriptions; the last two
are for use in shell scripts. The source code for all of these lives in the
`progs' directory.
The first two are used for manipulating terminfo descriptions; the next two
are for use in shell scripts. The last is provided for 4.4BSD compatibility.
The source code for all of these lives in the `progs' directory.

Detailed documentation for all libraries and utilities can be found in
the `man' directory. An HTML introduction to ncurses, panels, and
Expand Down Expand Up @@ -102,11 +103,12 @@ Zeyd M. Ben-Halim:
Port of original to Linux and many enhancements.

Eric S. Raymond:
the man pages, infocmp(1), tput(1), clear(1), captoinfo(1),
the man pages, infocmp(1), tput(1), clear(1), captoinfo(1), tset(1),
most of tic(1), src/lib_twait.c, trace levels, the HTML intro,
wgetnstr() and many other entry points, the A_PCCHARSET code,
the cursor-movement optimization, the scroll-pack optimizer
for vertical motions, and the ncurses test program.
for vertical motions, the mouse interface and xterm mouse support,
and the ncurses test program.

CONTRIBUTORS:

Expand Down
14 changes: 10 additions & 4 deletions TO-DO
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ Untested features:

LONGER-TERM TO-DO ITEMS:

1. Extended COSE conformance
1. Extended mouse support via gpm integration

We have mouse support under xterm now, implemented and documented. The
next step is to add code to lib_getch.c that can detect Alessandro Rubini's
GPM server and use it to implement the same interface.

2. Extended COSE conformance

There is an XPG4 standard recently released which describes a superset
of the SVr4 API. The library is BASE conformant with this standard.
Expand Down Expand Up @@ -96,21 +102,21 @@ need better multi-locale support guarantees from the OS to finish this.
If you are working on internationalization support, please contact us so
we can cooperate.

2. DOS port
3. DOS port

Only 16 of the 55 files in the library depend on the terminfo format.
It should be possible to further kernelize the package, then rewrite
a small number of core files to produce a functionally-compatible
port that would do updates to a memory-mapped screen area. The first
result of this would be a DOS port.

3. X port
4. X port

It would be nice if ncurses could recognize when it was running under X and
maintain its own window. With this feature, all ncurses programs would
automatically become X programs.

4. Unused capabilities
5. Unused capabilities

The currently unused capabilities fall naturally into several groups:

Expand Down
16 changes: 13 additions & 3 deletions announce.html.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ The ncurses code was developed under Linux. It should port easily to
any ANSI/POSIX-conforming UNIX.<P>

The distribution includes the library and support utilities, including a
terminfo compiler tic(1), a decompiler infocmp(1), clear(1), tput(1), and a
termcap conversion tool captoinfo(1). Full manual pages are provided for
terminfo compiler tic(1), a decompiler infocmp(1), clear(1), tput(1), tset(1),
and a termcap conversion tool captoinfo(1). Full manual pages are provided for
the library and tools. <P>

The ncurses distribution is available at:
Expand Down Expand Up @@ -61,6 +61,7 @@ a stack of windows with backing store, is included. <P>
a uniform but flexible interface for menu programming, is included. <P>
<LI> (PC-clone boxes only) Support for access to the IBM PC ROM characters
through a new highlight, A_PCCHARSET. <P>
<LI> Support for mouse event reporting under xterm.
<LI> Automatic fallback to the /etc/termcap file can be compiled in
for systems withould a terminfo tree. This feature is neither
fast nor cheap, you don't want to use it unless you have to,
Expand Down Expand Up @@ -94,7 +95,7 @@ including: <P>
<DT> u386mon
<DD> System performance monitor for SVr4
<DT> nvi
<DD> New vi alpha version 1.1.34
<DD> New vi alpha versions 1.1.50 and later use ncurses
</DL>

The ncurses distribution includes a selection of test programs.
Expand All @@ -120,6 +121,7 @@ testing of this package. <P>

<H2>Future Plans</H2>
<UL>
<LI> Mouse support via Alessandro Rubini's gpm package.
<LI> Extended-level XPG4 conformance, with internationalization support. <P>
<LI> Ports to more systems, including DOS and Windows.
</UL>
Expand All @@ -137,6 +139,14 @@ You can download either the <A HREF="terminfo/termcap.gz">termcap</A> or
<A HREF="terminfo/terminfo.gz">terminfo</A> versions of the terminal-type
database from Eric's ncurses resource page,
<A HREF="http://www.ccil.org/~esr/ncurses.html">http://www.ccil.org/~esr/ncurses.html</A>. <P>

<H2>Related Resources</H2>

You can find lots of information on terminal switch settings and other things
not covered in the terminfo file at
<A HREF="http://www.cs.utk.edu/~shuford/terminal_index.html">Richard Shuford's
archive</A>.

<HR>
<ADDRESS>Eric S. Raymond &lt;esr@snark.thyrsus.com&gt;</ADDRESS>
</BODY>
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ NC_LINK_DATAONLY
NC_SPEED_TYPE

### Checks for library functions.
AC_CHECK_FUNCS(sigaction usleep strerror setvbuf setbuffer vsscanf)
AC_CHECK_FUNCS(sigaction usleep strerror setvbuf setbuffer vsscanf getttynam)

if test $ac_cv_func_sigaction = yes; then
AC_MSG_CHECKING(whether sigaction needs _POSIX_SOURCE)
Expand Down
11 changes: 6 additions & 5 deletions dist.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ dist: ANNOUNCE INTRO
(cd ..; tar cvf ncurses-$(VERSION).tar `sed <ncurses-$(VERSION)/MANIFEST 's/^./ncurses-$(VERSION)/'`; gzip ncurses-$(VERSION).tar)

stamp:
(cd include;\
(cd include; \
for N in MKterm.h.awk termcap.h curses.h unctrl.h; do \
rm -f $$N; sed 's,@VERSION@,$(VERSION),' <$$N.in >$$N; done)


# Don't mess with announce.html.in unless you have lynx available!
ANNOUNCE: announce.html.in
sed 's,@VERSION@,$(VERSION),' <announce.html.in >announce.html
lynx -dump announce.html > ANNOUNCE
ANNOUNCE: announce.html
lynx -dump $^ >ANNOUNCE
announce.html: announce.html.in
sed 's,@VERSION@,$(VERSION),' <$^ >announce.html

INTRO: misc/ncurses-intro.html
lynx -dump $^ > misc/ncurses-intro.doc
Expand All @@ -41,3 +41,4 @@ EXCEPTIONS = "announce.html\\|ANNOUNCE\\|src/curses.h\\|misc/ncurses-intro.doc"
writelock:
for x in `grep -v $(EXCEPTIONS) MANIFEST`; do if [ ! -f `dirname $$x`/RCS/`basename $$x`,v ]; then chmod a-w $${x}; fi; done

# Makefile ends here
Loading

0 comments on commit 07b42b9

Please sign in to comment.