slang-users mailing list

[2016 Date Index] [2016 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[slang-users] slang 2.3.1 released


I am pleased to announce the release of version 2.3.1 of the slang
library.  This version is backwards binary compatible with previous
versions in the 2.x.y series.

See <http://www.jedsoft.org/slang/download.html> for information about
obtaining this version.

The release notes are appended below.  The detailed list of changes
are in the changes.txt file that is part of the source code
distribution.

Thanks,
--John

24 bit color support (new for version 2.3.1)
============================================

  The SLtt interface has been modified to support 24 bit (true)
  colors.  Until the next major release (version 3), this feature is
  available for 64 bit Unix/VMS systems to keep binary compatibility.
  Support for 32 bit systems will be added in version 3.

  Since not all terminals support true color, and it is not supported
  by terminfo, 24 bit color is disabled by default.  A list of
  terminals that support true color may be found at
  <https://gist.github.com/XVilka/8346728>.

  To indicate that a terminal supports true color, set the value of
  the environment variable COLORTERM to either "24bit" or "truecolor",
  e.g.,

      export COLORTERM=truecolor

  Then to use 24 bit color in applications such as jed and slrn, use a
  24bit RGB value in the form "#RRGGBB" as the name of the color.
  For example, to set the color of the status line in jed to AliceBlue
  (#F0F8FF) on a SlateGray (#708090) background, use
      set_color ("status", "#F0F8FF", "#708090");

  in the .jedrc file.  In slrn, to set the color of the author name to
  the above colors use

      color author "#F0F8FF" "#708090"

  in the .slrnrc file.  Also note other character attributes may be
  specified, e.g., "#F0F8FF;italics;underline".

Intrinsic Functions
===================

   The following intrinsic functions have been added for 2.3.x:

     wherefirst_eq/ne/gt/lt/ge/le, where_last_eq/ne/gt/lt/ge/le:
     returns first/last index of an array where the array value is
     eq/ne/gt/lt/ge/le of a specified value.

     get/set_printable_bstring_size: Get/set the length of the
     printable representation of binary strings.

     statvfs: Intrinsic that wraps statvfs POSIX function that returns
     file system statistics.

     _ftime:  returns the number of (wallclock) seconds since an epoch

     wchars_to_string/string_to_wchars: Convert a UTF-8 encoded string
     to and from an array of Unicode characters.

   The following functions have been enhanced:

     _push_struct_field_values: An optional argument may be used to
     specify the fields to be pushed. (version 2.3.1)

Interpreter Syntax
==================

   String literals now support \uABCD to specify a 32 bit unicode
   character.  Previously, the braces were required (\u{ABCD}).
   (version 2.3.1)

Module Updates
==============

   stats-module: Added Anderson-Darling normality and
   k-sample tests
_______________________________________________
For list information, visit <http://jedsoft.org/slang/mailinglists.html>.


[2016 date index] [2016 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]