head	1.2;
access;
symbols
	RELENG_8_4:1.2.0.18
	RELENG_9_1_0_RELEASE:1.2
	RELENG_9_1:1.2.0.16
	RELENG_9_1_BP:1.2
	RELENG_8_3_0_RELEASE:1.2
	RELENG_8_3:1.2.0.14
	RELENG_8_3_BP:1.2
	RELENG_9_0_0_RELEASE:1.2
	RELENG_9_0:1.2.0.12
	RELENG_9_0_BP:1.2
	RELENG_9:1.2.0.10
	RELENG_9_BP:1.2
	RELENG_7_4_0_RELEASE:1.1.1.6
	RELENG_8_2_0_RELEASE:1.2
	RELENG_7_4:1.1.1.6.0.12
	RELENG_7_4_BP:1.1.1.6
	RELENG_8_2:1.2.0.8
	RELENG_8_2_BP:1.2
	RELENG_8_1_0_RELEASE:1.2
	RELENG_8_1:1.2.0.6
	RELENG_8_1_BP:1.2
	RELENG_7_3_0_RELEASE:1.1.1.6
	RELENG_7_3:1.1.1.6.0.10
	RELENG_7_3_BP:1.1.1.6
	RELENG_8_0_0_RELEASE:1.2
	RELENG_8_0:1.2.0.4
	RELENG_8_0_BP:1.2
	RELENG_8:1.2.0.2
	RELENG_8_BP:1.2
	RELENG_7_2_0_RELEASE:1.1.1.6
	RELENG_7_2:1.1.1.6.0.8
	RELENG_7_2_BP:1.1.1.6
	RELENG_7_1_0_RELEASE:1.1.1.6
	RELENG_6_4_0_RELEASE:1.1.1.5.14.1
	RELENG_7_1:1.1.1.6.0.6
	RELENG_7_1_BP:1.1.1.6
	RELENG_6_4:1.1.1.5.14.1.0.4
	RELENG_6_4_BP:1.1.1.5.14.1
	v5_6_20080503:1.1.1.6
	RELENG_7_0_0_RELEASE:1.1.1.6
	v5_6_20080209:1.1.1.6
	RELENG_6_3_0_RELEASE:1.1.1.5.14.1
	v5_6_20071222:1.1.1.6
	RELENG_7_0:1.1.1.6.0.4
	RELENG_7_0_BP:1.1.1.6
	RELENG_6_3:1.1.1.5.14.1.0.2
	RELENG_6_3_BP:1.1.1.5.14.1
	RELENG_7:1.1.1.6.0.2
	RELENG_7_BP:1.1.1.6
	v5_6_20061217:1.1.1.6
	RELENG_6_2_0_RELEASE:1.1.1.5
	RELENG_6_2:1.1.1.5.0.22
	RELENG_6_2_BP:1.1.1.5
	RELENG_5_5_0_RELEASE:1.1.1.5
	RELENG_5_5:1.1.1.5.0.20
	RELENG_5_5_BP:1.1.1.5
	RELENG_6_1_0_RELEASE:1.1.1.5
	RELENG_6_1:1.1.1.5.0.18
	RELENG_6_1_BP:1.1.1.5
	RELENG_6_0_0_RELEASE:1.1.1.5
	RELENG_6_0:1.1.1.5.0.16
	RELENG_6_0_BP:1.1.1.5
	RELENG_6:1.1.1.5.0.14
	RELENG_6_BP:1.1.1.5
	RELENG_5_4_0_RELEASE:1.1.1.5
	RELENG_5_4:1.1.1.5.0.12
	RELENG_5_4_BP:1.1.1.5
	RELENG_4_11_0_RELEASE:1.1.1.2.2.2
	RELENG_4_11:1.1.1.2.2.2.0.18
	RELENG_4_11_BP:1.1.1.2.2.2
	RELENG_5_3_0_RELEASE:1.1.1.5
	RELENG_5_3:1.1.1.5.0.10
	RELENG_5_3_BP:1.1.1.5
	RELENG_5:1.1.1.5.0.8
	RELENG_5_BP:1.1.1.5
	RELENG_4_10_0_RELEASE:1.1.1.2.2.2
	RELENG_4_10:1.1.1.2.2.2.0.16
	RELENG_4_10_BP:1.1.1.2.2.2
	RELENG_5_2_1_RELEASE:1.1.1.5
	RELENG_5_2_0_RELEASE:1.1.1.5
	RELENG_5_2:1.1.1.5.0.6
	RELENG_5_2_BP:1.1.1.5
	RELENG_4_9_0_RELEASE:1.1.1.2.2.2
	RELENG_4_9:1.1.1.2.2.2.0.14
	RELENG_4_9_BP:1.1.1.2.2.2
	RELENG_5_1_0_RELEASE:1.1.1.5
	RELENG_5_1:1.1.1.5.0.4
	RELENG_5_1_BP:1.1.1.5
	RELENG_4_8_0_RELEASE:1.1.1.2.2.2
	RELENG_4_8:1.1.1.2.2.2.0.12
	RELENG_4_8_BP:1.1.1.2.2.2
	RELENG_5_0_0_RELEASE:1.1.1.5
	RELENG_5_0:1.1.1.5.0.2
	RELENG_5_0_BP:1.1.1.5
	RELENG_4_7_0_RELEASE:1.1.1.2.2.2
	RELENG_4_7:1.1.1.2.2.2.0.10
	RELENG_4_7_BP:1.1.1.2.2.2
	RELENG_4_6_2_RELEASE:1.1.1.2.2.2
	RELENG_4_6_1_RELEASE:1.1.1.2.2.2
	v5_2_20020615:1.1.1.5
	RELENG_4_6_0_RELEASE:1.1.1.2.2.2
	RELENG_4_6:1.1.1.2.2.2.0.8
	RELENG_4_6_BP:1.1.1.2.2.2
	v5_2_20020518:1.1.1.5
	RELENG_4_5_0_RELEASE:1.1.1.2.2.2
	RELENG_4_5:1.1.1.2.2.2.0.6
	RELENG_4_5_BP:1.1.1.2.2.2
	RELENG_4_4_0_RELEASE:1.1.1.2.2.2
	RELENG_4_4:1.1.1.2.2.2.0.4
	RELENG_4_4_BP:1.1.1.2.2.2
	v5_2_20010512:1.1.1.5
	RELENG_4_3_0_RELEASE:1.1.1.2.2.2
	RELENG_4_3:1.1.1.2.2.2.0.2
	RELENG_4_3_BP:1.1.1.2.2.2
	RELENG_4_2_0_RELEASE:1.1.1.2.2.2
	v5_1_20001009:1.1.1.4
	RELENG_4_1_1_RELEASE:1.1.1.2.2.1
	PRE_SMPNG:1.1.1.3
	RELENG_4_1_0_RELEASE:1.1.1.2.2.1
	v5_1_20000701:1.1.1.3
	RELENG_4_0_0_RELEASE:1.1.1.2
	RELENG_4:1.1.1.2.0.2
	RELENG_4_BP:1.1.1.2
	v5_0:1.1.1.2
	v5_0_990821:1.1.1.1
	NCURSES:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2008.11.15.09.23.48;	author rafan;	state Exp;
branches
	1.2.18.1;
next	1.1;

1.1
date	99.08.24.01.06.35;	author peter;	state Exp;
branches
	1.1.1.1;
next	;

1.2.18.1
date	2008.11.15.09.23.48;	author svnexp;	state dead;
branches;
next	1.2.18.2;

1.2.18.2
date	2013.03.28.13.01.39;	author svnexp;	state Exp;
branches;
next	;

1.1.1.1
date	99.08.24.01.06.35;	author peter;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2000.01.26.16.33.45;	author peter;	state Exp;
branches
	1.1.1.2.2.1;
next	1.1.1.3;

1.1.1.3
date	2000.07.03.09.22.36;	author peter;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2000.10.11.07.28.29;	author peter;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	2001.05.17.08.21.01;	author peter;	state Exp;
branches
	1.1.1.5.14.1;
next	1.1.1.6;

1.1.1.6
date	2007.01.20.07.31.59;	author rafan;	state Exp;
branches;
next	;

1.1.1.2.2.1
date	2000.07.10.09.54.13;	author ps;	state Exp;
branches;
next	1.1.1.2.2.2;

1.1.1.2.2.2
date	2000.10.12.18.40.34;	author peter;	state Exp;
branches;
next	;

1.1.1.5.14.1
date	2007.04.06.17.49.45;	author rafan;	state Exp;
branches;
next	;


desc
@@


1.2
log
@SVN rev 184989 on 2008-11-15 09:23:48Z by rafan

- Update ncurses to 5.7-20081102 (5.7 release) and build glue
- This also removes $FreeBSD$ from two now unmodifed source files
  ncurses/tinfo/lib_raw.c and ncurses/tinfo/lib_baudrate.c

MFC after:	2 months (after 7.1 and 6.4 are released)
@
text
@                            Announcing ncurses 5.7

   The  ncurses  (new  curses)  library  is  a free software emulation of
   curses  in  System  V  Release 4.0, and more. It uses terminfo format,
   supports  pads  and color and multiple highlights and forms characters
   and   function-key   mapping,   and  has  all  the  other  SYSV-curses
   enhancements over BSD curses.

   In  mid-June  1995,  the  maintainer of 4.4BSD curses declared that he
   considered  4.4BSD curses obsolete, and encouraged the keepers of Unix
   releases such as BSD/OS, FreeBSD and NetBSD to switch over to ncurses.

   The ncurses code was developed under GNU/Linux. It has been in use for
   some  time  with  OpenBSD as the system curses library, and on FreeBSD
   and  NetBSD  as  an  external  package.  It  should port easily to any
   ANSI/POSIX-conforming UNIX. It has even been ported to OS/2 Warp!

   The distribution includes the library and support utilities, including
   a   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.

   The  ncurses  distribution  is  available via anonymous FTP at the GNU
   distribution site [1]ftp://ftp.gnu.org/gnu/ncurses/ .
   It is also available at [2]ftp://invisible-island.net/ncurses/ .

                                 Release Notes

   This  release  is  designed  to  be upward compatible from ncurses 5.0
   through   5.6;  very  few  applications  will  require  recompilation,
   depending   on  the  platform.  These  are  the  highlights  from  the
   change-log since ncurses 5.6 release.

   Interface changes:
     * generate linkable stubs for some macros:
       getattrs

   New features and improvements:
     * library
          + new  flavor  of  the  ncurses  library  provides  rudimentary
            support  for  POSIX threads. Several functions are reentrant,
            but most require either a window-level or screen-level mutex.
            (This  is  API-compatible,  but  not  ABI-compatible with the
            normal library).
          + add  NCURSES_OPAQUE  symbol  to  curses.h,  will  use to make
            structs opaque in selected configurations.
          + add   NCURSES_EXT_FUNCS  and  NCURSES_EXT_COLORS  symbols  to
            curses.h to make it simpler to tell if the extended functions
            and/or colors are declared.
          + add wresize() to C++ binding
          + eliminate fixed-buffer vsprintf() calls in C++ binding.
          + add  several  functions to C++ binding which wrap C functions
            that pass a WINDOW* parameter.
          + adapt mouse-handling code from menu library in form-library
          + improve  tracing  for  form  library,  showing created forms,
            fields, etc.
          + make $NCURSES_NO_PADDING feature work for termcap interface .
          + add  check  to  trace-file  open,  if  the  given  name  is a
            directory, add ".log" to the name and try again.
          + several   new   manpages:  curs_legacy.3x,  curs_memleaks.3x,
            curs_opaque.3x and curs_threads.3x
     * programs:
          + modified  three  test-programs  to  demonstrate the threading
            support in this version: ditto, rain, worm.
          + several    new    test-programs:   demo_panels,   dots_mvcur,
            inch_wide,    inchs,    key_name,    key_names,   savescreen,
            savescreen.sh    test_arrays,   test_get_wstr,   test_getstr,
            test_instr, test_inwstr and test_opaque.
          + add adacurses-config to the Ada95 install.
          + modify  tic  -f option to format spaces as \s to prevent them
            from  being  lost  when  that  is  read  back  in unformatted
            strings.
          + The tack program is now distributed separately from ncurses.
     * terminal database
          + added entries:
               o Eterm-256color, Eterm-88color and rxvt-88color
               o aterm
               o konsole-256color
               o mrxvt
               o screen.mlterm
               o screen.rxvt
               o teraterm4.59  is now the primary primary teraterm entry,
                 renamed original to teraterm2.3
               o 9term terminal
               o Newbury Data entries
          + updated/improved entries:
               o gnome to version 2.22.3
               o h19, z100
               o konsole to version 1.6.6
               o mlterm, mlterm+pcfkeys
               o xterm, and building-blocks for function-keys to [3]xterm
                 patch #230.

   Major bug fixes:
     * add   logic   to   tic  for  cancelling  strings  in  user-defined
       capabilities (this is needed for current konsole terminfo entry).
     * modify  mk-1st.awk  so the generated makefile rules for linking or
       installing  shared  libraries  do not first remove the library, in
       case it is in use, e.g., libncurses.so by /bin/sh.
     * correct check for notimeout() in wgetch().
     * fix a sign-extension bug in infocmp's repair_acsc() function.
     * change winnstr() to stop at the end of the line.
     * make Ada95 demo_panels() example work.
     * fix for adding a non-spacing character at the beginning of a line.
     * fill   in   extended-color   pair   to   make   colors   work  for
       wide-characters using extended-colors.
     * improve  refresh  of  window  on  top  of multi-column characters,
       taking   into   account  split  characters  on  left/right  window
       boundaries.
     * modify  win_wchnstr()  to ensure that only a base cell is returned
       for each multi-column character.
     * improve waddch() and winsch() handling of EILSEQ from mbrtowc() by
       using  unctrl()  to  display  illegal  bytes rather than trying to
       append further bytes to make up a valid sequence.
     * restore curs_set() state after endwin()/refresh()
     * modify  keyname() to use "^X" form only if meta() has been called,
       or  if  keyname() is called without initializing curses, e.g., via
       initscr() or newterm().
     * modify  unctrl() to check codes in 128-255 range versus isprint().
       If  they  are not printable, and locale was set, use a "M-" or "~"
       sequence.
     * improve  resizeterm()  by  moving ripped-off lines, and repainting
       the soft-keys.
     * modify  form  library to accept control characters such as newline
       in set_field_buffer(), which is compatible with Solaris.
     * use  NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc.,
       to   make   those   work   properly  with  the  --enable-ext-mouse
       configuration
     * correct  some  functions  in Ada95 binding which were using return
       value from C where none was returned.
     * reviewed/fixed issues reported by Coverity and Klocwork tools.

   Portability:
     * configure script:
          + new options:

              --disable-big-strings
                      control  whether static string tables are generated
                      as   single   large  strings  (to  improve  startup
                      performance), or as array of individual strings.

              --disable-relink
                      control   whether  shared  libraries  are  relinked
                      (during install) when rpath is enabled.

              --disable-tic-depends
                      make   explicit  whether  tic  library  depends  on
                      ncurses/ncursesw library.

              --enable-mixed-case
                      override   the  configure  script's  check  if  the
                      filesystem   supports  mixed-case  filenames.  This
                      allows  one  to  control  how the terminal database
                      maps to the filesystem. For filesystems that do not
                      support   mixed-case,  the  library  uses  generate
                      2-character (hexadecimal) codes for the lower-level
                      of the filesystem terminfo database

              --enable-reentrant
                      builds  a  different  flavor of the ncurses library
                      (ncursest)  which  improves  reentrant  use  of the
                      library  by  reducing  global  and static variables
                      (see  the  "--with-pthread" option for the threaded
                      support).

              --enable-weak-symbols
                      use  weak-symbols  for  linking to the POSIX thread
                      library,  and  use  the same soname for the ncurses
                      shared  library  as the normal library (caveat: the
                      ABI is for the threaded library, which makes global
                      data accessed via functions).

              --with-pthread
                      build  with  the  POSIX thread library (tested with
                      AIX,   Linux,   FreeBSD,   OpenBSD,  HPUX,  IRIX64,
                      Solaris, Tru64).

              --with-ticlib
                      build/install   the   tic-support  functions  in  a
                      separate library

          + improved options:

              --enable-ext-colors
                      requires the wide-character configuration.

              --with-chtype
                      ignore  option  value "unsigned" is always added to
                      the   type   in   curses.h;   do   the   same   for
                      --with-mmask-t.

              --with-dmalloc
                      build-fix for redefinition of strndup.

              --with-hashed-db
                      accepts  a parameter which is the install-prefix of
                      a given Berkeley Database.

              --with-hashed-db
                      the $LIBS environment variable overrides the search
                      for the db library.

              --without-hashed-db
                      assumed when "--disable-database" is used.

     * other configure/build issues:
          + build-fixes for LynxOS
          + modify  shared-library  rules  to  allow  FreeBSD  3.x to use
            rpath.
          + build-fix for FreeBSD "contemporary" TTY interface.
          + build-fixes for AIX with libtool.
          + build-fixes for Darwin and libtool.
          + modify BeOS-specific ifdef's to build on Haiku.
          + corrected  gcc  options  for  building  shared  libraries  on
            Solaris and IRIX64.
          + change  shared-library  configuration for OpenBSD, make rpath
            work.
          + build-fixes for using libutf8, e.g., on OpenBSD 3.7
          + add   "-e"  option  in  ncurses/Makefile.in  when  generating
            source-files  to  force earlier exit if the build environment
            fails unexpectedly.
          + add support for shared libraries for QNX.
          + change  delimiter  in  MKlib_gen.sh from '%' to '@@', to avoid
            substitution  by  IBM xlc to '#' as part of its extensions to
            digraphs.
     * library:
          + rewrite  wrapper  for  wcrtomb(),  making it work on Solaris.
            This  is  used in the form library to determine the length of
            the buffer needed by field_buffer.
          + add/use  configure  script  macro  CF_SIG_ATOMIC_T,  use  the
            corresponding type for data manipulated by signal handlers.
          + set locale in misc/ncurses-config.in since it uses a range
          + disable  GPM  mouse  support  when  $TERM  does not happen to
            contain  "linux",  since  Gpm_Open()  no  longer  limits  its
            assertion  to  terminals  that  it might handle, e.g., within
            "screen" in xterm.
          + reset mouse file-descriptor when unloading GPM library.
     * test programs:
          + update  test  programs to build/work with various UNIX curses
            for comparisons.

                              Features of Ncurses

   The ncurses package is fully compatible with SVr4 (System V Release 4)
   curses:
     * All  257  of  the  SVr4  calls  have  been  implemented  (and  are
       documented).
     * Full  support for SVr4 curses features including keyboard mapping,
       color,   forms-drawing   with   ACS   characters,   and  automatic
       recognition of keypad and function keys.
     * An  emulation  of  the  SVr4 panels library, supporting a stack of
       windows with backing store, is included.
     * An  emulation  of the SVr4 menus library, supporting a uniform but
       flexible interface for menu programming, is included.
     * An  emulation of the SVr4 form library, supporting data collection
       through on-screen forms, is included.
     * Binary   terminfo   entries   generated   by  the  ncurses  tic(1)
       implementation  are  bit-for-bit-compatible  with the entry format
       SVr4 curses uses.
     * The utilities have options to allow you to filter terminfo entries
       for  use  with  less  capable curses/terminfo versions such as the
       HP/UX and AIX ports.

   The ncurses package also has many useful extensions over SVr4:
     * The  API  is 8-bit clean and base-level conformant with the X/OPEN
       curses  specification, XSI curses (that is, it implements all BASE
       level  features,  and  most  EXTENDED  features). It includes many
       function calls not supported under SVr4 curses (but portability of
       all calls is documented so you can use the SVr4 subset only).
     * Unlike  SVr3 curses, ncurses can write to the rightmost-bottommost
       corner  of  the  screen  if  your terminal has an insert-character
       capability.
     * Ada95 and C++ bindings.
     * Support  for mouse event reporting with X Window xterm and FreeBSD
       and OS/2 console windows.
     * Extended mouse support via Alessandro Rubini's gpm package.
     * The  function  wresize()  allows you to resize windows, preserving
       their data.
     * The function use_default_colors() allows you to use the terminal's
       default colors for the default color pair, achieving the effect of
       transparent colors.
     * The functions keyok() and define_key() allow you to better control
       the  use  of function keys, e.g., disabling the ncurses KEY_MOUSE,
       or  by  defining  more than one control sequence to map to a given
       key code.
     * Support  for  256-color  terminals,  such  as  modern  xterm, when
       configured using the --enable-ext-colors option.
     * Support for 16-color terminals, such as aixterm and modern xterm.
     * Better  cursor-movement  optimization.  The package now features a
       cursor-local-movement computation more efficient than either BSD's
       or System V's.
     * Super   hardware   scrolling   support.   The  screen-update  code
       incorporates  a novel, simple, and cheap algorithm that enables it
       to  make  optimal  use  of hardware scrolling, line-insertion, and
       line-deletion  for  screen-line  movements. This algorithm is more
       powerful than the 4.4BSD curses quickch() routine.
     * Real  support  for  terminals  with  the  magic-cookie glitch. The
       screen-update  code  will  refrain from drawing a highlight if the
       magic-   cookie  unattributed  spaces  required  just  before  the
       beginning  and  after the end would step on a non-space character.
       It  will  automatically  shift  highlight boundaries when doing so
       would  make it possible to draw the highlight without changing the
       visual appearance of the screen.
     * It  is  possible to generate the library with a list of pre-loaded
       fallback  entries linked to it so that it can serve those terminal
       types  even  when  no  terminfo tree or termcap file is accessible
       (this  may  be useful for support of screen-oriented programs that
       must run in single-user mode).
     * The tic(1)/captoinfo utility provided with ncurses has the ability
       to  translate many termcaps from the XENIX, IBM and AT&T extension
       sets.
     * A BSD-like tset(1) utility is provided.
     * The ncurses library and utilities will automatically read terminfo
       entries  from  $HOME/.terminfo  if  it exists, and compile to that
       directory  if  it  exists  and the user has no write access to the
       system  directory.  This feature makes it easier for users to have
       personal  terminfo  entries without giving up access to the system
       terminfo directory.
     * You  may  specify  a  path  of  directories to search for compiled
       descriptions  with  the  environment  variable TERMINFO_DIRS (this
       generalizes  the  feature  provided by TERMINFO under stock System
       V.)
     * In  terminfo  source files, use capabilities may refer not just to
       other entries in the same source file (as in System V) but also to
       compiled  entries  in  either the system terminfo directory or the
       user's $HOME/.terminfo directory.
     * A  script  (capconvert)  is  provided to help BSD users transition
       from  termcap to terminfo. It gathers the information in a TERMCAP
       environment  variable  and/or  a ~/.termcap local entries file and
       converts   it   to   an   equivalent  local  terminfo  tree  under
       $HOME/.terminfo.
     * Automatic  fallback  to  the  /etc/termcap file can be compiled in
       when  it is not possible to build a terminfo tree. This feature is
       neither  fast  nor cheap, you don't want to use it unless you have
       to, but it's there.
     * The  table-of-entries  utility  toe makes it easy for users to see
       exactly what terminal types are available on the system.
     * The library meets the XSI requirement that every macro entry point
       have  a  corresponding  function  which may be linked (and will be
       prototype-checked)  if  the  macro  definition  is  disabled  with
       #undef.
     * An  HTML  "Introduction  to  Programming  with  NCURSES"  document
       provides  a  narrative  introduction  to  the  curses  programming
       interface.

                             State of the Package

   Numerous bugs present in earlier versions have been fixed; the library
   is  far  more  reliable  than  it  used to be. Bounds checking in many
   `dangerous'  entry points has been improved. The code is now type-safe
   according  to gcc -Wall. The library has been checked for malloc leaks
   and arena corruption by the Purify memory-allocation tester.

   The  ncurses  code has been tested with a wide variety of applications
   including (versions starting with those noted):

   cdk
          Curses Development Kit
          [4]http://invisible-island.net/cdk/
          [5]http://www.vexus.ca/products/CDK/

   ded
          directory-editor
          [6]http://invisible-island.net/ded/

   dialog
          the  underlying  application used in Slackware's setup, and the
          basis for similar applications on GNU/Linux.
          [7]http://invisible-island.net/dialog/

   lynx
          the character-screen WWW browser
          [8]http://lynx.isc.org/release/

   Midnight Commander
          file manager
          [9]http://www.ibiblio.org/mc/

   mutt
          mail utility
          [10]http://www.mutt.org/

   ncftp
          file-transfer utility
          [11]http://www.ncftp.com/

   nvi
          New vi versions 1.50 are able to use ncurses versions 1.9.7 and
          later.
          [12]http://www.bostic.com/vi/

   pinfo
          Lynx-like info browser.
          [13]https://alioth.debian.org/projects/pinfo/

   tin
          newsreader, supporting color, MIME [14]http://www.tin.org/

   as well as some that use ncurses for the terminfo support alone:

   minicom
          terminal emulator
          [15]http://alioth.debian.org/projects/minicom/

   vile
          vi-like-emacs
          [16]http://invisible-island.net/vile/

   The  ncurses  distribution  includes  a  selection  of  test  programs
   (including a few games).

Who's Who and What's What

   Zeyd  Ben-Halim started it from a previous package pcurses, written by
   Pavel  Curtis.  Eric  S. Raymond continued development. Jrgen Pfeifer
   wrote  most of the form and menu libraries. Ongoing work is being done
   by  [17]Thomas  Dickey.  Thomas  Dickey acts as the maintainer for the
   Free  Software  Foundation,  which  holds  the  copyright  on ncurses.
   Contact the current maintainers at [18]bug-ncurses@@gnu.org.

   To   join   the   ncurses   mailing   list,   please  write  email  to
   bug-ncurses-request@@gnu.org containing the line:
             subscribe <name>@@<host.domain>

   This list is open to anyone interested in helping with the development
   and testing of this package.

   Beta  versions  of ncurses and patches to the current release are made
   available at [19]ftp://invisible-island.net/ncurses/ .

Future Plans

     * Extended-level   XPG4   conformance,   with   internationalization
       support.
     * Ports to more systems, including DOS and Windows.

   We  need  people to help with these projects. If you are interested in
   working on them, please join the ncurses list.

Other Related Resources

   The  distribution  provides  a  newer  version  of the terminfo-format
   terminal description file once maintained by [20]Eric Raymond . Unlike
   the  older  version, the termcap and terminfo data are provided in the
   same  file,  and provides several user-definable extensions beyond the
   X/Open specification.

   You  can  find  lots  of  information  on  terminal-related topics not
   covered in the terminfo file at [21]Richard Shuford's archive .

References

   1. ftp://ftp.gnu.org/gnu/ncurses/
   2. ftp://invisible-island.net/ncurses/
   3. http://invisible-island.net/xterm/xterm.log.html#xterm_230
   4. http://invisible-island.net/cdk/
   5. http://www.vexus.ca/products/CDK/
   6. http://invisible-island.net/ded/
   7. http://invisible-island.net/dialog/
   8. http://lynx.isc.org/release/
   9. http://www.ibiblio.org/mc/
  10. http://www.mutt.org/
  11. http://www.ncftp.com/
  12. http://www.bostic.com/vi/
  13. https://alioth.debian.org/projects/pinfo/
  14. http://www.tin.org/
  15. http://alioth.debian.org/projects/minicom/
  16. http://invisible-island.net/vile/
  17. mailto:dickey@@invisible-island.net
  18. mailto:bug-ncurses@@gnu.org
  19. ftp://invisible-island.net/ncurses/
  20. http://www.catb.org/~esr/terminfo/
  21. http://www.cs.utk.edu/~shuford/terminal_index.html
@


1.2.18.1
log
@file ANNOUNCE was added on branch RELENG_8_4 on 2013-03-28 13:01:39 +0000
@
text
@d1 473
@


1.2.18.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 473
                            Announcing ncurses 5.7

   The  ncurses  (new  curses)  library  is  a free software emulation of
   curses  in  System  V  Release 4.0, and more. It uses terminfo format,
   supports  pads  and color and multiple highlights and forms characters
   and   function-key   mapping,   and  has  all  the  other  SYSV-curses
   enhancements over BSD curses.

   In  mid-June  1995,  the  maintainer of 4.4BSD curses declared that he
   considered  4.4BSD curses obsolete, and encouraged the keepers of Unix
   releases such as BSD/OS, FreeBSD and NetBSD to switch over to ncurses.

   The ncurses code was developed under GNU/Linux. It has been in use for
   some  time  with  OpenBSD as the system curses library, and on FreeBSD
   and  NetBSD  as  an  external  package.  It  should port easily to any
   ANSI/POSIX-conforming UNIX. It has even been ported to OS/2 Warp!

   The distribution includes the library and support utilities, including
   a   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.

   The  ncurses  distribution  is  available via anonymous FTP at the GNU
   distribution site [1]ftp://ftp.gnu.org/gnu/ncurses/ .
   It is also available at [2]ftp://invisible-island.net/ncurses/ .

                                 Release Notes

   This  release  is  designed  to  be upward compatible from ncurses 5.0
   through   5.6;  very  few  applications  will  require  recompilation,
   depending   on  the  platform.  These  are  the  highlights  from  the
   change-log since ncurses 5.6 release.

   Interface changes:
     * generate linkable stubs for some macros:
       getattrs

   New features and improvements:
     * library
          + new  flavor  of  the  ncurses  library  provides  rudimentary
            support  for  POSIX threads. Several functions are reentrant,
            but most require either a window-level or screen-level mutex.
            (This  is  API-compatible,  but  not  ABI-compatible with the
            normal library).
          + add  NCURSES_OPAQUE  symbol  to  curses.h,  will  use to make
            structs opaque in selected configurations.
          + add   NCURSES_EXT_FUNCS  and  NCURSES_EXT_COLORS  symbols  to
            curses.h to make it simpler to tell if the extended functions
            and/or colors are declared.
          + add wresize() to C++ binding
          + eliminate fixed-buffer vsprintf() calls in C++ binding.
          + add  several  functions to C++ binding which wrap C functions
            that pass a WINDOW* parameter.
          + adapt mouse-handling code from menu library in form-library
          + improve  tracing  for  form  library,  showing created forms,
            fields, etc.
          + make $NCURSES_NO_PADDING feature work for termcap interface .
          + add  check  to  trace-file  open,  if  the  given  name  is a
            directory, add ".log" to the name and try again.
          + several   new   manpages:  curs_legacy.3x,  curs_memleaks.3x,
            curs_opaque.3x and curs_threads.3x
     * programs:
          + modified  three  test-programs  to  demonstrate the threading
            support in this version: ditto, rain, worm.
          + several    new    test-programs:   demo_panels,   dots_mvcur,
            inch_wide,    inchs,    key_name,    key_names,   savescreen,
            savescreen.sh    test_arrays,   test_get_wstr,   test_getstr,
            test_instr, test_inwstr and test_opaque.
          + add adacurses-config to the Ada95 install.
          + modify  tic  -f option to format spaces as \s to prevent them
            from  being  lost  when  that  is  read  back  in unformatted
            strings.
          + The tack program is now distributed separately from ncurses.
     * terminal database
          + added entries:
               o Eterm-256color, Eterm-88color and rxvt-88color
               o aterm
               o konsole-256color
               o mrxvt
               o screen.mlterm
               o screen.rxvt
               o teraterm4.59  is now the primary primary teraterm entry,
                 renamed original to teraterm2.3
               o 9term terminal
               o Newbury Data entries
          + updated/improved entries:
               o gnome to version 2.22.3
               o h19, z100
               o konsole to version 1.6.6
               o mlterm, mlterm+pcfkeys
               o xterm, and building-blocks for function-keys to [3]xterm
                 patch #230.

   Major bug fixes:
     * add   logic   to   tic  for  cancelling  strings  in  user-defined
       capabilities (this is needed for current konsole terminfo entry).
     * modify  mk-1st.awk  so the generated makefile rules for linking or
       installing  shared  libraries  do not first remove the library, in
       case it is in use, e.g., libncurses.so by /bin/sh.
     * correct check for notimeout() in wgetch().
     * fix a sign-extension bug in infocmp's repair_acsc() function.
     * change winnstr() to stop at the end of the line.
     * make Ada95 demo_panels() example work.
     * fix for adding a non-spacing character at the beginning of a line.
     * fill   in   extended-color   pair   to   make   colors   work  for
       wide-characters using extended-colors.
     * improve  refresh  of  window  on  top  of multi-column characters,
       taking   into   account  split  characters  on  left/right  window
       boundaries.
     * modify  win_wchnstr()  to ensure that only a base cell is returned
       for each multi-column character.
     * improve waddch() and winsch() handling of EILSEQ from mbrtowc() by
       using  unctrl()  to  display  illegal  bytes rather than trying to
       append further bytes to make up a valid sequence.
     * restore curs_set() state after endwin()/refresh()
     * modify  keyname() to use "^X" form only if meta() has been called,
       or  if  keyname() is called without initializing curses, e.g., via
       initscr() or newterm().
     * modify  unctrl() to check codes in 128-255 range versus isprint().
       If  they  are not printable, and locale was set, use a "M-" or "~"
       sequence.
     * improve  resizeterm()  by  moving ripped-off lines, and repainting
       the soft-keys.
     * modify  form  library to accept control characters such as newline
       in set_field_buffer(), which is compatible with Solaris.
     * use  NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc.,
       to   make   those   work   properly  with  the  --enable-ext-mouse
       configuration
     * correct  some  functions  in Ada95 binding which were using return
       value from C where none was returned.
     * reviewed/fixed issues reported by Coverity and Klocwork tools.

   Portability:
     * configure script:
          + new options:

              --disable-big-strings
                      control  whether static string tables are generated
                      as   single   large  strings  (to  improve  startup
                      performance), or as array of individual strings.

              --disable-relink
                      control   whether  shared  libraries  are  relinked
                      (during install) when rpath is enabled.

              --disable-tic-depends
                      make   explicit  whether  tic  library  depends  on
                      ncurses/ncursesw library.

              --enable-mixed-case
                      override   the  configure  script's  check  if  the
                      filesystem   supports  mixed-case  filenames.  This
                      allows  one  to  control  how the terminal database
                      maps to the filesystem. For filesystems that do not
                      support   mixed-case,  the  library  uses  generate
                      2-character (hexadecimal) codes for the lower-level
                      of the filesystem terminfo database

              --enable-reentrant
                      builds  a  different  flavor of the ncurses library
                      (ncursest)  which  improves  reentrant  use  of the
                      library  by  reducing  global  and static variables
                      (see  the  "--with-pthread" option for the threaded
                      support).

              --enable-weak-symbols
                      use  weak-symbols  for  linking to the POSIX thread
                      library,  and  use  the same soname for the ncurses
                      shared  library  as the normal library (caveat: the
                      ABI is for the threaded library, which makes global
                      data accessed via functions).

              --with-pthread
                      build  with  the  POSIX thread library (tested with
                      AIX,   Linux,   FreeBSD,   OpenBSD,  HPUX,  IRIX64,
                      Solaris, Tru64).

              --with-ticlib
                      build/install   the   tic-support  functions  in  a
                      separate library

          + improved options:

              --enable-ext-colors
                      requires the wide-character configuration.

              --with-chtype
                      ignore  option  value "unsigned" is always added to
                      the   type   in   curses.h;   do   the   same   for
                      --with-mmask-t.

              --with-dmalloc
                      build-fix for redefinition of strndup.

              --with-hashed-db
                      accepts  a parameter which is the install-prefix of
                      a given Berkeley Database.

              --with-hashed-db
                      the $LIBS environment variable overrides the search
                      for the db library.

              --without-hashed-db
                      assumed when "--disable-database" is used.

     * other configure/build issues:
          + build-fixes for LynxOS
          + modify  shared-library  rules  to  allow  FreeBSD  3.x to use
            rpath.
          + build-fix for FreeBSD "contemporary" TTY interface.
          + build-fixes for AIX with libtool.
          + build-fixes for Darwin and libtool.
          + modify BeOS-specific ifdef's to build on Haiku.
          + corrected  gcc  options  for  building  shared  libraries  on
            Solaris and IRIX64.
          + change  shared-library  configuration for OpenBSD, make rpath
            work.
          + build-fixes for using libutf8, e.g., on OpenBSD 3.7
          + add   "-e"  option  in  ncurses/Makefile.in  when  generating
            source-files  to  force earlier exit if the build environment
            fails unexpectedly.
          + add support for shared libraries for QNX.
          + change  delimiter  in  MKlib_gen.sh from '%' to '@@', to avoid
            substitution  by  IBM xlc to '#' as part of its extensions to
            digraphs.
     * library:
          + rewrite  wrapper  for  wcrtomb(),  making it work on Solaris.
            This  is  used in the form library to determine the length of
            the buffer needed by field_buffer.
          + add/use  configure  script  macro  CF_SIG_ATOMIC_T,  use  the
            corresponding type for data manipulated by signal handlers.
          + set locale in misc/ncurses-config.in since it uses a range
          + disable  GPM  mouse  support  when  $TERM  does not happen to
            contain  "linux",  since  Gpm_Open()  no  longer  limits  its
            assertion  to  terminals  that  it might handle, e.g., within
            "screen" in xterm.
          + reset mouse file-descriptor when unloading GPM library.
     * test programs:
          + update  test  programs to build/work with various UNIX curses
            for comparisons.

                              Features of Ncurses

   The ncurses package is fully compatible with SVr4 (System V Release 4)
   curses:
     * All  257  of  the  SVr4  calls  have  been  implemented  (and  are
       documented).
     * Full  support for SVr4 curses features including keyboard mapping,
       color,   forms-drawing   with   ACS   characters,   and  automatic
       recognition of keypad and function keys.
     * An  emulation  of  the  SVr4 panels library, supporting a stack of
       windows with backing store, is included.
     * An  emulation  of the SVr4 menus library, supporting a uniform but
       flexible interface for menu programming, is included.
     * An  emulation of the SVr4 form library, supporting data collection
       through on-screen forms, is included.
     * Binary   terminfo   entries   generated   by  the  ncurses  tic(1)
       implementation  are  bit-for-bit-compatible  with the entry format
       SVr4 curses uses.
     * The utilities have options to allow you to filter terminfo entries
       for  use  with  less  capable curses/terminfo versions such as the
       HP/UX and AIX ports.

   The ncurses package also has many useful extensions over SVr4:
     * The  API  is 8-bit clean and base-level conformant with the X/OPEN
       curses  specification, XSI curses (that is, it implements all BASE
       level  features,  and  most  EXTENDED  features). It includes many
       function calls not supported under SVr4 curses (but portability of
       all calls is documented so you can use the SVr4 subset only).
     * Unlike  SVr3 curses, ncurses can write to the rightmost-bottommost
       corner  of  the  screen  if  your terminal has an insert-character
       capability.
     * Ada95 and C++ bindings.
     * Support  for mouse event reporting with X Window xterm and FreeBSD
       and OS/2 console windows.
     * Extended mouse support via Alessandro Rubini's gpm package.
     * The  function  wresize()  allows you to resize windows, preserving
       their data.
     * The function use_default_colors() allows you to use the terminal's
       default colors for the default color pair, achieving the effect of
       transparent colors.
     * The functions keyok() and define_key() allow you to better control
       the  use  of function keys, e.g., disabling the ncurses KEY_MOUSE,
       or  by  defining  more than one control sequence to map to a given
       key code.
     * Support  for  256-color  terminals,  such  as  modern  xterm, when
       configured using the --enable-ext-colors option.
     * Support for 16-color terminals, such as aixterm and modern xterm.
     * Better  cursor-movement  optimization.  The package now features a
       cursor-local-movement computation more efficient than either BSD's
       or System V's.
     * Super   hardware   scrolling   support.   The  screen-update  code
       incorporates  a novel, simple, and cheap algorithm that enables it
       to  make  optimal  use  of hardware scrolling, line-insertion, and
       line-deletion  for  screen-line  movements. This algorithm is more
       powerful than the 4.4BSD curses quickch() routine.
     * Real  support  for  terminals  with  the  magic-cookie glitch. The
       screen-update  code  will  refrain from drawing a highlight if the
       magic-   cookie  unattributed  spaces  required  just  before  the
       beginning  and  after the end would step on a non-space character.
       It  will  automatically  shift  highlight boundaries when doing so
       would  make it possible to draw the highlight without changing the
       visual appearance of the screen.
     * It  is  possible to generate the library with a list of pre-loaded
       fallback  entries linked to it so that it can serve those terminal
       types  even  when  no  terminfo tree or termcap file is accessible
       (this  may  be useful for support of screen-oriented programs that
       must run in single-user mode).
     * The tic(1)/captoinfo utility provided with ncurses has the ability
       to  translate many termcaps from the XENIX, IBM and AT&T extension
       sets.
     * A BSD-like tset(1) utility is provided.
     * The ncurses library and utilities will automatically read terminfo
       entries  from  $HOME/.terminfo  if  it exists, and compile to that
       directory  if  it  exists  and the user has no write access to the
       system  directory.  This feature makes it easier for users to have
       personal  terminfo  entries without giving up access to the system
       terminfo directory.
     * You  may  specify  a  path  of  directories to search for compiled
       descriptions  with  the  environment  variable TERMINFO_DIRS (this
       generalizes  the  feature  provided by TERMINFO under stock System
       V.)
     * In  terminfo  source files, use capabilities may refer not just to
       other entries in the same source file (as in System V) but also to
       compiled  entries  in  either the system terminfo directory or the
       user's $HOME/.terminfo directory.
     * A  script  (capconvert)  is  provided to help BSD users transition
       from  termcap to terminfo. It gathers the information in a TERMCAP
       environment  variable  and/or  a ~/.termcap local entries file and
       converts   it   to   an   equivalent  local  terminfo  tree  under
       $HOME/.terminfo.
     * Automatic  fallback  to  the  /etc/termcap file can be compiled in
       when  it is not possible to build a terminfo tree. This feature is
       neither  fast  nor cheap, you don't want to use it unless you have
       to, but it's there.
     * The  table-of-entries  utility  toe makes it easy for users to see
       exactly what terminal types are available on the system.
     * The library meets the XSI requirement that every macro entry point
       have  a  corresponding  function  which may be linked (and will be
       prototype-checked)  if  the  macro  definition  is  disabled  with
       #undef.
     * An  HTML  "Introduction  to  Programming  with  NCURSES"  document
       provides  a  narrative  introduction  to  the  curses  programming
       interface.

                             State of the Package

   Numerous bugs present in earlier versions have been fixed; the library
   is  far  more  reliable  than  it  used to be. Bounds checking in many
   `dangerous'  entry points has been improved. The code is now type-safe
   according  to gcc -Wall. The library has been checked for malloc leaks
   and arena corruption by the Purify memory-allocation tester.

   The  ncurses  code has been tested with a wide variety of applications
   including (versions starting with those noted):

   cdk
          Curses Development Kit
          [4]http://invisible-island.net/cdk/
          [5]http://www.vexus.ca/products/CDK/

   ded
          directory-editor
          [6]http://invisible-island.net/ded/

   dialog
          the  underlying  application used in Slackware's setup, and the
          basis for similar applications on GNU/Linux.
          [7]http://invisible-island.net/dialog/

   lynx
          the character-screen WWW browser
          [8]http://lynx.isc.org/release/

   Midnight Commander
          file manager
          [9]http://www.ibiblio.org/mc/

   mutt
          mail utility
          [10]http://www.mutt.org/

   ncftp
          file-transfer utility
          [11]http://www.ncftp.com/

   nvi
          New vi versions 1.50 are able to use ncurses versions 1.9.7 and
          later.
          [12]http://www.bostic.com/vi/

   pinfo
          Lynx-like info browser.
          [13]https://alioth.debian.org/projects/pinfo/

   tin
          newsreader, supporting color, MIME [14]http://www.tin.org/

   as well as some that use ncurses for the terminfo support alone:

   minicom
          terminal emulator
          [15]http://alioth.debian.org/projects/minicom/

   vile
          vi-like-emacs
          [16]http://invisible-island.net/vile/

   The  ncurses  distribution  includes  a  selection  of  test  programs
   (including a few games).

Who's Who and What's What

   Zeyd  Ben-Halim started it from a previous package pcurses, written by
   Pavel  Curtis.  Eric  S. Raymond continued development. Jrgen Pfeifer
   wrote  most of the form and menu libraries. Ongoing work is being done
   by  [17]Thomas  Dickey.  Thomas  Dickey acts as the maintainer for the
   Free  Software  Foundation,  which  holds  the  copyright  on ncurses.
   Contact the current maintainers at [18]bug-ncurses@@gnu.org.

   To   join   the   ncurses   mailing   list,   please  write  email  to
   bug-ncurses-request@@gnu.org containing the line:
             subscribe <name>@@<host.domain>

   This list is open to anyone interested in helping with the development
   and testing of this package.

   Beta  versions  of ncurses and patches to the current release are made
   available at [19]ftp://invisible-island.net/ncurses/ .

Future Plans

     * Extended-level   XPG4   conformance,   with   internationalization
       support.
     * Ports to more systems, including DOS and Windows.

   We  need  people to help with these projects. If you are interested in
   working on them, please join the ncurses list.

Other Related Resources

   The  distribution  provides  a  newer  version  of the terminfo-format
   terminal description file once maintained by [20]Eric Raymond . Unlike
   the  older  version, the termcap and terminfo data are provided in the
   same  file,  and provides several user-definable extensions beyond the
   X/Open specification.

   You  can  find  lots  of  information  on  terminal-related topics not
   covered in the terminfo file at [21]Richard Shuford's archive .

References

   1. ftp://ftp.gnu.org/gnu/ncurses/
   2. ftp://invisible-island.net/ncurses/
   3. http://invisible-island.net/xterm/xterm.log.html#xterm_230
   4. http://invisible-island.net/cdk/
   5. http://www.vexus.ca/products/CDK/
   6. http://invisible-island.net/ded/
   7. http://invisible-island.net/dialog/
   8. http://lynx.isc.org/release/
   9. http://www.ibiblio.org/mc/
  10. http://www.mutt.org/
  11. http://www.ncftp.com/
  12. http://www.bostic.com/vi/
  13. https://alioth.debian.org/projects/pinfo/
  14. http://www.tin.org/
  15. http://alioth.debian.org/projects/minicom/
  16. http://invisible-island.net/vile/
  17. mailto:dickey@@invisible-island.net
  18. mailto:bug-ncurses@@gnu.org
  19. ftp://invisible-island.net/ncurses/
  20. http://www.catb.org/~esr/terminfo/
  21. http://www.cs.utk.edu/~shuford/terminal_index.html
@


1.1
log
@Initial revision
@
text
@d1 1
d3 4
a6 6
                            Announcing ncurses 5.0
                                       
   The ncurses (new curses) library is a free software emulation of
   curses in System V Release 4.0, and more. It uses terminfo format,
   supports pads and color and multiple highlights and forms characters
   and function-key mapping, and has all the other SYSV-curses
d8 10
a17 10
   
   In mid-June 1995, the maintainer of 4.4BSD curses declared that he
   considered 4.4BSD curses obsolete, and is encouraging the keepers of
   Unix releases such as BSD/OS, freeBSD and netBSD to switch over to
   ncurses.
   
   The ncurses code was developed under GNU/Linux. It should port easily
   to any ANSI/POSIX-conforming UNIX. It has even been ported to OS/2
   Warp!
   
d19 2
a20 2
   a terminfo compiler tic(1), a decompiler infocmp(1), clear(1),
   tput(1), tset(1), and a termcap conversion tool captoinfo(1). Full
d22 5
a26 5
   
   The ncurses distribution is available via anonymous FTP at the GNU
   distribution site [1]ftp://ftp.gnu.org/pub/gnu. It is also available
   at [2]ftp://ftp.clark.net/pub/dickey/ncurses.
   
d28 6
a33 6
                                       
   We decided to release ncurses as a new whole number release (5.0)
   because it incorporates several interface changes, including some that
   would invalidate existing shared libraries. These are the highlights
   from the change-log since ncurses 4.2 release.
   
d35 59
a93 71
     * The principal source of changes to the interface comes from the
       release of X/Open Curses in 1997. Earlier versions of ncurses (4.0
       and before) were based on a draft version of the specification.
       The release version adds parameters to some functions to support
       the evolving internationalization of curses. These summarize the
       impact:
          + modified several prototypes to correspond with 1997 version
            of X/Open Curses (affects ABI since developers have used
            attr_get).
          + corrected prototypes for slk_* functions, using chtype rather
            than attr_t.
          + the slk_attr_{set,off,on} functions need an additional void*
            parameter according to XSI.
          + correct macros for wattr_set, wattr_get, separate wattrset
            macro from these to preserve behavior that allows attributes
            to be combined with color pair numbers.
          + reviewed/updated curses.h, term.h against X/Open Curses Issue
            4 Version 2. This includes making some parameters
            NCURSES_CONST rather than const, e.g., in termcap.h.
          + reviewed/corrected macros in curses.h as per XSI document.
          + add set_a_attributes and set_pglen_inch to terminfo
            structure, as per XSI and Solaris 2.5.
     * The newest version of the X/Open Curses is implemented on Solaris
       and other vendor's systems. It adds new features to the terminfo
       descriptions:
          + implement tparm %l format.
          + implement tparm printf-style width and precision for %s, %d,
            %x, %o as per XSI.
     * We made additional changes to reduce impact by future interface
       changes:
          + change key_names[] array to static since it is not part of
            the curses interface.
          + move macro winch to a function, to hide details of struct
            ldat
     * modify configure script to embed ABI in shared libraries for HP-UX
       10.x (detailed request by Tim Mooney).
     * modify configuration of shared libraries on Digital Unix so that
       versioning is embedded in the library, rather than implied by
       links (patch by Tim Mooney).
       
   New features:
     * enable sigwinch handler by default.
     * turn on hashmap scrolling code by default
     * improved support for termcap applications
          + modify tput to accept termcap names as an alternative to
            terminfo names.
          + provide support for termcap PC variable by copying it from
            terminfo data and using it as the padding character in tputs.
          + provide support for termcap ospeed variable by copying it
            from the internal cur_term member, and using ospeed as the
            baudrate reference for the delay_output and tputs functions.
          + change name-comparisons in lib_termcap to compare no more
            than 2 characters.
          + add configure option --enable-tcap-names, which essentially
            allows users to define new capabilities as in termcap.
     * add mouse support to ncurses menus.
     * add mouse and dll support for OS/2 EMX
     * modify terminfo parsing to accept octal and hexadecimal constants
     * add configure option --enable-no-padding, to allow environment
       variable $NCURSES_NO_PADDING to eliminate non-mandatory padding,
       thereby making terminal emulators (e.g., for vt100) a little more
       efficient.
     * modify lib_color.c to eliminate dependency on orig_colors and
       orig_pair, since SVr4 curses does not require these either, but
       uses them when they are available.
     * add -f option to infocmp and tic, which formats the terminfo
       if/then/else/endif so that they are readable (with newlines and
       tabs).
     * modify tic to compile into %'char' form in preference to
       %{number}, since that is a little more efficient.
       
d95 147
a241 31
     * modify lib_tstp.c to block SIGTTOU when handling SIGTSTP, fixes a
       problem where ncurses applications which were run via a shell
       script would hang when given a ^Z. Also, check if the terminal's
       process group is consistent, i.e., a shell has not taken ownership
       of it, before deciding to save the current terminal settings in
       the SIGTSTP handler.
     * suppress sc/rc capabilities from terminal description if they
       appear in smcup/rmcup. This affects only scrolling optimization,
       to fix a problem reported by several people with xterm's alternate
       screen, though the problem is more general.
     * modify relative_move and tputs to avoid an interaction with the
       BSD-style padding. The relative_move function could produce a
       string to replace on the screen which began with a numeric
       character, which was then interpreted by tputs as padding.
     * modify setupterm so that cancelled strings are treated the same as
       absent strings, cancelled and absent booleans false (does not
       affect tic, infocmp).
     * modify lib_vidattr.c to allow for terminal types (e.g.,
       xterm-color) which may reset all attributes in the 'op'
       capability, so that colors are set before turning on bold and
       other attributes, but still after turning attributes off.
     * use 'access()' to check if ncurses library should be permitted to
       open or modify files with fopen/open/link/unlink/remove calls, in
       case the calling application is running in setuid mode.
     * correction to doupdate, for case where terminal does not support
       insert/delete character. The logic did not check that there was a
       difference in alignment of changes to old/new screens before
       repainting the whole non-blank portion of the line. Modified to
       fall through into logic that reduces by the portion which does not
       differ.
       
d243 1
a243 1
                                       
d246 1
a246 2
   
     * All 257 of the SVr4 calls have been implemented (and are
d248 2
a249 2
     * Full support for SVr4 curses features including keyboard mapping,
       color, forms-drawing with ACS characters, and automatic
d251 1
a251 1
     * An emulation of the SVr4 panels library, supporting a stack of
d253 1
a253 1
     * An emulation of the SVr4 menus library, supporting a uniform but
d255 1
a255 1
     * An emulation of the SVr4 form library, supporting data collection
d257 2
a258 2
     * Binary terminfo entries generated by the ncurses tic(1)
       implementation are bit-for-bit-compatible with the entry format
d261 1
a261 1
       for use with less capable curses/terminfo versions such as the
d263 1
a263 1
       
d265 7
a271 10
   
     * The API is 8-bit clean and base-level conformant with the X/OPEN
       curses specification, XSI curses (that is, it implements all BASE
       level features, but not all EXTENDED features). Most
       EXTENDED-level features not directly concerned with wide-character
       support are implemented, including many function calls not
       supported under SVr4 curses (but portability of all calls is
       documented so you can use the SVr4 subset only).
     * Unlike SVr4 curses, ncurses can write to the rightmost-bottommost
       corner of the screen if your terminal has an insert-character
d274 2
a275 2
     * Support for mouse event reporting with X Window xterm and OS/2
       console windows.
d277 1
a277 1
     * The function wresize() allows you to resize windows, preserving
d283 2
a284 2
       the use of function keys, e.g., disabling the ncurses KEY_MOUSE,
       or by defining more than one control sequence to map to a given
d286 4
a289 2
     * Support for 16-color terminals, such as aixterm and XFree86 xterm.
     * Better cursor-movement optimization. The package now features a
d292 4
a295 4
     * Super hardware scrolling support. The screen-update code
       incorporates a novel, simple, and cheap algorithm that enables it
       to make optimal use of hardware scrolling, line-insertion, and
       line-deletion for screen-line movements. This algorithm is more
d297 6
a302 6
     * Real support for terminals with the magic-cookie glitch. The
       screen-update code will refrain from drawing a highlight if the
       magic- cookie unattributed spaces required just before the
       beginning and after the end would step on a non-space character.
       It will automatically shift highlight boundaries when doing so
       would make it possible to draw the highlight without changing the
d304 4
a307 4
     * It is possible to generate the library with a list of pre-loaded
       fallback entries linked to it so that it can serve those terminal
       types even when no terminfo tree or termcap file is accessible
       (this may be useful for support of screen-oriented programs that
d310 1
a310 1
       to translate many termcaps from the XENIX, IBM and AT&T extension
d314 4
a317 4
       entries from $HOME/.terminfo if it exists, and compile to that
       directory if it exists and the user has no write access to the
       system directory. This feature makes it easier for users to have
       personal terminfo entries without giving up access to the system
d319 3
a321 3
     * You may specify a path of directories to search for compiled
       descriptions with the environment variable TERMINFO_DIRS (this
       generalizes the feature provided by TERMINFO under stock System
d323 1
a323 1
     * In terminfo source files, use capabilities may refer not just to
d325 1
a325 1
       compiled entries in either the system terminfo directory or the
d327 4
a330 4
     * A script (capconvert) is provided to help BSD users transition
       from termcap to terminfo. It gathers the information in a TERMCAP
       environment variable and/or a ~/.termcap local entries file and
       converts it to an equivalent local terminfo tree under
d332 3
a334 3
     * Automatic fallback to the /etc/termcap file can be compiled in
       when it is not possible to build a terminfo tree. This feature is
       neither fast nor cheap, you don't want to use it unless you have
d336 1
a336 1
     * The table-of-entries utility toe makes it easy for users to see
d339 2
a340 2
       have a corresponding function which may be linked (and will be
       prototype-checked) if the macro definition is disabled with
d342 2
a343 2
     * An HTML "Introduction to Programming with NCURSES" document
       provides a narrative introduction to the curses programming
d345 1
a345 1
       
d347 1
a347 1
                                       
d349 3
a351 3
   is far more reliable than it used to be. Bounds checking in many
   `dangerous' entry points has been improved. The code is now type-safe
   according to gcc -Wall. The library has been checked for malloc leaks
d353 2
a354 2
   
   The ncurses code has been tested with a wide variety of applications
d356 6
a361 1
   
d363 3
a365 2
          directory-editor [3]ftp://ftp.clark.net/pub/dickey/ded.
          
d367 1
a367 1
          the underlying application used in Slackware's setup, and the
d369 3
a371 2
          
   lynx-2.7
d373 3
a375 2
          
   Midnight Commander 4.1
d377 3
a379 2
          
   mutt 0.88
d381 3
a383 2
          
   ncftp 2.0
d385 2
a386 1
          
d390 9
a398 7
          
   taper
          tape archive utility
          
   vh-1.6
          Volks-Hypertext browser for the Jargon File
          
d400 2
a401 2
   
   minicom-1.75
d403 2
a404 5
          
   tin-unoff
          tin 1.4 newsreader, supporting color, MIME
          [4]ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin-unoff.
          
d406 4
a409 3
          vi-like-emacs [5]ftp://ftp.clark.net/pub/dickey/vile.
          
   The ncurses distribution includes a selection of test programs
d411 1
a411 1
   
d414 8
a421 7
   The original developers of ncurses are [6]Zeyd Ben-Halim and [7]Eric
   S. Raymond. Ongoing work is being done by [8]Thomas Dickey and
   [9]Jrgen Pfeifer. [10]Florian La Roche acts as the maintainer for the
   Free Software Foundation, which holds the copyright on ncurses.
   Contact the current maintainers at [11]bug-ncurses@@gnu.org.
   
   To join the ncurses mailing list, please write email to
d427 4
a430 4
   
   Beta versions of ncurses and patches to the current release are made
   available at [12]ftp://ftp.clark.net/pub/dickey/ncurses.
   
d433 1
a433 1
     * Extended-level XPG4 conformance, with internationalization
d436 2
a437 2
       
   We need people to help with these projects. If you are interested in
d439 1
a439 1
   
d442 8
a449 6
   The distribution includes and uses a version of the terminfo-format
   terminal description file maintained by Eric Raymond.
   [13]http://earthspace.net/~esr/terminfo.
   
   You can find lots of information on terminal-related topics not
   covered in the terminfo file at [14]Richard Shuford's archive.
d453 21
a473 14
   1. ftp://ftp.gnu.org/pub/gnu
   2. ftp://ftp.clark.net/pub/dickey/ncurses
   3. ftp://ftp.clark.net/pub/dickey/ded
   4. ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin-unoff
   5. ftp://ftp.clark.net/pub/dickey/vile
   6. mailto:zmbenhal@@netcom.com
   7. http://www.ccil.org/~esr/home.html
   8. mailto:dickey@@clark.net
   9. mailto:juergen.pfeifer@@gmx.net
  10. mailto:florian@@gnu.org
  11. mailto:bug-ncurses@@gnu.org
  12. ftp://ftp.clark.net/pub/dickey/ncurses
  13. http://earthspace.net/~esr/terminfo
  14. http://www.cs.utk.edu/~shuford/terminal_index.html
@


1.1.1.1
log
@Import unmodified (but trimmed) ncurses 5.0 prerelease 990821.
This contains the full eti (panel, form, menu) extensions.
bmake glue to follow.

Obtained from:	ftp://ftp.clark.net/pub/dickey/ncurses
@
text
@@


1.1.1.2
log
@Import ncurses-5.0-release to update the 5.0-prerelease that we had.
@
text
@d25 2
a26 2
   distribution site [1]ftp://ftp.gnu.org/pub/gnu/ncurses. It is also
   available at [2]ftp://ftp.clark.net/pub/dickey/ncurses.
d66 2
a67 2
          + rename key_names[] array to _nc_key_names since it is not
            part of the curses interface.
d143 1
d163 1
d171 1
a171 1
     * Unlike SVr3 curses, ncurses can write to the rightmost-bottommost
a255 4
   cdk
          Curses Development Kit [3]Curses Development Kit
          [4]ftp://ftp.clark.net/pub/dickey/cdk.
          
d257 1
a257 1
          directory-editor [5]ftp://ftp.clark.net/pub/dickey/ded.
d263 1
a263 1
   lynx
d269 1
a269 1
   mutt
d272 1
a272 1
   ncftp
a278 4
   tin
          newsreader, supporting color, MIME
          [6]ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin-unoff.
          
d287 1
a287 1
   minicom
d290 4
d295 1
a295 1
          vi-like-emacs [7]ftp://ftp.clark.net/pub/dickey/vile.
d302 3
a304 3
   The original developers of ncurses are [8]Zeyd Ben-Halim and [9]Eric
   S. Raymond. Ongoing work is being done by [10]Thomas Dickey and
   [11]Jrgen Pfeifer. [12]Thomas Dickey acts as the maintainer for the
d306 1
a306 1
   Contact the current maintainers at [13]bug-ncurses@@gnu.org.
d316 1
a316 1
   available at [14]ftp://ftp.clark.net/pub/dickey/ncurses.
d331 1
a331 1
   [15]http://earthspace.net/~esr/terminfo.
d334 1
a334 1
   covered in the terminfo file at [16]Richard Shuford's archive.
d338 1
a338 1
   1. ftp://ftp.gnu.org/pub/gnu/ncurses
d340 12
a351 14
   3. http://www.vexus.ca/CDK.html
   4. ftp://ftp.clark.net/pub/dickey/cdk
   5. ftp://ftp.clark.net/pub/dickey/ded
   6. ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin-unoff
   7. ftp://ftp.clark.net/pub/dickey/vile
   8. mailto:zmbenhal@@netcom.com
   9. http://www.ccil.org/~esr/home.html
  10. mailto:dickey@@clark.net
  11. mailto:juergen.pfeifer@@gmx.net
  12. mailto:dickey@@clark.net
  13. mailto:bug-ncurses@@gnu.org
  14. ftp://ftp.clark.net/pub/dickey/ncurses
  15. http://earthspace.net/~esr/terminfo
  16. http://www.cs.utk.edu/~shuford/terminal_index.html
@


1.1.1.2.2.1
log
@MFC: ncurses 5.1 prerelease (20000701)
@
text
@d2 2
a3 2
                            Announcing ncurses 5.1

d9 1
a9 1

d14 1
a14 1

d18 1
a18 1

d23 1
a23 1

d26 2
a27 2
   available at [2]ftp://dickey.his.com/ncurses.

d29 6
a34 6

   This release is designed to be upward compatible from ncurses 5.0;
   very few applications will require recompilation, depending on the
   platform. These are the highlights from the change-log since ncurses
   5.0 release.

d36 40
a75 14
     * made the extended terminal capabilities
       (configure --enable-tcap-names) a standard feature (though the
       configure script can disable it, it is built by default).
     * removed the trace() function and related trace support from the
       production library. This is the only interface change that may
       cause problems with existing applications linked to shared
       libraries, since not all platforms use the minor version number.
     * explicitly initialized to zero several data items which were
       implicitly initialized, e.g., cur_term. If not explicitly
       initialized, their storage type is C (common), and causes problems
       linking on some platforms.
     * modified curses.h.in, undef'ing some symbols to avoid conflict
       with C++ STL.

d77 30
a106 44
     * added a new extension, assume_default_colors() to provide better
       control over the use of default colors. This is the principal
       visible difference between ncurses 5.1 and preceding versions. The
       new extension allows an application to specify what colors pair 0
       uses. It defaults to white on black, unless you have invoked
       use_default_colors().
     * made several fixes to the terminfo-to-termcap conversion, and have
       been using the generated termcaps without further hand-tuning.
       This builds on the extension use_extended_names() by adding
       "obsolete" termcap strings to terminfo.src
          + modified tic so that if extended names (i.e.,
            configure --enable-tcap-names) are active, then tic -x will
            also write "obsolete" capabilities that are present in the
            terminfo source.
          + added screen's AX capability (for ECMA SGR 39 and 49) to
            applicable terminfo entries, use presence of this as a check
            for a small improvement in setting default colors.
          + add -a option to tic and infocmp, which retains commented-out
            capabilities during source translation/comparison, e.g.,
            captoinfo and infotocap.
     * implemented limited support for UTF-8, useful with XFree86 xterm:
          + if the configure --enable-widec option is given, append 'w'
            to names of the generated libraries (e.g., libncursesw.so) to
            avoid conflict with existing ncurses libraries.
          + add a simple UTF-8 output driver to the experimental
            wide-character support. If any of the environment variables
            LC_ALL, LC_CTYPE or LANG contain the string "UTF-8", this
            driver will be used to translate the output to UTF-8.
          + modified view.c to make a rudimentary viewer of UTF-8 text.
     * modify raw() and noraw() to clear/restore IEXTEN flag which
       affects stty lnext on systems such as FreeBSD
     * reordered tests during mouse initialization to allow for gpm to
       run in xterm, or for xterm to be used under OS/2 EMX. Also dropped
       test for $DISPLAY in favor of kmous=\E[M or $TERM containing
       "xterm".
     * added configure option --with-manpage-symlinks, which provides for
       fully indexing manpage entries by making symbolic links for the
       aliases.
     * changed unctrl() to render C1 characters (128-159) as ~@@, ~A, etc.
     * add experimental configure option --enable-colorfgbg to check for
       $COLORTERM variable as set by rxvt/aterm/Eterm.
     * made the infocmp -F option less verbose.
     * dropped support for gnat 3.10 (gnat 3.12 is current).

d108 31
a138 27
     * modified infocmp -e, -E options to ensure that generated
       fallback.c type for Booleans agrees with term.h
     * documented a special case of incompatiblity between ncurses 4.2
       and 5.0, added a section for this in INSTALL.
     * corrected tests for file-descriptors in OS/2 EMX mouse support. A
       negative value could be used by FD_SET, causing the select() call
       to wait indefinitely.
     * made 'tput flash' work properly for xterm by flushing output in
       delay_output() when using napms(), and modifying xterm's terminfo
       to specify no padding character. Otherwise, xterm's reported baud
       rate could mislead ncurses into producing too few padding
       characters.
     * modified lib_addch.c to allow repeated update to the lower-right
       corner, rather than displaying only the first character written
       until the cursor is moved. Recent versions of SVr4 curses can
       update the lower-right corner, and behave this way.
     * modified echo() behavior of getch() to match Solaris curses for
       carriage return and backspace (reported by Neil Zanella).
     * corrected offsets used for subwindows in wresize()
     * modified configure script so AC_MSG_ERROR is temporarily defined
       to a warning in AC_PROG_CXX to make it recover from a missing C++
       compiler without requiring user to add --without-cxx option
     * corrected logic in lib_twait.c as used by lib_mouse.c for GPM
       mouse support when poll() is used rather than select().
     * made several fixes for buffer overflows, unchecked recursion,
       improvements in performance, etc. See the NEWS file for details.

d140 1
a140 1

d160 1
a160 1

d242 1
a242 1

d244 1
a244 1

d250 1
a250 1

d253 1
a253 1

d255 3
a257 3
          Curses Development Kit
          [3]Curses Development Kit [4]http://dickey.his.com/cdk.

d259 2
a260 3
          directory-editor
          [5]http://dickey.his.com/ded.

d264 1
a264 2
          [6]http://dickey.his.com/dialog.

d267 1
a267 2
          [7]http://lynx.isc.org/release.

d270 1
a270 1

d273 1
a273 2
          [8]http://www.mutt.org.

d276 1
a276 1

d280 1
a280 1

d283 2
a284 2
          [9]http://www.tin.org.

d287 1
a287 1

d290 1
a290 1

d292 1
a292 1

d295 1
a295 1

d297 2
a298 3
          vi-like-emacs
          [10]http://dickey.his.com/vile.

d301 1
a301 1

d304 3
a306 3
   The original developers of ncurses are [11]Zeyd Ben-Halim and [12]Eric
   S. Raymond. Ongoing work is being done by [13]Thomas Dickey and
   [14]Jrgen Pfeifer. [15]Thomas Dickey acts as the maintainer for the
d308 2
a309 2
   Contact the current maintainers at [16]bug-ncurses@@gnu.org.

d316 1
a316 1

d318 2
a319 2
   available at [17]ftp://dickey.his.com/ncurses.

d325 1
a325 1

d328 1
a328 1

d333 2
a334 2
   [18]http://earthspace.net/~esr/terminfo.

d336 1
a336 1
   covered in the terminfo file at [19]Richard Shuford's archive.
d341 1
a341 1
   2. ftp://dickey.his.com/ncurses
d343 13
a355 16
   4. http://dickey.his.com/cdk/cdk.html
   5. http://dickey.his.com/ded/ded.html
   6. http://dickey.his.com/dialog/dialog.html
   7. http://lynx.isc.org/release/
   8. http://www.mutt.org/
   9. http://www.tin.org/
  10. http://dickey.his.com/vile/vile.html
  11. mailto:zmbenhal@@netcom.com
  12. http://www.ccil.org/~esr/home.html
  13. mailto:dickey@@herndon4.his.com
  14. mailto:juergen.pfeifer@@gmx.net
  15. mailto:dickey@@herndon4.his.com
  16. mailto:bug-ncurses@@gnu.org
  17. ftp://dickey.his.com/ncurses
  18. http://earthspace.net/~esr/terminfo
  19. http://www.cs.utk.edu/~shuford/terminal_index.html
@


1.1.1.2.2.2
log
@MFC: ncurses 5.1-20001009
@
text
@d25 2
a26 2
   distribution site [1]ftp://ftp.gnu.org/pub/gnu/ncurses.
   It is also available at [2]ftp://dickey.his.com/ncurses.
d55 2
a56 6
       uses.
       NOTE: Pair 0 defaults to white on black unless you have invoked
       use_default_colors() or set it via assume_default_colors(). An
       application that calls start_colors() without setting the
       background color will consistently have a black background no
       matter what color your terminal's background actually is.
d84 2
a85 2
       test for $DISPLAY in favor of the terminfo capability kmous=\E[M
       or if $TERM environment variable contains "xterm".
d240 1
a240 2
          [3]http://www.vexus.ca/CDK.html
          [4]http://dickey.his.com/cdk.
a256 1
          [8]www.gnome.org/mc/.
d260 1
a260 1
          [9]http://www.mutt.org.
a263 1
          [10]http://www.ncftp.com.
a267 1
          [11]http://www.bostic.com/vi/.
d271 1
a271 1
          [12]http://www.tin.org.
a274 1
          [13]http://members.iinet.net.au/~yusuf/taper/.
a277 1
          [14]http://www.bg.debian.org/Packages/unstable/text/vh.html.
a282 1
          [15]http://www.pp.clinet.fi/~walker/minicom.html.
d286 1
a286 1
          [16]http://dickey.his.com/vile.
d293 3
a295 3
   The original developers of ncurses are [17]Zeyd Ben-Halim and [18]Eric
   S. Raymond. Ongoing work is being done by [19]Thomas Dickey and
   [20]Jrgen Pfeifer. [21]Thomas Dickey acts as the maintainer for the
d297 1
a297 1
   Contact the current maintainers at [22]bug-ncurses@@gnu.org.
d307 1
a307 1
   available at [23]ftp://dickey.his.com/ncurses.
d322 1
a322 1
   [24]http://earthspace.net/~esr/terminfo.
d325 1
a325 1
   covered in the terminfo file at [25]Richard Shuford's archive.
d336 12
a347 18
   8. file://localhost/usr/build/ncurses/ncurses-5.1-20000704/doc/html/www.gnome.org/mc/
   9. http://www.mutt.org/
  10. http://www.ncftp.com/
  11. http://www.bostic.com/vi/
  12. http://www.tin.org/
  13. http://members.iinet.net.au/~yusuf/taper/
  14. http://www.bg.debian.org/Packages/unstable/text/vh.html
  15. http://www.pp.clinet.fi/~walker/minicom.html
  16. http://dickey.his.com/vile/vile.html
  17. mailto:zmbenhal@@netcom.com
  18. http://www.ccil.org/~esr/home.html
  19. mailto:dickey@@herndon4.his.com
  20. mailto:juergen.pfeifer@@gmx.net
  21. mailto:dickey@@herndon4.his.com
  22. mailto:bug-ncurses@@gnu.org
  23. ftp://dickey.his.com/ncurses
  24. http://earthspace.net/~esr/terminfo
  25. http://www.cs.utk.edu/~shuford/terminal_index.html
@


1.1.1.3
log
@Import the most recent ncurses 5.1 prerelease (20000701).
Mostly this is intended to resolve the trace() badness once and for all.

Obtained from:  ftp://dickey.his.com/ncurses/
@
text
@d2 2
a3 2
                            Announcing ncurses 5.1

d9 1
a9 1

d14 1
a14 1

d18 1
a18 1

d23 1
a23 1

d26 2
a27 2
   available at [2]ftp://dickey.his.com/ncurses.

d29 6
a34 6

   This release is designed to be upward compatible from ncurses 5.0;
   very few applications will require recompilation, depending on the
   platform. These are the highlights from the change-log since ncurses
   5.0 release.

d36 40
a75 14
     * made the extended terminal capabilities
       (configure --enable-tcap-names) a standard feature (though the
       configure script can disable it, it is built by default).
     * removed the trace() function and related trace support from the
       production library. This is the only interface change that may
       cause problems with existing applications linked to shared
       libraries, since not all platforms use the minor version number.
     * explicitly initialized to zero several data items which were
       implicitly initialized, e.g., cur_term. If not explicitly
       initialized, their storage type is C (common), and causes problems
       linking on some platforms.
     * modified curses.h.in, undef'ing some symbols to avoid conflict
       with C++ STL.

d77 30
a106 44
     * added a new extension, assume_default_colors() to provide better
       control over the use of default colors. This is the principal
       visible difference between ncurses 5.1 and preceding versions. The
       new extension allows an application to specify what colors pair 0
       uses. It defaults to white on black, unless you have invoked
       use_default_colors().
     * made several fixes to the terminfo-to-termcap conversion, and have
       been using the generated termcaps without further hand-tuning.
       This builds on the extension use_extended_names() by adding
       "obsolete" termcap strings to terminfo.src
          + modified tic so that if extended names (i.e.,
            configure --enable-tcap-names) are active, then tic -x will
            also write "obsolete" capabilities that are present in the
            terminfo source.
          + added screen's AX capability (for ECMA SGR 39 and 49) to
            applicable terminfo entries, use presence of this as a check
            for a small improvement in setting default colors.
          + add -a option to tic and infocmp, which retains commented-out
            capabilities during source translation/comparison, e.g.,
            captoinfo and infotocap.
     * implemented limited support for UTF-8, useful with XFree86 xterm:
          + if the configure --enable-widec option is given, append 'w'
            to names of the generated libraries (e.g., libncursesw.so) to
            avoid conflict with existing ncurses libraries.
          + add a simple UTF-8 output driver to the experimental
            wide-character support. If any of the environment variables
            LC_ALL, LC_CTYPE or LANG contain the string "UTF-8", this
            driver will be used to translate the output to UTF-8.
          + modified view.c to make a rudimentary viewer of UTF-8 text.
     * modify raw() and noraw() to clear/restore IEXTEN flag which
       affects stty lnext on systems such as FreeBSD
     * reordered tests during mouse initialization to allow for gpm to
       run in xterm, or for xterm to be used under OS/2 EMX. Also dropped
       test for $DISPLAY in favor of kmous=\E[M or $TERM containing
       "xterm".
     * added configure option --with-manpage-symlinks, which provides for
       fully indexing manpage entries by making symbolic links for the
       aliases.
     * changed unctrl() to render C1 characters (128-159) as ~@@, ~A, etc.
     * add experimental configure option --enable-colorfgbg to check for
       $COLORTERM variable as set by rxvt/aterm/Eterm.
     * made the infocmp -F option less verbose.
     * dropped support for gnat 3.10 (gnat 3.12 is current).

d108 31
a138 27
     * modified infocmp -e, -E options to ensure that generated
       fallback.c type for Booleans agrees with term.h
     * documented a special case of incompatiblity between ncurses 4.2
       and 5.0, added a section for this in INSTALL.
     * corrected tests for file-descriptors in OS/2 EMX mouse support. A
       negative value could be used by FD_SET, causing the select() call
       to wait indefinitely.
     * made 'tput flash' work properly for xterm by flushing output in
       delay_output() when using napms(), and modifying xterm's terminfo
       to specify no padding character. Otherwise, xterm's reported baud
       rate could mislead ncurses into producing too few padding
       characters.
     * modified lib_addch.c to allow repeated update to the lower-right
       corner, rather than displaying only the first character written
       until the cursor is moved. Recent versions of SVr4 curses can
       update the lower-right corner, and behave this way.
     * modified echo() behavior of getch() to match Solaris curses for
       carriage return and backspace (reported by Neil Zanella).
     * corrected offsets used for subwindows in wresize()
     * modified configure script so AC_MSG_ERROR is temporarily defined
       to a warning in AC_PROG_CXX to make it recover from a missing C++
       compiler without requiring user to add --without-cxx option
     * corrected logic in lib_twait.c as used by lib_mouse.c for GPM
       mouse support when poll() is used rather than select().
     * made several fixes for buffer overflows, unchecked recursion,
       improvements in performance, etc. See the NEWS file for details.

d140 1
a140 1

d160 1
a160 1

d242 1
a242 1

d244 1
a244 1

d250 1
a250 1

d253 1
a253 1

d255 3
a257 3
          Curses Development Kit
          [3]Curses Development Kit [4]http://dickey.his.com/cdk.

d259 2
a260 3
          directory-editor
          [5]http://dickey.his.com/ded.

d264 1
a264 2
          [6]http://dickey.his.com/dialog.

d267 1
a267 2
          [7]http://lynx.isc.org/release.

d270 1
a270 1

d273 1
a273 2
          [8]http://www.mutt.org.

d276 1
a276 1

d280 1
a280 1

d283 2
a284 2
          [9]http://www.tin.org.

d287 1
a287 1

d290 1
a290 1

d292 1
a292 1

d295 1
a295 1

d297 2
a298 3
          vi-like-emacs
          [10]http://dickey.his.com/vile.

d301 1
a301 1

d304 3
a306 3
   The original developers of ncurses are [11]Zeyd Ben-Halim and [12]Eric
   S. Raymond. Ongoing work is being done by [13]Thomas Dickey and
   [14]Jrgen Pfeifer. [15]Thomas Dickey acts as the maintainer for the
d308 2
a309 2
   Contact the current maintainers at [16]bug-ncurses@@gnu.org.

d316 1
a316 1

d318 2
a319 2
   available at [17]ftp://dickey.his.com/ncurses.

d325 1
a325 1

d328 1
a328 1

d333 2
a334 2
   [18]http://earthspace.net/~esr/terminfo.

d336 1
a336 1
   covered in the terminfo file at [19]Richard Shuford's archive.
d341 1
a341 1
   2. ftp://dickey.his.com/ncurses
d343 13
a355 16
   4. http://dickey.his.com/cdk/cdk.html
   5. http://dickey.his.com/ded/ded.html
   6. http://dickey.his.com/dialog/dialog.html
   7. http://lynx.isc.org/release/
   8. http://www.mutt.org/
   9. http://www.tin.org/
  10. http://dickey.his.com/vile/vile.html
  11. mailto:zmbenhal@@netcom.com
  12. http://www.ccil.org/~esr/home.html
  13. mailto:dickey@@herndon4.his.com
  14. mailto:juergen.pfeifer@@gmx.net
  15. mailto:dickey@@herndon4.his.com
  16. mailto:bug-ncurses@@gnu.org
  17. ftp://dickey.his.com/ncurses
  18. http://earthspace.net/~esr/terminfo
  19. http://www.cs.utk.edu/~shuford/terminal_index.html
@


1.1.1.4
log
@Import ncurses-5.1-20001009 onto the vendor branch
@
text
@d25 2
a26 2
   distribution site [1]ftp://ftp.gnu.org/pub/gnu/ncurses.
   It is also available at [2]ftp://dickey.his.com/ncurses.
d55 2
a56 6
       uses.
       NOTE: Pair 0 defaults to white on black unless you have invoked
       use_default_colors() or set it via assume_default_colors(). An
       application that calls start_colors() without setting the
       background color will consistently have a black background no
       matter what color your terminal's background actually is.
d84 2
a85 2
       test for $DISPLAY in favor of the terminfo capability kmous=\E[M
       or if $TERM environment variable contains "xterm".
d240 1
a240 2
          [3]http://www.vexus.ca/CDK.html
          [4]http://dickey.his.com/cdk.
a256 1
          [8]www.gnome.org/mc/.
d260 1
a260 1
          [9]http://www.mutt.org.
a263 1
          [10]http://www.ncftp.com.
a267 1
          [11]http://www.bostic.com/vi/.
d271 1
a271 1
          [12]http://www.tin.org.
a274 1
          [13]http://members.iinet.net.au/~yusuf/taper/.
a277 1
          [14]http://www.bg.debian.org/Packages/unstable/text/vh.html.
a282 1
          [15]http://www.pp.clinet.fi/~walker/minicom.html.
d286 1
a286 1
          [16]http://dickey.his.com/vile.
d293 3
a295 3
   The original developers of ncurses are [17]Zeyd Ben-Halim and [18]Eric
   S. Raymond. Ongoing work is being done by [19]Thomas Dickey and
   [20]Jrgen Pfeifer. [21]Thomas Dickey acts as the maintainer for the
d297 1
a297 1
   Contact the current maintainers at [22]bug-ncurses@@gnu.org.
d307 1
a307 1
   available at [23]ftp://dickey.his.com/ncurses.
d322 1
a322 1
   [24]http://earthspace.net/~esr/terminfo.
d325 1
a325 1
   covered in the terminfo file at [25]Richard Shuford's archive.
d336 12
a347 18
   8. file://localhost/usr/build/ncurses/ncurses-5.1-20000704/doc/html/www.gnome.org/mc/
   9. http://www.mutt.org/
  10. http://www.ncftp.com/
  11. http://www.bostic.com/vi/
  12. http://www.tin.org/
  13. http://members.iinet.net.au/~yusuf/taper/
  14. http://www.bg.debian.org/Packages/unstable/text/vh.html
  15. http://www.pp.clinet.fi/~walker/minicom.html
  16. http://dickey.his.com/vile/vile.html
  17. mailto:zmbenhal@@netcom.com
  18. http://www.ccil.org/~esr/home.html
  19. mailto:dickey@@herndon4.his.com
  20. mailto:juergen.pfeifer@@gmx.net
  21. mailto:dickey@@herndon4.his.com
  22. mailto:bug-ncurses@@gnu.org
  23. ftp://dickey.his.com/ncurses
  24. http://earthspace.net/~esr/terminfo
  25. http://www.cs.utk.edu/~shuford/terminal_index.html
@


1.1.1.5
log
@Import ncurses-5.2-20010512 onto the vendor branch

Obtained from: ftp://dickey.his.com/ncurses/
@
text
@d2 1
a2 1
                            Announcing ncurses 5.2
d30 4
a33 4
   This release is designed to be upward compatible from ncurses 5.0 and
   5.1; very few applications will require recompilation, depending on
   the platform. These are the highlights from the change-log since
   ncurses 5.1 release.
d36 62
a97 82
     * change type of ospeed variable back to short to match its use in
       legacy applications. It was altered after ncurses 4.2 to speed_t
       to repair a type mismatch which was introduced after 1.9.4 in
       1995. The principal users of termcap continued to use short, which
       is not the same size.
       NOTE: A few applications will have to be recompiled (about 1% of
       the programs in a typical Linux distribution, 10% of the programs
       that use ncurses). These are easy to identify with nm or strings.
     * remove a private function _nc_can_clear_with(), which was built
       with the configure --enable-expanded option but not used.
     * add several private functions (prefixed with "_nc_") for tracing
       chtype values in the debug library, and for better access and
       buffer limit checking.

   New features and improvements:
     * rewrote tgoto() to make it better support existing termcap
       applications which use hardcoded strings rather than obtain all of
       their information from the termcap file. If the string does not
       appear to be a terminfo string (i.e., does not refer to a "%p"
       parameter, or terminfo-style padding), and termcap support is
       configured, tgoto() will interpret it as termcap. Otherwise, as
       before, it will use tparm().
     * to ensure that the tgoto() changes work properly, added checks to
       tic which report capabilities that do not reference the expected
       number of parameters.
     * new configure script options:
          + option --disable-root-environ adds runtime checks which tell
            ncurses to disregard $TERMINFO and similar environment
            variables if the current user is root, or running
            setuid/setgid.
          + option --disable-assumed-color allows you to use the pre-5.1
            convention of default colors used for color-pair 0 to be
            configured (see assume_default_colors()).
          + implement configure script options that transform installed
            program names, e.g., --program-prefix, including the manpage
            names and cross references.
          + option --with-database allows you to specify a different
            terminfo source-file to install. On OS/2 EMX, the default is
            misc/emx.src, otherwise misc/terminfo.src
          + option --with-default-terminfo-dir allows you to specify the
            default terminfo database directory.
          + option --with-libtool allows you to build with libtool.
            NOTE: libtool uses a different notation for numbering shared
            library versions from the existing ncurses configuration.
          + option --with-manpage-tbl causes the manpages to be
            preprocessed by tbl(1) prior to installation,
          + option --without-curses-h causes the installation process to
            install curses.h as ncurses.h and make appropriate changes to
            headers and manpages.
     * modified configure script options:
          + change symbol used by the --install-prefix configure option
            from INSTALL_PREFIX to DESTDIR (the latter has become common
            usage although the name is misleading).
          + modify ld -rpath options (e.g., Linux, and Solaris) to use an
            absolute pathname for the build tree's lib directory,
            avoiding confusion with directories relative to the current
            one with the installed programs.
          + modified misc/run_tic.in to use tic -o, to eliminate
            dependency on $TERMINFO variable for installs.
     * terminfo database:
          + updated xterm terminfo entries to match XFree86 xterm patch
            #146.
          + added amiga-vnc, Matrix Orbital, and QNX qansi to
            misc/terminfo.src.
          + added os2 entry to misc/emx.src.
          + add S0 and E0 extensions to screen's terminfo entry since
            otherwise the FreeBSD port makes it pass termcap equivalents
            to tgoto, which would be misinterpreted by older versions of
            ncurses.
     * improvements to program usability:
          + modify programs to use curses_version() string to report the
            version of ncurses with which they are compiled rather than
            the NCURSES_VERSION string. The function returns the patch
            level in addition to the major and minor version numbers.
          + modify tput program so it can be renamed or invoked via a
            link as 'reset' or 'init', producing the same effect as
            tput reset or tput init.
          + add error checking to infocmp's -v and -m options to ensure
            that the option value is indeed a number.
     * improved performance:
          + replace a lookup table in lib_vidattr.c used to decode
            no_color_video with a logic expression which is faster.
d100 26
a125 128
     * correct manlinks.sed script introduced in ncurses 5.1 to avoid
       using ERE "\+", which is not understood by standard versions of
       sed. This happens to work with GNU sed, but is not portable, and
       was the initial motivation for this release.
     * remove "hpux10.*" case from CF_SHARED_OPTS configure script macro.
       This differed from the "hpux*" case by using reversed symbolic
       links, which made the 5.1 version not match the configuration of
       5.0 shared libraries.
     * guard against corrupt terminfo data:
          + modify tparm() to disallow arithmetic on strings, analyze the
            varargs list to read strings as strings and numbers as
            numbers.
          + modify tparm()'s internal function spop() to treat a null
            pointer as an empty string.
          + modify parse_format() in lib_tparm.c to ignore precision if
            it is longer than 10000.
          + rewrote limit checks in lib_mvcur.c using new functions
            _nc_safe_strcat(), etc. Made other related changes to check
            lengths used for strcat() and strcpy().
     * corrections to screen optimization:
          + added special case in lib_vidattr.c to reset underline and
            standout for devices that have no sgr0 defined.
          + change handling of non_dest_scroll_region in tty_update.c to
            clear text after it is shifted in rather than before shifting
            out. Also correct row computation.
          + modify rs2 capability in xterm-r6 and similar entries where
            cursor save/restore bracketed the sequence for resetting
            video attributes. The cursor restore would undo that.
     * UTF-8 support:
          + when checking LC_ALL, LC_CTYPE, and LANG environment
            variables for UTF-8 locale, ignore those which are set to an
            empty value, as per SUSV2.
          + encode 0xFFFD in UTF-8 with 3 bytes, not 2.
          + modify _nc_utf8_outch() to avoid sign-extension when checking
            for out-of-range value.
     * other library fixes:
          + added checks for an empty $HOME environment variable, to
            avoid retrieving terminfo descriptions from ./.terminfo .
          + change functions _nc_parse_entry() and postprocess_termcap()
            to avoid using strtok(), because it is non-reentrant.
          + initialize fds[] array to 0's in _nc_timed_wait(); apparently
            poll() only sets the revents members of that array when there
            is activity corresponding to the related file.
          + add a check for null pointer in Make_Enum_Type().
          + fix a heap problem with the c++ binding.
          + correct missing includes for <string.h> in several places,
            including the C++ binding. This is not noted by gcc unless we
            use the -fno-builtin option.
     * several fixes for tic:
          + add a check for empty buffers returned by fgets() in
            comp_scan.c next_char() function, in case tic is run on a
            non-text file (fixes a core dump).
          + modify tic to verify that its inputs are really files, in
            case someone tries to read a directory (or /dev/zero).
          + correct an uninitialized parameter to open_tempfile() in
            tic.c which made "tic -I" give an ambiguous error message
            about tmpnam.
          + correct logic in adjust_cancels(), which did not check both
            alternatives when reclassifying an extended name between
            boolean, number and string, causing an infinite loop in tic.
     * using new checks in tic for parameter counts in capability
       strings, found/fixed several errors both in the terminfo database
       and in the include/Caps file.
          + modified several terminfo capability strings, including the
            definitions for setaf, setab, in include/Caps to indicate
            that the entries are parameterized. This information is used
            to tell which strings are translated when converting to
            termcap. This fixes a problem where the generated termcap
            would contain a spurious "%p1" for the terminfo "%p1%d".
          + correct parameter counts in include/Caps for dclk as well as
            some printer-specific capabilities: csnm, defc, scs, scsd,
            smgtp, smglp.
     * various fixes for install scripts used to support configure
       --srcdir and --with-install-prefix.
     * correct several mismatches between manpage filename and ".TH"
       directives, renaming dft_fgbg.3x to default_colors.3x and
       menu_attribs.3x to menu_attributes.3x.

   Portability:
     * configure script:
          + newer config.guess, config.sub, including changes to support
            OS/2 EMX. The configure script for OS/2 EMX still relies on a
            patch since there is no (working) support for that platform
            in the main autoconf distribution.
          + make configure script checks on variables $GCC and $GXX
            consistently compare against 'yes' rather than test if they
            are nonnull, since either may be set to the corresponding
            name of the C or C++ compiler.
          + change configure script to use AC_CANONICAL_SYSTEM rather
            than AC_CANONICAL_HOST, which means that configure --target
            will set a default program-prefix.
          + modify the check for big-core to force a couple of memory
            accesses, which may work as needed for older/less-capable
            machines (if not, there's still the explicit configure
            option).
          + modify configure test for tcgetattr() to allow for old
            implementations, e.g., on BeOS, which only defined it as a
            macro.
          + add configure check for filesystems (such as OS/2 EMX) which
            do not distinguish between upper/lowercase filenames, use
            this to fix tags rules in makefiles.
          + add MKncurses_def.sh to generate fallback definitions for
            ncurses_cfg.h, to quiet gcc -Wundef warnings, modified
            ifdef's in code to consistently use "#if" rather than
            "#ifdef".
          + change most remaining unquoted parameters of test in
            configure script to use quotes, for instance fixing a problem
            in the --disable-database option.
          + modify scripts so that "make install.data" works on OS/2 EMX.
          + modify scripts and makefiles so the Ada95 directory builds on
            OS/2 EMX.
     * library:
          + replaced case-statement in _nc_tracebits() for CSIZE with a
            table to simplify working around implementations that define
            random combinations of the related macros to zero.
          + improved OS/2 mouse support by retrying as a 2-button mouse
            if code fails to set up a 3-button mouse.
          + added private entrypoint _nc_basename(), used to consolidate
            related code in progs, as well as accommodating OS/2 EMX
            pathnames.
          + alter definition of NCURSES_CONST to make it non-empty.
          + redefine 'TEXT' in menu.h for AMIGA, since it is reported to
            have an (unspecified) symbol conflict.
     * programs:
          + modified progs/tset.c and tack/sysdep.c to build with sgttyb
            interface if neither termio or termios is available. Tested
            this with FreeBSD 2.1.5 (which does have termios - but the
            sgttyb does work).
d347 1
a347 1
   8. file://localhost/usr/build/ncurses/ncurses-5.2-20001021/doc/html/www.gnome.org/mc/
@


1.1.1.5.14.1
log
@MFC: ncurses 5.6-20061217

Approved by:	delphij (mentor)
Tested by:	several people on stable@@
@
text
@a0 1
                            Announcing ncurses 5.6
d2 6
a7 4
   The  ncurses  (new  curses)  library  is  a free software emulation of
   curses  in  System  V  Release 4.0, and more. It uses terminfo format,
   supports  pads  and color and multiple highlights and forms characters
   and   function-key   mapping,   and  has  all  the  other  SYSV-curses
d10 8
a17 8
   In  mid-June  1995,  the  maintainer of 4.4BSD curses declared that he
   considered  4.4BSD curses obsolete, and encouraged the keepers of Unix
   releases such as BSD/OS, FreeBSD and NetBSD to switch over to ncurses.

   The ncurses code was developed under GNU/Linux. It has been in use for
   some  time  with  OpenBSD as the system curses library, and on FreeBSD
   and  NetBSD  as  an  external  package.  It  should port easily to any
   ANSI/POSIX-conforming UNIX. It has even been ported to OS/2 Warp!
d20 2
a21 2
   a   terminfo  compiler  tic(1),  a  decompiler  infocmp(1),  clear(1),
   tput(1),  tset(1),  and  a  termcap conversion tool captoinfo(1). Full
d24 3
a26 3
   The  ncurses  distribution  is  available via anonymous FTP at the GNU
   distribution site [1]ftp://ftp.gnu.org/gnu/ncurses/ .
   It is also available at [2]ftp://invisible-island.net/ncurses/ .
d30 4
a33 4
   This  release  is  designed  to  be upward compatible from ncurses 5.0
   through   5.5;  very  few  applications  will  require  recompilation,
   depending   on  the  platform.  These  are  the  highlights  from  the
   change-log since ncurses 5.5 release.
d36 13
a48 5
     * generate linkable stubs for some macros:
       getbegx,  getbegy,  getcurx,  getcury,  getmaxx, getmaxy, getparx,
       getpary, getpary,
       and (for libncursesw)
       wgetbkgrnd
d51 67
a117 70
     * library
          + support  hashed databases for the terminal descriptions. This
            uses  the  Berkeley  database,  has  been  tested for several
            versions on different platforms.
          + add    use_legacy_coding()   function   to   support   lynx's
            font-switching feature.
          + add extension nofilter(), to cancel a prior filter() call.
          + add/install a package config script, e.g., ncurses5-config or
            ncursesw5-config, according to configuration options.
          + provide  ifdef  for  NCURSES_NOMACROS  which  suppresses most
            macro  definitions  from  curses.h,  i.e.,  where  a macro is
            defined to override a function to improve performance.
          + make  ifdef's  consistent in curses.h for the extended colors
            so the header file can be used for the normal curses library.
            The  header file installed for extended colors is a variation
            of the wide-character configuration.
          + improve  tgetstr()  by making the return value point into the
            user's buffer, if provided.
          + add  ifdef's  allowing ncurses to be built with tparm() using
            either   varargs   (the   existing   status),   or   using  a
            fixed-parameter list (to match X/Open).
          + widen  the  test  for xterm kmous a little to allow for other
            strings  than  "\E[M",  e.g.,  for xterm-sco functionality in
            xterm.
          + modify wgetnstr() to return KEY_RESIZE if a sigwinch occurs.
          + move  prototypes  for  wide-character  trace  functions  from
            curses.tail  to  curses.wide to avoid accidental reference to
            those  if  _XOPEN_SOURCE_EXTENDED is defined without ensuring
            that <wchar.h> is included.
          + change  the  way  shared  libraries  (other than libtool) are
            installed.  Rather  than  copying the build-tree's libraries,
            link  the  shared  objects  into  the install directory. This
            makes the --with-rpath option work except with $(DESTDIR).
          + several  improvements for rendering in hpterm. These are only
            available    if    the    library    is    configured   using
            --enable-xmc-glitch.
          + Add    NCURSES_NO_HARD_TABS    and    NCURSES_NO_MAGIC_COOKIE
            environment  variables  to  allow  runtime suppression of the
            related hard-tabs and xmc-glitch features.
     * programs:
          + add  new  test programs: chgat.c, demo_altkeys.c, echochar.c,
            foldkeys.c,  movewindow.c,  redraw.c,  (noting  that existing
            test   programs   also   were  modified  to  test  additional
            features).
          + modify tack to test extended capability function-key strings.
          + modify  toe  to  access  termcap  data,  e.g.,  via cgetent()
            functions, or as a text file if those are not available.
          + improve infocmp/tic -f option formatting.
          + add  toe  -a  option,  to  show  all databases. This uses new
            private  interfaces  in  the  ncurses  library  for iterating
            through the list of databases.
          + modify MKfallback.sh to use tic -x when constructing fallback
            tables  to allow extended capabilities to be retrieved from a
            fallback entry.
     * terminal database
          + add terminfo entries for xfce terminal (xfce) and multi gnome
            terminal (mgt)
          + add nsterm-16color entry
          + updated mlterm terminfo entry
          + add kon, kon2 and jfbterm terminfo entry
          + remove  invis capability from klone+sgr, mainly used by linux
            entry, since it does not really do this
          + add ka2, kb1, kb3, kc2 to vt220-keypad as an extension
          + add  shifted  up/down  arrow  codes  to xterm-new as kind/kri
            strings
          + add hpterm-color terminfo entry
          + add  256color variants of terminfo entries for programs which
            are reported to implement this feature
          + correct  order  of use-clauses in rxvt-basic entry which made
            codes for f1-f4 vt100-style rather than vt220-style.
d120 77
a196 36
     * correct  a typo in configure --with-bool option for the case where
       --without-cxx is used.
     * move  assignment from environment variable ESCDELAY from initscr()
       down to newterm() so the environment variable affects timeouts for
       terminals opened with newterm() as well.
     * modify  werase  to clear multicolumn characters that extend into a
       derived window.
     * modify wchgat() to mark updated cells as changed so a refresh will
       repaint those cells.
     * correct  logic  in wadd_wch() and wecho_wch(), which did not guard
       against   passing  the  multi-column  attribute  into  a  call  on
       waddch(), e.g., using data returned by win_wch()
     * fix  redrawing  of  windows other than stdscr using wredrawln() by
       touching the corresponding rows in curscr.
     * reduce  memory leaks in repeated calls to tgetent() by remembering
       the  last TERMINAL* value allocated to hold the corresponding data
       and freeing that if the tgetent() result buffer is the same as the
       previous call.
     * modify  read_termtype() so the term_names data is always allocated
       as part of the str_table, a better fix for a memory leak.
     * fix  wins_nwstr(),  which  did  not  handle single-column non-8bit
       codes.
     * modify  wbkgrnd()  to avoid clearing the A_CHARTEXT attribute bits
       since those record the state of multicolumn characters.
     * improve   SIGWINCH   handling  by  postponing  its  effect  during
       newterm(), etc., when allocating screens.
     * remove  970913 feature for copying subwindows as they are moved in
       mvwin().
     * add checks in waddchnstr() and wadd_wchnstr() to stop copying when
       a null character is found.
     * add  some  checks  to  ensure current position is within scrolling
       region before scrolling on a new line.
     * add  a  workaround  to  ACS  mapping to allow applications such as
       test/blue.c  to  use  the "PC ROM" characters by masking them with
       A_ALTCHARSET. This worked up til 5.5, but was lost in the revision
       of legacy coding.
d200 17
a216 34
          + new options:

              --with-hashed-db
                      Use  Berkeley  hashed database for storing terminfo
                      data  rather  than storing each compiled entry in a
                      separate binary file within a directory tree.

              --without-dlsym
                      Do not use dlsym() to load GPM dynamically.

              --with-valgrind
                      Simplify building for testing with valgrind.

              --enable-wgetch-events
                      Compile with experimental wgetch-events code.

              --enable-signed-char
                      Store booleans in "signed char" rather than "char".

          + improved options:

              --disable-largefile
                      make the option work both ways.

              --with-gpm
                      The  option now accepts a parameter, i.e., the name
                      of the dynamic GPM library to load via dlopen()

              --disable-symlinks
                      The  option  now allows one to disable symlink() in
                      tic even when link() does not work.

     * other configure/build issues:
          + remove  special  case for Darwin in CF_XOPEN_SOURCE configure
d218 13
a230 23
          + add  configure  check  to  ensure that SIGWINCH is defined on
            platforms such as OS X which exclude that when _XOPEN_SOURCE,
            etc., are defined
          + use  ld's -search_paths_first option on Darwin to work around
            odd search rules on that platform.
          + improve  ifdef's for _POSIX_VDISABLE in tset to work with Mac
            OS X.
          + modify  configure  script to ensure that if the C compiler is
            used  rather  than the loader in making shared libraries, the
            $(CFLAGS) variable is also used.
          + use  ${CC}  rather  than  ${LD}  in  shared library rules for
            IRIX64,  Solaris  to help ensure that initialization sections
            are  provided  for  extra  linkage requirements, e.g., of C++
            applications.
          + improve  some  shared-library  configure scripting for Linux,
            FreeBSD and NetBSD to make --with-shlib-version work.
          + split    up    dependency   of   names.c   and   codes.c   in
            ncurses/Makefile to work with parallel make.
          + modify  MKlib_gen.sh  to  change  preprocessor-expanded _Bool
            back to bool.
          + modify progs/Makefile.in to make tput init work properly with
            cygwin, i.e., do not pass a .exe in the reference string used
            in check_aliases.
d232 16
a247 17
          + ignore wide-acs line-drawing characters that wcwidth() claims
            are  not one-column. This is a workaround for Solaris' broken
            locale support.
          + reduce  name-pollution  in  term.h  by removing #define's for
            HAVE_xxx symbols.
          + fix #ifdef in c++/internal.h for QNX 6.1
     * test programs:
          + modify  test/configure script to allow building test programs
            with PDCurses/X11.
          + modified  test  programs  to  allow  some to work with NetBSD
            curses.  Several  do  not  because NetBSD curses implements a
            subset  of  X/Open  curses,  and  also  lacks  much  of  SVr4
            additions. But it is enough for comparison.
          + improved  test/configure  to  build  test/ncurses  on HPUX 11
            using the vendor curses.
          + change  configure  script  to produce test/Makefile from data
            file.
d253 1
a253 1
     * All  257  of  the  SVr4  calls  have  been  implemented  (and  are
d255 2
a256 2
     * Full  support for SVr4 curses features including keyboard mapping,
       color,   forms-drawing   with   ACS   characters,   and  automatic
d258 1
a258 1
     * An  emulation  of  the  SVr4 panels library, supporting a stack of
d260 1
a260 1
     * An  emulation  of the SVr4 menus library, supporting a uniform but
d262 1
a262 1
     * An  emulation of the SVr4 form library, supporting data collection
d264 2
a265 2
     * Binary   terminfo   entries   generated   by  the  ncurses  tic(1)
       implementation  are  bit-for-bit-compatible  with the entry format
d268 1
a268 1
       for  use  with  less  capable curses/terminfo versions such as the
d272 9
a280 7
     * The  API  is 8-bit clean and base-level conformant with the X/OPEN
       curses  specification, XSI curses (that is, it implements all BASE
       level  features,  and  most  EXTENDED  features). It includes many
       function calls not supported under SVr4 curses (but portability of
       all calls is documented so you can use the SVr4 subset only).
     * Unlike  SVr3 curses, ncurses can write to the rightmost-bottommost
       corner  of  the  screen  if  your terminal has an insert-character
d283 2
a284 2
     * Support  for mouse event reporting with X Window xterm and FreeBSD
       and OS/2 console windows.
d286 1
a286 1
     * The  function  wresize()  allows you to resize windows, preserving
d292 2
a293 2
       the  use  of function keys, e.g., disabling the ncurses KEY_MOUSE,
       or  by  defining  more than one control sequence to map to a given
d295 2
a296 2
     * Support for 16-color terminals, such as aixterm and modern xterm.
     * Better  cursor-movement  optimization.  The package now features a
d299 4
a302 4
     * Super   hardware   scrolling   support.   The  screen-update  code
       incorporates  a novel, simple, and cheap algorithm that enables it
       to  make  optimal  use  of hardware scrolling, line-insertion, and
       line-deletion  for  screen-line  movements. This algorithm is more
d304 6
a309 6
     * Real  support  for  terminals  with  the  magic-cookie glitch. The
       screen-update  code  will  refrain from drawing a highlight if the
       magic-   cookie  unattributed  spaces  required  just  before  the
       beginning  and  after the end would step on a non-space character.
       It  will  automatically  shift  highlight boundaries when doing so
       would  make it possible to draw the highlight without changing the
d311 4
a314 4
     * It  is  possible to generate the library with a list of pre-loaded
       fallback  entries linked to it so that it can serve those terminal
       types  even  when  no  terminfo tree or termcap file is accessible
       (this  may  be useful for support of screen-oriented programs that
d317 1
a317 1
       to  translate many termcaps from the XENIX, IBM and AT&T extension
d321 4
a324 4
       entries  from  $HOME/.terminfo  if  it exists, and compile to that
       directory  if  it  exists  and the user has no write access to the
       system  directory.  This feature makes it easier for users to have
       personal  terminfo  entries without giving up access to the system
d326 3
a328 3
     * You  may  specify  a  path  of  directories to search for compiled
       descriptions  with  the  environment  variable TERMINFO_DIRS (this
       generalizes  the  feature  provided by TERMINFO under stock System
d330 1
a330 1
     * In  terminfo  source files, use capabilities may refer not just to
d332 1
a332 1
       compiled  entries  in  either the system terminfo directory or the
d334 4
a337 4
     * A  script  (capconvert)  is  provided to help BSD users transition
       from  termcap to terminfo. It gathers the information in a TERMCAP
       environment  variable  and/or  a ~/.termcap local entries file and
       converts   it   to   an   equivalent  local  terminfo  tree  under
d339 3
a341 3
     * Automatic  fallback  to  the  /etc/termcap file can be compiled in
       when  it is not possible to build a terminfo tree. This feature is
       neither  fast  nor cheap, you don't want to use it unless you have
d343 1
a343 1
     * The  table-of-entries  utility  toe makes it easy for users to see
d346 2
a347 2
       have  a  corresponding  function  which may be linked (and will be
       prototype-checked)  if  the  macro  definition  is  disabled  with
d349 2
a350 2
     * An  HTML  "Introduction  to  Programming  with  NCURSES"  document
       provides  a  narrative  introduction  to  the  curses  programming
d356 3
a358 3
   is  far  more  reliable  than  it  used to be. Bounds checking in many
   `dangerous'  entry points has been improved. The code is now type-safe
   according  to gcc -Wall. The library has been checked for malloc leaks
d361 1
a361 1
   The  ncurses  code has been tested with a wide variety of applications
d366 2
a367 2
          [3]http://invisible-island.net/cdk/
          [4]http://www.vexus.ca/products/CDK/
d371 1
a371 1
          [5]http://invisible-island.net/ded/
d374 1
a374 1
          the  underlying  application used in Slackware's setup, and the
d376 1
a376 1
          [6]http://invisible-island.net/dialog/
d380 1
a380 1
          [7]http://lynx.isc.org/release/
d382 1
a382 1
   Midnight Commander
d384 1
a384 1
          [8]http://www.ibiblio.org/mc/
d388 1
a388 1
          [9]http://www.mutt.org/
d392 1
a392 1
          [10]http://www.ncftp.com/
d397 1
a397 1
          [11]http://www.bostic.com/vi/
d399 3
a401 3
   pinfo
          Lynx-like info browser.
          [12]http://dione.ids.pl/~pborys/software/pinfo/
d403 3
a405 2
   tin
          newsreader, supporting color, MIME [13]http://www.tin.org/
d409 1
a409 1
          [14]http://www.debian.org/Packages/unstable/text/vh.html
d415 1
a415 1
          [15]http://alioth.debian.org/projects/minicom/
d419 1
a419 1
          [16]http://invisible-island.net/vile/
d421 1
a421 1
   The  ncurses  distribution  includes  a  selection  of  test  programs
d426 5
a430 6
   Zeyd  Ben-Halim started it from a previous package pcurses, written by
   Pavel  Curtis.  Eric S. Raymond continued development. Juergen Pfeifer
   wrote  most of the form and menu libraries. Ongoing work is being done
   by  [17]Thomas  Dickey.  Thomas  Dickey acts as the maintainer for the
   Free  Software  Foundation,  which  holds  the  copyright  on ncurses.
   Contact the current maintainers at [18]bug-ncurses@@gnu.org.
d432 1
a432 1
   To   join   the   ncurses   mailing   list,   please  write  email  to
d439 2
a440 2
   Beta  versions  of ncurses and patches to the current release are made
   available at [19]ftp://invisible-island.net/ncurses/ .
d444 1
a444 1
     * Extended-level   XPG4   conformance,   with   internationalization
d448 1
a448 1
   We  need  people to help with these projects. If you are interested in
d453 3
a455 5
   The  distribution  provides  a  newer  version  of the terminfo-format
   terminal description file once maintained by [20]Eric Raymond . Unlike
   the  older  version, the termcap and terminfo data are provided in the
   same  file,  and provides several user-definable extensions beyond the
   X/Open specification.
d457 2
a458 2
   You  can  find  lots  of  information  on  terminal-related topics not
   covered in the terminfo file at [21]Richard Shuford's archive .
d462 6
a467 6
   1. ftp://ftp.gnu.org/gnu/ncurses/
   2. ftp://invisible-island.net/ncurses/
   3. http://invisible-island.net/cdk/
   4. http://www.vexus.ca/products/CDK/
   5. http://invisible-island.net/ded/
   6. http://invisible-island.net/dialog/
d469 1
a469 1
   8. http://www.ibiblio.org/mc/
d473 14
a486 10
  12. http://dione.ids.pl/~pborys/software/pinfo/
  13. http://www.tin.org/
  14. http://www.debian.org/Packages/unstable/text/vh.html
  15. http://alioth.debian.org/projects/minicom/
  16. http://invisible-island.net/vile/
  17. mailto:dickey@@invisible-island.net
  18. mailto:bug-ncurses@@gnu.org
  19. ftp://invisible-island.net/ncurses/
  20. http://www.catb.org/~esr/terminfo/
  21. http://www.cs.utk.edu/~shuford/terminal_index.html
@


1.1.1.6
log
@Import ncurses 5.6-20061217 onto the vender branch

Approved by:	delphij
@
text
@a0 1
                            Announcing ncurses 5.6
d2 6
a7 4
   The  ncurses  (new  curses)  library  is  a free software emulation of
   curses  in  System  V  Release 4.0, and more. It uses terminfo format,
   supports  pads  and color and multiple highlights and forms characters
   and   function-key   mapping,   and  has  all  the  other  SYSV-curses
d10 8
a17 8
   In  mid-June  1995,  the  maintainer of 4.4BSD curses declared that he
   considered  4.4BSD curses obsolete, and encouraged the keepers of Unix
   releases such as BSD/OS, FreeBSD and NetBSD to switch over to ncurses.

   The ncurses code was developed under GNU/Linux. It has been in use for
   some  time  with  OpenBSD as the system curses library, and on FreeBSD
   and  NetBSD  as  an  external  package.  It  should port easily to any
   ANSI/POSIX-conforming UNIX. It has even been ported to OS/2 Warp!
d20 2
a21 2
   a   terminfo  compiler  tic(1),  a  decompiler  infocmp(1),  clear(1),
   tput(1),  tset(1),  and  a  termcap conversion tool captoinfo(1). Full
d24 3
a26 3
   The  ncurses  distribution  is  available via anonymous FTP at the GNU
   distribution site [1]ftp://ftp.gnu.org/gnu/ncurses/ .
   It is also available at [2]ftp://invisible-island.net/ncurses/ .
d30 4
a33 4
   This  release  is  designed  to  be upward compatible from ncurses 5.0
   through   5.5;  very  few  applications  will  require  recompilation,
   depending   on  the  platform.  These  are  the  highlights  from  the
   change-log since ncurses 5.5 release.
d36 13
a48 5
     * generate linkable stubs for some macros:
       getbegx,  getbegy,  getcurx,  getcury,  getmaxx, getmaxy, getparx,
       getpary, getpary,
       and (for libncursesw)
       wgetbkgrnd
d51 67
a117 70
     * library
          + support  hashed databases for the terminal descriptions. This
            uses  the  Berkeley  database,  has  been  tested for several
            versions on different platforms.
          + add    use_legacy_coding()   function   to   support   lynx's
            font-switching feature.
          + add extension nofilter(), to cancel a prior filter() call.
          + add/install a package config script, e.g., ncurses5-config or
            ncursesw5-config, according to configuration options.
          + provide  ifdef  for  NCURSES_NOMACROS  which  suppresses most
            macro  definitions  from  curses.h,  i.e.,  where  a macro is
            defined to override a function to improve performance.
          + make  ifdef's  consistent in curses.h for the extended colors
            so the header file can be used for the normal curses library.
            The  header file installed for extended colors is a variation
            of the wide-character configuration.
          + improve  tgetstr()  by making the return value point into the
            user's buffer, if provided.
          + add  ifdef's  allowing ncurses to be built with tparm() using
            either   varargs   (the   existing   status),   or   using  a
            fixed-parameter list (to match X/Open).
          + widen  the  test  for xterm kmous a little to allow for other
            strings  than  "\E[M",  e.g.,  for xterm-sco functionality in
            xterm.
          + modify wgetnstr() to return KEY_RESIZE if a sigwinch occurs.
          + move  prototypes  for  wide-character  trace  functions  from
            curses.tail  to  curses.wide to avoid accidental reference to
            those  if  _XOPEN_SOURCE_EXTENDED is defined without ensuring
            that <wchar.h> is included.
          + change  the  way  shared  libraries  (other than libtool) are
            installed.  Rather  than  copying the build-tree's libraries,
            link  the  shared  objects  into  the install directory. This
            makes the --with-rpath option work except with $(DESTDIR).
          + several  improvements for rendering in hpterm. These are only
            available    if    the    library    is    configured   using
            --enable-xmc-glitch.
          + Add    NCURSES_NO_HARD_TABS    and    NCURSES_NO_MAGIC_COOKIE
            environment  variables  to  allow  runtime suppression of the
            related hard-tabs and xmc-glitch features.
     * programs:
          + add  new  test programs: chgat.c, demo_altkeys.c, echochar.c,
            foldkeys.c,  movewindow.c,  redraw.c,  (noting  that existing
            test   programs   also   were  modified  to  test  additional
            features).
          + modify tack to test extended capability function-key strings.
          + modify  toe  to  access  termcap  data,  e.g.,  via cgetent()
            functions, or as a text file if those are not available.
          + improve infocmp/tic -f option formatting.
          + add  toe  -a  option,  to  show  all databases. This uses new
            private  interfaces  in  the  ncurses  library  for iterating
            through the list of databases.
          + modify MKfallback.sh to use tic -x when constructing fallback
            tables  to allow extended capabilities to be retrieved from a
            fallback entry.
     * terminal database
          + add terminfo entries for xfce terminal (xfce) and multi gnome
            terminal (mgt)
          + add nsterm-16color entry
          + updated mlterm terminfo entry
          + add kon, kon2 and jfbterm terminfo entry
          + remove  invis capability from klone+sgr, mainly used by linux
            entry, since it does not really do this
          + add ka2, kb1, kb3, kc2 to vt220-keypad as an extension
          + add  shifted  up/down  arrow  codes  to xterm-new as kind/kri
            strings
          + add hpterm-color terminfo entry
          + add  256color variants of terminfo entries for programs which
            are reported to implement this feature
          + correct  order  of use-clauses in rxvt-basic entry which made
            codes for f1-f4 vt100-style rather than vt220-style.
d120 77
a196 36
     * correct  a typo in configure --with-bool option for the case where
       --without-cxx is used.
     * move  assignment from environment variable ESCDELAY from initscr()
       down to newterm() so the environment variable affects timeouts for
       terminals opened with newterm() as well.
     * modify  werase  to clear multicolumn characters that extend into a
       derived window.
     * modify wchgat() to mark updated cells as changed so a refresh will
       repaint those cells.
     * correct  logic  in wadd_wch() and wecho_wch(), which did not guard
       against   passing  the  multi-column  attribute  into  a  call  on
       waddch(), e.g., using data returned by win_wch()
     * fix  redrawing  of  windows other than stdscr using wredrawln() by
       touching the corresponding rows in curscr.
     * reduce  memory leaks in repeated calls to tgetent() by remembering
       the  last TERMINAL* value allocated to hold the corresponding data
       and freeing that if the tgetent() result buffer is the same as the
       previous call.
     * modify  read_termtype() so the term_names data is always allocated
       as part of the str_table, a better fix for a memory leak.
     * fix  wins_nwstr(),  which  did  not  handle single-column non-8bit
       codes.
     * modify  wbkgrnd()  to avoid clearing the A_CHARTEXT attribute bits
       since those record the state of multicolumn characters.
     * improve   SIGWINCH   handling  by  postponing  its  effect  during
       newterm(), etc., when allocating screens.
     * remove  970913 feature for copying subwindows as they are moved in
       mvwin().
     * add checks in waddchnstr() and wadd_wchnstr() to stop copying when
       a null character is found.
     * add  some  checks  to  ensure current position is within scrolling
       region before scrolling on a new line.
     * add  a  workaround  to  ACS  mapping to allow applications such as
       test/blue.c  to  use  the "PC ROM" characters by masking them with
       A_ALTCHARSET. This worked up til 5.5, but was lost in the revision
       of legacy coding.
d200 17
a216 34
          + new options:

              --with-hashed-db
                      Use  Berkeley  hashed database for storing terminfo
                      data  rather  than storing each compiled entry in a
                      separate binary file within a directory tree.

              --without-dlsym
                      Do not use dlsym() to load GPM dynamically.

              --with-valgrind
                      Simplify building for testing with valgrind.

              --enable-wgetch-events
                      Compile with experimental wgetch-events code.

              --enable-signed-char
                      Store booleans in "signed char" rather than "char".

          + improved options:

              --disable-largefile
                      make the option work both ways.

              --with-gpm
                      The  option now accepts a parameter, i.e., the name
                      of the dynamic GPM library to load via dlopen()

              --disable-symlinks
                      The  option  now allows one to disable symlink() in
                      tic even when link() does not work.

     * other configure/build issues:
          + remove  special  case for Darwin in CF_XOPEN_SOURCE configure
d218 13
a230 23
          + add  configure  check  to  ensure that SIGWINCH is defined on
            platforms such as OS X which exclude that when _XOPEN_SOURCE,
            etc., are defined
          + use  ld's -search_paths_first option on Darwin to work around
            odd search rules on that platform.
          + improve  ifdef's for _POSIX_VDISABLE in tset to work with Mac
            OS X.
          + modify  configure  script to ensure that if the C compiler is
            used  rather  than the loader in making shared libraries, the
            $(CFLAGS) variable is also used.
          + use  ${CC}  rather  than  ${LD}  in  shared library rules for
            IRIX64,  Solaris  to help ensure that initialization sections
            are  provided  for  extra  linkage requirements, e.g., of C++
            applications.
          + improve  some  shared-library  configure scripting for Linux,
            FreeBSD and NetBSD to make --with-shlib-version work.
          + split    up    dependency   of   names.c   and   codes.c   in
            ncurses/Makefile to work with parallel make.
          + modify  MKlib_gen.sh  to  change  preprocessor-expanded _Bool
            back to bool.
          + modify progs/Makefile.in to make tput init work properly with
            cygwin, i.e., do not pass a .exe in the reference string used
            in check_aliases.
d232 16
a247 17
          + ignore wide-acs line-drawing characters that wcwidth() claims
            are  not one-column. This is a workaround for Solaris' broken
            locale support.
          + reduce  name-pollution  in  term.h  by removing #define's for
            HAVE_xxx symbols.
          + fix #ifdef in c++/internal.h for QNX 6.1
     * test programs:
          + modify  test/configure script to allow building test programs
            with PDCurses/X11.
          + modified  test  programs  to  allow  some to work with NetBSD
            curses.  Several  do  not  because NetBSD curses implements a
            subset  of  X/Open  curses,  and  also  lacks  much  of  SVr4
            additions. But it is enough for comparison.
          + improved  test/configure  to  build  test/ncurses  on HPUX 11
            using the vendor curses.
          + change  configure  script  to produce test/Makefile from data
            file.
d253 1
a253 1
     * All  257  of  the  SVr4  calls  have  been  implemented  (and  are
d255 2
a256 2
     * Full  support for SVr4 curses features including keyboard mapping,
       color,   forms-drawing   with   ACS   characters,   and  automatic
d258 1
a258 1
     * An  emulation  of  the  SVr4 panels library, supporting a stack of
d260 1
a260 1
     * An  emulation  of the SVr4 menus library, supporting a uniform but
d262 1
a262 1
     * An  emulation of the SVr4 form library, supporting data collection
d264 2
a265 2
     * Binary   terminfo   entries   generated   by  the  ncurses  tic(1)
       implementation  are  bit-for-bit-compatible  with the entry format
d268 1
a268 1
       for  use  with  less  capable curses/terminfo versions such as the
d272 9
a280 7
     * The  API  is 8-bit clean and base-level conformant with the X/OPEN
       curses  specification, XSI curses (that is, it implements all BASE
       level  features,  and  most  EXTENDED  features). It includes many
       function calls not supported under SVr4 curses (but portability of
       all calls is documented so you can use the SVr4 subset only).
     * Unlike  SVr3 curses, ncurses can write to the rightmost-bottommost
       corner  of  the  screen  if  your terminal has an insert-character
d283 2
a284 2
     * Support  for mouse event reporting with X Window xterm and FreeBSD
       and OS/2 console windows.
d286 1
a286 1
     * The  function  wresize()  allows you to resize windows, preserving
d292 2
a293 2
       the  use  of function keys, e.g., disabling the ncurses KEY_MOUSE,
       or  by  defining  more than one control sequence to map to a given
d295 2
a296 2
     * Support for 16-color terminals, such as aixterm and modern xterm.
     * Better  cursor-movement  optimization.  The package now features a
d299 4
a302 4
     * Super   hardware   scrolling   support.   The  screen-update  code
       incorporates  a novel, simple, and cheap algorithm that enables it
       to  make  optimal  use  of hardware scrolling, line-insertion, and
       line-deletion  for  screen-line  movements. This algorithm is more
d304 6
a309 6
     * Real  support  for  terminals  with  the  magic-cookie glitch. The
       screen-update  code  will  refrain from drawing a highlight if the
       magic-   cookie  unattributed  spaces  required  just  before  the
       beginning  and  after the end would step on a non-space character.
       It  will  automatically  shift  highlight boundaries when doing so
       would  make it possible to draw the highlight without changing the
d311 4
a314 4
     * It  is  possible to generate the library with a list of pre-loaded
       fallback  entries linked to it so that it can serve those terminal
       types  even  when  no  terminfo tree or termcap file is accessible
       (this  may  be useful for support of screen-oriented programs that
d317 1
a317 1
       to  translate many termcaps from the XENIX, IBM and AT&T extension
d321 4
a324 4
       entries  from  $HOME/.terminfo  if  it exists, and compile to that
       directory  if  it  exists  and the user has no write access to the
       system  directory.  This feature makes it easier for users to have
       personal  terminfo  entries without giving up access to the system
d326 3
a328 3
     * You  may  specify  a  path  of  directories to search for compiled
       descriptions  with  the  environment  variable TERMINFO_DIRS (this
       generalizes  the  feature  provided by TERMINFO under stock System
d330 1
a330 1
     * In  terminfo  source files, use capabilities may refer not just to
d332 1
a332 1
       compiled  entries  in  either the system terminfo directory or the
d334 4
a337 4
     * A  script  (capconvert)  is  provided to help BSD users transition
       from  termcap to terminfo. It gathers the information in a TERMCAP
       environment  variable  and/or  a ~/.termcap local entries file and
       converts   it   to   an   equivalent  local  terminfo  tree  under
d339 3
a341 3
     * Automatic  fallback  to  the  /etc/termcap file can be compiled in
       when  it is not possible to build a terminfo tree. This feature is
       neither  fast  nor cheap, you don't want to use it unless you have
d343 1
a343 1
     * The  table-of-entries  utility  toe makes it easy for users to see
d346 2
a347 2
       have  a  corresponding  function  which may be linked (and will be
       prototype-checked)  if  the  macro  definition  is  disabled  with
d349 2
a350 2
     * An  HTML  "Introduction  to  Programming  with  NCURSES"  document
       provides  a  narrative  introduction  to  the  curses  programming
d356 3
a358 3
   is  far  more  reliable  than  it  used to be. Bounds checking in many
   `dangerous'  entry points has been improved. The code is now type-safe
   according  to gcc -Wall. The library has been checked for malloc leaks
d361 1
a361 1
   The  ncurses  code has been tested with a wide variety of applications
d366 2
a367 2
          [3]http://invisible-island.net/cdk/
          [4]http://www.vexus.ca/products/CDK/
d371 1
a371 1
          [5]http://invisible-island.net/ded/
d374 1
a374 1
          the  underlying  application used in Slackware's setup, and the
d376 1
a376 1
          [6]http://invisible-island.net/dialog/
d380 1
a380 1
          [7]http://lynx.isc.org/release/
d382 1
a382 1
   Midnight Commander
d384 1
a384 1
          [8]http://www.ibiblio.org/mc/
d388 1
a388 1
          [9]http://www.mutt.org/
d392 1
a392 1
          [10]http://www.ncftp.com/
d397 1
a397 1
          [11]http://www.bostic.com/vi/
d399 3
a401 3
   pinfo
          Lynx-like info browser.
          [12]http://dione.ids.pl/~pborys/software/pinfo/
d403 3
a405 2
   tin
          newsreader, supporting color, MIME [13]http://www.tin.org/
d409 1
a409 1
          [14]http://www.debian.org/Packages/unstable/text/vh.html
d415 1
a415 1
          [15]http://alioth.debian.org/projects/minicom/
d419 1
a419 1
          [16]http://invisible-island.net/vile/
d421 1
a421 1
   The  ncurses  distribution  includes  a  selection  of  test  programs
d426 5
a430 6
   Zeyd  Ben-Halim started it from a previous package pcurses, written by
   Pavel  Curtis.  Eric S. Raymond continued development. Juergen Pfeifer
   wrote  most of the form and menu libraries. Ongoing work is being done
   by  [17]Thomas  Dickey.  Thomas  Dickey acts as the maintainer for the
   Free  Software  Foundation,  which  holds  the  copyright  on ncurses.
   Contact the current maintainers at [18]bug-ncurses@@gnu.org.
d432 1
a432 1
   To   join   the   ncurses   mailing   list,   please  write  email  to
d439 2
a440 2
   Beta  versions  of ncurses and patches to the current release are made
   available at [19]ftp://invisible-island.net/ncurses/ .
d444 1
a444 1
     * Extended-level   XPG4   conformance,   with   internationalization
d448 1
a448 1
   We  need  people to help with these projects. If you are interested in
d453 3
a455 5
   The  distribution  provides  a  newer  version  of the terminfo-format
   terminal description file once maintained by [20]Eric Raymond . Unlike
   the  older  version, the termcap and terminfo data are provided in the
   same  file,  and provides several user-definable extensions beyond the
   X/Open specification.
d457 2
a458 2
   You  can  find  lots  of  information  on  terminal-related topics not
   covered in the terminfo file at [21]Richard Shuford's archive .
d462 6
a467 6
   1. ftp://ftp.gnu.org/gnu/ncurses/
   2. ftp://invisible-island.net/ncurses/
   3. http://invisible-island.net/cdk/
   4. http://www.vexus.ca/products/CDK/
   5. http://invisible-island.net/ded/
   6. http://invisible-island.net/dialog/
d469 1
a469 1
   8. http://www.ibiblio.org/mc/
d473 14
a486 10
  12. http://dione.ids.pl/~pborys/software/pinfo/
  13. http://www.tin.org/
  14. http://www.debian.org/Packages/unstable/text/vh.html
  15. http://alioth.debian.org/projects/minicom/
  16. http://invisible-island.net/vile/
  17. mailto:dickey@@invisible-island.net
  18. mailto:bug-ncurses@@gnu.org
  19. ftp://invisible-island.net/ncurses/
  20. http://www.catb.org/~esr/terminfo/
  21. http://www.cs.utk.edu/~shuford/terminal_index.html
@


