./x11/xterm, Latest terminal emulator for the X Window System

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 330, Package name: xterm-330, Maintainer: pkgsrc-users

The xterm program is a terminal emulator for the X Window System. It provides
DEC VT102 and Tektronix 4014 compatible terminals for programs that can't use
the window system directly.

This version implements ISO/ANSI colors using the "new" color model
(i.e., background color erase). It also implements most of the control
sequences for VT220.

MESSAGE.Solaris [+/-]

Required to run:
[sysutils/desktop-file-utils] [fonts/Xft2] [x11/luit]

Required to build:
[pkgtools/x11-links] [x11/renderproto] [pkgtools/cwrappers]

Package options: freetype, luit, xpm

Master sites:

SHA1: 0b648aaba45715c156a25e7ff629c82eb9836bc0
RMD160: 6344e06f06db6ae11b4dc330b2c5e8f3ffb99d2a
Filesize: 1243.343 KB

Version history: (Expand)

CVS history: (Expand)

   2017-07-04 10:52:38 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated xterm to 330.

Patch #330 - 2017/06/20

  • updates for ReGIS (Ross Combs):
      □ remove redundant text command error check which broke T(B) and T(E).
      □ retain the loading alphabet number across multiple “L” commands.
      □ add S(T) delay handler.
      □ fix some color handling error messages.
      □ add stubbed-out macrograph handling.
      □ use fragment_remaining() and fragment_consumed() instead of manually
        checking position / length in various places.
      □ rename some local variables in string / extent / option parsing
      □ wrap some long lines.
      □ move macrograph command handling out of the top-level.
  • add a summary of the italic fonts loaded to -report-fonts option.
  • modify the font-lookup for italics to allow for “-i-” if no match is found
    with slant “-o-” (prompted by patch by Ben Wong).
  • change default values for mkSamplePass and mkSampleSize to reflect
    generally-improved locale support in various operating systems (FreeBSD #
  • modify wcwidth.c to return -1 for non-Unicode values, and adjust a couple
    of blocks to better match assumptions about ambiguous-width characters in
    other implementations. Also modify wcwidth.c to support configurable
    soft-hyphen, so there is no drawback to using this version rather than a
    system wcwidth.
  • amend change made in patch #328 for cursor-visibility to handle case where
    an application is updating the reverse-video state (FreeBSD #219800).
  • update tables of combining and ambiguous-width characters in wcwidth.c
    based on Unicode 10.0.0.
  • build-fix for --enable-sixel-graphics without --enable-regis-graphics
    (reports by Sven Joachim, FreeBSD #219945).
   2017-06-19 22:24:38 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated xterm to 329.

                            Patch #329 - 2017/06/12

     * add  control  sequences  for  reading  the Sixel and ReGIS graphics
       sizes (suggested by Ben Wong).
     * add  a  workaround  for  wcwidth  returning -1 for characters which
       should have been printable (FreeBSD #219800).
     * fix a bug in font initialization from patch #328 (FreeBSD #219800).
     * fix  a special case in HideCursor which assigned a bold font to the
       slot  used  for  normal  font  in changes for italics in patch #307
       (Debian #858304).
     * updates for ReGIS (Ross Combs):
          + Strings  specified  with  no  command  are used as "comments".
            Print these in the log when tracing.
          + Catch  attempts  to use "alternate display" mode (AKA \ 
            from the GIGI, but do not implement it.
          + The  T(M)  command  should only multiply the height by 10, not
          + Make  the  S(E)  command reset more state than just the screen
          + Remove two rotation variables which were only being printed.
          + Numerous minor fixes and comment updates in the R command.
          + Unknown R command option names trigger an empty response.
          + Fix  the  output  position after printing rotated text (it was
            missing the the sign before).
          + Fix  the  position  change  with pixelvectors and rotated text
            (the rotation transform was not being applied).
          + Update  the TODO list and remove a verification FIXME (slanted
            text positioning is correct as is).
          + Emulate  the  approximately  1.4x  enlargement  for text which
            isn't rotated at right angles.
          + Only  update the color planes specified in the plane mask (the
            W command's F option).
     * fix  a  bug  introduced by the changes to font information in patch
       #328.   When  processing  the  "checkfont"  option  of  the  locale
       resource,  the  program  referred  to the request data, to an array
       which  was  only  allocated  in  the new/result widget (report by H
       Merijn Brand).
     * fix  a  missing assignment initialization to make the utf8 resource
       control  whether  escape sequences to enable/disable UTF-8 mode are
   2017-06-14 14:20:03 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated xterm to 328.

                            Patch #328 - 2017/06/01

     * revise parser for charClass resource, making these improvements:
          + accept octal and hexadecimal values
          + allow embedded whitespace
          + allow  the  class  after  colon to be optional, e.g., to clear
            class settings for a range of characters.
     * add command-line option -report-charclass.
     * fix most lintian warnings about test-package
     * add eraseSavedLines resource.
     * document DECSED 3 in ctlseqs.ms (report by Ben Longmans).
     * improve   integration  between  configure-events  and  updates  for
       reported screensize, in particular when switching between vt100 and
       tek4014 modes.
     * modify  selection-highlighting  of  reverse-video text to keep that
       distinct,   e.g.,   by   reversing  the  selection  foreground  and
       background  colors as one would expect. This fixes a "useless" case
       in the description of highlightColorMode.
     * improve fix for Debian #759734, addressing a case where non-colored
       cursor would be invisible against reverse-video (see patch #311).
     * updates for ReGIS (Ross Combs):
          + the  "H"  option of the "T" command should \ 
multiply by 10, not
          + display unknown glyphs as a solid block.
          + given a succession of text-direction options, use the last.
          + fix  the  direction  of  ReGIS  slanted  text so that negative
            values produce oblique output .
          + fix  the ReGIS text direction option to only rotate characters
            when no following size option is used.
     * update  terminfo  to better match corresponding entries in ncurses,
       e.g.,   u8  pattern  to  match  the  VT220,  VT420,  etc.,  primary
       responses, as well as adding smxx and rmxx.
     * fixes from Jörg Sommer:
          + corrected  a trace-message regarding maximum graphics-size; it
            used  the  similar  ReGIS  maximum  size  which  might  not be
          + in  do_select_regex,  clear selection if there is no match. If
            the  regex  does  not  match  anything  around the cursor, the
            selection  returned must be empty, otherwise the whole line is
            treated   as   a  match.  This  way  the  command  defined  by
            exec-selectable will not be executed if there is no match.
          + modify  limit  in  do_select_regex to include the character at
            the  cursor  in  the match, making it easier to type something
            and then hit the key to trigger exec-selectable.
          + If exec-selectable or insert-selection is triggered by a mouse
            button  click,  the  position  of  the mouse pointer should be
            used.  This  makes  it  easier  to address any position on the
            window  and  it  makes it possible to use the mouse, e.g., for
            applications such as mutt where you cannot move the cursor.
     * modify  DECRC  to  save/restore  xterm's  last-column  flag used to
       control   wrapping   behavior   rather   than  manipulating  DECAWM
       (report/analysis by Mattias Engdegård).
     * add  configure option --enable-terminfo-env to use the value set by
       --with-own-terminfo  for  the  $TERMINFO environment variable. That
       variable  was  set  automatically  for HPUX, but would be useful in
       other systems, e.g., for Solaris (request by Jeff Wieland).
     * fix a race condition when setting up a signal handler to timeout if
       opening /dev/tty hangs (patch by Tobias Stoeckmann).
     * review/cleanup  resources which were not in the manual page (report
       by Maxwell Anselm):
          + add manual page description as needed.
          + drop resource name for menuBar, as unnecessary.
          + modify  fallback numeric value for regisScreenSize resource to
            match that for maxGraphicSize.
     * updated    configure    macros    CF_ADD_CFLAGS,   CF_CC_ENV_FLAGS,
       CF_GNU_SOURCE,   CF_MATH_LIB,   and   CF_XOPEN_SOURCE   from  other
     * update config.guess, config.sub
     * change  “maximum screensize” assumed by resize to 9999x9999, to
       accommodate people using the Unreadable font.
     * drop  Utility from default value of --with-desktop-category (Debian
     * widen  the  configure  script  pattern  used  for  finding  related
       ".desktop" files, including “Terminal”
     * several minor improvements to font utility functions:
          + provide  for  later  modification  to  implement  font-sets by
            parsing the font resources as comma-separated lists.
          + parse -fn and -fa similarly, using “x:” and “xft:” prefixes
            for  font  name/family strings to distinguish between XLFD and
            Xft font specifications.
          + use loops to iterate over font classes
          + use  getters/setters  for  font  data  to  allow for on-demand
          + make  the debugging trace for missing glyph less verbose since
            that interferes with the -report-fonts option.
          + refactor  xtermLoadFont  to make it clearer how some fonts are
            derived from others, e.g., bold, wide.
          + make  the  triggering  and  suppressing  of font-warnings more
            consistent by storing the last state in the widget.
          + reduce font-warnings by checking for repeated warnings.
     * add vttests/query-status.pl
     * add vttests/closest-rgb
     * add  special  case for displaying soft-hyphen if it happens to fall
       at  the  right  margin,  and omitting similar case such as the BIDI
       markers,   where  a  zero-width  character  is  neither  a  control
       character nor a combining character (Debian #844325).
     * modify  logic  for OSC 52, manipulate selection data, to update the
       selection-time  to  include  the  latest  X events. This fixes some
       cases  where the selection was invalid, e.g., after an event due to
       focus-follows-mouse (report/testcase by Stephane Chauveau).
     * revise  macro  CastMallocN  as new macro TextAlloc to make explicit
       use of sizeof(char) (prompted by patch by Cade Foster).
     * add “Mouse Ops” menu entry and related resources to allow runtime
       disabling/enabling   of   the   mouse   protocol  escape  sequences
       (discussion with Bob Proulx).
     * improve  discussion  of mouse actions versus protocol in the manual
       (discussion with Bob Proulx).
     * improve discussion of environment variables in the manual, pointing
       out  where  some  features (such as termcap and the System5 COLUMNS
       and  LINES  variables)  are  used  rarely, mainly to support legacy
     * add  examples  of  translations  resource for select/paste, and for
       font-size changes to the manual.
     * minor  reordering  of  some  entries  in ctlseqs.ms for consistency
       (report by Arran Ubels).
     * add  -s  option  to  256colors2.pl and 88colors2.pl, to demonstrate
       modifying the “system” colors 0–15.
     * omit  XFT_SPACING  property  from  call to XftPatternBuild, to work
       around  a  bug  in  fontconfig  for handling Google Go fonts, whose
       names  sort  in  an  order  not expected by fontconfig, causing the
       request for a monospaced font to return italics, e.g.,

$ fc-match 'Go Mono:spacing=monospace'
Go-Mono-Italic.ttf: "Go Mono" "Italic"
(report by Giacomo Boffi on Stackoverflow).

     * modify minstall.in to improve a workaround added to the manual page
       in  patch #182 to avoid having the C preprocessor used in the imake
       configuration  strip  out  the  comments  in  the character classes
       section (reports by Ted Unangst, Anthony J Bentley).
   2017-05-05 18:28:13 by Jonathan Perkin | Files touched by this commit (1)
Log message:
Links against libtermcap.
   2016-10-09 23:05:16 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated xterm to 327.

                            Patch #327 - 2016/10/07

     * add  a  check in the function which handles end-of-line wrapping to
       ensure   that   C1   controls   are   allocated   one  column  when
       allowC1Printable is set (Debian #738794).
     * use  consistent  error-checking  after  strtol  calls, fixes a case
       where  a  query  with  OSC 6 did not ensure there was a valid color
       number (report by Alex Smith).
     * add -baudrate option, for testing ncurses.
     * always  generate  the CASE_xxx symbols in VTparse.h and Tekparse.h,
       as  part of a change to improve debug-logging. This makes the build
       always depend upon awk.
     * modify   allowC1Printable   to  disallow  codes  160-254  as  being
       equivalent  to  codes  32-126 when parsing escape sequences (Debian
     * amend  fix from patch #326 for TrueType fonts to exclude the hidden
       character used for double-width cells (report by Grady Martin).
     * fix a typo in ctlseqs.ms
   2016-10-03 14:07:34 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated xterm to 326.

Patch #326 - 2016/09/25

    updated appdata file (report by Richard Hughes).
    improve discussion of the different terminal emulations provided by xterm in \ 
the manual page.
    add examples of setting the icon title with/without the window title in the \ 
manual (Debian #833984).
    correct a limit-check when using a numeric value for extended Booleans e.g., \ 
*fullscreen:3 rather than a name such as *fullscreen:never.
    add action allow-bold-fonts
    improved formatting fixes for manual page, using script to find mismatches \ 
in spelling of resources, actions and menu entries.
    improve documentation of logging resources.
    fix a special case of flickering cursor by adding GraphicsExpose to the list \ 
of event types that should not trigger making the mouse cursor visible (patch by \ 
Joe Peterson).
    correct initialization of line-drawing in VT52-mode, overlooked in changes \ 
for patch #297 (report/patch by Ben Wiley Sittler).
    minor clarification of form-feed versus line-feed in ctlseqs.ms (suggested \ 
by David Kemper).
    amend fix for Debian #738794 to restore a check for missing characters which \ 
are not combining characters. Also fill in a corresponding special case for \ 
TrueType fonts (Debian #827905).
   2016-06-12 16:40:27 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
Updated xterm to 325.

Patch #325 - 2016/06/05

    improve manual page discussion of function keys (discussion with Ross Combs).
    further improve fix for Debian #545220 in patch #248, to avoid conflict with \ 
combining characters (Debian #738794).
    improve -hold option to avoid 100% CPU usage with NetBSD after closing the \ 
shell, which makes subsequent checks for X input events fail (prompted by patch \ 
by Pierre Pronchery).
    review #ifdef statements, listed those which do not have a configure option \ 
in xtermcfg.hin.
    fixed one case where the menu sensistivity for Print-All Immediately and \ 
Print-All on Error was not properly ifdef'd.
    modify terminfo entries for 16-, 88- and 256-color to reset palette with rs1 \ 
    accept legacy value of -kt as synonym for the oldXtermFKeys resource, and \ 
extend the full-reset logic to use the keyboard type set via -kt.
    modify ioctl calls for I_PUSH to first check if the module has been added, \ 
using I_FIND. This is needed for newer Solaris libraries with c11 support \ 
(adapted from patch by Alan Coopersmith).
    add check in getXtermCombining to ensure that combining characters were \ 
allocated (report by Tor Andersson).
    add configure option --without-xinerama to allow suppressing the extension \ 
(Gentoo #580936).
    update keysym2ucs.c based on Unicode 9.0
    fixed most cppcheck --enable=all warnings, including for style (prompted by \ 
report by David Binderman). There was one bug-fix:
        RGB least-squares computation in allocateClosestRGB used only one ordinate
    add cppcheck to lint-like programs in configure script and makefile.
    updates for SIXEL and ReGIS (Ross Combs):
        Fixes some const correctness issues and points out an array lifetime issue
        Sixel drawing should still happen after an error if some commands have \ 
been processed
        Tiny steps toward reporting ReGIS input
   2016-05-26 16:57:24 by Pierre Pronchery | Files touched by this commit (3)
Log message:
Add a patch to avoid consuming 100% CPU in hold mode

Without this patch, this happens every time the child exits. To reproduce,
simply run "xterm -hold -e true".

Submitted upstream on March 29th 2016.