303:
This release fixes a regression in validation against /etc/shells
and adds a check for paths which match /etc/shells via a symbolic
link.
302:
This release fixes several minor bugs and adds a new command-line
option to show colors as they are allocated.
300: This release fixed a problem when running in XFCE4.
299: This release fixed an error in line drawing.
298: This release fixes several minor bugs and adds a new option
"-report-fonts" to show which fonts are actually loaded.
This release revises and extends the DEC NRCS (national replacement
character set) feature, adding several character sets and making
it usable in a UTF-8 environment. There are other fixes for a few
control sequences, improvements in font handling, and improvements
to configurability.
Thomas E. Dickey says it has hard-to-fix layout issues and slows
the startup, so turn the option default off.
Bump PKGREVISION for the default change from on to off.
modify delimiter in configure macro used to add a library
after a given library to avoid confusion with -Wl
pass-through options to linker (NetBSD #48031).
fix quoting in expression used to trim extra libraries from
patch #295 changes (report by Thomas Klausner).
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
Improves configurability of openpty versus posix_openpt functions.
Adds a new feature PasteControls to enable control characters (other
than formatting) to be pasted. Several minor bugfixes.
Several small bugfixes/improvements. One is a fix for the -iconic
option broken in #282 when the icon pixmap is configured. The other
fixes are for older problems.
285:
This release fixes two minor bugs, improves recovery from misconfigured
colors, and adds test scripts for building the FreeBSD port and
for demonstrating OSC 4 color-queries.
286:
This release fixes four bugs, chiefly a workaround for a bug in
GDM exposed by the change in patch #282 that identifies the window
manager. The other fixes add a check for misconfiguration of the
printerCommand resource and improve transformation of the manpage
to other formats.
281:
This release fixes two regressions in patch #280 (one affects
packaging, the other keyboard).
280:
This release changes the default emulation level to VT420 (reflecting
implementation of margins in patch #279), adds/modifies configure
script options to support icon-themes, and includes several minor
bugfixes and other feature enhancements.
Patch #279 - 2012/05/10
fill in missing cases in the save/restore modes feature (report by Thomas Wolff).
add check to ensure that combining characters are precomposed in the order given (report/analysis by Andries E Brouwer).
improve workability check for posix_openpt(), to take into account BSD systems which do not complete initialization until both sides of the pseudoterminal are opened (report by Christian Weisgerber).
amend fix for Debian #650291 in patch #277 changes to account for different data returned by vnc4server (Debian #670638).
add check in DECCRA operation to make copies of blinking text also blink by updating a line-level flag.
modify rectangle operations to work with DECOM.
modify DECSERA to use the current protected state rather than preserving it.
add precompose resource to allow storing character data in Normalized Form D as described in http://unicode.org/reports/tr15/ (report/discussion with Andries E Brouwer).
modify CBT, other ISO-6429 controls which are used by VT520 to work with DECOM.
add HPR and VPR controls, ISO 6429 cursor movement used in VT520.
remove "linux" restriction for IUTF8 ifdef in main.c (prompted by Matthew Dempsky posting on mailing.openbsd.tech).
implement the remaining VT420-level device status reports.
change DECXCPR to return page 1, rather than 0.
improve VT-level checks on reporting functions, such as DECXCPR.
change limit on decTerminalID to 525.
fixes to improve vttest vt52 screen when running as a VT420:
add checks for some VT2xx and up controls for consistency: DECSCL, S1C8T, S1C7T.
modify DECRQSS return for DECSCL to only return that when running as VT2xx and up.
when exiting from VT52-mode, resume in VT100 level rather than the level before starting VT52-mode.
implement DECLRMM, DECSLRMM and DECNCSM (prompted by discussions with Ailin Nemui and Paul LeoNerd Evans). This modifies several controls to obey top/bottom and left/right margins.
correct macro definition used for testing modes used in ANSI/DEC request-mode controls introduced in patch #262.
modify x_getlogin to check $LOGNAME and $USER before fallback to getlogin, so that user's choice for these variables can be carried forward to the xterm process (Debian #611487).
document DECSCUSR response for DECRQSS in ctlseqs.ms
add zIconTitleFormat resource to allow customizing the "*** " prefixed to the icon title when the zIconBeep feature is activated (request by Thomas Adam).
modify DECSCUSR to update the same internal variable as RM/SM 12, and document in manpage the two variables used for controlling blinking cursor (report by Paul LeoNerd Evans).
correct response data for DECSCUSR in reply for DECRQSS response, which had inverted the blink-value (reports by Ailin Nemui, Paul LeoNerd Evans).
add a null-pointer check in OkPasswd macro to fix a problem in resize with Fedora 17 and a serial console (report/patch by Daniel Drake).
add workaround for Mac OS X, which loses the window size of a pseudo-terminal when the tty device is opened (report/analysis by Egmont Koblinger).
updated configure check for workable posix_openpt versus grantpt, from luit fixes.
modify DECIC/DECDC/DECBI/DECFI implemented in patch #277 to enable them only in VT4xx mode and up (report by Ailin Nemui).
update config.guess, config.sub
Patch #278 - 2012/01/18
correct initialization for eightBitMeta resource (FreeBSD #164101).
make special check for Darwin 9 (and lower) to not use posix_openpt (report by Christian Ebert).
minor fixes (adding ".ne" directives) to reduce the cases where groff's utility for generating images for tables dumps core. Most versions of groff (I've found 1.19.2 to be the most stable) dump core when attempting to report that there are too few lines on a page for a table to be shown.
Patch #277 - 2012/01/07
remove special case for ISC pseudo-terminals which attempts to open the pty in two different ways.
move call to grantpt before asking utempter to add a record, to work with kFreeBSD which does not update the terminal's ownership until this point (Debian #652907).
document limitation of XIM interface in manpage (Debian #230787).
cleanup error reporting with new xtermWarning function.
add configure option --disable-selection-ops to make the new actions optional.
add four new actions for making the selection or data directly copied from the screen (prompted by discussion in Debian #637001, as well as report by Arjen van Tol):
exec-formatted
exec-selectable
insert-formatted
insert-selectable
add visualBellLine resource to allow visualBell to flash only the current line (prompted by patch by Gertjan Halkes).
add eightBitMeta resource to control the features which modify or interpret the eighth bit of a key when the meta modifier key is pressed (prompted by Debian #326200).
improve discussion of eightBitInput in the manpage (prompted by Debian #326200).
correct logic for alt-sends-escape action, overlooked when implementing altSendsEscape resource, which still used eightBitInput resource value.
add a workaround for XAllocColor(), which does not actually allocate "a read-only colormap entry corresponding to the closest RGB value supported by the hardware", but rather a rough approximation (Debian #650291).
undo parameter checks for RequestResize() added in patch #251 and amended in patch #270, because zeros also are special cases (report by John S Urban).
modify some test-scripts to use /bin/echo rather than the shell's possibly-builtin echo, to work around broken configuration on Mac OS X, i.e., neither honoring the option nor flagging an error.
add SGR 1006, as a better technical solution than SGR 1015:
the responses will not be confused with line-deletion and scrolling controls.
the button encoding is a little simpler, since it does not add an unnecessary 32 because the integer parameter does not have to be represented as a printable character.
the control responses for pressing and releasing a mouse button differ, allowing an application to tell which button was released.
Besides these improvements, in discussion, it was noted that urxvt's implementation of 1005 is incorrect, relying upon a locale that provides UTF-8 encoding. In contrast, vttest demonstrates a correct decoding, independent of locale.
add support for urxvt SGR 1015 to address shortcoming of SGR 1005 with luit (patch by Egmont Koblinger).
add ISO and DEC controls useful for left/right scrolling.
add some changes for OpenBSD and MirBSD (adapted from patch by Thorsten Glaser):
disable search for non-Unix96 ptys.
fix a gcc warning in timestamp_filename
modify Imakefile to install xterm setgid to utmp.
add/use/prefer posix_openpt() for opening pseudo-terminal.
modify special errno handling case in ptydata.c from patch #158 to allow for the possibility that any platform may have special cases where "/dev/tty" is absent. For example, this can happen in a FreeBSD jail (patch by David Wolfskill).
add keyboard logic to map shift-tab into XK_ISO_Left_Tab, which is usually, not always, done by the X keyboard configuration.
portability fixes for some configure macros: CF_XOPEN_SOURCE
Patch #276 - 2011/10/10
modify clipping limits for TrueType fonts to account for the scaleHeight resource setting, to work around another problem due to recent FreeType changes. In this case, the DejaVu Sans Mono set to pixelsize=13.5 is truncated because the font descent is reduced by FreeType to match an incorrect height metric (report by Adam Lee).
improve recovery when bitmap fonts are not installed, e.g., so that switching font-sizes works for TrueType fonts.
modify lookup for XTERM_SHELL feature to allow relative pathnames.
modify abbreviation disambiguation check for command-line parameters to account for -geometry, whose parameter may begin with "+" or "-" (report by Scott Bertilson).
Patch #275 - 2011/09/11
add ash, zsh to known shells for resize.
modify resize to reuse the logic from xterm which determines the actual logon-user's shell if $SHELL is not set.
revert the unsetenv("SHELL") added in patch #272.
an unsetenv("SHELL") added in patch #272 to help ensure that luit would get the user's shell consistently did not work as expected for cases where multiple names are in the password-file for a given uid. That was because changes in patch #157 to handle this situation did not take into account that repeated calls to getpwnam and getpwuid return a pointer to the same static buffer. Fixed the older logic to work as intended, by ensuring that the passwd-data from each call is stored separately (report by Paul Keusemann).
adjust ifdef's for putenv and unsetenv in case only one of those is provided on a given platform.
correct comparison used in ExposeContains macro from patch #274 changes, to handle window-dragging (patch by Todd Eigenschink).
Patch #274 - 2011/09/05
portability fixes for cygwin: do not define SVR4, and work around nonstandard header location.
ifdef'd use of unsetenv from patch #273 changes to work with Solaris 9 (report by Waldemar Rachwal).
modify logic for XtAppPending to merge adjacent Expose and ConfigureNotify events which are redundant (report by Edward McGuire).
fix an unneeded warning message when -r option is given.
remove a few redundant entries from table used for helping abbreviation-checking of command-line options, makes -geom work again after patch #272 changes as an abbreviation of -geometry.
add scaleHeight resource and command-line option -sh as workaround for some font-configurations broken by changes in FreeType 2.4.6 (report by Miroslav Hodak).
portability fixes for some configure macros: CF_FUNC_TGETENT, CF_XOPEN_SOURCE, CF_X_ATHENA_LIBS.
add configure option --with-freetype-config to improve selection over the plethora of configuration options which freetype has so far provided.
build-fix for configure --enable-load-vt-fonts when --enable-widec is not specified.
build-fixes for suppressing various features, needed after changes in patches 270, 271 and 272 (report by Brian Lindholm)
Patch #273 - 2011/08/25
build-fix for out-of-tree "make docs" rule.
correct a typo in x_strdup, from patch #198 changes.
correct initialization for -e option, broken in patch #272 changes (report by Gabriele Balducci).
build-fix for out-of-tree builds to address minstall script changes in patch #272 (patch by Thierry Reding).
Patch #272 - 2011/08/24
document limitation of Gtk in connection with xterm's -into option, in the manpage (Ubuntu #806969).
improve -into by checking for and using the size of the window within which xterm is embedded, overriding other clues.
modify logic for localeFilter resource to allow that to include command-line options of luit.
improve -into by checking for invalid window-id, and allowing hexadecimal/decimal/octal values.
improve keepSelection, adding the case where the highlighting is cleared, overlooked in patch #230 (patch by Marco Peereboom).
improve command-line parsing to make abbreviate options work consistently across xterm-specific versus standard X toolkit options, and report cases where an abbreviated option happens to be ambiguous. In particular, -d now works as an abbreviation for -display.
fix regression in command-line parsing introduced in patch #271 changes for Debian #629358, (Debian #637910).
split-out new termcap/terminfo building block xterm+kbs for configurability.
modify terminfo file to reflect changes in ncurses for xterm-16color and xterm-256color.
modify minstall.sh, etc., to reflect the default default class, $TERM and decTerminalID values.
reword resize manpage to reflect the fact that $TERMCAP is not set on all systems (patch by Alan Coopersmith).
work around combined Xaw6/Xaw7 package in DragonFlyBSD which omits the usual symbolic link to the preferred library name.
further improve build-fix for termcap systems by checking for some which are only partial implementations, e.g., termcap 2.08 in CentOS 5.2
Patch #271 - 2011/07/14
omit permissions adjustments to pty on exit except for pre-Unix98 ptys, since modern implementations handle this (report by Sean C Farley).
modify logic for switching fonts between UTF-8 and non-UTF-8 encoding to not merge the derivable bold-, wide- and widebold values from the VT100 fonts. Also suppress warning when not using UTF-8 fonts if wide- and widebold-fonts cannot be derived or otherwise loaded (report by Werner Scheinast).
modify menu-creation to suppress entries which will never be used in the current configuration, rather than simply disabling them.
add resource printModeImmediate and menu item to allow print of screen plus saved lines to a file.
add menu item to allow runtime enable/disable of the printFileOnXError feature.
append a timestamp to filename used in printFileOnXError feature, and restrict its permissions (request by Vincent Lefevre).
add a check when cancelling cursor-blinking, in case the cursor is blinked off. Fix so that the cursor is repainted without waiting for other events, e.g., keypress (report by Ailin Nemui).
add configure --with-app-class option, to simplify building "xterm-dev" packages with filenames that do not conflict with conventional "xterm" packages.
corrected logic flow for DECSCL, which prevented the updated operating level from being reported via DECRQSS (report by Ailin Nemui).
corrected default for brokenStringTerm resource to match manpage.
add vttests/dynamic.pl
add runtime check for locale not supported by X libraries, and fallback to XA_STRING in this case (request by Bryan Henderson).
fix a special case in configure script after no FreeType libraries are found. The script was proceeding to check for a usable configuration.
add xterm+tmux building block to terminfo (adapted from changes proposed by Ailin Nemui and Nicholas Marriott).
improve discussion of faceName resource in manpage (adapted from suggestions by Jens Schweikhardt).
correct mapping of shifted up/down cursor-keys in termcap function-keys mode, i.e., resource tcapFunctionKeys (patch by Gertjan Halkes).
update AIX case in CF_XOPEN_SOURCE configure macro to add release 7.x.
modify ifdef's in xterm_io.h for __hpux to force that to use the hacked SYSV support in that file. This fixes a problem with a non-blocking socket call (patch by Paul Lampert).
improve filtering of desktop category scanning, to exclude XFCE.
modify configure script to work with systems that have both ncurses (or other terminfo) as well as a real termcap library, e.g., Slackware (report by Andrew Watts).
modify configure script to work around special case where user's environment adds compiler flags to the CC variable (prompted by report by Paul Lampert).
amend change for Debian #110226 so that "-h" or "-v" options cause an exit, rather than simply printing to stdout while the window is displayed (Debian #629358).
add response for DECRQSS which gives the setting for DECSCUSR.
modify AllocateTermColor() to handle XtDefaultForeground and XtDefaultBackground, which are not recognized by XParseColor. For example, this fixes the use of OSC 112 when no explicit cursor color was set (report by Ailin Nemui).
handle special-case of KeyPress translated to popup-menu action (Ubuntu #756273).
Patch #270 - 2011/04/26
build-fix, e.g., for using imake on platforms which use the termcap library.
modify utf8 resource to accept a name.
mention default for fontWarnings in manpage (report by Werner Scheinast).
split "UTF-8" menu entry into "UTF-8 Encoding" and "UTF-8 Fonts" (prompted by discussion with Werner Scheinast).
gray-out font-menu entries when a font fails to load, e.g., a bitmap font is not installed.
improve behavior when there is no app-defaults file:
set the toolBar resource to false
gray-out the font menu entries where no resource is found.
add configure option --with-desktop-category to allow customization of the ".desktop" files.
build-fix for the install-desktop makefile-rule, when the source/build directories differ (patch by Loïc Minier).
add menu entry and corresponding resource which can be used to suppress all bold-fonts (discussion with Jan Engelhardt).
make internal line-size value consistent with allocated sizes of character and related arrays to ensure that bulk copying of line data, e.g., in scrolling, accounts for the padding used for pointer alignment (adapted from patch by Rajesh Mandalemula, also reported by Ali Bahar).
widen ifdef for screen-resizing logic from patch #176 changes to send SIGWINCH to process group to include any system supporting ioctl(*,TIOCGPGRP,*) (prompted by linux-specific patch in OpenSUSE rpm package).
add printModeOnXError and printFileOnXError resources, which allow the user to specify that xterm will write the contents of its screen to a file if it is exiting due to an X error (Debian #280457).
restore logic that made reverse-video apply to the scrollbar's foreground/background, broken in patch #158 (report by Bryan Ischo).
amend some of the window operations parameter-checks added in patch #251 for the push/pop title feature, to allow the parameters used for window resizing to be -1's, which makes the corresponding values ignored rather than using the window's maximum width/height (report by Noah Friedman).
correct order of initialization for translations vs fullscreen resources to enable a special case which omits the Alt-Enter translation when fullscreen is disabled (Debian #612978).
update config.guess, config.sub
Patch #269 - 2011/02/19
build-fixes for imake (report by Heiko Berges).
modify autoconf macro CF_PKG_CONFIG to work with cross-compile environments (patch by Thierry Reding).
modify MapToColorMode() to favor bold over underline, matching the precedence used before patch #252 (report/analysis by Nicolas George).
add omitTranslation resource, which can be used to suppress the default translations for these features:
fullscreen
scroll-lock
shift-fonts
wheel-mouse
make the fullscreen feature configurable (Debian #612978)
add it to the configurable list disallowedWindowOps.
add command-line option -fullscreen to allow the feature to be enabled at startup.
add resource fullscreen to control whether the feature is active or may be enabled.
modify probe_netwm_fullscreen_capability for 64-bit machines. Contrary to XGetWindowProperty manpage, that function returns 32-bit data packed as long's.
eliminate copy of name resource, which was otherwise used only to give the terminal-description name for the tcap-query feature. Use the actual $TERM value instead, as derived from termName resource, etc.
eliminate an old inconsistency with error messages, some used the -name option, while others used argv[0]. The latter is now used consistently.
improve configure check for rpath-hack, to improve builds on systems where gcc will not search /usr/local/lib, etc.
build-fix for Xaw3d configuration (report by H Merijn Brand).
update config.guess, config.sub
Patch #268 - 2011/02/10
fix an inconsistency of the "Enable Reverse Video" checkbox in the VT Options menu. This also removes a special case added in patch #217 which limited the effect of the reverseVideo resource (Debian #603808).
amend decoding of misformed UTF-8 sequences to avoid absorbing valid characters as documented in Unicode 6.0 section 3.9 (report by Keith Winstein).
do not set urgency hint when window already has focus (patch by Dimitrios Christidis).
amend extended mouse-coordinate mode from patch #262 changes to include the Cb button-code, which also may be greater than 127 (report by Ailin Nemui).
ensure that underline-cursor is visible when an application happens to set the background color (report by Christian Weisgerber).
add feature for full-screen toggling using either Alt-Enter or a menu selection (integrated patch by Dave Simmons).
add missing logic to handle reallocation of FIFO index for the "UTF-8" menu entry (report by David Holland, NetBSD #44344).
add makefile rules docs-ctlseqs, docs-xterm, etc.
correct typo in description of DECRPM in control sequences document (report by Ailin Nemui).
Patch #267 - 2010/11/20
minor formatting changes to ctlseqs.ms to simplify a script which extracts the feature information. See the results in Comparing versions, by counting controls in the xterm FAQ.
add docs-clean makefile rule.
add copy-selection action (request by Timo Juhani Lindfors, Debian #588785).
trim leading/trailing blanks from string used for "Selection" font-menu data.
trim leading/trailing blanks from color resource values.
configure script improvements:
add workaround for removal of X11 dependency from Xt's package file (report by Robert Hooker).
add workaround for removal of fontconfig dependency from Xft's package file (report by Jeremy Huddleston).
add workaround for removal of Xmu dependency from Xaw's package file (report by Jeremy Huddleston).
improve workaround in CF_X_TOOLKIT macro, checking for other possible packages where Xt's dependencies may be given.
prefer ${name:=value} to ${name-value}, since recent bash changes break legacy support for that feature.
Patch #266 - 2010/10/24
add rpm and dpkg scripts, for testing.
more fixes for Debian #600707 (report by Cyril Brulebois).
Patch #265 - 2010/10/22
fix a regression in fontname logic from patch #263 changes (Debian #600707, reported by Vincent Lefevre).
revert modification of any-event/any-button protocol from patch #263 changes. It interferes with selection using a shifted mouse button (reports by Neil Bird, Bram Moolenaar).
Patch #264 - 2010/10/14
replace a null-pointer check with check for empty string in xtermOpenFont, to eliminate a warning message from patch #263 changes.
build-fix for patch #263 when toolbar is not configured (patch by Chris Clayton) (reports by Robby Workman, David Wood).
Patch #263 - 2010/10/13
corrected initialization of "misc" resource values, to ensure that xterm has allocated a copy of strings which may not have been malloc'd by the X library (Debian #600129).
modify handling of any-event/any-button mouse protocol; it now is active with any combination of key-modifiers.
add debugging feature showWrapMarks, which marks lines which xterm knows are wrapped, showing where a double-click will select past the end of a line.
build-fix to address change in include-guards for Xlib.h in ongoing Xorg edits (patch by Jeremy Huddleston).
improve pointerMode by continuing to watch for motion events after mouse tracking is disabled if the pointer is hidden (Debian #594856).
further extend initialization for active-icon font to check if the font was not loaded succesfully, to retry with font1, or as even (if TrueType fonts are used) to use a TrueType font. The retries are to help with cases as in patch #241 where the bitmap fonts are not available.
fix special case of active-icon used when TrueType font is specified for the xterm window, from patch #261 change. In that case, the default font's size was used for layout of the active icon's window (Debian #591265).
Patch #262 - 2010/8/30
fix a case where changing the cursor color via escape sequences did not immediately update the screen (report by Andreas Wagner).
implement ANSI and DEC request-mode control sequences. The latter includes the xterm-specific private modes such as the mouse mode. The feature is ifdef'd with the rectangle operations since its decoding overlaps that feature.
correct typo in ctlseqs.ms for response of OSC 21 (patch by Kevin Schoedel).
improve discussion of mouse tracking in ctlseqs.ms
increase an array limit used in reporting mouse events (report by Ryan Johnson).
add extended mouse-coordinates mode, allowing up to 2015x2015 windows, using UTF-8 encoding (patch by Ryan Johnson).
modify manpage hyphens to conform with Debian.
Patch #261 - 2010/6/28
fix regression in renderFont logic, from patch #260 changes (report by Joseph Quinsey).
Patch #260 - 2010/6/20
modify plink.sh to work around problem linking to recent PCRE libraries.
extend renderFont resource to allow deferred switch to TrueType fonts without affecting existing resource settings (Debian #585620).
modify configure macro CF_X_TOOLKIT to work around omission of ICE library from ".pc" file (report by Miroslav Lichvar).
change configure script default for --enable-broken-st i.e., the brokenStringTerm feature) to normally enable it. If the corresponding resource is enabled, this feature eliminates an apparent freeze of xterm when sending mis-encoded data to the screen (Debian #584801).
document in manpage some actions which were overlooked:
readline-button
scroll-lock
set-8-bit-control
undo a change to limit-check in ScrnRefresh in patch #257, which broke fastScroll feature (Debian #584841).
modify handling of brokenLinuxOSC and brokenStringTerm to also sound the bell.
add control/D and control/Q to controls which will cause early exit from control string per brokenStringTerm resource.
improve documentation of brokenStringTerm resource in manpage.
Patch #246 - 2009/8/16
* remove obsolete logic for saving/restoring wrapping flags, which did not
work on 64-bit platform. Wrapping flags (stored in the line-index) are now
copied with line-data (Debian #541160).
* modify comments in app-defaults files to avoid problem with C preprocessor
used by xrdb (Debian #541603).
* restore special case in makeColorPair, needed for colorBDMode resource
(Debian #541089).
* correct SetLineFlags() macro, broken in patch #244 when recoding to avoid
gcc-specific bitfields (Debian #541236).
* modify initialization of screen buffers to ensure that pointers align to
int-boundaries. This fixes a problem introduced in patch #244 where the
color- and character-arrays (stored after the video-attributes in each
row) might be misaligned (report by Rajeev V Pillai).
* add limit-check in ScrnRefresh for handling saved-lines from the circular
buffer which are repainted on a screen whose width has increased. To
improve performance, circular buffer entries are not resized (report by
Rajeev V Pillai).
* correct type for CellColor (a late change in patch #244 to avoid gcc-
specifc enums made that unsigned rather than unsigned short, for the
256-color option).
* fix typo in configure option --enable-16bit-chars (report by Rajeev V.
Pillai).
Patch #245 - 2009/8/12
* correct a special case in saving FIFO-lines from patch #244. If the screen
was shrunk, xterm used the wrong amount for copying to FIFO-lines, and
then used this amount to adjust the current row on the screen. That was
both a visible defect (Debian #541109) as well as a potential addressing
error (Debian #541132, #541160, and #541236).
* add clarification in xterm manual about the various allowXXXOps resources,
which are disabled when the allowSendEvents resource is active (patch by
Julien Cristau, Debian #531597).
Patch #244 - 2009/8/9
* refactored storage of saved-lines, providing a configure option to manage
them as a FIFO (actually a circular buffer), improving performance. Added
configure option --enable-fifo-lines to enable/disable the new feature (it
is enabled by default).
* added fastScroll resource, to amuse people who measure terminal emulator
performance by cat'ing large files to the screen.
* modify check in readPtyData from return values to provide exit on zero-
bytes read from pty for FreeBSD, or eliminate high-CPU in "xterm-hold"
processing (discussion with Ulrich Spoerlein, FreeBSD ports/136686). The
check was originally modified to combine negative/zero values in
XFree86-3.1.2E, 1996/05/06.
* add configure option --enable-16bit-chars to provide wide-characters with
16-bits (rather than the default 32-bits).
* add retryInputMethod resource to allow configuring out the retries xterm
uses to connect to non-responsive XIM server, to work around defective X
configurations as noted in NetBSD mailing list.
http://mail-index.netbsd.org/tech-x11/2009/06/07/msg000511.html
* make regular-expression selection work for VT100 double-sized characters.
* improve layout when drawing missing characters in a proportional font,
e.g., as boxes, to take into account whether they are double-width
(report by Guilbert Stabilo on comp.unix.shell).
* add capability for keypad-center (kb2/KA2) to termcap entry for xterm-new,
as well as xterm-8bit, xterm-sun and xterm-vt220 (FreeBSD conf/136336).
* change default for keepSelection resource to true (prompted by discussion
with David Muir Sharnoff).
* remove a limit-check in ptydata.c, allowing Unicode values past 64k to be
displayed using TrueType fonts (Debian #458432).
* remove a vt52-specific ifdef to allow mapping F1-F4 to PF1-PF4 when vt52
support is not compiled (report by Olaf 'Rhialto' Seibert).
* save/restore line-wrapping flags when converting from ISO-8859-1 encoding
to UTF-8 encoding, as well as when resizing screen.
* remove extra adjustment of position in fix for Debian #418324.
* modify default check for mkWidth resource to check for line-drawing
characters, which are categorized as double-width in Solaris 10 (report by
Sebastian Kayser).
* add "print-everything" action (patch by Ovidiu Gheorghioiu).
* start refactoring scrollback data using new getLineData() function.
* demote recent change to Debian #252873 fix to experimental, ifdef'd out as
EXP_BOGUS_FG (Debian #522141).
* work around groff mapping of ASCII quotes using macros (requested by
Reuben Thomas based on Colin Watson advice, fixes Debian #378700).
* correct symbol used for default of allowWindowOps which was DEF_ALLOW_FONT
rather than DEF_ALLOW_WINDOW (report by Matthieu Herrb).
* amend fix for tek4014 from patch #243 to make it only apply to the Tek
Options menu.
Shared directories can now be created independently by the pacakges
needing them and will be removed automatically by pkg_delete when empty.
Packages needing empty directories can use the @pkgdir command in PLIST.
Discussed and ok'd in thread starting at
http://mail-index.netbsd.org/tech-pkg/2009/06/30/msg003546.html
Patch #243 - 2009/3/28
* revert change to default for allowTcapOps (request by Bram Moolenaar).
* reallocate result returned by xtermEnvLocale() to avoid reference to freed
memory after handling menuLocale resource.
* fix an old (X11R5) bug in tek4014 for switching fontsizes.
* add resource defaultString to make configurable the use of "#" when pastes
of UTF-8 text fail due to limitations in the current locale settings.
* make the set of selection target Atom's configurable by two new resources
eightBitSelectTypes and utf8SelectTypes, e.g., to use the TEXT Atom in
preference to UTF8_STRING (discussion with Stanislav Sedov regarding
koi8rxterm and the FreeBSD port).
* modify handling of TARGETS Atom by making it return exactly the set of
targets as those which xterm is currently providing.
* set MANPAGER and PAGER explicitly to /bin/cat in minstall.sh to work around
/etc/man.conf's with those variables already set
* improve error-checking of tcap-query parser.
* add check for keyboard tcap), which ensures that terminal descriptions
containing the same string for shifted/unshifted keys will be seen by
tcap-query as only the unshifted key. (This would only happen with an
incorrect terminal description).
* fix conversion for input event-state to modifier-parameter which made
tcap-query feature not work with tcapFunctionKeys (keyboard type tcap).
* add "DEF_ALLOW_XXX" definitions to main.h to allow overriding the
default compiled-in values for "allowxxx" resources.
* remove check on bell-percentage added in patch #242, which disallowed
zero/negative values (Redhat Bugzilla #487829).
Patch #242 - 2009/2/15
* fix configure check for XkbBell and provide appropriate parameter for it.
* fix a caching problem with double-size fonts versus reverse video that could
cause core dump.
* repair double-size fonts from workaround used in patch #240.
* add new section to the VT Fonts menu which allows enabling or disabling the
font, termcap (tcap-query), title and window operations.
* add fontWarnings resource, to control whether to show warnings on failure to
load a font.
* improve warnings for unloadable fonts introduced in patch #240 by limiting
those to the cases where a font would be specified directly by a resource
setting rather than a derived fontname.
* further amend fix for Debian #252873 from patch #197 to treat a blank cell
which does not have both foreground and background colored as a non-colored
cell. This improves a special case where the cursor is on a blank cell which
had foreground color scrolled in (report by Miroslav Lichvar).
Also add the same logic when hiding cursor, so the outline matches the
in-focus cursor.
* modify internals to reduce places PAIRED_CHARS() is used, making WriteText()
and ScrnWriteText() accept IChar array, as well as providing a wrapper for
drawXtermText().
* change default XIM font from "*" to "fixed" to improve startup time in
zh_CN.UTF-8 locale (Mike Fabian, SuSE Bugzilla #464930).
* typo in #240 log (Slava Semushin)
Patch #241 - 2009/1/26
* improve checks for missing bitmap fonts, fallback to "fixed" as needed to
work around broken font-packages (report by Jacek Luczak).
* fix breakage from patch #240 changes for xtermAddInput() (patches by
Jeff Chua, Julien Cristau).
Patch #240 - 2009/1/25
* use plink.sh for linking xterm (suggested by Larry Doolittle).
* add resource descriptions for input method to xterm manpage.
* update configure script; consistently append to $CFLAGS rather than prepend.
* add install-scripts rule to makefile, to allow koi8rxterm and uxterm scripts
to be altered independently of install-bin
* add -maximized command-line option and corresponding resource (prompted by
alt.os.linux newsgroup comment).
* modify translations of scrollbar widget using xtermAddInput() (see
patch #181) to accept the actions that the vt100 widget accepts, such as
shift-insert to perform a paste operation (request by Martin Zwickel).
* change default for allowTcapsOpS resource to false, since it causes
unexpected behavior for vim users with AltGr.
* update config.guess, config.sub
Patch #238 - 2008/12/30
* update configure macro CF_XOPEN_SOURCE for AIX 6.x and Mint platforms.
* reset the screen wrapping-flag at the end of ClearRight to fix an occasional
case where the last character of a scrolled and wrapped line would be cleared
(patch by Joe Peterson).
* modify to use POSIX coding for comparing resource settings such as locale,
to work with locales such as Turkish (report by M Vefa Bicakci).
* turn on configure paste64 feature by default (request by
Jean-Philippe Bernardy). It is runtime enabled/disabled with allowWindowOps.
* turn on configure tcap-query feature by default, add resource allowTcapOps
to make this runtime enabled/disabled.
* make OSC 3 (change X property, from patch #110) subject to allowWindowOps
resource.
* make VT220 DSR responses inactive in VT100-mode.
* make DECUDK feature inactive in VT100-mode.
* respond to incorrectly formatted DECRQSS with a cancel.
* add allowFontOps resource to allow the fontsize-switching and font query/set
control sequences to be enabled/disabled (prompted by Debian #510030).
* some code cleanup based on gcc 4.x -Wconversion warnings in button.c and
charproc.c
* modify tcap-query feature to not return data for shifted cursor-keys when
the keyboard type is set to vt220, since returning the same string for
shifted/unshifted keys may confuse some applications (GenToo #212546).
bug fixes, including the problems with resizing the terminal
with certain applications (second item listed here).
Patch #237 - 2008/09/14
* improve usability of TrueType fonts by making the font-size switching
for shifted keypad plus/minus use the faceSize resources to determine
the order of fonts (when TrueType fonts are used) rather than the
bitmap fonts, since their sizes may not be in the same order (report
by H Merijn Brand)
* remove an optimization of ConfigureNotify events from patch #236 which
seems to interfere with passing SIGWINCH to applications (GenToo
#233836).
* modify handling of altSendsEscape to reset the eightBitInput mode,
like metaSendsEscape (patch by Ted Phelps).
* add feature to show the text-cursor as an underline rather than a box,
plus command-line options -uc and +uc and resource cursorUnderLine to
control the feature (patch by Paul Lampert).
* update config.guess, config.sub
Patch #236 - 2008/07/27
* correct memory reallocation when handling a paste of UTF-8 text from
patch #225 changes (report/patch by Max Mikhanosha).
* correct allocation of temporary buffer in xtermFindShell in case the
user's $PATH contains no ":" (report/analysis by Victor Stinner,
Freedesktop.Org Bugzilla #16790).
* modify CF_XOPEN_SOURCE to add case for DragonFly BSD, to fix new
compile problem exposed by fix for fd_mask (patch by Hasso Tepper).
* add configure-check for ncurses use_extended_names, (report by
Martin Mokrejs).
* correct computation for toolbar height; layout manager already takes
into account borderWidth resource.
* implement VT320-style SCS (select character set) for ISO Latin-1
supplemental.
* fixes for vt100-style character sets in UTF-8 mode (Ubuntu #230919).
* fix to make luit work with xterm's -ls option (report/patch by
Marius Tolzmann).
* update config.guess, config.sub
Changes within pkgsrc:
- Remove most options, as I see no reason not just to build them in
by default (they shouldn't be intrusive). I also enabled a few
features that weren't there before (mouse support for readline
applications, support for the mini/built-in luit, paste64, etc.).
- Build-in the toolbar by default. I patched xterm to disable the
toolBar resource by default.
- Include xaw.buildlink3.mk instead of libXaw/buildlink3.mk and
add some code to configure xterm properly according to the
user's preference.
- Use @unexec ${RMDIR} ... when attempting to remove
lib/X11/app-defaults.
- Install xterm.desktop and uxterm.desktop to share/applications
(I don't think this needs desktopdb.mk).
- Added a 'debug' option which builds in support for event tracing.
Also, if PKG_DEVELOPER=yes, tell configure to --enable-warnings.
Patch #235 - 2008/04/20
* add control sequences for some of the recent resource/menu settings:
* altSendsEscape (private mode 1039)
* keepSelection (private mode 1040)
* selectToClipboard (private mode 1041)
* bellIsUrgent (private mode 1042)
* popOnBell (private mode 1043)
* add resource formatOtherKeys to provide an alternate escape sequence
format for the modifyOtherKeys resource (request by Paul LeoNerd
Evans).
* adjust saved-cursor position if the window is resized while
displaying the alternate screen (Novell #196880, Debian #383384).
* improve pointer-checks to fix a bug exposed by resizing during
initialization under StumpWM window manager (Fedora Bugzilla #437928).
* modify unselectwindow() to ensure that the mouse pointer is not
hidden after xterm loses focus (report by Jeremy Huddleston).
* add special check for fd_mask on Mac OS X (report by Jeremy
Huddleston).
* add dylib to autoconf's suffix list used for checking the result
from xmkmf, to work with Mac OS X (report by Jeremy Huddleston).
* correct initialization of bold- and wide-, wide-bold fonts which may
be set via the utf8Fonts subresource (Debian #347790).
Patch #234 - 2008/03/02
* modify sinstall.sh to use POSIX locale to bypass GNU ls changes to
date-format.
* improved/refined changes for closing bitmap font (patch by Andrea
Odetti).
* improve resize computation for situations where the negotiation
fails, by invoking the xterm widget's core-class resize method
(Debian #365602, patch by Jim Paris).
* restore initialization of terminal's VMIN and VTIME settings, from
patch #232 changes (patch by Matthieu Herrb).
Patch #233 - 2008/02/24
* add configure check for ttydefaults.h, include if needed, e.g., for
systems where defining _POSIX_C_SOURCE, etc., prevents it from being
included via termios.h (prompted by comments by Robert Delius Royar
and Jeremy Huddleston).
* patches from Alan Coopersmith. These correspond to bug-ids on
bugs.opensolaris.org
4029911
fix a typo in manpage
4045962
xterm doesn't properly set ut_syslen
4192572
left-left-right misinterpreted as triple click
* minor optimization to tab-initialization (patch by Nemeth Marton).
* fix a case where an incorrect font was freed during initialization
from patch #232 changes (patch by Andrea Odetti).
* improve comparison used in SameFont function for GC-caching (Julien
Cristau).
* correct macro name used for default CKILL definition to work with
Mac OS X (report by Jeremy Huddleston).
Patch #232 - 2008/01/30
* corrected logic in a font-cache used for reverse-video (Debian
#404079).
* add control sequence to alter pointerMode at runtime.
* add limit-checks for rectangle operation parameters (report by
Martin Pirker).
* modify minstall.sh to suppress $MANPAGER and $PAGER environment
variables, which may interfere with redirecting output of man to a
shell variable (report/patch by Zdenek Sekera).
* do not try to hide mouse pointer in the tek4014 window, fixes broken
"-t" option at startup from patch #230 changes (report by Robert K.
Nelson).
* correct datatype used when drawing tek4014 data using xterm compiled
for wide-characters, on big-endian machines (reports by Jeremy
Huddleston, Harald Hanche-Olsen, Martin Costabel, Merle Reinhart).
* modify to cache the font-names along with the bitmap font data, to
improve comparison of fonts.
* modify to allow building with configure options --disable-ansi-color
and --disable-leaks (Debian #459817, report/patch by Nemeth Marton).
* modify to allow building with configure options --enable-wide-chars
and --disable-c1-print (Debian #459816, report/patch by Nemeth
Marton).
* add pointerMode resource to control whether and when the pointer
cursor is hidden as the user types.
* simplify initialization of ttyMode- and related characters using a
table.
* modify initialization-logic for stty values that correspond to
ltchars structure and the BSD TIOCSLTC ioctl (susp, dsusp, rprnt
flush, werase, lnext). These were reset to constants for both
termios and legacy interfaces immediately after asking the system
for the existing values since X11R6.1, rather than using them to
provide inherited values. While the legacy interface has some
constraints, e.g., on HPUX, the POSIX or termios interface should
not. Your shell may reset these anyway (prompted by patch by Ed
Schouten).
* improve logic for hiding/displaying pointer-cursor (report by Mark
Brukhartz).
* add limit-checks to tabs.c, increase maximum column for setting
tab-stops from 320 to 1024 (report by Nemeth Marton).
* correct length, i.e., number of types of selection targets, computed
by ConvertSelection() when not handling wide characters for the
XA_TARGETS() case. This leaves an extra Atom on the end of the list
which is not handled by Java applications. The problem was introduced
in patch #151 (report by David Wood).
NOTE: I am going to again re-enable the xterm-toolbar option by default,
as there have been some fixes with font handling. If anyone notices
any problems with this, please file a PR or email the pkgsrc lists.
Thanks.
ChangeLog:
Patch #231 - 2008/01/05
* undo change to getXtermCell() from patch #230 using PACK_PAIR macro
(Debian #459014, analysis by Caetano Jimenez Carezzato).
* minor documentation fixes (patch by Slava Semushin)
* add makefile actions to install KOI8RXTerm app-defaults file
(patch by Julien Cristau).
Patch #230 - 2007/12/31
* add quietGrab resource, which when true, suppresses cursor
repainting
when NotifyGrab and NotifyUngrab event types are received during
change of focus (request by Nicolas George).
* do not treat Unicode BIDI control characters as combining characters
(Debian #457634).
* add koi8rxterm, from Debian.
* add manpage for uxterm, from Debian (Ubuntu #128136, Debian #438645)
* remove ".xpm" suffixes from Icon filenames in desktop files since it
confuses some lookups following the Icon Theme Specification (report
by Slava Semushin)
* correct width-calculation used for adjusting proportional fonts, to
work with wide-characters (Debian #441354).
* fixes/improvements for double-size characters:
* correct old clipping calculation which used total height of
glyphs where ascent was needed.
* if bold font is unavailable, fall back to normal font
* adjust to "work" with Xft (which does not support double-width
single-height characters).
* restore reset of doublesize for a line when it is cleared,
broken in patch #228.
* modify logic for forceBoxChars resource when using TrueType fonts
to be consistent with bitmap fonts
* modify logic for forceBoxChars resource to make the "Line-Drawing
Characters" menu entry use xterm's line-drawing characters even
asked to draw wide line-drawing characters which are available in
the font.
* modify rectangle-support functions to preserve colors when
filling/erasing (request by Enzo Toscano, to match WRQ Reflection
behavior).
* add getopt-parsing to tcapquery.pl, including feature to test the
extended cursor/editing keys.
* make missing double-width glyphs display as double-width (Debian
#456236).
* change tcap-fkeys and rectangles configure options to enable them
by default.
* hide the mouse pointer while user is typing (request by Rodolfo
Borges).
* extend configure options --enable-tcap-query and
--enable-tcap-fkeys to send cursor- and editing-keypad keys
modified according to the keyboard (or termcap) selection for
shift, alt, control, meta.
* modify kdch1 in termcap, e.g., xterm-r6 to match the terminfo file.
* add -hm option to turn highlightColorMode on or off.
* add highlightColorMode resource to separate the new
(since patch #225)
highlighting with both text- and background-colors (prompted by
report/example by Thomas Wolff).
* add Keep Selection menu entry to turn the keepSelection resource
on/off at runtime.
* add keepSelection resource, which when enabled, tells xterm to
retain the X selection even after it stops highlighting it
(patch by Sergey Vlasov).
* extend the CSI > n sequence to allow disabling all types of
modified-keys that the CSI > m sequence affects.
* move include for <xtermcap.h> in resize.c to avoid redefinition of
termios structure on OpenSolaris (report by Rahul Gopinathan Nair).
* extend terminfo building blocks for modified editing keys to
include all six keys.
* synchronize terminfo with ncurses (report by Stephane Chazelas):
* equate xterm-xfree86 and xterm-xf86-v44.
* add ncurses extensions OTbs, AX, for termcap conversions.
* make old/legacy entries such as xterm-24, xterm-65 and aliases
xterms, vs100 inherit from xterm-old.
* make xterm-r5 and xterm-r6 the same, ignoring historical
errors in X Consortium's version.
* fix an ifdef in logic for selecting regular expressions while in a
narrow-character locale (Debian #449227).