ncurses 6.5 console library release

After a year and a half of development, the ncurses 6.5 library has been released, designed for creating multi-platform interactive console user interfaces and supporting emulation of the curses programming interface from System V Release 4.0 (SVr4). The ncurses 6.5 release is source compatible with the ncurses 5.x and 6.0 branches, but extends the ABI. Popular applications built using ncurses include aptitude, lynx, mutt, ncftp, vim, vifm, minicom, mosh, screen, tmux, emacs, less.

Among the added innovations:

  • The following functions have been added to the program interfaces for low-level access to terminfo and termcap: tiparm_s for transmitting information about the expected string parameters of the terminal, which are used to generate output to the terminal; tiscan_s to check formatting capabilities when passing string parameters to the tiparm_s function. These functions solve problems when processing damaged or incorrect files with terminal parameters (terminfo and termcap).
  • Added build option "--enable-check-size" to simplify initialization on terminals that do not transmit window or screen size data. When you enable the option to determine the window size in the setupterm function, the cursor position is used unless the size information is set through environment variables or passed through an ioctl.
  • Added functions to obtain TTY flags from structures with type SCREEN.
  • Added checks for safer handling of string parameters in the tiparm, tparm and tgoto functions.

Source: opennet.ru

Add a comment