Up to [cvs.NetBSD.org] / pkgsrc / devel / ncurses
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.115 / (download) - annotate - [select for diffs], Thu Jan 19 12:09:20 2023 UTC (10 months, 1 week ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
HEAD
Changes since 1.114: +1 -2
lines
Diff to previous 1.114 (colored)
ncurses: update to 6.4. The most important bug-fixes/improvements dealt with robustness issues. The release notes also mention some other bug-fixes, but are focused on new features and improvements to existing features since ncurses 6.3 release. Library improvements New features There are no new features in this release. Other improvements These are improvements to existing features: * modify delscreen to more effectively delete all windows on the given screen. * modify wnoutrefresh to call pnoutrefresh if its parameter is a pad, rather than treating it as an error, and modify new_panel to permit its window-parameter to be a pad * modify curses_trace() to show the trace-mask as symbols, e.g., TRACE_ORDINARY, DEBUG_LEVEL(3). * improve checks for valid mouse events when an intermediate mouse state is not part of the mousemask specified by the caller * allow extended-color number in opts parameter of wattr_on. * improve _tracecchar_t2 formatting of base+combining character. * trim out some unwanted linker options from ncurses*config and .pc files seen in Fedora 36+. * improve shell-scripts with shellcheck * improve use of "trap" in shell scripts, using a script. * modify make-tar.sh scripts to make timestamps more predictable. These are corrections to existing features: * modify misc/gen-pkgconfig.in to allow for the case where the library directory does not yet exist, since this is processed before doing an install * set trailing null on string passed from winsnstr to wins_nwstr. * modify waddch_literal to allow for double-width base character when merging a combining character Program improvements Several improvements were made to the utility programs: infocmp + rewrite canonical_name function of infocmp to ensure buffer size + improve readability of long parameterized expressions with the infocmp "-f" option by allowing split before a "%p" marker. + modify verbose-option of infocmp, tic, toe to enable debug-tracing if that is configured. tabs limit tab-stop values to max-columns tic add consistency check in tic for u6/u7/u8/u9 and NQ capabilities. tput corrected use of original tty-modes in init/reset subcommands Examples Along with the library and utilities, improvements were made to the ncurses-examples. Most of this activity aimed at improving the test-packages: * add minimal -h (usage) and -V (version) getopt logic to all ncurses-examples programs. * fix an error in "@" command in test/ncurses.c F-menu * add curses_trace to ifdef's for START_TRACE in test/test.priv.h * improve pthread-configuration for test/worm.c * add setlocale call to several test-programs. * workaround in test/picsmap.c for use of floating point for rgb values by ImageMagick 6.9.11, which appears to use the wrong upper limit. * use static libraries for AdaCurses test-package for Mageia, since no gprbuild package is available. * install Ada95 sample programs in libexecdir, adding a wrapper script to invoke those. * install ncurses-examples programs in libexecdir, adding a wrapper script to invoke those. There are other new demo/test programs and reusable examples: test/combine demonstrate combining characters test/test_delwin demonstrate deleting a window test/test_mouse observe mouse events in the raw terminal or parsed ncurses modes test/test_unget_wch demonstrate the unget_wch and unget functions Terminal database There are several new terminal descriptions: * mosh * mosh-256color * teken-16color * teken-sc * teken-vt * xgterm There are many changes to existing terminal descriptions. Some were updates to several descriptions: * make description-fields distinct * fix errata in description fields * add/use several building-blocks: + aixterm+sl + ansi+cpr + apollo+vt132 + decid+cpr + ncr260vp+sl + wyse+sl + x10term+sl + xterm+acs + xterm+alt47 while others affected specific descriptions. These were retested, to take into account changes by their developers: * kitty * teken while these are specific fixes based on reviewing documentation, user reports, or warnings from tic: att610+cvis0 amended note as per documentation for att610, att620, att730 kon, kon2, jfbterm revise to undo "linux2.6" change to smacs/rmacs/enacs st-0.6 add dim, ecma+strikeout foot+base add xterm+sl-alt dec+sl correct dsl in dec+sl mintty and tmux correct setal in mintty/tmux entries, add to vte-2018 nsterm modify nsterm to use xterm+alt1049 putty modify putty to use xterm+alt1049 vte-2018 add blink and setal A few entries use extensions (user-defined terminal capabilities): * use ansi+enq and decid+cpr in cases where the terminal probably supported the u6-u9 extension * remove u6-u9 from teken-2018 * use NQ to flag entries where the terminal does not support query and response * add/use bracketed+paste to help identify terminals supporting this xterm feature * modify samples for xterm mouse 1002/1003 modes to use 1006 mode, and also provide for focus in/out responses * xterm patch #371 supports DEC-compatible status-line. add dec+sl to xterm-new, per xterm #371, add xterm-p371, add xterm-p370, for use in older terminals, and set "xterm-new" to "xterm-p370" (to ease adoption). Documentation As usual, this release * improves documentation by describing new features, * attempts to improve the description of features which users have found confusing * fills in overlooked descriptions of features which were described in the NEWS file but treated sketchily in manual pages. In addition to providing background information to explain these features and show how they evolved, there are corrections, clarifications, etc.: * Corrections: + remove a stray '/' from description of %g in terminfo(5). + correct/improve font-formatting in curs_getch.3x, as well as other manual pages. * New/improved history and portability sections: + add portability notes for delscreen and delwin in manual. + improve curs_slk.3x discussion of extensions and portability * Other improvements: + improve curs_bkgd.3x, explaining that bkgdset can affect results for bkgd + add note on portable memory-leak checking in curs_memleaks.3x + expanded description in resizeterm.3x + add section on releasing memory to curs_termcap.3x and curs_terminfo.3x manpages. + add clarification of the scope of dynamic variables in terminfo(5). + improve formatting of ncurses-intro.html and hackguide.html + improve curs_clear.3x links to other pages + update ncurses-howto, making documentation fixes along with corrections to example programs. + use newer version 1.36 of gnathtml for generating Ada html files. + update external links in Ada95.html There are no new manual pages (all of the manual page updates are to existing pages). Interesting bug-fixes While there were many bugs fixed during development of ncurses 6.4, only a few (the reason for this release) were both important and interesting. Most of the bug-fixes were for local issues which did not affect compatibility across releases. Since those are detailed in the NEWS file no elaboration is needed here. The interesting bugs were those dealing with memory leaks and buffer overflows. Although the utilities are designed for text files (which they do properly), some choose to test them with non-text files. * Text files contain no embedded nulls. Also, they end with a newline. Feeding tic non-text files exposed a few cases where the program did not check for those issues. As a result, further processing of the input found limit-checks whose assumptions were invalid. * Fixing the limit-checks (first) found a problem with tic managing the list of strings in a terminal description. In merging two terminal descriptions (i.e., the "use=" feature), tic was not allocating a complete copy. A quick repair for that introduced a memory leak. * The checks for non-text files are improved (i.e., embedded nulls in the input file will cause tic to reject it rather than attempting to process it). * The string allocations in tic are likewise improved. Configuration changes Major changes There are no major changes. No new options were added. Several improvements were made to configure checks. Configuration options There are a few new/modified configure options: --with-abi-version add ABI 7 defaults to configure script. --with-caps add warning in configure script if file specified for "--with-caps" does not exist. --with-manpage-format bzip2 and xz compression are now supported --with-xterm-kbs add check/warning in configure script if option "--with-xterm-kbs" is missing or inconsistent Portability Many of the portability changes are implemented via the configure script: * amend configure option's auto-search to account for systems where none of the directories known to pkg-config exist * corrected regex needed for older pkg-config used in Solaris 10 * improve handling of --with-pkg-config-libdir option, allowing for the case where either $PKG_CONFIG_LIBDIR or the option value has a colon-separated list of directories * if the --with-pkg-config-libdir option is not given, use ${libdir}/pkgconfig as a default * improve search-path check for pkg-config, e.g., for Debian testing which installs pkg-config with architecture-prefixes. * build-fix for cross-compiling to MingW, conditionally add -lssp * improve configure check for getttynam * fixes to build with dietlibc: + add configure check for fpathconf + add configure check for math sine/cosine, needed in test/tclock, and eliminate pow() from test/hanoi + use wcsnlen as an alternative to wmemchr if it is not found * modify configure macro CF_BUILD_CC to check if the build-compiler works, rather than that it is different from the cross-compiler, e.g., to accommodate a compiler which can be used for either purpose with different flags * modify configure/scripts to work around interference by GNU grep 3.8 Here are some of the other portability fixes: * change man_db.renames to template, to handle ncurses*-config script with the --extra-suffix configure option. * update CF_XOPEN_SOURCE macro, adding variants "gnueabi" and "gnueabihf" to get _DEFAULT_SOURCE special case, as well as adding GNU libc suffixes for "abi64", "abin32", "x32" to distinguish it from other libc flavors. * work around musl's nonstandard use of feature test macros by adding a definition for NCURSES_WIDECHAR to the generated ".pc" and *-config files. * use "command -v" rather than "type" in Ada95/gen/Makefile.in to fix a portability issue.
Revision 1.114 / (download) - annotate - [select for diffs], Tue Jun 28 11:31:49 2022 UTC (17 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3
Changes since 1.113: +2 -1
lines
Diff to previous 1.113 (colored)
*: recursive bump for perl 5.36
Revision 1.113 / (download) - annotate - [select for diffs], Tue Nov 16 15:19:59 2021 UTC (2 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4
Changes since 1.112: +2 -3
lines
Diff to previous 1.112 (colored)
ncurses: update to 6.3. 20211021 6.3 release for upload to ftp.gnu.org + update release notes + add "ncu2openbsd" script, to illustrate how to update an OpenBSD system to use a current ncurses release. 20211018 + check for screen size-change in scr_init() and scr_restore(), in case a screen dump does not match the current screen dimensions (report by Frank Tkalcevic). 20211017 + amend change for pkg-config to account for "none" being returned in the libdir-path result rather than "no" (report by Gabriele Balducci). 20211016 + build-fix for pmake with libtool. + improve make-tar.sh scripts, adding COPYING to tar file, and clean up shellcheck warnings. + add link for "reset6" manpage in test-package ncurses6-doc + revise configure option --with-pkg-config-libdir, using the actual search path from pkg-config or pkgconf using the output from --debug (report by Pascal Pignard). + freeze ABI in ".map" files. 20211009 + implement "+m" option in tabs program. + fill in some details for infoton -TD + fix spelling/consistency in several descriptions -TD + use vt420+lrmm in vt420 -TD + modify save_tty_settings() to avoid opening /dev/tty for cases other than reset/init, e.g., for clear. + modify output of "toe -as" to show first description found rather than the last. + improve tic checks for number of parameters of smglp, smgrp, smgtp, and smgbp (cf: 20020525). + correct off-by-one comparison in last_char(), which did not allow special case of ":" in a terminfo description field (cf: 20120407). + remove check in tic that assumes that none or both parameterized and non-parameterized margin-setting capabilities are present (cf: 20101002). 20211002 + use return-value from vsnprintf to reallocate as needed to allow for buffers larger than the screen size (report by "_RuRo_"). + modify tset "-q" option to refrain from modifying terminal modes, to match the documentation. + add section on margins to terminfo.5, adapted from X/Open Curses. + make tput/tset warning messages consistently using alias names when those are used, rather than the underlying program's name. + improve tput usage message for aliases such as clear, by eliminating tput-specific portions. + add a check in toe to ensure that a "termcap file" is text rather than binary. + further build-fixes for OpenBSD 6.9, whose header files differ from the other BSDs. 20210925 + add kbeg to xterm+keypad to accommodate termcap applications -TD + add smglp and smgrp to vt420+lrmm, to provide useful data for the "tabs" +m option -TD + build-fix for gcc 3.4.3 with Solaris10, which does not allow forward reference of anonymous struct typedef. + modify tput to allow multiple commands per line. + minor fixes for tset manpage. 20210911 + adjust ifdef in test_opaque.c to fix build with ncurses 5.7 + add testing note for xterm-{hp|sco|sun} -TD + corrected description for ansi.sys-old -TD + add xterm+nopcfkeys, to fill in keys for xterm-hp, xterm-sun -TD + use hp+arrows in a few places -TD + use hp+pfk-cr in a few places -TD 20210905 + correct logic in filtering of redefinitions (report by Sven Joachim, cf: 20210828). 20210904 + modify linux3.0 entry to reflect default mapping of shift-tab by kbd 1.14 (report by Jan Engelhardt) -TD + add historical note to tput, curses-terminfo and curses-color manpages based on source-code for SVr2, SVr3 and SVr4. + minor grammatical fixes for "it's" vs "its" (report by Nick Black). + amend fix for --disable-root-environ (report by Arnav Singh). + build-fix for compiling link_test + drop symbols GCC_PRINTF and GCC_SCANF from curses.h.in, to simplify use (Debian #993179). 20210828 + correct reversed check for --disable-root-environ (report/analysis by Arnav Singh, cf: 20210626). + apply gcc format attribute to prototypes which use a va_list parameter rather than a "..." variable-length parameter list (prompted by discussion in a tmux pull-request). + modify configure scripts to filter out redefinitions of _XOPEN_SOURCE, e.g., for NetBSD which generally supports 500, but 600 is needed for ncursesw. + improve documentation for tparm and static/dynamic variables. + improve typography in terminfo.5 (patch by Branden Robinson). 20210821 + improve tparm implementation of %P and %g, more closely matching SVr4 terminfo. + move internals of TERMINAL structure to new header term.priv.h + add "check" rule for ncurses/Makefile + corrected tsl capability for terminator -TD + add check in tic to report instances where tparm would detect an error in an expression (cf: 20201010). + correct a few places where SP->_pair_limit was used rather than SP->_pair_alloc (cf: 20170812). + fix missing "%d" for setaf/setab code 8-15 in xterm+direct16 (report by Florian Weimer) -TD + fix some documentation errata from OpenBSD changes. + update config.sub 20210814 + add workaround for broken pcre2 package in Debian 10, from xterm #369. 20210807 + ignore "--dynamic-linker" option in generated pkg/config files, adapted from "distr1" patch. + add CF_SHARED_OPTS case for Haiku, from patch in haikuports. 20210731 + add extensions in xterm+tmux and ecma+strikeout to ms-terminal, but cancel the non-working Cr and Ms capabilities -TD + add foot and foot-direct -TD 20210724 + add workaround for Windows Terminal's problems with CR/LF mapping to ms-terminal (patch by Juergen Pfeifer). + review/update current Windows Terminal vs ms-terminal -TD 20210718 + correct typo in "vip" comments (report by Nick Black), reviewed this against Glink manual -TD + fill in some missing pieces for pccons, to make it comparable to the vt220 entry -TD + modify mk-1st.awk to account for extra-suffix configure option (report by Juergen Pfeifer). + change default for --disable-wattr-macros option to help packagers who reuse wide ncursesw header file with non-wide ncurses library. + build-fix for test/test_opaque.c, for configurations without opaque curses structs. 20210710 + improve history section for tset manpage based on the 1BSD tarball, which preceded BSD's SCCS checkins by more than three years. + improve CF_XOPEN_CURSES macro used in test/configure (report by Urs Jansen). + further improvement of libtool configuration, adding a dependency of the install.tic rule, etc., on the library in the build-tree. + update config.sub 20210703 + amend libtool configuration to add dependency for install.tic, etc., in ncurses/Makefile on the lower-level libraries. + modify configure script to support ".PHONY" make program feature. 20210626 + add configure option --disable-root-access, which tells ncurses to disallow most file-opens by setuid processes. + use default colors in pccon "op" -TD + correct rmacs/smacs in aaa+dec, aaa+rv -TD + add hpterm-color2 and hp98550-color (Martin Trusler) + regenerate man-html documentation. 20210619 + improve configure-macro used for dependencies of --disable-leaks such as --with-valgrind + trim trailing blanks from files 20210612 + fixes for scan-build, valgrind build/testing. + update config.guess 20210605 + add a summary of ncurses-specific preprocessor symbols to curses.h (prompted by discussion with Peter Farley, Bill Gray). 20210522 + regenerate configure scripts with autoconf 2.52.20210509 to eliminate an unnecessary warning in config.log (report by Miroslav Lichvar). + add a note in manual page to explain ungetch vs unget_wch (prompted by discussion with Peter Farley). + add sp-funcs for erasewchar, killwchar. + modify wgetnstr, wgetn_wstr to improve compatibility with SVr4 curses in its treatment of interrupt and quit characters (prompted by report/testcase by Bill Gray) + update config.guess, config.sub 20210515 + improve manual pages for wgetnstr, newwin (prompted by report/testcase by Bill Gray). 20210508 + modify tputs' error check to allow it to be used without first calling tgetent or setupterm, noting that terminfo initialization is required for supporting the terminfo delay feature (report by Sebastiano Vigna). + fix several warnings from clang --analyze + add null-pointer check in comp_parse.c, when a "use=" clause refers to a nonexisting terminal description (report/patch by Miroslav Lichvar, cf: 20210227). 20210501 + add a special case in the configure script to work around one of the build-time breakages reported for OpenBSD 6 here: https://www.mail-archive.com/bugs@openbsd.org/msg13200.html There is no workaround for the other issue, a broken linker spec. + modify configure check for libtool to prevent accidental use of an OpenBSD program which uses the same name. + update config.guess, config.sub 20210424 + avoid using broken system macros for snprintf which interfere with _nc_SLIMIT's conditionally adding a parameter when the string-hacks configure option is enabled. + add a "all::" rule before the new "check" rule in test/Makefile.in 20210418 + improve CF_LINK_FUNCS by ensuring that the source-file is closed before linking to the target. + add "check" rules for headers in c++, progs and test-directories. + build-fix for termsort module when configured with termcap (reports by Rajeev V Pillai, Rudi Heitbaum). 20210417 + extend --disable-pkg-ldflags option to also control whether $LDFLAGS from the build is provided in -config and .pc files (Debian #986764). + fix some cppcheck warnings, mostly style, in ncurses and c++ libraries and progs directory. + fix off-by-one limit for tput's processing command-line arguments (patch by Hadrien Lacour). 20210403 + fix some cppcheck warnings, mostly style, in ncurses library and progs directory. + improve description of BSD-style padding in curs_termcap.3x + improved CF_C11_NORETURN macro, from byacc changes. + fix "--enable-leak" in CF_DISABLE_LEAKS to allow turning leak-checking off later in a set of options. + relax modification-time comparison in CF_LINK_FUNCS to allow it to accept link() function with NFS filesystems which change the mtime on the link target, e.g., several BSD systems. + call delay_output_sp to handle BSD-style padding when tputs_sp is called, whether directly or internally, to ensure that the SCREEN pointer is passed correctly (reports by Henric Jungheim, Juraj Lutter). 20210327 + build-fixes for Solaris10 /bin/sh + fix some cppcheck warnings, mostly style, in ncurses test-programs, form and menu libraries. 20210323 + add configure option --enable-stdnoreturn, making the _Noreturn keyword optional to ease transition (prompted by report by Rajeev V Pillai). 20210320 + improve parameter-checking in tput by forcing it to analyze any extended string capability, e.g., as used in the Cs and Ms capabilities of the tmux description (report by Brad Town, cf: 20200531). + remove an incorrect free in the fallback (non-checking) version of _nc_free_and_exit (report by Miroslav Lichvar). + correct use-ordering in some xterm-direct flavors -TD + add hterm, hterm-256color (Mike Frysinger) + if the build-time compiler accepts c11's _Noreturn keyword, use that rather than gcc's attribute. + change configure-check for gcc's noreturn attribute to assume it is a prefix rather than suffix, matching c11's _Noreturn convention. + add "lint" rule to c++/Makefile, e.g., with cppcheck. 20210313 + improve configure CF_LD_SEARCHPATH macro used for ncurses*-config and ".pc" files, from dialog changes. + reduce dependency of math-library in test programs. + minor fixes for test_tparm.c (cf: 20210306) + mention "ncurses" prefix in curses_version() manpage (report by Michal Bielinski). 20210306 + improved test/test_tparm.c, by limiting the tests to capabilities that might have parameters or padding, and combined with tputs test. + improve discussion of padding versus tparm and tputs in man/curs_terminfo.3x + update portability note for FreeBSD in man/tput.1 20210227 + modify tic/infocmp to eliminate unnecessary "\" to escape ":" in terminfo format. + add check in tic for duplicate "use=" clauses. 20210220 + improve tic warning when oc/op do not mention SGR 39/49 for xterm compatible XT flag. + revert change to lib_addch.c in waddch_literal() from 20210130, since the followup fix in PutCharLR() actually corrects the problem while this change causes too-early filling/wrapping (report by Johannes Altmanninger). + add/use vt220+pcedit and vt220+vtedit -TD + add scrt/securecrt and absolute -TD + add nel to xterm-new, though supported since X11R5 -TD + add/use xterm+nofkeys -TD + move use of ecma+italics from xterm-basic to xterm+nofkeys -TD 20210213 + add test/back_ground.c, to exercise the wide-character background functions. + add a check in _nc_build_wch() in case the background character is a wide-character, rather than a new part of a multibyte character. + improve tracemunch's coverage of form/menu/panel libraries. + improve tracemunch's checking/reporting the type for the first parameter, e.g., "WINDOW*" rather than "#1". 20210206 + provide for wide-characters as background character in wbkgrnd (report/testcase by Anton Vidovic) + add name for Fedora's pcre2 to configure check for "--with-pcre2" option, from xterm #363 -TD + modify adjustment in PutCharLR to restore the cursor position before writing to the lower-right corner, rather than decrementing the cursor column, in case it was a double-width character (cf: 20210130). 20210130 + correct an off-by-one in comparison in waddch_literal() which caused scrolling when a double-cell character would not fit at the lower right corner of the screen (report by Benno Schulenberg). + split-out att610+cvis, vt220+cvis, vt220+cvis8 -TD + add vt220-base, for terminal emulators which generally have not supported att610's blinking cursor control -TD + use vt220+cvis in vt220, etc -TD + use att610+cvis, xterm+tmux and ansi+enq in kitty -TD + use vt220+cvis in st, terminology, termite since they ignore blinking-cursor detail in att610+cvis -TD 20210123 + modify package/config scripts to provide an explicit -L option for cases when the loader search path has other directories preceding the one in which ncurses is installed (report by Yuri Victorovich). + minor build-fixes in configure script and makefiles to work around quirks of pmake. 20210116 + add comment for linux2.6 regarding CONFIG_CONSOLE_TRANSLATIONS (report by Patrick McDermott) -TD + make opts extension for getcchar work as documented for ncurses 6.1, adding "-g" flag to test/demo_new_pair to illustrate. 20210109 + fix errata in man/ncurses.3x from recent updates. + improve quoting/escaping in configure script, uses some features of autoconf 2.52.20210105 20210102 + update man/curs_memleaks.3x, to include <term.h> which declares exit_terminfo. + clarify man/curs_terminfo.3x, to mention why the macro setterm is defined in <curses.h>, and remove it from the list of prototypes (prompted by patch by Graeme McCutcheon). + amend man/curs_terminfo.3x, to note that <curses.h> is required for certain functions, e.g., those using chtype or attr_t for types, as well as mvcur (cf: 20201031). + use parameter-names in prototypes in curs_sp_funcs.3x, for consistency with other manpages. 20201227 + update terminology entry to 1.8.1 -TD + fix some compiler-warnings which gcc8 reports incorrectly. 20201219 + suppress hyphenation in generated html for manpages, to address regression in upgrade of groff 1.22.2 to 1.22.3. + fix inconsistent sort-order in see-also sections of manpages (report by Chris Bennett). 20201212 + improve manual pages for form field-types. 20201205 + amend build-fixes for gnat 10 to work with certain systems lacking gprbuild (cf: 20200627). + eliminate an additional strlen and wsclen. + eliminate an unnecessary strlen in waddnstr() (suggested by Benjamin Abendroth). + modify inopts manpage, separating the items for nodelay and notimeout (patch by Benno Schulenberg). + correct mlterm3 kf1-kf4 (Debian #975322) -TD + add flash to mlterm3 -TD 20201128 + add Smulx to alacritty (Christian Duerr). + add rep to PuTTY -TD + add putty+keypad -TD + add another fflush(stdout) in _nc_flush() to handle time-delays in the middle of strings such as flash when the application uses low-level calls rather than curses (cf: 20161217). + modify configure check for c89/c99 aliases of clang to use its -std option instead, because some platforms, in particular macOS, do not provide workable c89/c99 aliases. 20201121 + fix some compiler-warnings in experimental Windows-10 driver. + add the definitions needed in recent configure-check for clang (report by Steven Pitman). 20201114 + fix some compiler-warnings in experimental Windows-10 driver. + modify a check for parameters in terminfo capabilities to handle the special case where short extended capability strings were not converted from terminfo to termcap format. + modify CF_MIXEDCASE_FILENAMES macro, adding darwin as special case when cross-compiling (report by Eli Rykoff). 20201107 + update kitty+common -TD + add putty+screen and putty-screen (suggested by Alexandre Montaron). + explain in ncurses.3x that functions in the tinfo library do not rely upon wide-characters (prompted by discussion with Reuben Thomas). 20201031 + modify MKterm.h.in so that it is not necessary to include <curses.h> before <term.h> (prompted by discussion with Reuben Thomas). + review/improve synopsis for curs_sp_funcs.3x (prompted by discussion with Reuben Thomas). + improve format of output in tic's check_infotocap() function, to ensure that the messages contain only printable text. + modify configure-check for clang to verify that -Qunused-arguments is supported. IBM's xlclang does not support it (report by Steven Pitman). 20201024 + provide workaround configure-check for bool when cross-compiling. + fix a potential indexing error in _nc_parse_entry(), seen with Herlim's test data using address-sanitizer. + change a null-pointer check in set_curterm to a valid-string check, needed in to tic's use-resolution when pad_char is cancelled (report/testcase by Robert Sebastian Herlim) + improve tic's -c option to validate the number and type of parameters and compare against expected number/type before deciding which set of parameter-lists to use in tparm calls (report/testcase by Robert Sebastian Herlim). + fix a link for tabs.1 manpage in announce.html.in (report by Nick Black), as well as some fixes via linklint. 20201017 + improve manpage typography. + improve discussion in curs_addch.3x of the use of unctrl to display nonprintable characters. + add a note in terminfo.5 explaining that no-parameter strings such as sgr0 or cnorm should not be used with tparm. 20201010 + correct sgr in aaa+rv (report by Florian Weimer) -TD + fix some sgr inconsistencies in d230c, ibm6153, ibm6154, ncrvt100an -TD + improve tic's check for errors detected in tparm (prompted by discussion with Florian Weimer). + set output-mode to binary in experimental Windows-10 driver (Juergen Pfeifer). 20201003 + remove output-related checks for nl/nonl (report by Leon Winter). + change tmux's kbs to ^? (report by Premysl Eric Janouch) + simplify mlterm initialization with DECSTR -TD + fix a typo in man/curs_terminfo.3 (Reuben Thomas). + add tmux-direct (tmux #2370, Debian #895754) + add user-defined capabilities from mintty to Caps-ncurses, for checking consistency with tic. 20200926 + correct configure-check for gnurx library. + regenerate llib-* files. + modify tracemunch and the panel library to show readable traces for panel- and user-pointers. 20200919 + update mlterm3 for 3.9.0 (report by Premysl Eric Janouch) -TD 20200918 + corrected condition for appending curses.events to the generated curses.h (report by Sven Joachim, Debian #970545). 20200912 + add configure-check for systre/tre with mingw configuration, to get the library-dependencies as seen in msys2 configuration for mingw64. + build-fixes for the win32-driver configuration. + use more defensive binary mode setting for Win32 (Juergen Pfeifer). 20200907 + fix regression in setupterm validating non-empty $TERM (report by Soren Tempel). 20200906 + merge/adapt in-progress work by Juergen Pfeifer for new version of win32-driver. + correct description of vt330/vt340 (Ross Combs). 20200831 + build-fix for awk-scripts modified for win32-driver (report by Werner Fink). 20200829 + remove a redundant NCURSES_EXPORT as a build-fix for "Maarten Anonymous". + merge/adapt in-progress work by Juergen Pfeifer for new version of win32-driver. + modify configure script, moving gcc -Werror options to EXTRA_CFLAGS to avoid breaking configure-checks (adapted from ongoing work on mawk and lynx). > errata for terminfo.src (report by Florian Weimer): + correct icl6404 csr + correct ti916 cup + improve ndr9500 20200822 + improve version-number extraction in MKlib_gen.sh + make the test-package for manpages installable by adjusting the man_db.renames file. + correct an off-by-one loop-limit in convert_strings function (report by Yue Tai). + add CF_SHARED_OPTS cases for HPE NonStop systems (Randall S Becker). + modify CF_SHARED_OPTS case for NetBSD to use the same "-shared" option for the non-rpath case as for the rpath case, to allow gcc to provide suitable runtime initialization (report by Rajeev V Pillai). 20200817 + reduce build-warnings by excluding ncurses-internals from deprecation warnings. + mark wgetch-events feature as deprecated. + add definition for $(LIBS) to ncurses/Makefile.in, to simplify builds using the string-hacks option. + prevent KEY_EVENT from appearing in curses.h unless the configure option --enable-wgetch-events is used (report by Werner Fink). 20200816 + amend tic/infocmp check to allow for the respective tool's absence (report by Steve Wills, cf: 20200808). + improved some of the build-scripts with shellcheck + filter out -MT/-MD/-MTd/-MDd options in script for Visual Studio C++ (discussion with "Maarten Anonymous"). 20200808 + improve discussion of the system's tic utility when used as part of cross-compiling (discussion with Keith Marshall). + modify configuration checks for build-time tic/infocmp to use AC_CHECK_TOOL. That can still be overridden by --with-tic-path and --with-infocmp-path when fallbacks are used, but even if not using fallbacks, the improved check may help with cross-compiling (discussion with Keith Marshall). + other build-fixes for Ada95 with MinGW. + modify Ada95 source-generation utility to write to a file given as parameter rather than to the standard output, allowing builds with MinGW. 20200801 + remove remaining parts of checks for ISC Unix (cf: 20121006). + add user32.lib to LDFLAGS for Visual Studio C++ configuration (discussion with "Maarten Anonymous"). + modify MKkey_defs.sh to hide ncurses' definition of KEY_EVENTS to reduce Visual Studio C++ redefinition warnings. + improve/update checks for external functions in test/configure 20200725 + set LINK_TESTS in CF_SHARED_OPTS for msvc (patch by "Maarten Anonymous") + improved workaround for redefinition-warnings for KEY_EVENT. + improve man/term.5 section on legacy storage format (report by Florian Weimer). 20200718 + reduce redefinition-warnings for KEY_EVENT when building with Visual Studio C++. + define NCURSES_STATIC when compiling programs to link with static libraries, to work with MinGW vs Visual Studio C++. > additional changes for building with Visual Studio C++ and msys2 (reports/patches by "Maarten Anonymous") + modify c++/Makefile.in to set the current directory while compiling the main program, so the linker can find related objects. + several changes to allow the c++/demo program to compile/link. + change an ifdef in test-directory, to use VC++ wide-character funcs. 20200711 + fix pound-sign mapping in acsc of linux2.6 entry (report by Ingo Bruckl). + additional changes for building with Visual Studio C++ and msys2 (reports/patches by "Maarten Anonymous") + build-improvements for Windows 10 and MinGW (patch by Juergen Pfeifer). + fix a typo in curs_printw.3x (patch by William Pursell). + fix two errors in infotocap which allowed indexing outside the buffer (report/testcases by Zhang Gan). + update length of strings in infocmp's usage function to restore a trailing null on the longest string (report/testcase by Zhang Gen). 20200704 + modify version-check with Ada generics to use the same pattern as in the check for supported gnat versions (report by Pascal Pignard). > additional changes for building with Visual Studio C++ and msys2 (patches by "Maarten Anonymous"): + adjust headers/declarations to provide for "dllimport" vs "dllexport" declarations when constructing DLLs, to worko with Visual Studio C++. 20200627 + build-fixes for gnat 10.1.1, whose gnatmake drops integration with gprbuild. + correct buffer-length in test/color_name.h 20200613 + update list of functions in ncurses.3x + move dlclose() call from lib_mouse.c to delscreen() to avoid a case in the former which could be called from SIGTSTP handler (Debian #961097). 20200606 + add xterm+256color2, xterm+88color2, to deprecate nonstandard usage in xterm+256color, xterm+88color -TD + add shifted Linux console keys in linux+sfkeys entry for screen.linux (report by Alexandre Montaron). + use vt100+enq in screen (report by Alexandre Montaron). + add screen.linux-s alias (suggested by Alexandre Montaron). 20200531 + correct configure version-check/warnng for g++ to allow for 10.x + re-enable "bel" in konsole-base (report by Nia Huang) + add linux-s entry (patch by Alexandre Montaron). + drop long-obsolete convert_configure.pl + add test/test_tparm.c, for checking tparm changes. + improve parameter-checking for tparm, adding function _nc_tiparm() to handle the most-used case, which accepts only numeric parameters (report/testcase by "puppet-meteor"). + use a more conservative estimate of the buffer-size in lib_tparm.c's save_text() and save_number(), in case the sprintf() function passes-through unexpected characters from a format specifier (report/testcase by "puppet-meteor"). + add a check for end-of-string in cvtchar to handle a malformed string in infotocap (report/testcase by "puppet-meteor"). 20200523 + update version-check for gnat to allow for gnat 10.x to 99.x + fix an uninitialized variable in lib_mouse.c changes (cf: 20200502) + add a check in EmitRange to guard against repeat_char emitting digits which could be interpreted as BSD-style padding when --enable-bsdpad is configured (report/patch by Hiltjo Posthuma). + add --disable-pkg-ldflags to suppress EXTRA_LDFLAGS from the generated pkg-config and ncurses*-config files, to simplify configuring in the case where rpath is used but the packager wants to hide the feature (report by Michael Stapelberg). > fixes for building with Visual Studio C++ and msys2 (patches by "Maarten Anonymous"): + modify CF_SHARED_OPTS to generate a script which translates linker options into Visual Studio's dialect. + omit parentheses around function-names in generated lib_gen.c to work around a Visual Studio C++ limitation. 20200516 + add notes on termcap.h header in curs_termcap.3x + update notes on vscode / xterm.js -TD 20200509 + add "-r" option to the dots test-programs, to help with scripting a performance comparison. + build-fix test/move_field.c for NetBSD curses, whose form headers use different names than SVr4 or ncurses. 20200502 + add details on the change to Linux SGR 21 in 2018 -TD + add xterm-direct16 and xterm-direct256 -TD + modify lib_mouse.c to check for out-of-range button numbers, convert those to position reports. 20200425 + use vt100+fnkeys in putty -TD + fix a typo in tput.1; "columns" should be "cols". 20200418 + improve tracemunch logic for "RUN" compaction. + fix a special case in wresize() where copying the old text did not check if the last cell on a row was the beginning of a fullwidth character (adapted from patch by Benno Schulenberg). + use vt52+keypad in xterm-vt52, from xterm #354 -TD + improve see-also section of user_caps.5 20200411 + fix find_pair(), overlooked when refactoring for _nc_reserve_pairs() (report/testcase by Brad Town, cf: 20170812). + add a trailing null for magic-string in putwin, flagged by gcc 10 + update check for gcc version versus gnat to work with gcc 10.x 20200404 + modify -fvisibility check to work with g++ > fixes for building with Visual Studio C++ and msys2 (patches by "Maarten Anonymous"): + add configure option and check for gcc -fvisibility=hidden feature + define NCURSES_NOMACROS in lib_gen.c to work around Visual Studio C++ preprocessor limitations. + modify some of the configure-macros, as well as mk-1st.awk to work with Visual Studio C++ default filenaming. 20200328 + correct length of buffer copied in dup_field(). + remove "$(srcdir)/" from path of library.gpr, needed for out-of-tree builds of Ada95 (patch by Adam Van Ymeren). 20200321 + improve configure-checks to reduce warnings about unused variables. + improve description of error-returns in waddch and waddnstr manual pages (prompted by patch by Benno Schulenberg). + add test/move_field.c to demonstrate move_field(), and a stub for a corresponding demo of dup_field(). 20200314 + add history note to curs_scanw.3x for <stdarg.h> and <varargs.h> + add history note to curs_printw.3x for <stdarg.h> and <varargs.h> + add portability note to ncurses.3x regarding <stdarg.h> 20200308 + update copyright notices in test-packages. + modify tracemunch to guard against errors in its known_p1 table. + add several --with-xxx-libname options, to help with pkgsrc (prompted by discussion with Thomas Klausner). 20200301 + modify wbkgd() and wbkgrnd() to avoid storing a null in the background character, because it may be used in cases where the corresponding 0x80 is not treated as a null (report by Marc Rechte, cf: 20181208). 20200229 + modify CF_NCURSES_CONFIG to work around xcode's c99 "-W" option, which conflicts with conventional use for passing linker options. > fixes for building with Visual Studio C++ and msys2 (patches by "Maarten Anonymous"): + check for pcre2posix.h instead of pcre2-posix.h + add case in CF_SHARED_OPTS for msys2 + msvc + add fallback definition for STDIN_FILENO in progs.priv.h + modify win_driver.c to use _alloca() rather than gcc's variable length array feature. + add NCURSES_IMPEXP to ncurses wrapped-variable declarations + remove NCURSES_IMPEXP from class variables in c++/cursslk.h + remove fallback prototype for exit() from c++/etip.h.in + use configured check for <sys/time.h> in a couple of places + conditionally include winsock.h in ncurses/win32con/gettimeofday.c, because Visual Studio needs this for the timestruct declaration. + adjust syntax in a couple of files using the NCURSES_API symbol. 20200222 + expanded note in ncurses.3x regarding automatically-included headers + improve vt50h and vt52 based on DECScope manual -TD + add/use vt52+keypad and vt52-basic -TD + check/workaround for line-too-long in Ada95 generate utility when building out-of-tree. + improve/update HEADER_DEPS in */Makefile.in + add "check" rule to include/Makefile, to demonstrate that the headers include all of the required headers for the types used. 20200215 + improve manual page for panel library, extending the portability section as well as documenting error-returns. + show tic's version when installing terminal database in run_tic.sh + correct check for gcc vs other compilers used in ncurses 6.0, from FreeBSD patch by Kyle Evans (cf: 20150725). + add notes for 6.2 to INSTALL.
Revision 1.112 / (download) - annotate - [select for diffs], Wed Nov 3 10:33:58 2021 UTC (2 years ago) by jperkin
Branch: MAIN
Changes since 1.111: +8 -2
lines
Diff to previous 1.111 (colored)
ncurses: Fix install on case-insensitive file systems. Bump PKGREVISION.
Revision 1.110.4.1 / (download) - annotate - [select for diffs], Sat Oct 16 18:52:07 2021 UTC (2 years, 1 month ago) by tm
Branch: pkgsrc-2021Q3
Changes since 1.110: +2 -2
lines
Diff to previous 1.110 (colored) next main 1.111 (colored)
Pullup ticket #6517 - requested by wiz devel/ncurses: security fix Revisions pulled up: - devel/ncurses/Makefile 1.111 - devel/ncurses/distinfo 1.48 - devel/ncurses/patches/patch-ncurses_tinfo_captoinfo.c 1.1 --- Module Name: pkgsrc Committed By: wiz Date: Sat Oct 9 07:52:36 UTC 2021 Modified Files: pkgsrc/devel/ncurses: Makefile distinfo Added Files: pkgsrc/devel/ncurses/patches: patch-ncurses_tinfo_captoinfo.c Log Message: ncurses: fix for CVE-2021-39537 from upstream Many thanks to Thomas Dickey for help in tracking down the bugfix patch! PKGREVISION++
Revision 1.111 / (download) - annotate - [select for diffs], Sat Oct 9 07:52:36 2021 UTC (2 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.110: +2 -2
lines
Diff to previous 1.110 (colored)
ncurses: fix for CVE-2021-39537 from upstream Many thanks to Thomas Dickey for help in tracking down the bugfix patch! PKGREVISION++
Revision 1.110 / (download) - annotate - [select for diffs], Mon May 24 19:50:02 2021 UTC (2 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2
Branch point for: pkgsrc-2021Q3
Changes since 1.109: +2 -2
lines
Diff to previous 1.109 (colored)
*: recursive bump for perl 5.34
Revision 1.109 / (download) - annotate - [select for diffs], Mon Mar 30 08:53:42 2020 UTC (3 years, 8 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2
Changes since 1.108: +2 -2
lines
Diff to previous 1.108 (colored)
ncurses: Apply Debian patch to fix tmux with screen-256color. Bump PKGREVISION.
Revision 1.108 / (download) - annotate - [select for diffs], Sat Mar 28 07:55:54 2020 UTC (3 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base,
pkgsrc-2020Q1
Changes since 1.107: +2 -1
lines
Diff to previous 1.107 (colored)
ncurses: restore patch for xterm-new Sent upstream this time. Requested by jperkin. Bump PKGREVISION.
Revision 1.107 / (download) - annotate - [select for diffs], Fri Mar 6 08:30:19 2020 UTC (3 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.106: +2 -2
lines
Diff to previous 1.106 (colored)
ncurses: use rm -f
Revision 1.106 / (download) - annotate - [select for diffs], Thu Mar 5 12:52:32 2020 UTC (3 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.105: +2 -1
lines
Diff to previous 1.105 (colored)
ncurses: clean up patches Remove cargo-cult packages, only keep the ones for renaming the form/menu/panel libraries to gnu*. Handle (removing) terminfo symlink in Makefile instead of as a patch. No functional change intended.
Revision 1.105 / (download) - annotate - [select for diffs], Wed Mar 4 14:04:22 2020 UTC (3 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.104: +2 -2
lines
Diff to previous 1.104 (colored)
ncurses: update to 6.2. 20200212 6.2 release for upload to ftp.gnu.org + update release notes + minor build-fixes, mostly to test-package scripts 20200208 + modify check for sizeof(wchar_t) to ensure it gives useful result when cross-compiling. + drop assumption in configure script that Cygwin's linker is broken. + define NCURSES_BROKEN_LINKER if the broken-linker feature is used, to simplify configure-checks for ncurses-examples. 20200202 + reassert copyright on ncurses, per discussion in ncurses FAQ: https://invisible-island.net/ncurses/ncurses.faq.html#relicensed 20200201 + modify comparison in make_hash.c to correct a special case in collision handling for Caps-hpux11 + add testing utility report_hashing to check hash-tables used for terminfo and termcap names. + fix a missing prototype for _nc_free_and_exit(). + update a few comments about tack 1.07 + use an awk script to split too-long pathnames used in Ada95 sample programs for explain.txt 20200118 + expanded description of XM in user_caps.5 + improve xm example for xterm+x11mouse, xterm+sm+1006 -TD + add history section to curs_slk.3x and curs_terminfo.3x manpages. + update alacritty entries for 0.4.0 (prompted by patch by Christian Durr) -TD + correct spelling errors found with codespell. + fix for test/configure, from xterm #352. 20200111 + improve configure macros which check for the X11/Intrinsic.h header, to accommodate recent MacOS changes. + suppress gcc's -Winline warning; it has not been useful for some time + update config.guess, config.sub 20200104 + modify a couple of macros in aclocal.m4 to allow autoconf 2.69 to "work", to help illustrate discussion in https://invisible-island.net/autoconf/my-autoconf.html + fix some warnings from autoheader-252 20191228 + in gen-pkgconfig.in, move the RPATH_LIST and PRIVATE_LIBS assignments past the various prefix/libdir assignments, to allow for using those symbols, e.g., as done via CF_SHARED_OPTS. + improve ncurses*-config and pc-files by filtering out linker-specs. + modify test-package to more closely match Fedora's configuration for PIE/PIC feature and debug-packages. 20191221 + correct pathname used in Ada95 sample programs for explain.txt, to work with test-packages. + improve tracemunch: + keep track of TERMINAL* values + if tracing was first turned on after initialization, attempt to show distinct screen, window and terminal names anyway. + ensure that GCC_NORETURN is defined in term.h, because the prototype for exit_terminfo() uses it (report by Werner Fink). 20191214 + add exit_curses() and exit_terminfo() to replace internal symbols for leak-checking. 20191207 + fix a few warnings for test-package builds + add curses_trace(), to replace trace(). 20191130 + add portability section to curs_getcchar manpage (prompted by discussion with Nick Black). + improve portability discussion of ACS characters in curs_addch manpage. + improve typography for double-quotes in manpages. 20191123 + fix typo for MinGW rpm test-package. + workaround in rpm specs for NFS problems in Fedora 31. 20191116 + modify ncurses/Makefile.in to fix a case where Debian/testing changes to the ld --as-needed configuration broke ncurses-examples test packages. + drop library-dependency on psapi for MinGW port, since win_driver.c defines PSAPI_VERSION to 2, making it use GetProcessImageFileName from kernel32.dll (prompted by patch by Simon Sobish, cf: 20140503). 20191109 + add warning-check in tic for terminals with parm_dch vs parm_ich. + drop ich1 from rxvt-basic, Eterm and mlterm to improve compatibility with old non-curses programs -TD + reviewed st 0.8.2, updated some details -TD + use ansi+rep several places -TD + corrected tic's check for ich1 (report by Sebastian J. Bronner, cf: 20020901). 20191102 + check parameter of set_escdelay, return ERR if negative. + check parameter of set_tabsize, return ERR if not greater than zero (report/patch by Anthony Sottile). + revise CF_ADD_LIBS macro to prepend rather than append libraries. + add "xterm-mono" to help packagers (report by Sven Joachim) -TD 20191026 + add a note in man/curs_add_wch.3x about Unicode terminology for the line-drawing characters (report by Nick Black). + improve comment in lib_tgoto.c regarding the use of \200 where a \0 would be intended by the caller (report by "64 bit", cf: 20000923). + modify linux-16color to accommodate Linux console driver change in early 2018 (report by Dino Petrucci). 20191019 + modify make_hash to not require --disable-leaks, to simplify building with address-sanitizer. + modify tic to exit if it cannot remove a conflicting name, because treating that as a partial success can cause an infinite loop in use-resolution (report/testcase by Hongxu Chen, cf: 20111001). 20191015 + improve buffer-checks in captoinfo.c, for some cases when the input string is shorter than expected. > fix two errata in tic (report/testcases by Hongxu Chen): + check for missing character after backslash in write_it + check for missing characters after "%>" when converting from termcap syntax (cf: 980530). 20191012 + amend recent changes to ncurses*-config and pc-files to filter out Debian linker-flags (report by Sven Joachim, cf: 20150516). + clarify relationship between tic, infocmp and captoinfo in manpage. + check for invalid hashcode in _nc_find_type_entry and _nc_find_name_entry. > fix several errata in tic (reports/testcases by "zjuchenyuan"): + check for invalid hashcode in _nc_find_entry. + check for missing character after backslash in fmt_entry + check for acsc with odd length in dump_entry in check for one-one mapping (cf: 20060415); + check length when converting from old AIX box_chars_1 capability, overlooked in changes to eliminate strcpy (cf: 20001007). 20191005 + modify the ncurse*-config and pc-files to more closely match for the -I and -l options. 20190928 + amend the ncurses*-config and pc-files to take into account the rpath hack which differed between those files. + improve -L option filtering in ncurses*-config + improve recovery from error when reading command-character in test/ncurses.c, showing the relevant error message and not exiting on EINTR (cf: 20180922) 20190921 + add a note in resizeterm manpage about top-level windows which touch the screen's borders. + modify configure-checks for gnat to identify each of the tools path and version. 20190914 + build-fixes for Ada95 configure-script and corresponding test package 20190907 + add --with-ada-libname option and modify Ada95 configuration to allow renaming the "AdaCurses" library (prompted by proposed changes by Pascal Pignard). + modify configure script to distinguish gcc from icc and clang when the --enable-warnings option is not used, to avoid unnecessary warnings about unrecognized inline options (report by Sven Joachim). 20190831 + build-fixes for configuration using --program-suffix with Ada95, noticed with MacOS but applicable to other platforms without libpanelw, etc. 20190824 + fix some cppcheck warnings, mostly style, in ncurses test-programs. 20190817 + amend 20181208 changes for wbkgd() and wbkgrnd(), fixing a few details where it still differed from SVr4. + fix some cppcheck warnings, mostly style, in ncurses test-programs. 20190810 + fix a few more coverity warnings. 20190803 + improve loop limits in _nc_scroll_window() to handle a case where the scrolled data is a pad which is taller than the window (patch by Rob King). + amend the change to screen, because tmux relies upon that entry and does not support that feature (Debian #933572) -TD + updated ms-terminal entry & notes -TD + updated kitty entry & notes -TD + updated alacritty+common entry & notes -TD + use xterm+sl-twm for consistency -TD 20190728 + fix a few more coverity warnings. + more documentation updates based on tctest. 20190727 + fix a few coverity warnings. + documentation updates based on tctest. 20190720 + fix a few warnings for gcc 4.x + add some portability/historical details to the tic, toe and infocmp manual pages. + correct fix for broken link from terminfo(5) to tabs(1) manpage (report by Sven Joachim). 20190713 + change reset's behavior for margins to simply clear soft-margins if possible, rather than clearing and then setting them according to the terminal's width (suggested by Thomas Wolff). + correct order of one wbkgd versus start_color call in test/padview.c 20190706 + add domterm -TD + improve comments for recent changes, add alias xterm.js -TD 20190630 + add --with-tic-path and --with-infocmp-path to work around problems building fallback source using pre-6.0 tic/infocmp. + add a check in tic for paired indn/rin + correct a buffer-limit in write_entry.c for systems that use caseless filenames. + add ms-terminal -TD + add vscode, vscode-direct -TD 20190623 + improve the tabs.1 manual page to distinguish the PWB/Unix and 7th Edition versions of the tabs utility. + add configure check for getenv() to work around implementation shown in Emscripten #6766, use that to optionally suppress START_TRACE macro, whose call to getenv() may not work properly (report by Ilya Ig Petrov). + modify initialization functions to avoid relying upon persistent data for the result from getenv(). + update config.guess, config.sub 20190615 + expand the portability section of the man/tabs.1 manual page. + regenerate HTML manpages. 20190609 + add mintty, mintty-direct (adapted from patch by Thomas Wolff). Some of the suggested user-defined capabilities are commented-out, to allow builds with ncurses 5.9 and 6.0 + add Smol/Rmol for tmux, vte-2018 (patch by Nicholas Marriott). + add rs1 to konsole, mlterm -TD + modify _nc_merge_entry() to make a copy of the data which it merges, to avoid modifying the source-data when aligning extended names. 20190601 + modify an internal call to vid_puts to pass extended color pairs e.g., from tty_update.c and lib_mvcur.c (report by Niegodziwy Beru). + improve manual page description of init_tabs capability and TABSIZE variable. 20190525 + modify reset_cmd.c to allow for tabstops at intervals other than 8 (report by Vincent Huisman). 20190518 + update xterm-new to xterm patch #345 -TD + add/use xterm+keypad in xterm-new (report by Alain D D Williams) -TD + update terminator entry -TD + remove hard-tabs from ti703 (report by Robert Clausecker) + mention meml/memu/box1 in user_caps manual page. + mention user_caps.5 in tic and infocmp manual pages. 20190511 + fix a spurious blank line seen with "infocmp -1fx xterm+x11mouse" + add checks in repair_subwindows() to keep the current position and scroll-margins inside the resized subwindow. + add a limit check in newline_forces_scroll() for the case where the row is inside scroll-margins, but not at the end (report by Toshio Kuratomi, cf: 20170729). + corrected a warning message in tic for extended capabilities versus number of parameters. 20190504 + improve workaround for Solaris wcwidth versus line-drawing characters (report by Pavel Stehule). + add special case in tic to validate RGB string-capability extension. + corrected string/parameter-field for RGB in Caps-ncurses. 20190427 + corrected problem in terminfo load/realignment which prevented infocmp from comparing extended capabilities with the same name but different types. 20190420 + improve ifdef's for TABSIZE variable, to help with AIX/HPUX ports. 20190413 + check for TABSIZE variable in test/configure script. + used test/test_arrays.c to improve Caps.aix1 and Caps.hpux11 + corrected filtering of comments in MKparametrized.sh + reduce duplication across Caps* files by moving some parts which do not depend on order into Caps-ncurses. 20190406 + modify MKcaptab.sh, MKkey_defs.sh, and MKhashsize.sh to handle split-up Caps-files. + build-fixes if extended-functions are disabled. 20190330 + add "screen5", to mention italics (report by Stefan Assmann) + modify description of xterm+x11hilite to eliminate unused p5 -TD + add configure script checks to help with a port to Ultrix 3.1 (report by Dennis Grevenstein). + check if "b" binary feature of fopen works + check for missing feature of locale.h + add fallback for strstr() in test-programs + add fallback for STDOUT_FILENO in test-programs + update config.guess, config.sub 20190323 + move macro for is_linetouched() inside NCURSES_NOMACROS ifndef. + corrected prototypes in several manpages using script to extract those in compilable form. + use _nc_copy_termtype2() rather than direct assignment in setupterm, in case it is called repeatedly using fallback terminfo descriptions (report/patch by Werner Fink). 20190317 + regenerate llib-* files. + modify tic to also use new function for user-defined capability info. + modify _nc_parse_entry() to check if a user-defined capability has an unexpected type; ignore it in that case. + fix a special case of link-anchors in generated Ada html files. + use newer rel=author tag in generated html rather than rev=made, which did not become accepted. 20190309 + in-progress changes to add parameter-checking for common user-defined capabilities in tic. + update MKcodes.awk and MKnames.awk to ignore the new "userdef" data in Caps-ncurses (cf: 20190302). 20190302 + corrected some of the undocumented terminfo names in Caps.hpux11 + add "Caps-ncurses" file to help with checking inconsistencies in some user-defined capabilities. + amend check for repeat_char to handle a case where setlocale() was called after initscr() (report by "Ampera"). 20190223 + fix typo in adds200 -TD + add tic check for consistent alternate character set capabilities. + improve check in mvcur() to decide whether to use hard-tabs, using xt, tbc and hts as clues. + replace check in reset command for obsolete "pt" capability using tbc and hts capabilities as clues (report by Nicolas Marriott). 20190216 + improve manual page description of TABSIZE. + add test/demo_tabs program. 20190209 + add check in tic to provide warnings for mismatched number of parameters in the documented user-capability extensions. 20190202 + modify rpm test-package ".spec" file to work around naming conflict with Redhat's package for ncurses6. + modify no-leaks code in test/picsmap to avoid non-standard tdestroy. + amend change to configure script which altered the top-level makefile to avoid attempting to install the terminfo database when it was not configured, to allow for installing the ".pc" files which are also in the misc directory (report by Steve Wills). 20190126 + change some "%define" statements in test-packages for RPMs to "%global" to work around changes in rpm 4.14 from recent Redhat. + fixes for O_INPUT_FIELD extension (patch by Leon Winter). + eliminate fixed buffer-size when reading $TERMCAP variable. + correct logic in read_entry.c which prevented $TERMCAP variable from being interpreted as a fallback to terminfo entry (prompted by Savannah #54556, cf: 20110924). 20190121 + add a check in test/configure to work around non-ncurses termcap.h file in Slackware. + corrected flag for "seq" method of db 1.8.5 interface, needed by toe on some of the BSDs. + updated "string-hacks" feature. + minor improvements to manpage typography. + corrected conditionally-compiled limit on color pairs (report by "Hudd"). + add -x option to test/pair_content, test/color_content for testing init_extended_pair, extended_pair_content, init_extended_color, extended_color_content + add -p option to test/pair_content, test/color_content to show the return values from the tested functions. + improve manual page curs_color.3x discussion of error returns and extensions. + add O_INPUT_FIELD extension to form library (patch by Leon Winter). + override/suppress --enable-db-install if --disable-database configure option was given. + change a too-large terminal entry in tic from a fatal error to a warning (prompted by discussion with Gabriele Balducci). 20190112 + fix typo in term(5), improve explanation of format (report by Otto Modinos). + add nsterm-direct -TD + use SGR 1006 mouse for konsole-base -TD + use SGR 1006 mouse for putty -TD + add ti703/ti707, ti703-w/ti707-w (Robert Clausecker) 20190105 + add dummy "check" rule in top-level and test-Makefile to simply building test-packages for Arch. + modify configure script to avoid conflict with a non-POSIX feature that enables all parts of the system headers by default. Some packagers have come to rely upon this behavior (FreeBSD #234049). + update config.guess, config.sub 20181229 + improve man/curs_mouse.3x with regard to xterm + modify tracemunch to accept filename parameters in addition to use as a pipe/filter. + minor optimization to reduce calls to _nc_reserve_pairs (prompted by discussion with Bryan Christ). + add test/pair_content.c and test/color_content.c + modify infocmp to omit filtering of "OTxx" names which are used for obsolete capabilities, when the output is sorted by long-names. Doing this helps when making a table of the short/long capability names. 20181215 + several fixes for gcc8 strict compiler warnings. + fix a typo in comments (Aaron Gyes). + add nsterm-build309 to replace nsterm-256color, assigning the latter as an alias of nsterm, to make mouse work with nsterm-256color -TD + base gnome-256color entry on "gnome", not "vte", for consistency -TD + updates for configure macros from work on tin and xterm: + CF_GNU_SOURCE, allow for Cygwin's newlib when checking for the _DEFAULT_SOURCE symbol. + CF_VA_COPY, add fallback check if neither va_copy/__va_copy is supported, to try copying the pointers for va_list, or as an array. Also add another fallback check, for __builtin_va_copy(), which could be used with AIX xlc in c89 mode. 20181208 + modify wbkgd() and wbkgrnd() to improve compatibility with SVr4 curses, changing the way the window rendition is updated when the background character is modified (report by Valery Ushakov). 20181201 + add midnightbsd to CF_XOPEN_SOURCE macro (patch by Urs Jansen). + add "@" command to test/ncurses F-test, to allow rapid jump to different character pages. + update config.guess, config.sub from http://git.savannah.gnu.org/cgit/config.git 20181125 + build-fix (reports by Chih-Hsuan Yen, Sven Joachim). 20181124 + check --with-fallbacks option to ensure there is a value, and add the fallback information to top-level Makefile summary. + add some traces in initialization to show whether a fallback entry is used. + build-fix for test/movewindow with ncurses-examples on Solaris. + add "-l" option to test/background, to dump screen contents in a form that lets different curses implementations be compared. + modify the initialization checks for mouse so that the xterm+sm+1006 block will work with terminal descriptions not mentioning xterm (report by Tomas Janousek). 20181117 + ignore the hex/b64 $TERMINFO in toe's listing. + correct a status-check in _nc_read_tic_entry() so that if reading a hex/b64 $TERMINFO, and the $TERM does not match, fall-through to the compiled-in search list. 20181110 + several workarounds to ensure proper C compiler used in parts of Ada95 tree. + update config.guess, config.sub from http://git.savannah.gnu.org/cgit/config.git 20181027 + add OpenGL clients alacritty and kitty -TD + add Smulx for tmux, vte-2018 -Nicholas Marriott 20181020 + ignore $TERMINFO as a default value in configure script if it came from the infocmp -Q option. + allow value for --with-versioned-syms to be a relative pathname + add a couple of broken-linker symbols to the list of versioned symbols to help with link-time optimization versus weak symbols. + apply shift/control/alt logic when decoding xterm's 1006 mode to wheel-mouse events (Redhat #1610681). 20181013 + amend change from 20180818, which undid a fix for the $INSTALL value to make it an absolute path. 20181006 + improve a configure check to work with newer optimizers (report by Denis Pronin, Gentoo #606142). + fix typo in tput.c (Sven Joachim, cf: 20180825). 20180929 + fix typo in tvi955 -TD + corrected acsc for regent60 -TD + add alias n7900 -TD + corrected acsc for tvi950 -TD + remove bogus kf0 from tvi950 -TD + added function-key definitions to agree with Televideo 950 manual -TD + add bel to tvi950 -TD + add shifted function-keys to regent60 -TD + renumber regent40 function-keys to match manual -TD + add cd (clr_eos) to adds200 -TD 20180923 + build-fix: remove a _tracef call which was used for debugging (report by Chris Clayton). 20180922 + ignore interrupted system-call in test/ncurses's command-line, e.g., if the terminal were resized. + add shift/control/alt logic for decoding xterm's 1006 mode (Redhat #1610681, cf: 20141011). + modify rpm test-packages to not use --disable-relink with Redhat, since Fedora 28's tools do not work with that feature. 20180908 + document --with-pcre2 configure option in INSTALL. + improve workaround for special case in PutAttrChar() where a cell is marked as alternate-character set, to handle a case where the character in the cell does not correspond to any of the ASCII fallbacks (report by Leon Winter, cf: 20180505). + amend change to form library which attempted to avoid unnecessary update of cursor position in non-public fields, to simply disable output in this case (patch by Leon Winter, cf: 20180414). + improve check for LINE_MAX runtime limit, to accommodate broken implementations of sysconf(). 20180901 + improve manual page for wgetnstr, giving background for the length parameter. + define a limit for wgetnstr, wgetn_wstr when length is negative or "too large". + update configure script to autoconf 2.52.20180819 (Debian #887390). 20180825 + add a section to tput manual page clarifying how it determines the terminal size (prompted by discussion with Grant Jenks). + add "--disable-relink" to rpm test-packages, for consistency with the deb test-packages. + split spec-file into ncurses6.spec and ncursest6.spec to work around toolset breakage in Fedora 28. + drop mention of "--disable-touching", which was not in the final 20180818 updates. 20180818 + build-fix for PDCurses with ncurses-examples. + improved CF_CC_ENV_FLAGS. + modify configure scripts to reduce relinking/ranlib during library install (Debian #903790): + use "install -p" when available, to avoid need for ranlib of static libraries. + modify scripts which use "--disable-relink" to add a 1-second sleep to work around tools which use whole-second timestamps, e.g., in utime() rather than the actual file system resolution. 20180804 + improve logic for clear with E3 extension, in case the terminal scrolls content onto its saved-lines before actually clearing the display, by clearing the saved-lines after clearing the display (report/patch by Nicholas Marriott). 20180728 + improve documentation regarding feature-test macros in curses.h + improve documentation regarding the virtual and physical screens. + formatting fixes for manpages, regenerate man-html documentation. 20180721 + build-fixes for gcc8. + corrected acsc for wy50 -TD + add wy50 and wy60 shifted function-keys as kF1 to kF16 -TD + remove ansi+rep mis-added to interix in 2018-02-23 -TD 20180714 + add enum, regex examples to test/demo_forms + add configure check for pcre-posix library to help with MinGW port. 20180707 + build-fixes for gcc8. + correct order of WINDOW._ttytype versus WINDOW._windowlist in report_offsets. + fix a case where tiparm could return null if the format-string was empty (Debian #902630). 20180630 + add acsc string to vi200 (Nibby Nebbulous) add right/down-arrow to vi200's acsc -TD + add "x" to tput's getopt string so that "tput -x clear" works (Nicholas Marriott). + minor fixes prompted by anonymous report on stack overflow: + correct order of checks in _nc_get_locale(), for systems lacking locale support. + add "#error" in a few places to flag unsupported configurations 20180623 + use _WIN32/_WIN64 in preference to __MINGW32__/__MINGW64__ symbols to simplify building with MSVC, since the former are defined in both compiler configurations (report by Ali Abdulkadir). + further improvements to configure-checks from work on dialog, i.e., updated CF_ADD_INCDIR, CF_FIND_LINKAGE, CF_GCC_WARNINGS, CF_GNU_SOURCE, CF_LARGEFILE, CF_POSIX_C_SOURCE, CF_SIZECHANGE, and CF_TRY_XOPEN_SOURCE. + update config.guess, config.sub from http://git.savannah.gnu.org/cgit/config.git 20180616 + build-fix for ncurses-examples related to gcc8-fixes (cf: 20180526). + reduce use of _GNU_SOURCE for current glibc where _DEFAULT_SOURCE combines with _XOPEN_SOURCE (Debian #900987). + change target configure level for _XOPEN_SOURCE to 600 to address use of vsscanf and setenv. + improved configure-checks CF_SIZECHANGE and CF_STRUCT_TERMIOS from work on dialog. 20180609 + modify generated ncurses*config and ncurses.pc, ncursesw.pc, etc., to list helper libraries such as gpm for static linking (Debian #900839). + marked vwprintw and vwscanw as deprecated; recommend using vw_printw and vw_scanw, respectively. 20180602 + add RPM test-package "ncursest-examples". + modified RPM test-package to work with Mageia6. 20180526 + add note in curs_util.3x about unctrl.h + review/improve header files to ensure that those include necessary files except for the previously-documented cases (report by Isaac Pascual Monells). + improved test-package scripts, adapted from byacc 1.9 20180525. + fix some gcc8 warnings seen in Redhat package build, but work around bug in gcc8 compiler warnings in comp_parse.c 20180519 + formatting fixes for manpages, regenerate man-html documentation. + trim spurious whitespace from tmux in 2018-02-24 changes; fix some inconsistencies in/between tmux- and iterm2-entries for SGR (report by C Anthony Risinger) + improve iterm2 using some xterm features which it has adapted -TD + add check in pair_content() to handle the case where caller asks for an uninitialized pair (Debian #898658). 20180512 + remove trailing ';' from GCC_DEPRECATED definition. + repair a change from 20110730 which left an error-check/warning dead. + fix several minor Coverity warnings. 20180505 + add deprecation warnings for internal functions called by older versions of tack. + fix a special case in PutAttrChar() where a cell is marked as alternate-character set, but the terminal does not actually support the given graphic character. This would happen in an older terminal such as vt52, which lacks most line-drawing capability. + use configure --with-config-suffix option to work around filename conflict with Debian packages versus test-packages. + update tracemunch to work with perl 5.26.2, which changed the rules for escaping regular expressions. 20180428 + document new form-extension O_EDGE_INSERT_STAY (report by Leon Winter). + correct error-returns listed in manual pages for a few form functions (report by Leon Winter). + add a check in form-library for null-pointer dereference: unfocus_current_field (form); form_driver (form, REQ_VALIDATION); (patch by Leon Winter). 20180414 + modify form library to optionally delay cursor movement on a field edge/boundary (patch by Leon Winter). + modify form library to avoid unnecessary update of cursor position in non-public fields (patch by Leon Winter). + remove unused _nc_import_termtype2() function. + also add/improve null-pointer checks in other places + add a null-pointer check in _nc_parse_entry to handle an error when a use-name is invalid syntax (report by Chung-Yi Lin). 20180407 + clarify in manual pages that vwprintw and vwscanw are obsolete, not part of X/Open Curses since 2007. + use "const" in some prototypes rather than NCURSES_CONST where X/Open Curses was updated to do this, e.g., wscanw, newterm, the terminfo interface. Also use "const" for consistency in the termcap interface, which was withdrawn by X/Open Curses in Issue 5 (2007). As of Issue 7, X/Open Curses still lacks "const" for certain return values, e.g., keyname(). 20180331 + improve terminfo write/read by modifying the fourth item of the extended header to denote the number of valid strings in the extended string table (prompted by a comment in unibilium's sources). 20180324 + amend Scaled256() macro in test/picsmap.c to cover the full range 0..1000 (report by Roger Pau Monne). + add some checks in tracemunch for undefined variables. + trim some redundant capabilities from st-0.7 -TD + trim unnecessary setf/setb from interix -TD 20180317 + fix a check in infotocap which may not have detected a problem when it should have. + add a check in tic for the case where setf/setb are given using different strings, but provide identical results to setaf/setab. + further improve fix for terminfo.5 (patch by Kir Kolyshkin). + reorder loop-limit checks in winsnstr() in case the string has no terminating null and only the number of characters is used (patch by Gyorgy Jeney). 20180303 + modify TurnOn/TurnOff macros in lib_vidattr.c and lib_vid_attr.c to avoid expansion of "CUR" in trace. + improve a few lintian warnings in test-packages. + modify lib_setup to avoid calling pthread_self() without first verifying that the address is valid, i.e., for weak symbols (report/patch by Werner Fink). + modify generated terminfo.5 to not use "expand" and related width on the last column of tables, making layout on wide terminals look better (adapted from patch by Kir Kolyshkin). + add a category to report_offsets, e.g., "w" for wide-character, "t" for threads to make the report more readable. Reorganized the structures reported to make the categories more apparent. + simplify some ifdef's for extended-colors. + add NCURSES_GLOBALS and NCURSES_PRESCREEN to report_offsets, to show how similar the different tinfo configurations are. 20180224 + modify _nc_resolve_uses2() to detect incompatible types when merging a "use=" clause of extended capabilities. The problem was seen in a defective terminfo integrated from simpleterm sources in 20171111, compounded by repair in 20180121. + correct Ss/Ms interchange in st-0.7 entry (tmux #1264) -TD + fix remaining flash capabilities with trailing mandatory delays -TD + correct cut/paste in NEWS (report by Sven Joachim). 20180217 + remove incorrect free() from 20170617 changes (report by David Macek). + correct type for "U8" in user_caps.5; it is a number not boolean. + add a null-pointer check in safe_sprintf.c (report by Steven Noonan). + improve fix for Debian #882620 by reusing limit2 variable (report by Julien Cristau, Sven Joachim). 20180210 + modify misc/Makefile.in to install/uninstall explicit list in case the build-directory happens to have no ".pc" files when an uninstall is performed (report by Jeffrey Walton). + deprecate safe-sprintf, since the vsnprintf function, which does what was needed, was standardized long ago. + add several development/experimental options to development packages. + minor reordering of options in configure script to make the threaded and reentrant options distinct from the other extensions which are normally enabled. 20180203 + minor fixes to test/*.h to make them idempotent. + add/use test/parse_rgb.h to show how the "RGB" capability works. + add a clarification in user_caps.5 regarding "RGB" capability. + add extended_slk_color{,_sp} symbols to the appropriate package/*.{map,sym} files (report by Sven Joachim, cf: 20170401). 20180129 + update "VERSION" file, used in shared-library naming.
Revision 1.104 / (download) - annotate - [select for diffs], Sat Jan 11 01:39:19 2020 UTC (3 years, 10 months ago) by kim
Branch: MAIN
Changes since 1.103: +2 -2
lines
Diff to previous 1.103 (colored)
Add patches to address CVE-2018-19211, CVE-2019-17594, and CVE-2019-17595.
Revision 1.103 / (download) - annotate - [select for diffs], Thu Oct 10 12:29:11 2019 UTC (4 years, 1 month ago) by triaxx
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base,
pkgsrc-2019Q4
Changes since 1.102: +2 -2
lines
Diff to previous 1.102 (colored)
ncurses: fix circular dependency for Arch Linux pkgsrc changes -------------- * Remove groff dependency when built on Arch Linux * Bump revision
Revision 1.102 / (download) - annotate - [select for diffs], Mon Feb 25 11:54:05 2019 UTC (4 years, 9 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1
Changes since 1.101: +2 -2
lines
Diff to previous 1.101 (colored)
ncurses: Disable xterm+rep for maximum portability. Many terminal emulators still do not support this capability, resulting in broken output. Patch from OmniOS, bump PKGREVISIONs.
Revision 1.101 / (download) - annotate - [select for diffs], Tue Feb 12 20:11:22 2019 UTC (4 years, 9 months ago) by triaxx
Branch: MAIN
Changes since 1.100: +2 -2
lines
Diff to previous 1.100 (colored)
ncurses: disable build of manpage-tbl to avoid circular dependency groff has been removed on FreeBSD 12 and its build leads to a circular dependency. Bump revision.
Revision 1.99.2.1 / (download) - annotate - [select for diffs], Sat Oct 20 16:24:01 2018 UTC (5 years, 1 month ago) by spz
Branch: pkgsrc-2018Q3
Changes since 1.99: +2 -2
lines
Diff to previous 1.99 (colored) next main 1.100 (colored)
Pullup ticket #5849 - requested by bsiegert devel/ncurses: security patch devel/ncursesw: security patch Revisions pulled up: - devel/ncurses/Makefile 1.100 - devel/ncurses/distinfo 1.35 - devel/ncurses/patches/patch-ncurses_tinfo_parse__entry.c 1.3 - devel/ncursesw/Makefile 1.17 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: leot Date: Thu Oct 18 19:42:50 UTC 2018 Modified Files: pkgsrc/devel/ncurses: Makefile distinfo pkgsrc/devel/ncursesw: Makefile Added Files: pkgsrc/devel/ncurses/patches: patch-ncurses_tinfo_parse__entry.c Log Message: ncurses{,w}: Backport patch for CVE-2018-10754 Patch provided by Attila Fülöp via NetBSD/pkgsrc#34, thanks! Bump PKGREVISION To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 pkgsrc/devel/ncurses/Makefile cvs rdiff -u -r1.34 -r1.35 pkgsrc/devel/ncurses/distinfo cvs rdiff -u -r0 -r1.3 \ pkgsrc/devel/ncurses/patches/patch-ncurses_tinfo_parse__entry.c cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/ncursesw/Makefile
Revision 1.100 / (download) - annotate - [select for diffs], Thu Oct 18 19:42:49 2018 UTC (5 years, 1 month ago) by leot
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base,
pkgsrc-2018Q4
Changes since 1.99: +2 -2
lines
Diff to previous 1.99 (colored)
ncurses{,w}: Backport patch for CVE-2018-10754 Patch provided by Attila Fülöp via NetBSD/pkgsrc#34, thanks! Bump PKGREVISION
Revision 1.99 / (download) - annotate - [select for diffs], Sat Sep 15 22:47:41 2018 UTC (5 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base
Branch point for: pkgsrc-2018Q3
Changes since 1.98: +2 -2
lines
Diff to previous 1.98 (colored)
ncurses: update to 6.1nb2. Fix installation of pkg-config files, and move them to the standard directory.
Revision 1.98 / (download) - annotate - [select for diffs], Sat Sep 15 10:21:53 2018 UTC (5 years, 2 months ago) by maya
Branch: MAIN
Changes since 1.97: +2 -2
lines
Diff to previous 1.97 (colored)
ncurses: provide pkgconfig files. requested by bastian germann in PR pkg/53604. bump PKGREVISION.
Revision 1.96.2.1 / (download) - annotate - [select for diffs], Sat Apr 7 20:50:43 2018 UTC (5 years, 7 months ago) by spz
Branch: pkgsrc-2018Q1
Changes since 1.96: +1 -2
lines
Diff to previous 1.96 (colored) next main 1.97 (colored)
Pullup ticket #5733 - requested by bsiegert devel/ncurses: security update devel/ncursesw: security update Revisions pulled up: - devel/ncurses/Makefile 1.97 - devel/ncurses/Makefile.common 1.35 - devel/ncurses/PLIST 1.24 - devel/ncurses/distinfo 1.34 - devel/ncurses/patches/patch-aa 1.19 - devel/ncurses/patches/patch-ab 1.21 - devel/ncurses/patches/patch-ac 1.26 - devel/ncurses/patches/patch-c++_Makefile.in 1.2 - devel/ncurses/patches/patch-ncurses_tinfo_alloc__entry.c deleted - devel/ncurses/patches/patch-ncurses_tinfo_lib__baudrate.c deleted - devel/ncurses/patches/patch-ncurses_tinfo_parse__entry.c deleted - devel/ncursesw/Makefile 1.16 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: spz Date: Mon Apr 2 16:26:04 UTC 2018 Modified Files: pkgsrc/devel/ncurses: Makefile Makefile.common PLIST distinfo pkgsrc/devel/ncurses/patches: patch-aa patch-ab patch-ac patch-c++_Makefile.in pkgsrc/devel/ncursesw: Makefile Removed Files: pkgsrc/devel/ncurses/patches: patch-ncurses_tinfo_alloc__entry.c patch-ncurses_tinfo_lib__baudrate.c patch-ncurses_tinfo_parse__entry.c Log Message: update ncurses(w) to version 6.1, which fixes CVE-2017-13728 and CVE-2017-16879 summary relnotes: This release is designed to be source-compatible with ncurses 5.0 through 6.0; providing extensions to the application binary interface (ABI). Although the source can still be configured to support the ncurses 5 ABI, the intent of the release is to provide extensions to the ncurses 6 ABI: improve integration of tput and tset provide support for extended numeric capabilities. The lengthy details are at http://invisible-island.net/ncurses/announce.html To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97 pkgsrc/devel/ncurses/Makefile cvs rdiff -u -r1.34 -r1.35 pkgsrc/devel/ncurses/Makefile.common cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/ncurses/PLIST cvs rdiff -u -r1.33 -r1.34 pkgsrc/devel/ncurses/distinfo cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/ncurses/patches/patch-aa cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/ncurses/patches/patch-ab cvs rdiff -u -r1.25 -r1.26 pkgsrc/devel/ncurses/patches/patch-ac cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/ncurses/patches/patch-c++_Makefile.in cvs rdiff -u -r1.1 -r0 \ pkgsrc/devel/ncurses/patches/patch-ncurses_tinfo_alloc__entry.c \ pkgsrc/devel/ncurses/patches/patch-ncurses_tinfo_parse__entry.c cvs rdiff -u -r1.2 -r0 \ pkgsrc/devel/ncurses/patches/patch-ncurses_tinfo_lib__baudrate.c cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/ncursesw/Makefile
Revision 1.97 / (download) - annotate - [select for diffs], Mon Apr 2 16:26:03 2018 UTC (5 years, 7 months ago) by spz
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base,
pkgsrc-2018Q2
Changes since 1.96: +1 -2
lines
Diff to previous 1.96 (colored)
update ncurses(w) to version 6.1, which fixes CVE-2017-13728 and CVE-2017-16879 summary relnotes: This release is designed to be source-compatible with ncurses 5.0 through 6.0; providing extensions to the application binary interface (ABI). Although the source can still be configured to support the ncurses 5 ABI, the intent of the release is to provide extensions to the ncurses 6 ABI: improve integration of tput and tset provide support for extended numeric capabilities. The lengthy details are at http://invisible-island.net/ncurses/announce.html
Revision 1.96 / (download) - annotate - [select for diffs], Fri Feb 2 17:32:58 2018 UTC (5 years, 9 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base
Branch point for: pkgsrc-2018Q1
Changes since 1.95: +2 -2
lines
Diff to previous 1.95 (colored)
ncurses: Fix quoting to handle subst. Bump PKGREVISION.
Revision 1.95 / (download) - annotate - [select for diffs], Tue Aug 8 18:38:21 2017 UTC (6 years, 3 months ago) by spz
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3
Changes since 1.94: +2 -2
lines
Diff to previous 1.94 (colored)
patches from ftp://invisible-island.net/ncurses/6.0/ncurses-6.0-20170701.patch.gz + add/improve checks in tic's parser to address invalid input (Redhat #1464684, #1464685, #1464686, #1464691). + alloc_entry.c, add a check for a null-pointer. + parse_entry.c, add several checks for valid pointers as well as one check to ensure that a single character on a line is not treated as the 2-character termcap short-name. that's CVE-2017-10684 CVE-2017-10685 CVE-2017-11112 CVE-2017-11113
Revision 1.94 / (download) - annotate - [select for diffs], Sun Dec 18 23:30:34 2016 UTC (6 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4
Changes since 1.93: +2 -2
lines
Diff to previous 1.93 (colored)
Rename ncurses's libform, libpanel and libmenu to libgnuform, libgnupanel and libgnumenu as they overlap with system libraries on NetBSD, resulting in strange breakage like in devel/cmake's ccmake frontend.
Revision 1.93 / (download) - annotate - [select for diffs], Sat Jul 9 06:38:10 2016 UTC (7 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base,
pkgsrc-2016Q3
Changes since 1.92: +2 -2
lines
Diff to previous 1.92 (colored)
Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
Revision 1.92 / (download) - annotate - [select for diffs], Fri Aug 28 07:09:57 2015 UTC (8 years, 3 months ago) by richard
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base,
pkgsrc-2016Q2,
pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4,
pkgsrc-2015Q3-base,
pkgsrc-2015Q3
Changes since 1.91: +2 -1
lines
Diff to previous 1.91 (colored)
cleanup SunOS workarounds in ncurses and ncursesw since update to ncurses 6.0 resolve for PR pkg/50175 bump PKGREVISION
Revision 1.91 / (download) - annotate - [select for diffs], Mon Aug 17 17:10:31 2015 UTC (8 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.90: +1 -2
lines
Diff to previous 1.90 (colored)
Update to 6.0: This release is designed to be source-compatible with ncurses 5.0 through 5.9; providing a new application binary interface (ABI). Although the source can still be configured to support the ncurses 5 ABI, the intent of the release is to provide extensions which are generally useful, but binary-incompatible with ncurses 5: * Extend the cchar_t structure to allow more than 16 colors to be encoded. * Modify the encoding of mouse state to make room for a 5th mouse button. That allows one to use ncurses with a wheel mouse with xterm or similar X terminal emulators. There are, of course, numerous other improvements, including * fixes made based on the Clang and Coverity static analyzers. * memory leak fixes using Valgrind The release notes mention some bug-fixes, but are focused on new features and improvements to existing features log since ncurses 5.9 release. While the intent of the release is to provide a new stable ABI, there are other development activities which are summarized below. * The original release plan, e.g., for "5.10" was to improve the MinGW port. Ultimately that was completed (wide-character support, mouse, etc), but was deferred to focus on termcap support and performance issues. Also, pinpointing the problems with Console2 took a while. * A review of termcap compatibility in 2011 led to several minor fixes in the library and improvements to utilities. To do this properly, a review of the various extent termcap implementations was needed. The [11]termcap library checker (tctest) (not part of ncurses) was one result. A followup review of performance using [12]ncurses-examples in 2014 led to additional improvements. * Output buffering provided a further, but worthwhile distraction. A bug report in 2012 regarding the use of signal handlers in ncurses) pointed out [13]a problem with the use of unsafe functions for handling SIGTSTP. Other signals could be addressed with workarounds; repairing SIGTSTP required a different approach. The solution required changing internal behavior of the library: how it handles output buffering. Now ncurses buffers its own output, independently of the standard output. A few applications relied upon the library's direct reuse of the standard output buffering; however that is unspecified behavior and has never been a recommended practice. Identifying these applications as well as refining the change to permit low-level applications to work consistently took time. * Since the introduction of the experimental support for 256 colors early in [14]2005 (released in [15]ncurses 5.5), there has been increased user interest. Almost all packagers continue providing the ncurses ABI 5 which cannot support 256 colors. * Symbol versioning, or the lack of it in ncurses, is the main reason why packagers would be reluctant to add a new ncurses ABI. This release provides the new ABI along with script-generated lists of versioned symbols which can be used for both ABI 5 and 6 (with distinct names to keep the two separate). This took time to development, as reported in [16]Symbol versioning in ncurses. Library improvements Output buffering X/Open curses provides more than one initialization function: * [17]initscr (the simplest) accepts no parameters. * [18]newterm accepts parameters for the stream input and output * [19]setupterm (the low-level function) accepts a parameter for the file descriptor of the output. They are documented in X/Open as if initscr calls newterm using stdout for output stream, and in turn newterm calls setupterm using fileno(stdout) for the file descriptor. As long as an implementation acts as if it does this, it conforms. In practice, implementations do what is implied. This creates a problem: the low-level setupterm function's file descriptor is unbuffered, while newterm implies buffered output. X/Open Curses says that all output is done through the file descriptor, and does not say how the output stream is actually used. Initially, ncurses used the file descriptor (obtained from the output stream passed to newterm) for changing the terminal modes, and relied upon the output parameter of newterm for buffered output. Later (to avoid using unsafe buffered I/O in signal handlers), ncurses was modified to use the file descriptor (unbuffered output) when cleaning up on receipt of a signal. Otherwise (when not handling a signal), it continued to use the buffered output. That approach worked reasonably well and as a side effect, using the same buffered output as an application might use for printf meant that no flushing was needed when switching between normal- and screen-modes. There were a couple of problems: * to get good performance, curses (not only ncurses, but SVr4 curses in general) set an output buffer using setbuf or similar function. There is no standard (or portable) way to turn that output buffer off, and revert to line-buffering. The [20]NCURSES_NO_SETBUF environment variable did make it optional. * to handle SIGTSTP (the "stop" signal), ncurses relied upon unsafe functions. That is, due to the complexity of the feature, it relied upon reusing existing functions which should not have been called via the signal handler. Conveniently, solving the second problem (by making ncurses do its own output buffering) also fixed the first one. But there were special cases to resolve: [21]low-level functions such as mvcur, putp, vidattr explicitly use the standard output. Those functions were reused internally, and required modification to distinguish whether they were used by the high-level or low-level interfaces. Finally, there may still be a few programs which should be modified to improve their portability, e.g., adding an fflush(stdout); when switching from "[22]shell" mode to "[23]program" (curses) mode. Those are fairly rare because most programmers have learned not to mix printf and [24]printw. Symbol versioning This release introduces symbol-versioning to ncurses because without it, the change of ABI would be less successful. A lengthy discussion will be presented in [25]Symbol versioning in ncurses. These notes summarize what has changed, and what can be done with the new release. Symbol-versioning allows the developers of a library to mark each public symbol (both data and functions) with an identifier denoting the library name and the version for which it was built. By doing this, users of the library have a way to help ensure that applications do not accidentally load an incompatible library. In addition, private symbols can be hidden entirely. This release provides sample files for the four principal configurations of ncurses libraries: ncurses, ncursesw, ncursest and ncursestw. Each sample is given in two forms: ".map" These list all public symbols, together with version names. ".sym" These list all public symbols, without version names. The sample files are generated by scripts which take into account a few special cases such as [26]tack to omit many of the ncurses private symbols (beginning with "_nc_"). Here are counts of globals versus locals: Config Symbols Globals Locals "_nc_" ncurses 976 796 180 332 ncursesw 1089 905 184 343 ncursest 979 804 175 358 ncursestw 1098 914 184 372 Although only four sample configurations are presented, each is formed by merging symbols from several combinations of configure-script options, taking into account advice from downstream packagers. Because they are formed by merging, the sample files may list a symbol which is not in a given package. That is expected. The samples have been tested and are working with systems (such as Fedora, FreeBSD and Debian) which fully support this feature. There are other systems which do not support the feature, and a few (such as Solaris) which provide incomplete support. The version-naming convention used allows these sample files to build distinct libraries for ABI 5 and 6. Version names consist of * configuration name, e.g., "NCURSESW" for the wide-character libraries * ABI version (if not 5) * library name for two special cases which have the same interface across configurations: "TINFO" and "TIC" * release version * patch date (for the release version) For example, running nm -D on the libraries in the ncurses6 test package shows these symbol-versions: 0000000000000000 A NCURSES6_TIC_5.0.19991023 0000000000000000 A NCURSES6_TIC_5.1.20000708 0000000000000000 A NCURSES6_TIC_5.5.20051010 0000000000000000 A NCURSES6_TIC_5.7.20081102 0000000000000000 A NCURSES6_TIC_5.9.20150530 0000000000000000 A NCURSES6_TINFO_5.0.19991023 0000000000000000 A NCURSES6_TINFO_5.1.20000708 0000000000000000 A NCURSES6_TINFO_5.2.20001021 0000000000000000 A NCURSES6_TINFO_5.3.20021019 0000000000000000 A NCURSES6_TINFO_5.4.20040208 0000000000000000 A NCURSES6_TINFO_5.5.20051010 0000000000000000 A NCURSES6_TINFO_5.6.20061217 0000000000000000 A NCURSES6_TINFO_5.7.20081102 0000000000000000 A NCURSES6_TINFO_5.8.20110226 0000000000000000 A NCURSES6_TINFO_5.9.20150530 0000000000000000 A NCURSESW6_5.1.20000708 0000000000000000 A NCURSESW6_5.3.20021019 0000000000000000 A NCURSESW6_5.4.20040208 0000000000000000 A NCURSESW6_5.5.20051010 0000000000000000 A NCURSESW6_5.6.20061217 0000000000000000 A NCURSESW6_5.7.20081102 0000000000000000 A NCURSESW6_5.8.20110226 0000000000000000 A NCURSESW6_5.9.20150530 As a special case, this release (which makes the final change for ABI 5) is marked with release version 5.9 and patch date 20150530. Miscellaneous The new release has several improvements for performance and building. For instance: * several files in ncurses- and progs-directories were modified to allow const data used in internal tables to be put by the linker into the readonly text segment. * various improvements were made to building the Ada95 binding, both in simplifying the generated files as well as improving the way it uses gnatmake There are also new features in the libraries: * added [27]use_tioctl function * added [28]wgetdelay to retrieve _delay member of WINDOW if it happens to be opaque, e.g., in the pthread configuration. * added [29]A_ITALIC extension. * added form library extension [30]O_DYNAMIC_JUSTIFY option which can be used to override the different treatment of justification for static versus dynamic fields . * rewrote [31]putwin and [32]getwin, making an extended version which is capable of reading screen-dumps between the wide/normal ncurses configurations. These are text files, except for a magic code at the beginning: 0 string \210\210 Screen-dump (ncurses) * several changes to mouse support include: + added decoder for xterm SGR 1006 mouse mode. + added experimental support for "%u" format to terminfo. + improved behavior of wheel-mice for xterm protocol: noting that there are only button-presses for buttons "4" and "5", so there is no need to wait to combine events into double-clicks . There are a few new configure options dealing with library customization: * add "--enable-ext-putwin" configure option to turn on the extended putwin/getwin. By default, this is enabled for ABI 6 and disabled with ABI 5. * add "--enable-string-hacks" option to control whether strlcat and strlcpy may be used. Because ncurses already does the requisite buffer-limit checks, this feature is mainly of interest to quiet compiler-warnings on a few systems. * add configure option "--with-tparm-arg" to allow [33]tparm's parameters to be something more likely to be the same size as a pointer, e.g., intptr_t (again, the default is set for ABI 6). Program improvements Utilities Most of the termcap-related changes based on development of [34]tctest (termcap library checker) are implemented in the tic and infocmp programs rather than affecting the library. As noted in the [35]discussion of tctest, ncurses's ability to translate between terminfo and termcap formats has been improved at different times, but subject to feedback from "real" termcap users. There are very few of those. Nowadays, virtually all termcap users are using ncurses (or NetBSD, with its own terminfo library) and their programs are actually using terminfo rather than termcap data. Still, there are a few. A comment about the translation of the ASCII NUL character prompted a review: * Both terminfo and termcap store string capabilities as NUL-terminated strings. * In terminfo, a \0 in a terminal description is stored as \200. * There are no (known) terminals which would behave differently when sent \0 or \200. * When translating to terminfo format (or displaying a printable version of an entry using infocmp), ncurses shows \200 as \0. * It has done this since 1998 (quoting from the NEWS file): [36]980103 ... + modify _nc_tic_expand() to generate \0 rather than \200. ... + correct translation of terminfo "^@", to \200, like \0. * However, the _nc_tic_expand function (which optionally produces terminfo or termcap format) did not address this special case for termcap. Even the later 4.4BSD [37]cgetstr interprets a \0 literally, ending that string (rather than using the terminfo improvement). As a result of the review, several improvements were made to ncurses translation to/from termcap format -- and improving the checks made in tic for consistency of entries. Most of these are not of general interest, except for two new command-line options for tic and infocmp: * the "-0" option generates termcap/terminfo source on a single line. * the "-K" option provides stricter BSD-compatibility for termcap output. Other user-visible improvements and new features include: * added "-D" option to tic and infocmp, to show the database locations that it could use. * added "-s" option to toe, to sort its output. * extended "-c" and "-n" options of infocmp to allow comparing more than two entries. * modified toe's report when "-a" and "-s" options are combined, to add a column showing which entries belong to a given database. * modified the clear program to take into account the "E3" extended capability to clear the terminal's scrollback buffer. Examples Along with the library and utilities, many improvements were made to the [38]ncurses-examples. Some were made to allow building (and comparison-testing) against NetBSD curses and PDCurses. Both lack some of the X/Open Curses features, necessitating customization. But this activity was useful because it showed some remaining performance issues (which have been resolved in this release). These changes were made to verify compatibility or compare performance of ncurses: * made workarounds for compiling test-programs with NetBSD curses, though it lacks some common functions such as [39]use_env. * added dots_termcap test-program * added dots_curses test-program, for comparison with the low-level examples. * added test_setupterm test-proram to demonstrate normal/error returns from the setupterm and restartterm functions. * added "-d", "-e" and "-q" options to the demo_terminfo and demo_termcap test-programs. * added "-y" option to demo_termcap and test/demo_terminfo test-programs to demonstrate behavior with/without extended capabilities. * modified demo_termcap and demo_terminfo test-programs to make their options more directly comparable, and add "-i" option to specify a terminal description filename to parse for names to lookup. * rewrote the tests for [40]mvderwin and test for recursive [41]mvwin in the movewindow test-program. These changes were made to help with the MinGW port: * added test-screens to the ncurses test-program to show 256-characters at a time, to help with MinGW port. * modified the view test-program to load UTF-8 when built with MinGW by using regular win32 API because the MinGW functions mblen and mbtowc do not work. * added "-s" option to the view test-program to allow it to start in single-step mode, reducing size of trace files when it is used for debugging MinGW changes. These changes were made to verify new extensions in ncurses: * added [42]form_driver_w entrypoint to wide-character forms library, as well as form_driver_w test-program. * modified ncurses test-program's b/B tests to display lines only for the attributes which a given terminal supports, to make room for an italics test. * modified ncurses test-program, adding "-E" and "-T" options to demonstrate use_env versus use_tioctl. * modified ncurses test-program's c/C tests to cycle through subsets of the total number of colors, to better illustrate 8/16/88/256-colors by providing directly comparable screens. * modified the ncurses test-program to also show position reports in 'a' test. These changes were made to make the examples more useful: * added scripts for building dpkg and rpm test-packages * modified the hanoi test-program to show the minimum number of moves possible for the given number of tiles. * modified the knight test-program to show the number of choices possible for each position in automove option, e.g., to allow user to follow Warnsdorff's rule to solve the puzzle. Terminal database This release provides improvements to tic's "-c" checking option, which was used for example to * make sgr in several entries agree with other caps. * correct padding in some entries where earlier versions had miscounted the number of octal digits. There are several new terminal descriptions: * [43]mlterm is now aliased to mlterm3 * [44]nsterm is now derived from nsterm-256color * [45]putty-sco * [46]teken is FreeBSD's "xterm" console. * [47]terminator * [48]terminology * [49]tmux is derived from screen. * several screen.XXX entries support the respective variations for 256 colors. * [50]simpleterm is now 0.5 * [51]vte is aliased to vte-2012 * [52]vt520ansi A few entries use extensions (user-defined terminal capabilities): * E3, used in linux, putty and xterm-basic is tested in the [53]clear program to erase a terminal's scrollback. * TS is used in the [54]xterm+sl building block to help deprecate the misuse of tsl for xterm's title-string. * XT is used in some terminfo entries to improve usefulness for other applications than screen, which would like to pretend that xterm's title is a status-line. * xm is used in examples [55]xterm-1005 and [56]xterm-1006 to illustrate a way to make mouse handling more general A few terminals support italics and/or dim capabilities. In particular, screen does not. Documented that, and accommodated the terminals where this feature works with the A_ITALIC extension. * konsole, mlterm3 (italics) * nsterm (dim) * screen (dim) * vte (dim, italics) * xterm (dim, italics) Documentation As usual, this release * improves documentation by describing new features, * attempts to improve the description of features which users have found confusing * fills in overlooked descriptions of features which were described in the [57]NEWS file but treated sketchily in manual pages. In addition, the mechanism for producing HTML versions of the documentation has been improved: * use an improved version of [58]man2html to generate html manpages. * regenerated [59]NCURSES-Programming-HOWTO.html to fix some of the broken html emitted by docbook. Interesting bug-fixes * Ada95 binding: + modify makefile rules to ensure that the PIC option is not used when building a static library + make Ada95 build-fix for big-endian architectures such as sparc. This undoes one of the fixes from [60]20110319, which added an "Unused" member to representation clauses, replacing that with pragmas to suppress warnings about unused bits. * Color and attributes: + parenthesize parameter of COLOR_PAIR and PAIR_NUMBER in curses.h in case it happens to be a comma-expression. + improve [61]20021221 workaround for broken acs, handling a case where that ACS_xxx character is not in the acsc string but there is a known wide-character which can be used. + modify [62]init_pair to accept -1's for color value after [63]assume_default_colors has been called. + add a check in [64]start_color to limit color-pairs to 256 when extended colors are not supported. * Resizing the screen: + propagate error-returns from wresize, i.e., the internal increase_size and decrease_size functions through [65]resize_term. + add check for zero/negative dimensions for resizeterm and resize_term. + modify resizeterm to always push a KEY_RESIZE onto the fifo, even if screensize is unchanged. Modify library to push a KEY_RESIZE if there was a SIGWINCH, even if it does not call resizeterm). These changes eliminate the case where a SIGWINCH is received, but ERR is returned from wgetch or wgetnstr because the screen dimensions did not change. * Low-level interfaces + fix an old bug in the termcap emulation; "%i" was ignored in tparm because the parameters to be incremented were already on the internal stack. + change "%l" behavior in tparm to push the string length onto the stack rather than saving the formatted length into the output buffer. + modify name-comparison for tgetstr, etc., to accommodate legacy applications as well as to improve compatbility with BSD 4.2 termcap implementations (see note for [66]980725). * High-level interfaces + modify internal recursion in wgetch which handles cooked mode to check if the call to wgetnstr returned an error. This can happen when both nocbreak and nodelay are set, for instance (see note for [67]960418). + add a check in internal function waddch_nosync to ensure that tab characters are treated as control characters; some broken locales claim they are printable. + modify menu library to ensure that a menu's top-row is adjusted as needed to ensure that the current item is on the screen + fix special case where double-width character overwrites a single- width character in the first column. Configuration changes Major changes The ncurses 6.0 configure script makes changes to the default value of several configure options, depending on the --with-abi-version option (i.e., whether its value is "5" or "6"): --enable-const Feature introduced in [68]970405 supports the use of const where X/Open Curses should have, but did not. NetBSD curses does something similar with const. --enable-ext-colors Extends the cchar_t structure to allow more than 16 colors to be encoded. This applies only to the wide-character (--enable-widec) configuration. --enable-ext-mouse Modifies the encoding of mouse state to make room for a 5th mouse button. That allows one to use ncurses with a wheel mouse with xterm or similar X terminal emulators. --enable-ext-putwin Modifies the file-format written by putwin to use printable text rather than binary files, allowing getwin to read screen dumps written by differently-configured ncurses libraries. The extended getwin can still read binary screen dumps from the same configuration of ncurses. This does not change the ABI (the binary interface seen by calling applications). --enable-interop Modifies the FIELDTYPE structure used for the form library to make it more generic. --enable-lp64 Allows an application to define _LP64 to declare chtype and mmask_t as simply "unsigned" rather than the configured types using the --with-chtype and --with-mmask_t options. --enable-sp-funcs Compile-in support for extended functions which accept a SCREEN pointer, reducing the need for juggling the global SP value with [69]set_term and [70]delscreen. --with-chtype=uint32_t Makes chtype explicitly a 32-bit unsigned value. --with-mmask_t=uint32_t Makes mmask_t explicitly a 32-bit unsigned value. --with-tparm-arg=intptr_t X/Open Curses declares [71]tparm using long for each of the parameters aside from the formatting string, presuming that long and char* are the same size. This configure option uses intptr_t which provides a better guarantee of the sizes. The configure script no longer checks for antique compilers; c89 is assumed as a minimum. There are a few features from later revisions which are used when available. The configure script makes checks to turn on useful warnings from clang, gcc and icc. You should be able to build ncurses 6.0 with any of the current (or not so current) C compilers available in 2015. The configure script, by the way, makes changes which do not work with systems whose /bin/sh is non-POSIX. This mainly affects Solaris (the other vendor unix systems have followed the POSIX guidelines for the past twenty years). If you must build on Solaris, its [72]xpg4 binaries suffice, e.g., #!/bin/sh WHAT=`hostname|sed -e 's/\..*//'` OUT=configure.out cat >>$OUT <<EOF/ ** `date` ** node: $WHAT ** user: `id` ** conf: $* EOF/ SHELL=/bin/sh if test -f /usr/xpg4/bin/sh then CONFIG_SHELL=/usr/xpg4/bin/sh export CONFIG_SHELL SHELL=$CONFIG_SHELL fi rm -f config.status config.cache TOP=$HOME/$WHAT $SHELL ./configure --verbose \ --disable-echo \ --disable-overwrite \ --enable-warnings \ --with-warnings \ --prefix=$TOP $* 2>&1 | tee -a $OUT Other major changes to the configure script include: * ABI 6 is now the default, intending that the existing ABI 5 should build as before using the "--with-abi-version=5" option. * added --with-extra-suffix option to help with installing nonconflicting ncurses6 packages, e.g., avoiding header- and library-conflicts. NOTE: as a side-effect, this renames adacurses-config to adacurses5-config and adacursesw-config to adacursesw5-config * the configure script looks for gnatgcc if the Ada95 binding is built, in preference to the default gcc/cc. The script also ensures that the Ada95 binding is built with the level of optimization as the C libraries. * the configure script captures define's related to -D_XOPEN_SOURCE from the configure check and adds those to the *-config and *.pc files, to simplify use for the wide-character libraries.
Revision 1.90 / (download) - annotate - [select for diffs], Tue Sep 16 09:45:58 2014 UTC (9 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3
Changes since 1.89: +2 -2
lines
Diff to previous 1.89 (colored)
Fix ncurses-config to provide rpath. Bump PKGREVISION.
Revision 1.89 / (download) - annotate - [select for diffs], Mon Jun 9 10:28:10 2014 UTC (9 years, 5 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base,
pkgsrc-2014Q2
Changes since 1.88: +2 -32
lines
Diff to previous 1.88 (colored)
Remove the SunOS hack which removed the 'screen' terminfo entries, screen will now only install those when ncurses is not used. Fixes various issues with TERM=screen on systems where misc/screen wasn't installed. Bump PKGREVISION.
Revision 1.88 / (download) - annotate - [select for diffs], Fri Oct 4 10:46:25 2013 UTC (10 years, 1 month ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4
Changes since 1.87: +2 -2
lines
Diff to previous 1.87 (colored)
Always disable mixed case support on OSX, otherwise a package built with WRKOBJDIR on a case-sensitive file system cannot be installed onto a case-insensitive one. Bump PKGREVISION.
Revision 1.87 / (download) - annotate - [select for diffs], Fri May 31 12:40:01 2013 UTC (10 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2
Changes since 1.86: +2 -1
lines
Diff to previous 1.86 (colored)
Bump all packages for perl-5.18, that a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
Revision 1.86 / (download) - annotate - [select for diffs], Fri Apr 1 20:27:03 2011 UTC (12 years, 8 months ago) by tez
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
pkgsrc-2012Q3-base,
pkgsrc-2012Q3,
pkgsrc-2012Q2-base,
pkgsrc-2012Q2,
pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1
Changes since 1.85: +8 -0
lines
Diff to previous 1.85 (colored)
remove additional (new) screen terminfo conflicts for solaris fixes PR#44699
Revision 1.85 / (download) - annotate - [select for diffs], Mon Feb 28 11:02:46 2011 UTC (12 years, 9 months ago) by adam
Branch: MAIN
Changes since 1.84: +4 -6
lines
Diff to previous 1.84 (colored)
Changes 5.8: Interface changes * turn on _XOPEN_CURSES definition in curses.h. * change _nc_has_mouse to has_mouse, reflect its use in C++ and Ada95. * add is_pad and is_subwin functions for opaque access to the WINDOW structure. * add tiparm, based on review of X/Open Curses Issue 7. Library Improvements * add a terminal driver for Windows console, which supports a MinGW port to Windows. * add extended functions which specify the SCREEN pointer for several curses functions which use the global SP. * improve the NCURSES_NO_UTF8_ACS feature by adding a check for an extended terminfo capability U8. * improve performance of tigetstr, etc., by using hashing code from tic. * add WACS_xxx definitions to wide-character configuration for thick- and double-lines. * modify init_pair to allow caller to create extra color pairs beyond the color_pairs limit, which use default colors. Improvements to Programs * add tabs program. * modify tic's -I/-C dump to reformat acsc strings into canonical form (sorted, unique mapping). * add checks in tic for inconsistent cursor-movement controls, and for inconsistent printer-controls. * add special case to _nc_infotocap (used by tic and infocmp) to recognize the setaf/setab strings from xterm+256color and xterm+88color, and provide a reduced version which works with termcap.
Revision 1.84 / (download) - annotate - [select for diffs], Mon Jun 21 14:49:00 2010 UTC (13 years, 5 months ago) by tron
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2
Changes since 1.83: +6 -1
lines
Diff to previous 1.83 (colored)
Determine the installed terminfo database files dynammically. This deals not only with the different directory structure under Mac OS X (due to the case-insensitive file-system) but also with the files which don't get installed under Solaris. Bump the package revision of the "ncurses" package as the binary package changed under Mac OS X. This fixes PR pkg/43446 by Edgar Fuss.
Revision 1.83 / (download) - annotate - [select for diffs], Sun Nov 16 17:03:00 2008 UTC (15 years ago) by adrianp
Branch: MAIN
CVS Tags: pkgsrc-2010Q1-base,
pkgsrc-2010Q1,
pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2,
pkgsrc-2009Q1-base,
pkgsrc-2009Q1,
pkgsrc-2008Q4-base,
pkgsrc-2008Q4
Changes since 1.82: +3 -1
lines
Diff to previous 1.82 (colored)
Add screen.{mlterm,rxvt} to the list of files that dont get installed on SunOS PKGREVISION++
Revision 1.82 / (download) - annotate - [select for diffs], Wed Nov 5 16:12:38 2008 UTC (15 years ago) by wiz
Branch: MAIN
Changes since 1.81: +1 -2
lines
Diff to previous 1.81 (colored)
Update to 5.7: New features and improvements: * library o 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). o add NCURSES_OPAQUE symbol to curses.h, will use to make structs opaque in selected configurations. o 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. o add wresize to C++ binding o eliminate fixed-buffer vsprintf calls in C++ binding. o add several functions to C++ binding which wrap C functions that pass a WINDOW* parameter. o adapt mouse-handling code from menu library in form-library o improve tracing for form library, showing created forms, fields, etc. o make $NCURSES_NO_PADDING feature work for termcap interface . o add check to trace-file open, if the given name is a directory, add ".log" to the name and try again. o several new manpages: curs_legacy.3x, curs_memleaks.3x, curs_opaque.3x and curs_threads.3x * programs: o modified three test-programs to demonstrate the threading support in this version: ditto, rain, worm. o 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. o add adacurses-config to the Ada95 install. o modify tic -f option to format spaces as \s to prevent them from being lost when that is read back in unformatted strings. o The tack program is now distributed separately from ncurses. * terminal database o added entries: + Eterm-256color, Eterm-88color and rxvt-88color + aterm + konsole-256color + mrxvt + screen.mlterm + screen.rxvt + teraterm4.59 is now the primary primary teraterm entry, renamed original to teraterm2.3 + 9term terminal + Newbury Data entries o updated/improved entries: + gnome to version 2.22.3 + h19, z100 + konsole to version 1.6.6 + mlterm, mlterm+pcfkeys + xterm, and building-blocks for function-keys to 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: o 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, GNU/Linux, FreeBSD, OpenBSD, HPUX, IRIX64, Solaris, Tru64). --with-ticlib build/install the tic-support functions in a separate library o 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. + the $LIBS environment variable overrides the search for the db library. --without-hashed-db assumed when "--disable-database" is used. * other configure/build issues: o build-fixes for LynxOS o modify shared-library rules to allow FreeBSD 3.x to use rpath. o build-fix for FreeBSD "contemporary" TTY interface. o build-fixes for AIX with libtool. o build-fixes for Darwin and libtool. o modify BeOS-specific ifdef's to build on Haiku. o corrected gcc options for building shared libraries on Solaris and IRIX64. o change shared-library configuration for OpenBSD, make rpath work. o build-fixes for using libutf8, e.g., on OpenBSD 3.7 o add "-e" option in ncurses/Makefile.in when generating source-files to force earlier exit if the build environment fails unexpectedly. o add support for shared libraries for QNX. o change delimiter in MKlib_gen.sh from '%' to '@', to avoid substitution by IBM xlc to '#' as part of its extensions to digraphs. * library: o 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. o add/use configure script macro CF_SIG_ATOMIC_T, use the corresponding type for data manipulated by signal handlers. o set locale in misc/ncurses-config.in since it uses a range o 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. o reset mouse file-descriptor when unloading GPM library. * test programs: o update test programs to build/work with various UNIX curses for comparisons.
Revision 1.81 / (download) - annotate - [select for diffs], Tue Dec 11 05:27:05 2007 UTC (15 years, 11 months ago) by bjs
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
cwrapper,
cube-native-xorg-base,
cube-native-xorg
Changes since 1.80: +2 -2
lines
Diff to previous 1.80 (colored)
Add a distribution patch (by Thomas Dickey) containing Coverity fixes. Bump revisions of both ncurses and ncursesw packages. fixes based on Coverity report: ------------------------------ - remove dead code in test/bs.c - remove dead code in test/demo_defkey.c - remove an unused assignment in progs/infocmp.c - fix a limit check in tack/ansi.c tools_charset() - fix tack/ansi.c tools_status() to perform the VT320/VT420 tests in request_cfss(). The function had exited too soon. - fix a memory leak in tic.c's make_namelist() - fix a couple of places in tack/output.c which did not check for EOF. - fix a loop-condition in test/bs.c - add index checks in lib_color.c for color palettes - add index checks in progs/dump_entry.c for version_filter() handling of V_BSD case. - fix a possible null-pointer dereference in copywin() - fix a possible null-pointer dereference in waddchnstr() - add a null-pointer check in _nc_expand_try() - add a null-pointer check in tic.c's make_namelist() - add a null-pointer check in _nc_expand_try() - add null-pointer checks in test/cardfile.c - fix a double-free in ncurses/tinfo/trim_sgr0.c - fix a double-free in ncurses/base/wresize.c - add try/catch block to c++/cursesmain.cc other fixes prompted by inspection for Coverity report: ------------------------------------------------------ - modify ifdef's for c++ binding to use try/catch/throw statements - add a null-pointer check in tack/ansi.c request_cfss() - fix a memory leak in ncurses/base/wresize.c - corrected check for valid memu/meml capabilities in progs/dump_entry.c when handling V_HPUX case.
Revision 1.80 / (download) - annotate - [select for diffs], Tue Sep 25 10:07:05 2007 UTC (16 years, 2 months ago) by hira
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base,
pkgsrc-2007Q3
Changes since 1.79: +3 -3
lines
Diff to previous 1.79 (colored)
Back out previous. Pointed out by uebayasi@ and martti@.
Revision 1.79 / (download) - annotate - [select for diffs], Tue Sep 25 08:49:05 2007 UTC (16 years, 2 months ago) by hira
Branch: MAIN
Changes since 1.78: +3 -3
lines
Diff to previous 1.78 (colored)
mv -> ${MV}.
Revision 1.78 / (download) - annotate - [select for diffs], Tue Feb 6 14:34:54 2007 UTC (16 years, 9 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base,
pkgsrc-2007Q2,
pkgsrc-2007Q1-base,
pkgsrc-2007Q1
Changes since 1.77: +2 -2
lines
Diff to previous 1.77 (colored)
When TERMINFODIR does not exist, tic tries to write the terminfo database into ~/.terminfo, so make sure that directory exists.
Revision 1.77 / (download) - annotate - [select for diffs], Tue Jan 23 22:55:32 2007 UTC (16 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.76: +2 -1
lines
Diff to previous 1.76 (colored)
Make sure ${TERMINFODIR}/s is removed; bump PKGREVISION.
Revision 1.76 / (download) - annotate - [select for diffs], Wed Jan 17 13:43:49 2007 UTC (16 years, 10 months ago) by dmcmahill
Branch: MAIN
Changes since 1.75: +13 -2
lines
Diff to previous 1.75 (colored)
Repair this package on solaris after being broken by the last update. Addresses PR/35387.
Revision 1.75 / (download) - annotate - [select for diffs], Mon Jan 8 11:01:05 2007 UTC (16 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.74: +3 -4
lines
Diff to previous 1.74 (colored)
Changes 5.6: Hashed-databases are supported for storing terminal descriptions. Support for magic-cookies such as hpterm was improved. Support for rpath in shared libraries was revised. Many bugfixes were made for memory leaks, wide-character support, portability, and more.
Revision 1.74 / (download) - annotate - [select for diffs], Sun Nov 5 17:49:34 2006 UTC (17 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base,
pkgsrc-2006Q4
Changes since 1.73: +2 -2
lines
Diff to previous 1.73 (colored)
DESTDIR support.
Revision 1.73 / (download) - annotate - [select for diffs], Fri Oct 13 18:07:49 2006 UTC (17 years, 1 month ago) by tron
Branch: MAIN
Changes since 1.72: +3 -43
lines
Diff to previous 1.72 (colored)
Add "ncursesw" package: Wide character CRT screen handling and optimization package This package brings us one step closer to fixing PR pkg/34777.
Revision 1.72 / (download) - annotate - [select for diffs], Sun Oct 8 17:16:59 2006 UTC (17 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.71: +2 -1
lines
Diff to previous 1.71 (colored)
Add patch addressing PR 33916, supplied by David Holland. Bump PKGREVISION.
Revision 1.71 / (download) - annotate - [select for diffs], Sun Jul 2 10:00:08 2006 UTC (17 years, 5 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base,
pkgsrc-2006Q3
Changes since 1.70: +11 -7
lines
Diff to previous 1.70 (colored)
Switched to the SUBST framework.
Revision 1.70 / (download) - annotate - [select for diffs], Tue Mar 14 16:00:40 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base,
pkgsrc-2006Q2,
pkgsrc-2006Q1-base,
pkgsrc-2006Q1
Changes since 1.69: +2 -2
lines
Diff to previous 1.69 (colored)
Drop maintainership for packages that I no longer have time to maintain.
Revision 1.69 / (download) - annotate - [select for diffs], Sat Dec 17 05:20:21 2005 UTC (17 years, 11 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base,
pkgsrc-2005Q4
Changes since 1.68: +2 -2
lines
Diff to previous 1.68 (colored)
Change my MAINTAINER email address to the one I've been using for pkgsrc work.
Revision 1.68 / (download) - annotate - [select for diffs], Mon Dec 5 20:50:05 2005 UTC (17 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.67: +2 -2
lines
Diff to previous 1.67 (colored)
Fixed pkglint warnings. The warnings are mostly quoting issues, for example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
Revision 1.67 / (download) - annotate - [select for diffs], Thu Oct 20 00:01:32 2005 UTC (18 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.66: +2 -3
lines
Diff to previous 1.66 (colored)
Update to 5.5. Solaris PLIST should be checked for correctness. This release is designed to be upward compatible from ncurses 5.0 through 5.4; very few applications will require recompilation, depending on the platform. These are the highlights from the change-log since ncurses 5.4 release. Interface changes: * terminfo installs "xterm-new" as "xterm" entry rather than "xterm-old" (aka xterm-r6). * terminfo data is installed using the tic -x option (few systems still use ncurses 4.2). * modify C++ binding to work with newer C++ compilers by providing initializers and using modern casts. Old-style header names are still used in this release to allow compiling with not-so-old compilers. * modify parameter type in c++ binding for insch() and mvwinsch() to be consistent with underlying ncurses library (was char, is chtype). * change NCursesWindow::err_handler() to a virtual function. * form and menu libraries now work with wide-character data. Applications which bypassed the form library and manipulated the FIELD.buf data directly will not work properly with libformw, since that no longer points to an array of char. The set_field_buffer() and field_buffer() functions translate to/from the actual field data. * add symbol to curses.h which can be used to suppress include of stdbool.h, e.g., #define NCURSES_ENABLE_STDBOOL_H 0 #include <curses.h> * change SP->_current_attr to a pointer, adjust ifdef's to ensure that libtinfo.so and libtinfow.so have the same ABI. The reason for this is that the corresponding data which belongs to the upper-level ncurses library has a different size in each model. * winnstr() now returns multibyte character strings for the wide-character configuration. * assume_default_colors() no longer requires that use_default_colors() be called first. * data_ahead() now works with wide-characters. * slk_set() and slk_wset() now accept and store multibyte or multicolumn characters. * start_color() now returns OK if colors have already been started. start_color() also returns ERR if it cannot allocate memory. * pair_content() now returns -1 for consistency with init_pair() if it corresponds to the default-color. * unctrl() now returns null if its parameter does not correspond to an unsigned char. New features and improvements: * library + environment variable NCURSES_NO_UTF8_ACS supports miscellaneous terminal emulators which ignore alternate character set escape sequences when in UTF-8 mode. + modify initialization of key lookup table so that if an extended capability (tic -x) string is defined, and its name begins with 'k', ncurses will automatically treat it as a key. + change GPM initialization, using dl library to load it dynamically at runtime. + form, menu and panel libraries support debug-tracing. * add NCURSES-Programming-HOWTO.html by Pradeep Padala (see http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/). * programs: * infocmp: + The -i option now matches 8-bit controls against its table entries, e.g., so it can analyze the xterm-8bit entry. + add "-x" option to infocmp like tic's "-x", for use in "-F" comparisons. This modifies infocmp to only report extended capabilities if the -x option is given, making this more consistent with tic. Some scripts may break, since infocmp previous gave this information without an option. * tic: + modify termcap-parsing to retain 2-character aliases at the beginning of an entry if the "-x" option is used in tic. + filter out long extended names when translating to termcap format. Only two characters are permissible for termcap capability names. + correct translation of "%%" in terminfo format to termcap, e.g., using "tic -C". + modify the "-c -v" options to ignore delays when comparing strings. Also modify it to ignore a canceled sgr string, e.g., for terminals which cannot properly combine attributes in one control sequence. + add a check for improperly ended strings, i.e., where a following line begins in column 1. + add a check in tic for terminfo entries having an sgr0 but no sgr string. This confuses Tru64 and HPUX curses when combined with color, e.g., making them leave line-drawing characters in odd places. + add check (with debug configuration) that provides about the runtime changes that would be made to sgr0 for termcap applications. * tset: + add -c and -w options to allow user to suppress ncurses' resizing of the terminal emulator window in the special case where it is not able to detect the true size. Major bug fixes: * improve logic in tgetent() which adjusts the termcap "me" string to work with ISO-2022 string used in xterm-new. This is a feature that was incompletely implemented in ncurses 5.3. ncurses attempts to provide termcap clients with the portion of the sgr0 (termcap "me") string that does not reset line-drawing. * cells in the WINDOW which are continuations of a multicolumn character are encoded differently, making repainting more reliable. * amend change to setupterm() in ncurses 5.4 (20030405) which would reuse the value of cur_term if the same output was selected. This now reuses it only when setupterm() is called from tgetent(), which has no notion of separate SCREENs. Note that tgetent() must be called after initscr() or newterm() to use this feature. * make setcchar() now works when its wchar_t* parameter is pointing to a string which contains more data than can be converted. * win_wchnstr() now works for more than one cell. * resizeterm() now processes all levels of window hierarchy. * disable GPM mouse support when $TERM happens to be prefixed with "xterm". Gpm_Open() would otherwise assert that it can deal with mouse events in this case. * add SP->_screen_acs_map[], used to ensure that mapping of missing line-drawing characters is handled properly. For example, ACS_DARROW is absent from xterm-new, and it was coincidentally displayed the same as ACS_BTEE. Portability: * configure script: + new options: --enable-largefile set compiler and linker flags to use largefile support. --enable-ext-colors Allow encoding of 256 foreground and background colors, e.g., with the xterm-256color or xterm-88color terminfo entries. This requires ABI 6 because it changes the size of cchar_t. --enable-ext-mouse This defines NCURSES_MOUSE_VERSION 2, and modifies the encoding of mouse events to support wheel mice, which may transmit buttons 4 and 5. This works with xterm and similar terminal emulators. This requires ABI 6 because it changes the encoding of mouse events. --with-chtype overriding of the non-LP64 model's use of chtype --with-mmask-t overriding of the non-LP64 model's use of mmask_t --without-xterm-new Installs "xterm-old" as the "xterm" entry of the terminfo database. + The --with-termlib option now accepts a value which sets the name of the terminfo library. This would allow a packager to build libtinfow.so renamed to coincide with libtinfo.so + fixes/improvements for cross-compiling: o suppress $suffix in misc/run_tic.sh when cross-compiling. This allows cross-compiles to use the host's tic program to handle the "make install.data" step. o correct BUILD_CPPFLAGS substitution in ncurses/Makefile.in, to allow cross-compiling from a separate directory tree. * library: + add ifdef's for _LP64 in curses.h to avoid using wasteful 64-bits for chtype and mmask_t, but add configure option --disable-lp64 in case anyone used that configuration. + modify C++ binding to use some C internal functions to make it compile properly on Solaris (and other platforms). + remove check in newwin() that prevents allocating windows that extend beyond the screen (Solaris does this). + check for nl_langinfo(CODESET), use it if available. This replaces ad hoc tests of environment variables to check if the terminal is setup for UTF-8 encoding. Applications which do not call setlocale() should be corrected, to make them work properly with UTF-8 encoding. In particular, applications which assume (and do not call setlocale()) that Latin-1 codes are printable will no longer work in a UTF-8 locale since the ad hoc check of environment variables to see if the locale was UTF-8 is not used when nl_langinfo(CODESET) is available. + use setlocale() to query the program's current locale rather than using getenv(). This supports applications which rely upon legacy treatment of 8-bit characters when the locale is not initialized.
Revision 1.66 / (download) - annotate - [select for diffs], Sun May 22 22:06:28 2005 UTC (18 years, 6 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base,
pkgsrc-2005Q3,
pkgsrc-2005Q2-base,
pkgsrc-2005Q2
Changes since 1.65: +2 -2
lines
Diff to previous 1.65 (colored)
Remove USE_TOOLS+=gawk from packages that had it added solely for Solaris. We rely on the tools framework to pull in a good enough awk tool.
Revision 1.65 / (download) - annotate - [select for diffs], Sun May 22 21:04:41 2005 UTC (18 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.64: +2 -4
lines
Diff to previous 1.64 (colored)
Remove USE_TBL from pkgsrc and replace with USE_TOOLS+=tbl.
Revision 1.64 / (download) - annotate - [select for diffs], Sun May 22 20:07:54 2005 UTC (18 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.63: +2 -2
lines
Diff to previous 1.63 (colored)
Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
Revision 1.63 / (download) - annotate - [select for diffs], Mon Apr 11 21:45:28 2005 UTC (18 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.62: +1 -2
lines
Diff to previous 1.62 (colored)
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
Revision 1.62 / (download) - annotate - [select for diffs], Sun Oct 3 00:13:31 2004 UTC (19 years, 2 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base,
pkgsrc-2005Q1,
pkgsrc-2004Q4-base,
pkgsrc-2004Q4
Changes since 1.61: +2 -1
lines
Diff to previous 1.61 (colored)
Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
Revision 1.61 / (download) - annotate - [select for diffs], Wed Jul 21 19:58:57 2004 UTC (19 years, 4 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base,
pkgsrc-2004Q3
Changes since 1.60: +2 -2
lines
Diff to previous 1.60 (colored)
Remove explicit dependency on groff -- set USE_TBL instead.
Revision 1.60 / (download) - annotate - [select for diffs], Fri Jul 9 13:51:20 2004 UTC (19 years, 4 months ago) by drochner
Branch: MAIN
Changes since 1.59: +2 -1
lines
Diff to previous 1.59 (colored)
depend on groff
Revision 1.59 / (download) - annotate - [select for diffs], Mon Mar 8 13:26:03 2004 UTC (19 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base,
pkgsrc-2004Q2,
pkgsrc-2004Q1-base,
pkgsrc-2004Q1
Changes since 1.58: +2 -2
lines
Diff to previous 1.58 (colored)
Add two patches (that will end up in the next ncurses release) to make this build with NetBSD make older than Dec 26 2003. Problem was that ${FOO:$o=.lo} was not expanded as in GNU make before that date; problem found by Thomas Dickey. Remove USE_GNU_TOOLS+=make.
Revision 1.58 / (download) - annotate - [select for diffs], Thu Mar 4 23:51:24 2004 UTC (19 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.57: +2 -2
lines
Diff to previous 1.57 (colored)
Use GNU make, so this builds again (for me (TM)).
Revision 1.57 / (download) - annotate - [select for diffs], Wed Mar 3 13:36:09 2004 UTC (19 years, 9 months ago) by adam
Branch: MAIN
Changes since 1.56: +11 -12
lines
Diff to previous 1.56 (colored)
Changes 5.4: * Interface changes * New features and improvements: library, programs * Major bug fixes (See ANNOUNCE for details)
Revision 1.56 / (download) - annotate - [select for diffs], Mon Feb 2 13:02:49 2004 UTC (19 years, 10 months ago) by jlam
Branch: MAIN
Changes since 1.55: +2 -2
lines
Diff to previous 1.55 (colored)
These packages need a C++ compiler.
Revision 1.55 / (download) - annotate - [select for diffs], Wed Jan 7 01:16:04 2004 UTC (19 years, 10 months ago) by jlam
Branch: MAIN
Changes since 1.54: +3 -1
lines
Diff to previous 1.54 (colored)
Create ${PREFIX}/share/examples in pkgviews (NO_MTREE) case.
Revision 1.54 / (download) - annotate - [select for diffs], Mon Jan 5 12:53:10 2004 UTC (19 years, 10 months ago) by jlam
Branch: MAIN
Changes since 1.53: +4 -2
lines
Diff to previous 1.53 (colored)
bl3ify
Revision 1.53 / (download) - annotate - [select for diffs], Sat Dec 20 08:49:27 2003 UTC (19 years, 11 months ago) by reed
Branch: MAIN
Changes since 1.52: +2 -6
lines
Diff to previous 1.52 (colored)
Allow ncurses to install useful reset, tset, tput and clear utilities (and manpages). This is in regards to my PR #23103. I bumped PKGREVISION in Makefile but not in buildlink2.mk file. The ncurses libraries and headers didn't change. No need to bump PKGREVISIONs for all the packages that depend on libncurses.
Revision 1.52 / (download) - annotate - [select for diffs], Sun Nov 23 07:12:01 2003 UTC (20 years ago) by salo
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base,
pkgsrc-2003Q4
Changes since 1.51: +3 -3
lines
Diff to previous 1.51 (colored)
basename -> ${BASENAME}, from Soren Jacobsen via PR pkg/23538.
Revision 1.51 / (download) - annotate - [select for diffs], Sat Aug 2 04:24:58 2003 UTC (20 years, 4 months ago) by grant
Branch: MAIN
Changes since 1.50: +2 -2
lines
Diff to previous 1.50 (colored)
use USE_GNU_TOOLS+= so we can co-exist with a user's setting.
Revision 1.50 / (download) - annotate - [select for diffs], Sat Aug 2 03:56:37 2003 UTC (20 years, 4 months ago) by grant
Branch: MAIN
Changes since 1.49: +3 -4
lines
Diff to previous 1.49 (colored)
USE_GNU_TOOLS=awk
Revision 1.49 / (download) - annotate - [select for diffs], Thu Jul 17 21:31:56 2003 UTC (20 years, 4 months ago) by grant
Branch: MAIN
Changes since 1.48: +2 -2
lines
Diff to previous 1.48 (colored)
s/netbsd.org/NetBSD.org/
Revision 1.48 / (download) - annotate - [select for diffs], Sun Jul 13 13:51:22 2003 UTC (20 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.47: +2 -1
lines
Diff to previous 1.47 (colored)
PKGREVISION bump for libiconv update.
Revision 1.47 / (download) - annotate - [select for diffs], Wed Jul 9 17:44:31 2003 UTC (20 years, 4 months ago) by grant
Branch: MAIN
Changes since 1.46: +4 -1
lines
Diff to previous 1.46 (colored)
include gawk/buildlink2.mk to get a working awk on Solaris, fixes build on Solaris.
Revision 1.46 / (download) - annotate - [select for diffs], Wed Jul 9 16:51:55 2003 UTC (20 years, 4 months ago) by grant
Branch: MAIN
Changes since 1.45: +3 -3
lines
Diff to previous 1.45 (colored)
my usual style () "" nits.
Revision 1.45 / (download) - annotate - [select for diffs], Wed Jul 2 11:37:57 2003 UTC (20 years, 5 months ago) by grant
Branch: MAIN
Changes since 1.44: +3 -2
lines
Diff to previous 1.44 (colored)
add USE_GCC_SHLIB.
Revision 1.44 / (download) - annotate - [select for diffs], Mon Mar 31 16:20:01 2003 UTC (20 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.43: +2 -1
lines
Diff to previous 1.43 (colored)
Also remove screen.teraterm on solaris, as it depends on the screen entry.
Revision 1.43 / (download) - annotate - [select for diffs], Sat Feb 15 00:36:40 2003 UTC (20 years, 9 months ago) by salo
Branch: MAIN
Changes since 1.42: +5 -5
lines
Diff to previous 1.42 (colored)
Use ${f} instead of ${file}. It keeps list of bogus pkglint warnings smaller (the same for packages using ncurses).
Revision 1.42 / (download) - annotate - [select for diffs], Tue Jan 21 11:05:16 2003 UTC (20 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-6-1-base,
netbsd-1-6-1
Changes since 1.41: +3 -2
lines
Diff to previous 1.41 (colored)
Update to 5.3: Interface changes: * change type for bool used in headers to NCURSES_BOOL, which usually is the same as the compiler's definition for bool. * add all but two functions for X/Open curses wide-character support. These are only available if the library is configured using the --enable-widec option. Missing functions are * pecho_wchar() * slk_wset() * add environment variable $NCURSES_ASSUMED_COLORS to modify the assume_default_colors() extension. New features and improvements: * Improved support for termcap applications: * add logic to dump_entry.c to remove function-key definitions that do not fit into the 1023-byte limit for generated termcaps. This makes hds200 fit. * modify tgetent() to check if exit_attribute_mode resets the alternate character set, and if so, attempt to adjust the copy of the termcap "me" string which it will return to eliminate that part. In particular, 'screen' would lose track of line-drawing characters. * add check/fix to comp_parse.c to suppress warning about missing acsc string. This happens in configurations where raw termcap information is processed; tic already does this and other checks. * add tic -A option to suppress capabilities which are commented out when translating to termcap. * modify logic in lib_baudrate.c for ospeed, for FreeBSD to make it work properly for termcap applications (patch by Andrey A Chernov). * add a call to _nc_keypad() in keypad() to accommodate applications such as nvi, which use curses for output but not for input (fixes Debian #131263, cf: 20011215). * correct logic for COLORFGBG environment variable: if rxvt is compiled with xpm support, the variable has three fields, making it slightly incompatible with itself. In either case, the background color is the last field. Major bug fixes: * rewrote limit-checks in wscrl() and associated _nc_scroll_window(), to ensure that if the parameter of wscrl() is larger than the size of the scrolling region, then the scrolling region will be cleared. * modify tset to restore original I/O modes if an error is encountered. Also modify to use buffered stderr consistently rather than mixing with write(). * move calls to def_shell_mode() and def_prog_mode() before loop with callbacks in lib_set_term.c, since the c++ demo otherwise initialized the tty modes before saving them. * modified wresize() to ensure that a failed realloc will not corrupt the window structure, and to make subwindows fit within the resized window. * altered resizeterm() to avoid having it fail when a child window cannot be resized because it would be larger than its parent. * correct/improve logic to produce an exit status for errors in tput, which did not exit with an error when told to put a string not in the current terminfo entry. * modify behavior of can_clear_with() so that if an application is running in a non-bce terminals with default colors enabled, it returns true, allowing the user to select/paste text without picking up extraneous trailing blanks. * add a check in relative_move() to guard against buffer overflow in the overwrite logic. * add some limit/pointer checks to -S option of tputs. * modify mvcur() to avoid emitting newline characters when nonl() mode is set. Normally this is not a problem since the actual terminal mode is set to suppress nl/crlf translations, however it is useful to allow the caller to manipulate the terminal mode to avoid staircasing effects after spawning a process which writes messages (for lynx 2.8.4). Portability: * configure script: * modify check in --disable-overwrite option so that it is used by default unless the --prefix/$prefix value is not /usr, in attempt to work around packagers who do not read the INSTALL notes. * correct a typo in configure --enable-colorfgbg option, and move it to the experimental section (cf: 20011208). * modify configure script to allow building with termcap only, or with fallbacks only. In this case, we do not build tic and toe. * modify run_tic.sh to check if the build is a cross-compile. In that case, do not use the build's tic to install the terminfo database. * modify c++/Makefile.in to accommodate archive programs that are different for C++ than for C, and add cases for vendor's C++ compilers on Solaris and IRIX. * add several configure script options to aid with cross-compiling: --with-build-cc, --with-build-cflags, --with-build-ldflags, and --with-build-libs. * add experimental --with-caps=XXX option to customize to similar terminfo database formats such as AIX 4.x * add configure option --with-ospeed to assist packagers in transition to 5.3 change to ospeed type. * library: * implement a simple vsscanf() fallback function which uses the %n conversion to help parse the input data. * various fixes to build/work with different implementations of vsscanf(). * add/use macro to suppress sign-extension of char type on platforms where this is a problem in ctype macros, e.g., Solaris. * finish changes needed to build dll's on cygwin. * add #undef's before possible redefinition of ERR and OK in curses.h * programs: * modify ifdef's in write_entry.c to allow use of symbolic links on platforms with no hard links, e.g., BeOS. * modify _nc_write_entry() to allow for the possibility that linking aliases on a filesystem that ignores case would not succeed because the source and destination differ only by case, e.g., NCR260VT300WPP0 on cygwin. * modify logic in tic, toe, tput and tset which checks for basename of argv[0] to work properly on systems such as OS/2 which have case-independent filenames and/or program suffixes, e.g., ".ext".
Revision 1.41 / (download) - annotate - [select for diffs], Sun Nov 17 11:23:15 2002 UTC (21 years ago) by salo
Branch: MAIN
Changes since 1.40: +10 -4
lines
Diff to previous 1.40 (colored)
Fix TERMINFODIR handling on Solaris. Closes pkg/18622
Revision 1.40 / (download) - annotate - [select for diffs], Sun Sep 1 18:36:35 2002 UTC (21 years, 3 months ago) by tron
Branch: MAIN
Changes since 1.39: +19 -4
lines
Diff to previous 1.39 (colored)
Educate this package to co-exist with the "screen" package under SunOS and fix some package lists problems there.
Revision 1.39 / (download) - annotate - [select for diffs], Sun Aug 25 18:38:38 2002 UTC (21 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.38: +2 -2
lines
Diff to previous 1.38 (colored)
Merge changes in packages from the buildlink2 branch that have buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework.
Revision 1.38.2.2 / (download) - annotate - [select for diffs], Fri Jun 21 23:05:08 2002 UTC (21 years, 5 months ago) by jlam
Branch: buildlink2
Changes since 1.38.2.1: +2 -2
lines
Diff to previous 1.38.2.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)
Rename USE_BUILDLINK2_ONLY to USE_BUILDLINK2 for less verbosity. Also convert a few more packages to use the buildlink2 framework.
Revision 1.38.2.1 / (download) - annotate - [select for diffs], Sat May 11 02:09:04 2002 UTC (21 years, 6 months ago) by jlam
Branch: buildlink2
Changes since 1.38: +2 -2
lines
Diff to previous 1.38 (colored)
First pass at conversion of various packages to use the buildlink2 framework. Add many buildlink2.mk files to add to the framework. Please see buildlink2.txt for more details.
Revision 1.38 / (download) - annotate - [select for diffs], Tue Jun 19 05:06:27 2001 UTC (22 years, 5 months ago) by jlam
Branch: MAIN
CVS Tags: pkgviews-base,
pkgviews,
netbsd-1-6-RELEASE-base,
netbsd-1-6,
netbsd-1-5-PATCH003,
buildlink2-base
Branch point for: buildlink2
Changes since 1.37: +2 -1
lines
Diff to previous 1.37 (colored)
Mark as USE_BUILDLINK_ONLY.
Revision 1.37 / (download) - annotate - [select for diffs], Fri Feb 16 14:38:43 2001 UTC (22 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-5-PATCH001
Changes since 1.36: +2 -1
lines
Diff to previous 1.36 (colored)
Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
Revision 1.36 / (download) - annotate - [select for diffs], Tue Dec 12 18:23:12 2000 UTC (22 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.35: +2 -13
lines
Diff to previous 1.35 (colored)
update to 5.2 too many changes to list here - see the HOMEPAGE for details
Revision 1.35 / (download) - annotate - [select for diffs], Sat Oct 21 22:24:47 2000 UTC (23 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.34: +2 -1
lines
Diff to previous 1.34 (colored)
add empty line for pkglint
Revision 1.34 / (download) - annotate - [select for diffs], Sun Oct 15 04:50:11 2000 UTC (23 years, 1 month ago) by jlam
Branch: MAIN
Changes since 1.33: +3 -1
lines
Diff to previous 1.33 (colored)
Patch with ncurses-5.1-20001014.patch.gz. This has a few minor bug fixes, but mostly comprises patches to ease building on NetBSD pkgsrc. Tom Dickey has been kind enough to accept our patches back into the main source tree. Many thanks to him.
Revision 1.33 / (download) - annotate - [select for diffs], Thu Oct 12 16:27:58 2000 UTC (23 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: netbsd-1-5-RELEASE,
netbsd-1-4-PATCH003
Changes since 1.32: +2 -2
lines
Diff to previous 1.32 (colored)
add the actual ncurses distribution to DISTFILES
Revision 1.32 / (download) - annotate - [select for diffs], Thu Oct 12 14:56:42 2000 UTC (23 years, 1 month ago) by jlam
Branch: MAIN
Changes since 1.31: +34 -47
lines
Diff to previous 1.31 (colored)
Update ncurses to 5.1 (20001009). Changes from version 5.0 include better support for termcap, new extensions for color, several bug fixes, minor API changes, buffer-overrun checks.
Revision 1.31 / (download) - annotate - [select for diffs], Fri Jul 14 21:29:06 2000 UTC (23 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.30: +3 -3
lines
Diff to previous 1.30 (colored)
USE_LIBTOOL instead of USE_PKGLIBTOOL.
Revision 1.30 / (download) - annotate - [select for diffs], Thu Jun 1 11:23:23 2000 UTC (23 years, 6 months ago) by rh
Branch: MAIN
Changes since 1.29: +2 -2
lines
Diff to previous 1.29 (colored)
s/USE_LIBTOOL/USE_PKGLIBTOOL/ Add a new USE_LIBTOOL definition that uses the libtool package instead of pkglibtool which is now considered outdated. USE_PKGLIBTOOL is available for backwards compatibility with old packages but is deprecated for new packages.
Revision 1.29 / (download) - annotate - [select for diffs], Sat Feb 12 05:00:38 2000 UTC (23 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-4-PATCH002
Changes since 1.28: +9 -1
lines
Diff to previous 1.28 (colored)
run the man-pages that need it through tbl, since NetBSD's man doesn't do it.
Revision 1.28 / (download) - annotate - [select for diffs], Sat Jan 15 18:39:28 2000 UTC (23 years, 10 months ago) by jlam
Branch: MAIN
Changes since 1.27: +33 -17
lines
Diff to previous 1.27 (colored)
Update ncurses to 5.0. From the release notes: 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. Interface changes: * 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: + rename key_names[] array to _nc_key_names 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. Major bug fixes: * 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.
Revision 1.27 / (download) - annotate - [select for diffs], Fri Sep 24 00:39:13 1999 UTC (24 years, 2 months ago) by jlam
Branch: MAIN
CVS Tags: comdex-fall-1999
Changes since 1.26: +5 -1
lines
Diff to previous 1.26 (colored)
Go ahead and build and install the the ncurses C++ application framework library. This was a side-effect of trying to deal with --with-cxx and --without-cxx. We accept the default --with-cxx. This should work regardless of whether libg++ exists.
Revision 1.26 / (download) - annotate - [select for diffs], Mon Sep 13 20:04:48 1999 UTC (24 years, 2 months ago) by fredb
Branch: MAIN
Changes since 1.25: +1 -2
lines
Diff to previous 1.25 (colored)
Revert last change. Denying that we have c++ has unfortunate side-effects. Better to disable build for the demo explicitly.
Revision 1.25 / (download) - annotate - [select for diffs], Mon Sep 13 07:00:07 1999 UTC (24 years, 2 months ago) by fredb
Branch: MAIN
Changes since 1.24: +3 -2
lines
Diff to previous 1.24 (colored)
Don't try to build c++ demo on systems with libg++. It's never installed anyway.
Revision 1.24 / (download) - annotate - [select for diffs], Sat Sep 4 00:57:48 1999 UTC (24 years, 3 months ago) by hubertf
Branch: MAIN
Changes since 1.23: +2 -2
lines
Diff to previous 1.23 (colored)
Remove --without-cxx configure option, as noted on tech-pkg a few weeks ago. With this switch on, configure DTRT WRT the "bool" data type, resulting in bizarre compile errors when using ncurses with c++ later: /usr/pkg/include/ncurses.h:96: abstract declarator used as declaration (caused by a "typedef bool;")
Revision 1.23 / (download) - annotate - [select for diffs], Fri Jul 16 21:11:02 1999 UTC (24 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.22: +2 -2
lines
Diff to previous 1.22 (colored)
Change MAINTAINER to jlam@netbsd.org, and update patch checksums.
Revision 1.22 / (download) - annotate - [select for diffs], Wed Jul 14 20:33:38 1999 UTC (24 years, 4 months ago) by hubertf
Branch: MAIN
CVS Tags: netbsd-1-4-PATCH001
Changes since 1.21: +2 -2
lines
Diff to previous 1.21 (colored)
I do not claim to maintain this any longer. Maybe someone more appropriate (Johnny?) may want to put his name into the MAINTAINER field.
Revision 1.21 / (download) - annotate - [select for diffs], Tue Jul 13 23:54:16 1999 UTC (24 years, 4 months ago) by bad
Branch: MAIN
Changes since 1.20: +2 -2
lines
Diff to previous 1.20 (colored)
Configure --without-cxx for consistency on 1.3ish systems and ones that have a libg++ lying around.
Revision 1.20 / (download) - annotate - [select for diffs], Tue Jul 6 07:51:03 1999 UTC (24 years, 5 months ago) by jlam
Branch: MAIN
Changes since 1.19: +22 -28
lines
Diff to previous 1.19 (colored)
* Update "devel/ncurses" to latest release 4.2. * Libtoolize library build.
Revision 1.19 / (download) - annotate - [select for diffs], Mon Jun 14 00:08:59 1999 UTC (24 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.18: +9 -2
lines
Diff to previous 1.18 (colored)
Don't disable this on the alpha. From the diff: ># XXX The following comment is somewhat incorrect. The package will build ># XXX correctly on alpha, and even build shared libs, but not quite correctly: ># XXX The shlibs have no SONAME, so references to them from programs ># XXX will end up being to libfoo.so. This may cause upgrade problems in the ># XXX future. However, an ncurses binary package appeared e.g. with 1.4, ># XXX seemingly built from these bits, so it's probably best to just enable ># XXX it for now. -- cgd 19990613 Note that that's a generic ELF problem, and not limited to the Alpha, as well.
Revision 1.18 / (download) - annotate - [select for diffs], Mon May 24 20:39:38 1999 UTC (24 years, 6 months ago) by tv
Branch: MAIN
Changes since 1.17: +10 -10
lines
Diff to previous 1.17 (colored)
Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORM pattern match format. Minor pkglint along the way.
Revision 1.17 / (download) - annotate - [select for diffs], Tue Sep 22 06:11:36 1998 UTC (25 years, 2 months ago) by garbled
Branch: MAIN
CVS Tags: netbsd-1-4-RELEASE,
netbsd-1-3-PATCH003
Changes since 1.16: +3 -1
lines
Diff to previous 1.16 (colored)
add NOT_FOR_ARCHS= alpha for all of these pkgs which are *known* to fail on alpha. There may be more, but I haven't seen them yet.
Revision 1.16 / (download) - annotate - [select for diffs], Thu Aug 20 15:16:48 1998 UTC (25 years, 3 months ago) by tsarna
Branch: MAIN
Changes since 1.15: +2 -1
lines
Diff to previous 1.15 (colored)
The Grand Homepagification: - New, optional Makefile variable HOMEPAGE, specifies a URL for the home page of the software if it has one. - The value of HOMEPAGE is used to add a link from the README.html files. - pkglint updated to know about it. The "correct" location for HOMEPAGE in the Makefile is after MAINTAINER, in that same section.
Revision 1.15 / (download) - annotate - [select for diffs], Wed Jul 15 10:34:56 1998 UTC (25 years, 4 months ago) by agc
Branch: MAIN
Changes since 1.14: +1 -2
lines
Diff to previous 1.14 (colored)
Use automatic shared object handling
Revision 1.14 / (download) - annotate - [select for diffs], Sun Jun 21 04:29:07 1998 UTC (25 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.13: +1 -32
lines
Diff to previous 1.13 (colored)
Automatic manual page handling, and don't create the ${PREFIX}/lib/terminfo symlink, as we have no need for the "compatibility".
Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 15 10:38:21 1998 UTC (25 years, 7 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-1-3-PATCH002
Changes since 1.12: +2 -7
lines
Diff to previous 1.12 (colored)
Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree. Remove redundant (and sometimes erroneous) comments.
Revision 1.12 / (download) - annotate - [select for diffs], Mon Mar 16 11:06:07 1998 UTC (25 years, 8 months ago) by frueauf
Branch: MAIN
Changes since 1.11: +4 -4
lines
Diff to previous 1.11 (colored)
portlint: rm->${RM}.
Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 16 08:06:30 1998 UTC (25 years, 8 months ago) by hubertf
Branch: MAIN
Changes since 1.10: +6 -4
lines
Diff to previous 1.10 (colored)
Fix PR 5163 by tooleym@Douglas.BC.CA: In manpages, tell people to #include <ncurses.h>, not <curses.h>.
Revision 1.10 / (download) - annotate - [select for diffs], Mon Feb 2 08:59:11 1998 UTC (25 years, 10 months ago) by hubertf
Branch: MAIN
Changes since 1.9: +2 -2
lines
Diff to previous 1.9 (colored)
Remove -m argument from ldconfig calls, require the system to have ${PREFIX}/lib in ld.so.conf instead. This ensures things even work after a reboot.
Revision 1.9 / (download) - annotate - [select for diffs], Mon Feb 2 08:10:48 1998 UTC (25 years, 10 months ago) by hubertf
Branch: MAIN
Changes since 1.8: +2 -2
lines
Diff to previous 1.8 (colored)
Introduce TRUE?=/usr/bin/true, and use it.
Revision 1.8 / (download) - annotate - [select for diffs], Sat Jan 24 04:26:58 1998 UTC (25 years, 10 months ago) by hubertf
Branch: MAIN
Changes since 1.7: +12 -11
lines
Diff to previous 1.7 (colored)
portlint: move WRKSRC, fix MAN1, use macros for commands, ldconfig||/usr/bin/true
Revision 1.7 / (download) - annotate - [select for diffs], Thu Dec 18 09:58:14 1997 UTC (25 years, 11 months ago) by hubertf
Branch: MAIN
Changes since 1.6: +2 -2
lines
Diff to previous 1.6 (colored)
Use "+=", not "=" to assign CONFIGURE_ARGS; else this installs in /usr/local!
Revision 1.6 / (download) - annotate - [select for diffs], Sat Dec 13 04:05:28 1997 UTC (25 years, 11 months ago) by hubertf
Branch: MAIN
Changes since 1.5: +2 -2
lines
Diff to previous 1.5 (colored)
Fix the following message: /usr/pkg/man//man1/captoinfo.1.gz: No such file or directory ncurses 1.9.9g doesn't install manpages in compressed form, so no need to define MANCOMPRESSED (for folks that want their manpages compressed, they shallt set MANZ!).
Revision 1.5 / (download) - annotate - [select for diffs], Tue Dec 9 02:49:22 1997 UTC (25 years, 11 months ago) by agc
Branch: MAIN
Changes since 1.4: +4 -3
lines
Diff to previous 1.4 (colored)
Change manual page name from curs_resize.3 to wresize.3 to reflect reality, which allows the package to be installed without MANZ set in the environment.
Revision 1.4 / (download) - annotate - [select for diffs], Wed Nov 26 14:50:45 1997 UTC (26 years ago) by agc
Branch: MAIN
Changes since 1.3: +6 -3
lines
Diff to previous 1.3 (colored)
Upgrade to ncurses-1.9.9g. Add MANCOMPRESSED, as newer version gzips the manual pages. Remember to merge the new shared objects in with ldconfig. Add version numbers to the shared objects in the derived Makefiles.
Revision 1.3 / (download) - annotate - [select for diffs], Tue Oct 28 11:35:46 1997 UTC (26 years, 1 month ago) by agc
Branch: MAIN
Changes since 1.2: +12 -4
lines
Diff to previous 1.2 (colored)
Append trailing / to MASTER_SITES. Add section 5 and 7 manual pages and MAN[57] definitions. Add standard format header, and fill in hubertf's name as maintainer (you're welcome, Hubert).
Revision 1.2 / (download) - annotate - [select for diffs], Tue Oct 28 00:12:41 1997 UTC (26 years, 1 month ago) by hubertf
Branch: MAIN
Changes since 1.1: +4 -1
lines
Diff to previous 1.1 (colored)
add MASTER_SITE for this version
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Mon Oct 27 04:28:54 1997 UTC (26 years, 1 month ago) by hubertf
Branch: TNF
CVS Tags: hubertf-1997-09-25
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
Import what FreeBSD has in base
Revision 1.1 / (download) - annotate - [select for diffs], Mon Oct 27 04:28:54 1997 UTC (26 years, 1 month ago) by hubertf
Branch: MAIN
Initial revision