Copyright 1997-2004,2005 by Thomas E. Dickey
Contents
This file contains a list of the changes that I have made for xterm,
from the notes that I add when submitting a patch.
You should note that other changes have been made as well, by other people,
to fix bugs and correct ifdef's for portability.
Most of these are summarized in the XFree86 CHANGELOG
(found in the unbundled tree, xc/programs/Xserver/hw/xfree86).
Here
is the latest version of this file.
- increase color pairs value for xterm-256color and xterm-88color to
match ncurses, which has an experimental option to support this.
- modify ifdef's to make AIX use termios rather than termio; the
struct sizes for the two were not the same.
- improve CF_WITH_IMAKE_CFLAGS configure macro script for
OSMAJORVERSION and OSMINORVERSION values, e.g., for Tru64 and AIX.
- modify ifdef to define USE_POSIX_TERMIOS for Darwin (patch by Min
Sik Kim).
- modify find_utmp() to initialize the whole utmpx struct (except
ut_id), since that is needed for OSF1 4.0D to prevent an infinite
loop on exit.
- add configure check before adding -D_POSIX_SOURCE since some
platforms predefine it, e.g., cygwin.
- add simplified sed expressions in CF_IMAKE_CFLAGS configure script
macro to ensure value for PROJECTROOT is quoted on Solaris, i.e.,
when nested
\( and \) are not interpreted
correctly.
- correct DEC rectangle operations to reset state after completing
the operations.
- modify CASE_ST handling in charproc.c to ensure that the parse
state is reset even if xterm is not currently processing an OSC or
other string (patch by Johnny Billquist forwarded by Matthias
Scheler, NetBSD xsrc/29003).
- fix OS/2 build for innotek_libc (patch by David Yeo).
- fix a regression from patch #197 fix for
Debian #277832 which disowned the selection if it was scrolled,
e.g., by the user pressing return at the bottom of the screen
(Debian #291787).
- move the warning/exit for missing $DISPLAY into the error handler
in case
-display is given, and the connect fails for
some other reason.
- instead of setting
$DISPLAY, check for the unset
variable and warn/exit on this condition (comments by H Merijn
Brand and Bernhard R Link).
- fix a typo in Imakefile from patch #198
(reports/patches by Stefan Dirsch, and Mike Castle).
- set
$DISPLAY to ":0" if it is not set.
- add
utmpDisplayId resource to allow users to control
whether the display identifier (display number and screen number)
are retained in the connection information recorded in utmp
(discussion with Edoardo Tirtarahardja).
- add
bellOnReset resource to allow users to disable
bell which sounds on hard reset since patch
#183 changes to DECSCL (discussion with Danek Duvall).
- improve
$WINDOWID for configuration with toolbar by
making it refer to the top-level shell rather than the parent of
the current window. For that case, the parent is a form widget,
which does not have a name, which made the $WINDOWID
not very useful as a parameter for xwininfo
(suggested by Dave Bodenstab).
- fix a typo in WhichVFont() macro
from patch #197 changes
which broke the --disable-active-icon configuration
(report by Ralf S. Engelschall).
- improve some limit checks (Gentoo Bugzilla #75604).
- add --disable-setuid option to configure script (Gentoo Bugzilla
#76543).
- add --disable-full-tgetent option to configure script, allowing one
to ignore a termcap library in favor of ncurses/curses (Gentoo
Bugzilla #69926).
- modify configure script to choose useful warning options for Intel
version 8.0 compiler.
- update config.guess, config.sub
- make active-icon work properly when TrueType fonts are used
(Debian #286068).
- correct change from patch #157 which uses
getlogin() to check for an alias; the storage used for the related
getpwuid() call was overwritten by the data used for comparison
(patch by Per Hedeland).
- correct case of SCS for character set 0 (line-drawing) to allow it
to be selected into GR.
- fix a file-descriptor leak (Redhat Bugzilla #139597).
- modify
creat_as() to only fork if xterm is actually
running as setuid and/or setgid. This works around a Cygwin bug
which hangs when logging is enabled and makes xterm a little
faster for systems using interfaces such as utempter (report by
Al Goodman).
- modify
Cleanup() to avoid operations such as X calls
that might use unsafe functions when it is called by a signal
handler (report by Michiel Boland).
- fix bugs in patch #191 and in SRM changes
from patch #197 that
broke DECSET 38: switch to Tek4014 emulation (report by Dave
Bodenstab).
- fix for manpage escapes (Marc La France).
- improve on IRIX-specific change for Imakefile in XFree86 CVS versus
resize linking against termcap library to reflect definitions for
USE_TERMCAP in resize.c
- modify configure script to remove empty "-DPROJECTROOT=" definition
which resulted unusable values for luit's default path.
- update precompose.c based on Unicode 4.0.1
- several minor fixes based on Intel compiler warnings.
- change default translations so a
BtnDown which is
not recognized is simply ignored rather than emitting a bell.
That makes it less obtrusive when the user tries to use a mouse
which provides more capabilities than the X mouse driver supports,
e.g., one with a horizontal scroll wheel (Debian #265133).
- note in xterm's manpage that
translations is not
specific to xterm (Debian #278897).
- modify uxterm script to use locale program to verify if the
derived locale is installed (Debian #246398).
- correct font handling for active icon when in UTF-8 mode (report
by Paolo Liberatore).
- make active-icon and toolbar configurations work together.
- modify the criteria for disowning primary selection. Previously,
this happened anytime the cursor was moved before the end of the
selection. That would ensure that any insert/delete of char or
line, as well as scrolling, would disown the selection. The
new criteria change this to checking if the operations would
modify the data which is highlighted (Debian #277832).
- reimplement
DECALN with functions for vt420 rectangles,
fixes selection for this case.
- implement vt420 rectangle operations.
- add parsing, for debug/test of vt220 soft-fonts.
- add menu entry, actions and escape sequence to allow
enabling/disabling toolbars at runtime.
- improve rendering for Xft, allow it to draw non-linedrawing
characters such as "pi", which were drawn from internal tables
with patch #180
(Freedesktop.org Bugzilla #1260).
- add configure option
--enable-mini-luit, ifdef'd the
mini-luit feature with OPT_MINI_LUIT.
- add mini-luit feature, which supports Latin9 directly rather than
via luit, provided that Unicode fonts are used (Freedesktop.org
Bugzilla #1571, request by Stefan Dirsch, patch by Michael
Schroeder).
- for Linux, if IUTF8 is defined, e.g., on recent 2.6.x kernels,
set the corresponding flag for the slave pty, to enable UTF-8
interpretation of backspace in cooked mode (Freedesktop.org
Bugzilla #1578, request by Stefan Dirsch).
- modify
faceSize resource to use a floating-point
internal value (adapted from patch by Sam Stephenson).
- correct handling selection of tabs over cleared space in UTF-8
mode. In this special case, xterm represents the whitespace with
a null rather than a space character (Debian #276447).
- amend fix for infinite loop from patch
#192 to check if there is wrapped text to output in a following
iteration (Debian #273202).
- fixes ifdef'd with
__INTERIX to allow building with
Interix (Windows Services for UNIX) 3.5 using the xlibs libraries
from freedesktop.org (patch by Min Sik Kim).
- amend solution for Debian #252873, #260471 from patch #194 by making the cursor not
explicitly colored if only the foreground color is set, and the
cursor is on a blank space (Debian #275473).
- correct logic for send/receive mode (SRM) with regard to control
characters.
- fix masking of invisible text in wide-character mode, which did
not work for line-drawing characters.
- incorporate CF_XOPEN_SOURCE into configure script, replacing
CF_GNU_SOURCE.
- add a special case to configure script to ignore NetBSD's
grantpt() which was recently added (but not part of a
release), until someone is able to ensure that xterm can use it
(report by Min Sik Kim).
- clear the buffer returned by getutid(). This fixes an infinite
loop on some platforms introduced in patch
#193 by Debian #256468 fix (report by David Ellement).
- correct length used for blinking text, make the last column blink
(patch by Alexander V Lukyanov).
- start changes to make doublesize characters work with TrueType
fonts (see patch #44).
- trim leading/trailing blanks from color resources as done for
other strings in patch #167.
- fixes for
showBlinkAsBold resource (report by
Christoph Berg).
- change clearing operations so foreground color attribute is not
set. Usually this is benign, but in some cases when the cursor
color is not set explicitly, the cursor would show this color
(Debian #252873, #260471).
- add extra state (cursor-moved) to guard against deciding that the
cursor did not require repainting after an indexing operation
that leaves the cursor in the same location on the screen.
- fix a case where a full-screen indexing operation would
not restore the cursor-busy state.
- fix a repainting bug introduced in
patch #180: when using a font
lacking line-drawing characters, a repaint of the screen could
skip horizontally an extra amount after filling in the missing
character (reports by Nicolas George, Hans de Goede, Redhat
Bugzilla #128341).
- rename terminfo fragment "xterm-pc-fkeys" to "xterm+pcfkeys" for
consistency with ncurses.
- fix for wide-character selection from OpenBSD CVS
(report/patch by Matthieu Herrb).
- modify initialization and cleanup of utmp data to also compare
the
ut_line member (Debian #256468).
- modify check on focus-change to ignore
FocusOut events
generated by XGrabKeyboard. This fixes a case where
the text cursor would act as if focus were lost when selecting the
"Secure Keyboard" menu option.
- add
gen-pc-fkeys.pl script, use that to generate
terminfo fragment corresponding to the pc-style function keys.
- fix a case where the checkmark by the "VT220 Keyboard" menu entry
was not set on startup.
- separated two methods for making the cursor blink (menu and
escape sequence) by using the menu as the primary method and
XOR'ing the state of the escape sequence against that.
- modify logic for enabling blinking cursor via escape sequence as
well as the related save/restore operations so this is only
available if the
cursorBlink resource was set on
startup.
- change resource settings for color4 and color12, add some discussion
in
XTerm-col.ad (Debian #241717).
- add a note in xterm manpage discussing the difference between
alt- and meta-keys, and the way the latter is used in the
eightBitInput resource.
- add a note in xterm manpage regarding possible conflict between
resource settings for
xterm.vt100.font and
xterm.vt100.utf8Fonts.font (Debian #254650).
- add compile-time customization of
backarrowKeyIsErase
and ptyInitialErase default resource values
(adapted from OpenBSD CVS).
- change parameter of
FIONREAD ioctl() call
from long to int
(discussion on tech-x11@netbsd.org regarding LP64 by
John Heasley and Matthias Scheler).
- modify configure script options for Athena widgets to work as
expected for "--without-Xaw3d", etc., (GenToo Bugzilla #53455).
- add case to uxterm to accommodate locales ending with "@euro",
e.g., fr_FR.UTF-8@euro (Debian #255197, report/analysis by
Matthieu Lagouge).
- add special case for VT100 graphic's "box" character (discussion
with Ben Armstrong).
- add missing initialization for bitmap-font sizes needed to make
fonts menu work with TrueType fonts (report by Ben Armstrong).
- save the fontnames for bold fonts that are derived from normal
fonts, or from the
boldFont resource, so the same
value is restored when switching with the VT Fonts menu (Debian
#256086).
- fix manpage preprocessing (Marc La France).
- fix typo in manpage's description of character classes (Debian
#257073).
- modify terminfo to accommodate luit, which relies on G1 being used
via an ISO-2022 escape sequence (Debian #254316, analysis by
Juliusz Chroboczek).
- modify Makefile.in rule for ctlseqs.txt to work around groff SGR
misfeature.
- modify
XTerm.ad to set saveLines default
to 1024 (Redhat Bugzilla #127132).
- add a limit-check in
dotext() to prevent infinite
loop in a corner case of UTF-8 configuration.
- update config.guess, config.sub
- correct options parsing for
-into option so it
can be combined with -e (Redhat Bugzilla #124518,
report/patch by James Armstrong).
- fix ifdef's for
OPT_COLOR_RES2
so that the fake resource table introduced in
patch #188
is not compiled if it is empty.
This happened to work with gcc (report by Joel Konkle-Parker).
- reorganize ptydata.c to use one input buffer shared between
the VTxxx and tek4014 emulators. In the new scheme, UTF-8
decoding is performed on characters as they are needed by the
state machine rather than on buffers as they are read.
- work around change in quoting of PROJECTROOT symbol when using
configure script, from changes made in
patch #187 for CF_IMAKE_CFLAGS
(GenToo Bugzilla #50982).
- correct state for values in the range 128-159 after translating
from UTF-8: this should be ignored unless the user overrides it
with the
allowC1Printable resource (reported by
Simon Strandgaard).
- add configure-script check for nl_langinfo(CODESET), use this to
replace check of environment variables for UTF-8.
- change Makefile.in rules for 256colres.h and 88colres.h so they
are only made if they do not exist. The maintainer-clean rule
will remove these files; they require perl to be made.
- remove check in configure script --enable-toolbar that suppressed
this option when building with Xaw7.
- apply fixes to Tektronix widget used for VT100 widget to make
toolbar work with Xaw7 (XFree86 4.x).
- do not call xim_real_init() if
openIm resource is
false (Debian #249025).
- minor improvements to built-in line-drawing.
- fix a few portability issues with dynamic abbreviation support,
i.e., did not compile on Tru64.
- modify constraints in form used to layout toolbar, to work with
newer Xaw in XFree86 4.x.
- correct table entry for DEL in the ground state, which marked it
as a printable character from patch #171
(report by D Hugh Redelmeier).
- improve fix in patch #186 for failure in
xim_real_init() by adding a sleep.
- fix a typo in os2main.c
(XFree86 Bugzilla #1358, report/patch by Frank Giessler).
- make escape sequence reporting dynamic colors consistent with the
logic that sets it; choosing the opposite color when reverse
video is set (XFree86 Bugzilla #1361, reported by Bradd W Szonye).
- modify initialization of 256- and 88-colors so that colors beyond
16 are normally not X resources. This works around a hard-coded
limit in Xt which breaks xterm when 256-colors and luit are both
configured (report by Noah Friedman).
- remove
ncv from xterm-256color terminfo
entry since it is no longer needed (report by Eli Zaretskii).
- add "erase2" and "eol2" keywords to
ttyModes resource,
for recent/current FreeBSD.
- improve ifdef's for utempter library to omit direct calls to
setutent() or getutent() (adapted from
patch by Christian Biere).
- add dynamic abbreviation support like Emacs (patch by Tomasz
Cholewo). This is ifdef'd with
OPT_DABBREV, and
enabled via the configure script --enable-dabbrev
option.
- fix problem responding to session management events, e.g., which
would make logging out very slow (patch by Eddy De Greef, Debian
#233883).
- work around a newer bug in toolbar with XFree86 by forcing menus
to be fully initialized at startup. In older versions of XFree86
and X11R6, it was possible to delay initialization of the menu
contents until it was popped up. (The longstanding bug with
XFree86 4.x layout for toolbar still exists, though).
- modify
xtermAddInput to work around core dump on
IRIX64 when initializing scrollbar translations if toolbar is
compiled-in.
- fix some minor conflicts in the 2-character entry names in the
termcap file.
- change xterm version string to use
__vendorversion__
where that is available, and "XTerm" otherwise.
- improve description of
utf8 resource in manpage
(Debian #179407).
- modify configure macros CF_IMAKE_CFLAGS and CF_ADD_CFLAGS to
handle
-D options that define string values, e.g.,
for XVENDORNAME.
- modify configure macro CF_IMAKE_CFLAGS to allow (if
$PATH is set accordingly) to use the
xmkmf script within an X build tree.
- add missing
#undef OPT_SESSION_MGT to xtermcfg.hin
to make the configure script's --disable-session-mgt option work.
- update config.guess, config.sub
- change reset on
DECSCL to a soft-reset (appears some
DEC manuals have errors).
- add a section to ctlseqs.ms elaborating on normal/alternate screens.
- modify initialization of Acolors[] so that any XtDefaultForeground
or XtDefaultBackground values are translated as in the Tcolors[],
to use the window's foreground/background colors. This affects
the
colorBD and similar resources which normally have
no explicit color assigned.
- modify initialization of Tektronix window so that control sequences
setting its color before the window is popped up will apply to
its initial colors.
- add control sequence to set Tektronix window's text-cursor.
- modify initialization of terminal colors, e.g., mouse pointer and
text cursor, to treat
XtDefaultForeground and
XtDefaultBackground values as the actual foreground
and background colors of the terminal rather than white and black
(Debian #241717).
- remove an incorrect comparison against
PTYCHARLEN in
parsing the -S option (report by Michael B Taylor).
- minor restructuring of terminfo/termcap files, having noted some
packager's customizations which caused the structure to be
confused.
- eliminate an isolated use of MIN/MAX in charproc.c
- replace
XtExtdefaultfont and
XtExtdefaultbackground by their more familiar
equivalents
XtDefaultFont and
XtDefaultBackground.
- replace ifdef's using
SCO, sco and
SCO325 with __SCO__
(XFree86 Bugzilla #1301, Kean Johnson).
But ensure that it still builds on platforms where this symbol
is not defined.
- add
scoFunctionKeys resource, to match manpage.
- update manpage discussion of menus and related resources.
- enable utmpx support for NetBSD 1.6C and newer (patch by
Matthias Scheler).
- add a note in the manpage discussing xterm's treatment of open
file-descriptors (request by Dan Shearer).
- modify
Help() to make "xterm -h" write to standard
output rather than standard error (patch by Bram Moolenaar).
- check for type of failure in xim_real_init() to avoid looping when
the problem is an unsupported input method rather than a failure
to connect to the XIM server. Problem was introduced in
patch #175 (XFree86 Bugzilla #1306).
- modify
Imakefile to remove dependency of "install"
target on the xterm executable to make installs from
tree without attempting to rebuild anything (David Dawes, based on
a patch and report from Lee Olsen).
- remove call to
ShowCursor from
SetCursorBlink() since that is redundant,
and can cause display glitches if the cursor is already
blinking (XFree86 Bugzilla #1158, patch/report by Andreas Schwab).
- fix tcap-query logic for the backspace key (XFree86 Bugzilla #1233,
report/patch by Anton Kovalenko).
- add test-scripts resize.pl and tcapquery.pl
- add translation to ASCII of commonly-used characters that groff
translates to Unicode, when the font in use does not provide the
corresponding glyphs (Debian #219551).
- modify RequestMaximize(), which performs maximize/restore via
control sequences, to account for window-frame (patch by
Jess Thrysoee).
- improve pattern used in
uxterm to check for UTF-8
locale, e.g., for HPUX (patch by H Merijn Brand).
- add
-fd option and resource
faceNameDoublesize to specify double-wide fonts with
Xft (adapted from patch by Zarick Lau).
- change a couple of resource classes from "Boolean" to specific
values:
freeBoldBox, forceBoxChars.
- add resource
showMissingGlyphs to outline places on
the screen where a font lacks the corresponding glyph.
- add resource
showBlinkAsBold to control whether
blinking text should be shown as bold or actual blinking text.
- improve logic in ShowCursor() to avoid repainting the cursor when
it is already visible, e.g., in response to the DECTCEM escape
sequence. This also addresses XFree86 Bugzilla #1158.
- implement blinking text, using the timer for blinking cursor.
- modify FreeType support to allow resizing the font, in the same
ways the window can be resized if fixed fonts are used. The
relative font sizes are derived from the fixed font sizes.
- add menu items and corresponding actions for switching on/off
the UTF-8 mode and Xft (TrueType) support.
- add logic to handle switching UTF-8 mode on/off. It worked if
the escape sequences were flushed, but if data was mixed in with
the same write, some were not handled properly (report by
Nicolas George).
- modify to allow turning UTF-8 mode on/off via escape sequence even
if
-wc option was not given at startup (patch by Peter
Berg Larsen).
- amend fix for XFree86 Bugzilla #981, adjusting for savedlines value
(report by Tim Adye).
- fix a typo in computing relative font size (Jess Thrysoee).
- improve configure-script checks for FreeType and related libraries,
using
xft-config or freetype-config
scripts when available.
- fix configure-script check for
SYSV definition by
ensuring whether sys_errlist[] is declared, and by
modifying the test program to include X11/Intrinsic.h
to check that wchar_t is declared consistently (report
by H Merijn Brand).
- correct logic for configurations that may attempt to open both
old/new-style pseudoterminals. In this case, the old-style are
preferred. Logic was broken in patch #145
(XFree86 Bugzilla #997, report/patch by Kean Johnston).
- modify handling of
eightBitInput resource in UTF-8
mode to translate the value into UTF-8. Otherwise an illegal
UTF-8 code is sent to the application (report by Bram Moolenaar).
- modify
uxterm script to interpret help and version
options so xterm does not always create a window when the user
requests this information (Debian #223926).
- add a limit check to ScrnTstWrapped() (XFree86 Bugzilla #981).
- modify DECSCL to perform a hard reset (RIS) as per DEC manuals.
Extended DECSCL to accept parameters for vt4XX and vt5xx terminals.
- correct logic for ANSI conformance level escape sequences, which
were confused with DEC conformance level escape sequences.
- correct state for vt52 shift-in/shift-out, which was not reset
properly after patch #171.
- correct handling of graphics characters for vt52 mode, which did
not display line-drawing characters after G1 fix from
patch #182.
- fixes for configure script to work with current Cygwin headers
and libraries.
- modify
Imakefile to put the current directory at the
beginning of the include searchpath (David Dawes).
- correct logic for
metaSendsEscape resource to allow
for the meta-right key to be tested. Improve check for meta/alt
modifiers by dropping the assumption that a keysym is associated
with only one modifier, and by ignoring NoSymbol entries in the
xmodmap data (XFree86 Bugzilla #924, patch by David Dawes).
- correct wrapping logic for line-drawing characters written in
non-UTF-8 mode of xterm build for wide-characters (XFree86 Bugzilla
#918, report/patch by Jürgen Keil).
- improve manpage description of resources, in particular the
utf8Fonts class (XFree86 Bugzilla #905).
- add definitions to compile with glibc-based GNU/Hurd, GNU/KFreeBSD
and GNU/KNetBSD (XFree86 Bugzilla #893).
- compiler-warning fixes (patch by Christian Biere).
- add README.i18n (Tomohiro KUBOTA).
- correct initialization of G1 character set mapping, which used
line-drawing set as a result of confusion between "DEC Supplemental
Graphic" and "DEC Special Graphic" character sets
(see patch #34 regarding DECSTR).
- correct ifdef in main.c for variable utret (patch by
Bernhard Rosenkraenzer).
- document in xterm's manpage how to use XFree86 ":unscaled" keyword
to suppress scaling of bold fonts.
- when deriving bold fontname from normal fontname, use the normal
font's average width to avoid for example selecting 7x13bold
from an 8x13 normal font (Debian #107769).
- implement
boldMode for wide-character logic in
drawXtermText() (report by Michael Schroeder).
- modify
UXTerm.ad resource file to include
"XTerm-color" rather than "XTerm", in case the latter file contains
no color resource definitions, e.g., after patch #180.
- add action
load-vt-fonts() and configure option
--enable-load-vt-fonts which allows users to define
additional sets of VT-fonts which can be loaded at runtime.
- add logic to wide-character support which attempts to load fonts
specified by
utf8Fonts subresources at startup. The
subresources have the same names as the fonts which they replace,
e.g., font, font1, etc., so that the
ISO-10646-1 fonts can be specified in the XTerm
app-defaults file (this is an adaptation of a patch by Tomohiro
KUBOTA).
- improve Set Font escape string handling by making the relative
settings apply to the size of the font, as in shift keypad
plus/minus rather than the menu index.
- simplify parameter passing for the
set-vt-font action
and related code.
- cleanup some include-ordering, moving some recently-added hardcoded
stuff into xterm.h where it will not interfere with the configure
script.
- modify
xtermAddInput() (see note on augmentation in patch #158) to use the complete set of
default keyboard translations so that one can use shifted pageup,
wheel mouse, etc., while the mouse pointer is over the scrollbar.
(Debian #178812).
- make save/restore mode controls apply to show/blink cursor states.
- add escape sequence to start/stop blinking cursor, which allows
implementing
cvvis terminfo capability (request by
Nate Bargmann).
- add
indp and rin to terminfo entry.
- fix an out-of-bounds array reference in ScrnRefresh() for wide
characters (report by Dan Harnett, patch by Todd Miller, bug dates
from patch #141).
- several fixes for rendering using Xft (option
-fa):
- translate Unicode values (from UTF-8 output to xterm) for
line-drawing to xterm's internal code, etc., since TrueType fonts
generally do not have either set of line-drawing glyphs. xterm
can draw these directly (report by Abigail Brady).
- pass 16-bit values rather than 8-bit values to
xtermXftDrawString() to allow for wide-characters.
- remove spurious check for
colorBDMode resource in
logic that does bold fonts.
- implement underlining.
- patches by Ilya Zakharevich:
- improve drawXtermText() by making the recursive calls
communicate through arguments, and not through saving/restoring
global variables.
- make double-width characters work with
-u8 option.
- modify lookup of double-sized fonts by checking for a match
ignoring x/y resolution if the first check fails.
- make height of TrueType fonts match ascent+descent (patch by
Keith Packard).
- correct configure-script check for imake $CFLAGS, which did not
check properly if imake was not available.
- correct install rule in Makefile.in for
uxterm, which
was attempting to strip the script (newsgroup posting by Fernan
Aguero).
- correct AF/AB strings in termcap for xterm-256color and
xterm-88color entries (report by Josh Howard).
- update wcwidth.c to incorporate changes from Markus Kuhn's
2003-05-20 (Unicode 4.0) version of that file.
- modify
scroll-back and scroll-forw
actions to accept an adjustment value, e.g.,
scroll-back(1, page-2)
to scroll back by 2 lines less than a page (patch by Greg
Klanderman).
- use color resource setting from Debian package for xterm VT100 widget,
since the choice of blues provides better contrast.
- remove color resources from
XTerm.ad, leaving them
only in XTerm-col.ad (prompted by Debian package for
xterm).
- correct configure script option --enable-pty-handshake (report by
Paul Gilmartin).
- add
visualBellDelay resource to modify the length of
time used for visual bell, for very slow displays or very fast
computers (reports by Ingo van Lil and Doug Toppin).
- correct logic for initializing dynamic highlight color (patch by
Jess Thrysoee).
- add a check for non-zero size in call to
XCopyArea()
to accommodate a Solaris bug.
- correct typo in example for character classes in xterm manpage
(Debian #198910).
- link xterm with bind_on_load option on Darwin to work around a
deadlock in the dynamic loader when a signal is received while
the dynamic loader is looking up symbols (patches by Rob Braun,
Torrey Lyons).
- modify configure script to avoid using "head -1".
- update config.guess, config.sub
- modify ifdef's to work around inclusion of types FcChar32 and
XftCharSpec with FreeType 2.0 (see patch #175).
- modify the predictable version of the generated logfile name (see
patch #171) to append the process-id rather
than a random value.
- resync with XFree86 CVS:
- Enable SCO function keys in xterm
- Make Delete key send DEL by default on SCO in xterm
- modify ifdef's for WTMPX_FILE to allow building on cygwin again.
- change the default of pty-handshaking configure option (and related
default for imake) to assume this feature is needed.
- add ifdef's so configure option for XawPlus library works (patch
by Pavel Roskin).
- add
$(MAIN_DEFINES) to the variables checked by the
configure script that may contain information set by imake. This
allows xterm to build/run properly using the configure script on
IRIX64.
- add configure check for ".exe" suffix on cygwin.
- modify default for configure
--enable-pty-handshake
option to enable it for Solaris (report by Nelson Beebe).
- modify
in_put() function to call
PreeditPosition() only when the cursor's position has
changed. This addresses report by Stefan Baums of high CPU usage
while xterm with chinput are running in the background (patch by
Yong Li).
- improved explanation of
-ls conflict with
-e option in xterm manpage (adapted from comments by
Henning Makholm).
- correct comment in terminfo file regarding modifier used for
kDC (Debian #189764, report by Henning Makholm).
- correct/extend some of the keypad description in ctlseqs.ms
(report by Henning Makholm).
- correct keypad-mapping table in input.c so
XK_KP_Equal
works (report by Henning Makholm).
- modified to work with CJK double-width (bi-width/monospace) fonts.
They're similar to Roman Czbora and David Starner's gnuunifonts in
that Latin letters and numbers have all the same width which is
exactly the half of the width of East Asian characters. (patch by
Jungshik Shin <jshin@mailaps.org>).
- add configure option
--enable-broken-osc and resource
brokenLinuxOSC to accommodate scripts which do not
distinguish between running in the Linux console and running in X.
Linux console recognizes malformed control strings which start
with an OSC, but are fixed-length, with no terminator.
- add configure option
--enable-broken-st and resource
brokenStringTerm to allow
user to revert one part of the parsing table corrections from
patch #171. (reports by
Matthias Scheler and
Kirill Ponomarew indicate that someone's
network firmware sends an <escape>X).
- modify configure
--disable-imake to provide values
for OSMAJORVERSION, OSMINORVERSION,
FUNCPROTO and NARROWPROTO (report by
Heiko Schlichting).
- correct
vttests/16colors.sh, which omitted the
$SUF variable in output strings (patch by Paul
Gilmartin).
- modify shell scripts in
vttests directory to attempt
to use named signals in the trap statement, making
this portable to OS/390 (report by Paul Gilmartin). Tested on
SunOS 4.1.4, which implements only numbers.
- fix definition of
USE_HANDSHAKE, must be numeric
(reported by Jens Schleusener).
- add configure option
--enable-pty-handshake to allow
one to compile-in support for the pty handshaking logic, and
resource ptyHandshake to enable or disable it
(suggested by Ian Collier).
- restore
USE_HANDSHAKE ifdef removed in
patch #159
to address Debian #39964.
- move ifdef's for ttysize/winsize into xterm_io.h
- simplify loop on
tgetent, check if the successive
entries in the lookup table are the same. That makes xterm do
one less lookup if there is no "xterm" entry in the termcap file
(report by Derek Martin).
- correct manpage discussion of
$TERM and
$TERMCAP variables, which omitted the Tektronix
emulation and a note of the final "dumb" fallback.
- broaden ifdef for
XRegisterIMInstantiateCallback()
from patch #175 (XIM fix) to exclude
non-XFree86 (report by Nelson Beebe indicates this breaks for
Solaris, IRIX and OSF/1).
- correct resource-size for
iconFont (this was added
by X11R6.3).
- improve configure check for XKB bell extension, to work around
inconsistent implementation of this feature (reports by Nelson
Beebe, Kriston Rehberg and David Ellement).
- modify configure-check for
tty group to be less
strict in batch mode (report by Nelson Beebe).
- modify to allow building with g++, to use its compiler warnings
(suggested by Nelson Beebe).
- modify
dec2ucs[] table to reflect newer codes
available for scanlines 1, 3, 7, 9 (report by Michael Schroeder).
- add configure option for XawPlus library.
- fix a SIGSEGV which could occur if xterm is connecting to XIM
server, and the XIM server is destroyed (patch by Nam SungHyun).
- modify to use built-in line-drawing characters for Xft fonts
(patch by Andrew Tipton).
- make menu reflect the state of the
tekInhibit
resource.
- make
signalInhibit resource work, i.e., disable the
menu entries that would send signals to, or exit xterm. This was
probably broken in X11R5 when logging was disabled (report by Sven
Mascheck).
- changed classes of
colorBDMode and similar
resources that override colors when a video attribute is
set to ColorAttrMode, to make them distinct
from ColorMode. This avoids an unexpected
rendering of reverse video, for example (report by Paul Fox).
- changed class of
veryBoldColors to
VeryBoldColors, since
ColorMode is associated with boolean resources.
- add option
-k8 and resource
allowC1Printable to allow users of non-VTxxx
character sets such as KOI-8 to treat the C1 control area
(character codes 128-159) as printable rather than control
characters.
- add a null-pointer check for return-value of
ptsname()
in HPUX-specific code (report by David Ellement).
- revise the ifdef's used for
XKB bell support. The
code was using a nonstandard call XkbStdBell().
Changed to use XkbBell() (based on patch by
<derek@signalmarketing.com>).
- add a null-pointer check in
xtermLoadFont() in case
there is no wide-bold font (Nam SungHyun).
- change
Makefile.in to use autoconf's
bindir, libdir and mandir
variables (report by Nam SungHyun).
- add
le to termcap xterm-basic entry.
Though missing from older termcaps for xterm, some applications
check for it (report by Matthias Buelow).
- modify
uxterm script to strip modifiers such as "@euro"
from the locale setting before adding ".UTF-8" (Debian #179929).
- modify the remaining places where tek4014 emulation uses
XDefineCursor(), to make it work as originally
implemented, e.g., when switching back to alpha mode.
Added test-screen in vttest to test this feature properly.
- work-around for XFree86 bug which made
XDefineCursor()
on a shell-window no longer work. The tek4014 emulation used this.
Use the next lower window (report by Karl Rudolf Bauchspiess).
- add a resource setting to control whether the extended window
operations should be allowed, e.g., resize, iconify, report
window attributes. This is to accommodate people who are not
capable of using a pager to view log-files.
- reset mouse mode to normal on a full reset. This does not apply
to mouse hilite tracking mode, of course (see ctlseqs.ms).
- add a time-delay at the point where mouse hilite tracking mode
choses to not handle X events, to avoid runaway CPU usage
(report by D Hugh Redelmeier).
- check for illegal character in DECUDK string, quit if detected.
- fixes to make repainting of 256-color example work properly
(reports by Abigail Brady and Scott A Crosby).
- set flag in
AllocateAnsiColor() to ensure the color
is allocated once only.
- fix check in
ScrnRefresh, which was comparing
background colors only if the ANSI foreground colors also were set.
- merge
Error() calls and some exit() calls
into SysError(), and change that to add the brief
explanation for each error code which is provided in the manpage.
Change a few SysError(), calls to avoid using code 1, to
avoid confusion with exit status from places that do not use
SysError().
- simplify logic used to open a debug logfile as the standard error.
- modify the
-e option so that if it fails, xterm will
check if only one argument follows, e.g., it was quoted, and then
retry using sh -c.
- modify parsing of DECUDK string parameter to allow a comma between
pairs of hexadecimal digits (Ray Neuman <raymond@one.com.au>
reports that "real" terminals accept this; perhaps they simply
ignore unexpected characters).
- fix a few problems with the
$TERMCAP string generated
by resize:
- for Bourne shell, add an
export command.
This was missing as far back as X11R5.
- escape exclamation marks, used in xterm's reset string.
- translate literal
\177\ to "^?".
- improve configure check for
tgetent() to work when
$TERMCAP has been set to a specific entry.
- modify
minstall.sh to use "%" rather than "@",
to avoid problems with AFS (report by Zdenek Sekera).
- list fatal error codes from
error.h in the manpage,
remove unused codes in error.h.
- use more explicit wording for manpage list of color resources,
since at least one user confused the generic names such as "black"
with the names in rgb.txt (the latter are now used).
- minor fix to description of 1003 mouse mode in ctlseqs.ms
(Larry Riedel).
- modify parser tables to improve detection of malformed control
sequences, making xterm behave more like a real DEC terminal
(patch by Paul Williams).
- update comment in
input.c to document
Meta as a modifier for escape sequences (patch by D
Roland Walker).
- add ifdef'd code for logging option which adds the hostname and a
timestamp to the generated logfile name. The ifdef's are setup
with the configure script (patch by Nelson Beebe).
- remove
xevents() call from the end of
BlinkCursor(), to fix an occasional problem
which caused xterm to pause until a key was pressed.
The reason for this was that there was no check to ensure that
there really were events for xevents() to process.
(patch by Semen A Ustimenko <semenu@FreeBSD.org>).
- remove unused mode-params from
open() calls that do
not create a file.
- modify configure script to put new items first on
$CPPFLAGS and $CFLAGS to avoid conflict
with environment's -I and -D options.
- update config.guess, config.sub
- resync with XFree86 CVS:
- fix va_args glitches for xterm/libfontconfig: 0 == (void*)0
isn't true for all platforms (Egbert Eich).
- initialise ProgramName in xterm's main before referencing it
(#5473, Peter Valchev).
- some cleanup of Imakefile ifdef's (Marc La France).
- correct an off-by-one allocating data for sorted help message.
- modify configure script to check for Xpm library, on which XFree86
Xaw library depends.
- update config.guess, config.sub
- modify wording of some options in help message to make them use
-/+ consistently with respect to "on/off" or "off/on".
- sort options list which is displayed in help- and syntax-messages
at runtime to simplify maintenance.
- remove support for Amoeba and Minix (Juliusz Chroboczek noted it
was removed from XFree86 server; there have been no users since
1996).
- add configure script option
--disable-session-mgt
to control whether the session management code should be compiled-in
(request by H Merijn Brand).
- ifdef'd the session-management changes with
OPT_SESSION_MGT, to accommodate X11R5 which predates
the related definitions.
- fix
decode_keyvalue(), which did not properly parse
multiple settings as needed for the ttyModes resource,
since it did not skip over the parsed data.
- fix an option-parsing conflict between
-class and
-cjk_width (Nam SungHyun)
- add a missing null in
XtVaSetValues() call used in
Cleanup() (Nam SungHyun)
- improve data reported for control sequence that requests window
position by taking into account the window decorations, e.g.,
border and title (patch by Jess Thrysoee <jess@thrysoee.dk>).
- add
-cjk_width and corresponding resource
cjkWidth (patch by Jungshik Shin
<jshin@mailaps.org>).
- add
-into option, for embedding xterm in a Tcl/Tk
application (patch by George Peter Staplin <georgeps@xmission.com>).
- add simple session management (XSM) client capabilities to xterm.
So a session manager such as, e.g., xsm, should be able to respawn or
kill xterms without the help of an SM proxy (like smproxy), which is
a hack and almost always buggy (patch by David Madore).
- fix conflict between ifdef's for
OPT_DEC_LOCATOR and
OPT_READLINE in button.c (reported by Ilya Zakharevich).
- fix for inconsistent use of
struct utmp versus
struct utmpx introduced in patch #167
(patches by Paul Gilmartin, Marc La France).
- modify logic for
metaSendsEscape to allow it to work
in a setup where the Meta-key is not recognized as a modifier by
the key-translations logic (from a discussion of eightBitInput
with H.J.Lu, however Vincent Lefevre reported this in January).
- use null pointer values consistently, rather than literal "0", for
ending variable-length argument lists, e.g., for
execlp() (based on patch by Matthieu Herrb).
- correct logic of
ChangeAnsiColorRequest(), which would
do a screen repaint after replying to a request for information.
- improve scripts in vttests to work with systems whose shells support
echo -n and have, as does Debian, an unrelated
print utility.
- add vttests/acolors.sh to demonstrate OSC 4, which queries or
sets ANSI colors.
- fixes for ctlseqs.ms (Pavel Roskin, Ilya Zakharevich).
- typos in xterm manpage (Jens Schweikhardt)
- remove a redundant GCC_UNUSED from InitPopup() (Nam SungHyun)
- correct ifdef's for
USE_TERMCAP to match cygwin
configuration.
- fix several places in ctlseqs.ms which had no boxes around the
literal text (report by Ilya Zakharevich).
- integrated patch from Ilya Zakharevich to extend mouse support for
readline (ifdef'd with OPT_READLINE).
- modify terminfo description to match default for
modifyCursorKeys resource.
- add
modifyCursorKeys resource to control how the
shift- and similar modifiers are used to make a cursor escape
sequence. The default makes a modified escape sequence always start
with CSI and puts the modifier as the second parameter, to avoid
confusing applications that would interpret the first parameter as a
repeat count. The original behavior can be obtained by setting the
resource to 0 (from newsgroup discussion with Stephen J Turnbull
and Jeffrey Altman).
- correct missing initializations for
appdefaultCursor
and appdefaultKeypad resources.
- add configure option
--enable-luit and ifdef'd the
luit-related code with OPT_LUIT_PROG.
- integrate patch by Tomohiro KUBOTA from
http://www.xfree86.org/pipermail/i18n/2002-July/003378.html which
modifies xterm to invoke luit.
- update wcwidth.c to match Markus Kuhn's 2002-05-18 version.
- correct limit-checking in
ComputeSelect() to handle
selections that extend off the visible area; rather
than modify the parameters to TrackText(), use
ScrollSelection() to update the highlighting limits.
(reported by Yegappan Lakshmanan and Nelson Beebe,
patch by Alexander V Lukyanov).
- correct manpage description of
tiXtraScroll resource
(reported by Tony Finch).
- changes from OpenBSD:
- Make xterm setgid utmp to be able to update utmp even
with root privileges revoked.
- If not updating utmp, revoke group privileges totally too.
- changes from NetBSD:
- Check that the return value from ttyslot() is greater than 0
before writing the utmp file.
Fixes w's "w: Stale utmp entry: <user> <tty> <pty>" errors.
- Use openpty() to deal with new pty naming scheme.
- add
print-redir action and menu entry to allow user to
switch terminal in/out of printer controller mode. It appears from
the manual that a real vt220 would not switch back to normal mode, so
another mechanism is used (addresses Debian #37517).
- check if
printerCommand resource string is empty, use
this to allow user to disable printer function.
- trim trailing blanks from resource strings.
- check return value from
ptsname(), which may return
null for example if someone has changed the permissions of /dev/pts
to zero (Debian #121899).
- modify OS/2 version to use
__UNIXOS2__ definition
rather than __EMX__, related cleanup (patch by Holger
Veit).
- used modified indent 2.0
(patch 20020428)
to reformat most of the C source files, to simplify maintenance.
- fix a couple of places where there were leading tabs on
symbol-definition lines in Imakefile (Marc La France from report by
Tony Finch)
- add imake variable (TraceXTerm) to allow building debug version
(Egbert Eich).
- correct a bug in selection: double clicking on a word which
was partly scrolled off the screen may select that text (report
by Vincent Lefevre <vincent@vinc17.org>).
- implement
veryBoldColors resource to control whether
the corresponding video attribute such as bold is
displayed when using colorBDMode, etc. (request by Josh
Howard <jrh@vicor-nb.com>).
- define escape sequences for function keys F21-F35 (patch by Steve Wall).
- change the colors for the 256-color model, making them less skewed
toward black (patch by Steve Wall).
- add
vt100Graphics resource
(see patch #115,
based on discussion with Glenn Maynard).
- ifdef'd Xaw/Xaw3d/neXtaw includes separately to avoid potential
incompatibilities between these flavors of Athena widgets.
- add configure check for XFree86 4.x Xaw library, whose geometry
management is broken, to avoid trying to use it for toolbar
configuration.
- updates to configure script from vile and lynx to allow
configure.in to be compiled with autoconf 2.5x
- add a check for null pointer return by
ptsname()
(newsgroup posting from Mike Silva <mikesilva@lucent.com>).
- fill in a few details needed to allow UTF-8 mode to switch on/off
after startup. This requires that
wideChars resource be
set. (based on comments in 4 Aug 2001 by Alexey Marinichev
<lyosha@lyosha.2y.net>).
- remove duplicate install rules that make directories, e.g., so installing
manpage will not create app-defaults directory.
- add comment in in
do_osc(), reserving cases 30 and 31
for for Konsole (request by Stephan Binner
<Stephan.Binner@gmx.de>).
- fixes for ctlseqs.ms and xterm.man
(patch by Werner LEMBERG <wl@gnu.org>).
- add check for monochrome display, disabling colorMode in that
case (fixes Debian #134130).
- resync with XFree86 CVS:
- Fix some xterm build warnings on *BSD (David Dawes).
- Only use SA_RESTART in xterm when it's available (Frank Liu).
- Fix incorrect code in signal handlers in most of the clients,
xterm and xdm not done yet (Matthieu Herrb).
- modify
uxterm script to strip encoding part from
environment variable before adding ".UTF-8" (based on Debian
#125947, but using a more portable solution).
- add an assignment statement in VTInitialize() to make
awaitInput resource work.
- use new macros init_Bres(), etc., in VTInitialize() to add trace of
the initialization of resources.
- modify checks for $LC_ALL, related environment variables to ensure
the resulting strings are nonempty (report by Markus Kuhn).
- add an ifdef in charproc.c for num_ptrs variable in case all
configure options are disabled.
- modify definition of getXtermBackground() to avoid negative array
index warning on Tru64 (report by Jeremie Petit).
- improve fix from patch #165 (still Debian #117184, report by Matt
Zimmerman <mdz@debian.org>)
- correct install rule for uxterm in Makefile.in, to handle the
case where building in a different directory than xterm's source
(patch by Paul Gilmartin).
- documented ANSI.SYS-style cursor save/restore escape sequences
in ctlseqs.ms, which are in xterm since X11R5.
- correct two entries in the default charClass table, which did not
follow the manpage comment about the character number corresponding
to the class (patch by Marc Bevand <bevand_m@epita.fr>).
- fix a couple of typos in comments in the app-defaults files
(David Krause <xfree86@davidkrause.com>).
- resync with XFree86 CVS:
- update language of copyrights in some files to reflect the fact
that they were reassigned from X Consortium to The Open Group in
1998. Note that this xterm source is derived from the 1996
version from X Consortium, does not incorporate changes made by X
Consortium or The Open Group after that date, hence we do not add
The Open Group's 1998 copyright date to related files.
- save/restore
errno in signal catcher (Matthieu Herrb).
- modify UXTerm.ad's font5 resource so that xterm can display double
width characters using a font distributed with XFree86 (Tomohiro KUBOTA).
- correct a case where
ptyInitialErase and
backarrowKeyIsErase resources combine to set
DECBKM mode, but a reset command would not
reset xterm to that state, making the erase character revert to ^H
(Debian #117184)
- correct ifdef's for
__QNX__ and
USE_SYSV_PGRP in main.c call to tcsetpgrp,
which broke bash behavior around patch #140
(report/patch by Frank Liu <fliu@mail.vipstage.com>).
- modify trace.c to fix missing definition of GCC_UNUSED for
compilers other than gcc when configured for trace code (report/patch
by Paul Gilmartin).
- change format in TraceOptions() to use long rather than int, since
the latter could lose precision on 64-bit machines (report/patch by
Nelson Beebe).
- modify xterm manual page and minstall.sh to allow imake rules
to define location of app-defaults directory (Debian #87611).
- review/update list of conflicting preprocesor symbols to remove
from $CPPFLAGS at the end of the configure script. In particular,
this allows one to configure xterm without the utempter library on
Redhat 7.1 (report/patch by Adam Sulmicki).
- correct logic that processes
-class option, so that
a following -e option is handled (Debian #116297).
- improve options-decoding to allow
-version and
-help options to be combined (Debian #110226).
- add a 10 millisecond delay in event loop when processing
-hold option, to avoid using too much CPU time
(Debian #116213).
- prefix final program execution in
uxterm with "exec"
to avoid a useless shell hanging around (Christian Weisgerber).
- modify logic that resets keypad application mode to avoid doing
this if there is no modifier associated with the Num_Lock keysym
(report by John E Davis <davis@space.mit.edu> and Alan W Irwin
<irwin@beluga.phys.uvic.ca>).
- add built-in translation for Control/KP_Separator to KP_Subtract,
to accommodate users who wish to use xmodmap to reassign the top
row of the numeric keypad.
- correct Imakefile install-rule for
uxname script
(reported by Nam SungHyun <namsh@lge.com>).
- resync with XFree86 CVS: correct typo in
<ncurses/term.h>
ifdef.
- modify logic in main.c
(see patch #145) to avoid generating the
same identifier, for example, for /dev/tty1 and /dev/pts/1, which
is used to denote an entry in the utmp file (Debian bug report
#84676), A similar fix was also sent by Jerome Borsboom
<borsboom@westbrabant.net> in May, but I overlooked it when
reviewing bug reports.
- add configure check for
<ncurses/term.h> to get
rid of hardcoded __CYGWIN__ ifdef in resize.c
NOTE: The CYGWIN port should not be linking resize
with ncurses. It appears that the only reason it is, is because
both the ncurses and termcap ports on that platform are badly
misconfigured (essential pieces have been removed, etc). Checking
for <ncurses/term.h> does not hurt anything,
since there are some correct installations that are set up that
way.
- add a sample
uxterm script, which uses the
UXTerm application defaults for UTF-8 environments.
- undo change to xterm application defaults, since this introduced an
unnecessary incompatibility. The intended functionality was
already addressed by the UXTerm
app-defaults file.
- resync with XFree86 CVS:
- Modified xterm app default to use LFD fontnames instead of old type
(Michael Schroeder).
- Fix xterm when XIM is disabled - caused a segfault
(Tomohiro Kubota).
- remove an ifdef for
USE_HANDSHAKE added in patch
#158 from the second TIOCSSIZE ioctl call in the
initialization code. Paul Gilmartin reports that for Solaris 2.6
(sparc), stty does not show that xterm sets rows and columns unless
the second ioctl is executed.
- correct treatment of empty parameter list for some OSC strings
(report by Sami Farin <sfarin@ratol.fi>).
- augment key translations for scrollbar widget to ensure that
keystrokes intended for the text area are not lost if the mouse
pointer happens to fall on the scrollbar. This can happen, for
instance, if the user's
app-defaults or
.Xdefaults file contains a translations resource,
though it may also happen through unrelated resource settings:
probably a bug in libXt (reported by Paul Fox
<pgf@foxharp.boston.ma.us> and Dmitry Yu. Bolkhovityanov
<D.Yu.Bolkhovityanov@inp.nsk.su>).
- widen ifdef's in xterm.h to define
__EXTENSIONS__ on
Solaris, for compilers other than gcc. This was added along
_POSIX_C_SOURCE with in patch
#151, but is not sufficient since Sun's compiler does not define
__STDC__ by default (report by Matthias Scheler
<tron@zhadum.de>).
- modify xterm to obtain the closest matching color if an exact color
is not available, e.g., on 8-bit displays (patch by Steve Wall)
- patch by Tomohiro KUBOTA <tkubota@riken.go.jp> to implement
"OverTheSpot" preedit type of XIM input:
- This preedit type is a reasonable compromise between
simpleness of implementation and usefulness. "Root" preedit
type is easy to implement but not useful; "OnTheSpot" preedit
type is the best in the point of view of user interface but
very complex. And more, "OverTheSpot" is the preedit type
which the most XIM servers support. Thus, to achieve reasonable
usability, support of "OverTheSpot" preedit type is needed.
- In "OverTheSpot" preedit type, the preedit (preconversion)
string is displayed at the position of the cursor. On the
other hand, it is XIM server's responsibility to display
the preedit string. Thus, it is needed for XIM client (here
XTerm) to inform the XIM server of the cursor position.
And more, to achieve good visual proportion, preedit string
must be written using proper font. Thus, it is XIM client's
responsibility to inform the XIM server of the proper font.
The font must be supplied by "fontset". Fontset is a set of
fonts with charsets which are specified by the current locale.
Since XTerm uses ISO10646 fonts regardless of the current locale,
the fonts for XIM must be prepared separately. It is difficult
to prepare fonts which are similar to XTerm font. Thus, my
patch uses a simple way - the default font is "*" which matches
every fonts and X library will automatically choose fonts with
proper charsets. I added "-fx" command option and "ximFont"
resource to override this default font setting.
- changed the definition of "OverTheSpot" preedit type
from XIMPreeditPosition|XIMStatusArea
to XIMPreeditPosition|XIMStatusNothing.
This matches the behavior of other programs such as
Rxvt, Kterm, Gedit.
- A tiny XIM bugfix is also included. By calling XSetLocaleModifiers()
with parameter of "", it can consier XMODIFIERS environmental
variable which is a standard way for users to specify XIM server
to be used.
- adjust configure script to accommodate repackaging of keysym2ucs.c
as include-file for xutf8.c (patch by Tomohiro KUBOTA
<kubota@debian.org>).
- add the
UXTerm app-defaults file to makefile install
rules (request by Juliusz Chroboczek).
- correct logic in
get_termcap(), which returned false
if the tgetent() call indicated that xterm was linked
with terminfo. Although the $TERMCAP variable cannot be
adjusted in this case, xterm still needs information from this call
to extract data to initialize the erase-mode when the
ptyInitialErase resource is false.
- modify
ScrollbarReverseVideo() function to cache the
original border color, so it can restore that when an application
flashes the screen (Bugzilla #38872).
- resync with XFree86 CVS:
- remove ifdef's for X_NOT_STDC_ENV (David Dawes).
- add Cygwin to special errno handling case in ptydata.c (Alan Hourihane)
- set screen size earlier in initialization, to address a race
with window manager resizing its clients (Keith Packard).
- patch by Juliusz Chroboczek to clean up button.c and input.c. The
basic idea is to use a single set of APIs in the XTerm core, and put
a set of workarounds in a separate file. As you will notice, this
drastically simplifies parts of the code; in particular, the only
remaining ifdefs related to the differences between Xutf8 and legacy
systems are related to the selection provider logic.
This defines two new files, xutf8.h and xutf8.c, provide some
half-hearted but fully portable emulation for the three Xutf8*
functions that XTerm uses.
Putting these in a separate file will allow people to experiment with
more complex versions without making the core of XTerm more difficult
to maintain.
The functionality of the emulation is as follows.
- Xutf8TextListToTextProperty fully handles XStringstyle and
XUTF8StringStyle. It will only generate STRING for XStdICCTextStyle,
and wil only generate Latin-1 in XCompoundTextStyle (but label it as
COMPOUND_TEXT, as the spec requires). (I have hesitated to make this
function fail for XStdICCTextStyle and XCompoundTextStyle; this might
be a smart thing to do, in the hope that the selection requestor will
try UTF8_STRING afterwards; opinions?)
- Xutf8TextPropertyToTextList fully handles STRING and UTF8_STRING.
It systematically fails for COMPOUND_TEXT.
- Xutf8LookupString will properly handle single-keystroke input for
the keysyms covered by Markus' keysym2ucs function. It will not
handle either compose key input or external input methods.
- add an ifdef for
SunXK_F36, used in
xtermcapKeycode() (patch by Mark Waggoner
<waggoner@ichips.intel.com>).
- modify check for login name to try
getlogin() and
$LOGNAME, $USER environment variables to detect if the user has
logged in under an alias, i.e., an account with the same user id
but a different name (Debian bug report #70084).
- add resource
tiXtraScroll, which can be used to
preserve the screen contents in the scrollback rather than erasing
it when starting a fullscreen application such as vi
(patch by Ken Martin <fletcher@catsreach.org>).
- two patches by Denis Zaitsev <zzz@cd-club.ru>:
- added
forceBoxChars resource to control the
"line-drawing characters" option.
- added
freeBoldBox resource, which, when set true,
suppresses check in same_font_size(), so xterm does
not attempt to ensure that the bold font is the same size as
the normal font.
- change the color class for ANSI colors and similar ones such as
bold-color, etc., to follow the convention that the classname is the
instance name with a leading capital (e.g.,
color0 and
Color0 rather than color0 and
Foreground). There was little use for Foreground as a
class other than to create occasional confusion and bug reports, most
recently by Nelson Beebe who reports that it disables colors in xterm
but not on Linux, which is probably due to a difference in resource
evaluation order. A configure script option (--disable-color-class)
is provided for anyone who did use the older behavior.
- fix a signal-handling bug. When running xterm with
ksh or similar shell such as bash 2.05, xterm will hang
and not respond to keystrokes after the user types
suspend. Additionally the popup menus do not respond,
so it is not possible to send SIGCONT to the shell.
What is happening is that the shell is sending itself SIGSTOP, and it
is being stopped. Per specification it also means that the operating
system is sending SIGCHLD to parent to the bash (XTERM).
Now the issue is that xterm assumes it cannot happen and it expects
to receive SIGCHLD only upon termination of its children.
This causes a deadlock with xterm waiting for the child to
die, and the child waiting for SIGCONT.
(report/patch by Adam Sulmicki), analysis/testing by Sven Mascheck
<sven.mascheck@student.uni-ulm.de>).
- correct some inconsistent checks for
XtReleaseGC()
calls in xtermLoadFont() (patch by Nam SungHyun
<namsh@lge.com>).
- updated wcwidth.c and keysym2ucs.c to versions dated 2001/1/12
and 2001/4/18, respectively from
http://www.cl.cam.ac.uk/~mgk25/ucs/
- correction to change from patch #90,
which was intended to
reset the saved cursor position for normal/alternate screens
on a soft reset, but actually wiped out all of the saved cursor
information. Just reset the saved position for the current screen
(report by Michael Schroeder).
- modify ShowCursor() and HideCursor() so that if the cursor points
to the second part of a wide character, make the show/hide operate on
the first position of the wide character (patch by Sven Verdoolaege).
- scrolling in the alternate screen just before switching back to the
main screen can cause extra blank lines to be inserted into the
scrollback buffer (patch by Paul Vojta
<vojta@math.berkeley.edu>).
- resync with XFree86 4.1.0:
- Use TermcapLibrary as -lncurses instead of -ltermcap, fixes
problem building xterm/resize on Cygwin/XFree86 (Harold Hunt).
- Install xterm.termcap and xterm.terminfo when installing xterm
(Torrey T. Lyons).
- Fix some build issues on Cygwin/XFree86 (Suhaib Siddiqi).
- Define CBAUD, when it's missing in xterm, on LynxOS
(Stuart Lissaman).
- change order of selection-target types to make 8-bit xterm prefer
UTF8_STRING to COMPOUND_TEXT (patch by Juliusz Chroboczek).
- document
-fa, -fs command-line options
and faceName, faceSize
resources which are used by the freetype library support.
- if configure script finds freetype libraries, but imake definitions
do not have the XRENDERFONT definition, define it anyway.
- modify configure script check for freetype libraries to include
<Xlib.h>, since an older version of the related
headers relies on this (patch by Adam Sulmicki).
- correct return type of in_put() from patch #153
changes, which left it not wide enough for UTF-8 (patch by Bruno Haible).
- undo check for return value from
pututline (used for
debugging) since that function does not return a value on Slackware
3.6.
- correct length in ScreenWrite, when rendering invisible text
(patch by Sven Verdoolaege <skimo@kotnet.org>).
- fixes/improvements for the
i18nSelection resource
from patch #153, by Bruno Haible:
- add missing initialization for
i18nSelection
resource.
- split-out the non-ICCM aspect of the
i18nSelection resource as a new resource,
brokenSelections.
- add configure check for
<time.h> and
<sys/time.h>, to allow for Unixware 7,
which requires both. If the configure script is not used, only
<time.h> will be included as before (report
by Thanh Ma).
- fix redefinition of
dup2, getutent,
getutid, getutline and sleep
functions on Unixware 7 (report by Thanh Ma
<Thanh.Ma@casi-rusco.com>)
- add a fall-back definition for
__hpux, which is
apparently not defined in some compilers on HPUX 11.0 (reported
by Clint Olsen).
- change VAL_INITIAL_ERASE, which is used as a fallback for the
"kb" termcap string to 8, since that matches the
xterm terminal description (request by Alexander V Lukyanov).
- correct an off-by-one in
ClearInLine, which caused
the erase-characters (ECH) control to display incorrectly
(patch by Alexander V Lukyanov).
- correct escape sequences shown in terminfo for shifted editing
keys. The modifier code was for the control key rather than
the shift key.
- increase PTYCHARLEN to 8 for os390, add some debugging traces
for UTMP functions (patch by Paul Gilmartin).
- correct an misplaced brace in
SelectionReceived()
(patch by Bruno Haible).
- correct an assignment dropped in
SelectionReceived()
which made it not compile for wide-characters combined with debug
traces.
- correct typo, clarify description of 88- and 256-color controls
(report by Bram Moolenaar).
- correct a typo in ctlseqs.ms which caused DEC Locator control
sequences using single quote "'" display grave "`" instead (reported
by Paul Williams, apparently in patch #114).
- correct index in inner loop in
VTInitI18N() from
patch #151 changes, which resulted in infinite loop under some
conditions (report/analysis by Paul Gilmartin).
- remove spurious "%|" from terminfo sgr capabilities
(report/analysis by Adam M Costello, Debian bug #89222).
- add shell script to adjust list of dynamic libraries linked by
resize when building with the standalone configure
script. Otherwise it uses the same list as for xterm, which is
excessive.
- fix a few compiler warnings reported by the 20010305 gcc snapshot.
Changes from XFree86 4.0.2:
- add definition of
_POSIX_C_SOURCE for Solaris to
make this compile with gcc -ansi -pedantic (report
by <mark@zang.com>.
- move the binding for shifted keypad plus/minus, which invokes the
larger-vt-font() and smaller-vt-font()
actions, respectively, into the translations resource (suggested by
Marius Gedminas <mgedmin@puni.osf.lt>).
- modify configure script to support the
--program-prefix, --program-suffix and
--program-transform-name options (request by Alison
Winters <alison@mirrabooka.com>).
- patch from Robert Brady
- fix a scrolling / combining characters display anomaly
- fix a problem with double-width characters where if the primary
font had no box-drawing characters, the right hand half of
double-width characters was erased (reported by Yao Zhang
<yzhang@sharemedia.com>).
- fix special case of null byte for key handling in UTF-8 locales.
- modify logic that compares sizes of normal and bold fonts to be
more forgiving of the font server's choice of bold font which must
match the normal font's size. Now
same_font_size()
compares the height of the fonts rather than individually ascent and
descent, and allows the bold font to be one pixel smaller than the
normal font (addresses a report by Alan Citterman
<alan@mticket.com>, who says that something in patches #146 to
#148 made xterm more likely to overstrike bold fonts, and indirectly
Debian bug report #76404, which reports the opposite).
- make configure script use $CFLAGS and $CPPFLAGS consistently,
including removing a chunk from configure.in which attempted to
save/restore $CPPFLAGS while processing value set by the --x-includes
option, but lost values set in an intervening AC_CHECK_HEADERS. This
change modifies macros CF_ADD_CFLAGS, CF_ANSI_CC_CHECK and
CF_X_TOOLKIT, as well as removing variables IMAKE_CFLAGS and X_CFLAGS
from the generated makefile (the AC_CHECK_HEADERS problem was
reported by Albert Chin-A-Young <china@thewrittenword.com<).
- correct a comparison in SELECTWORD case of ComputeSelect(), which
resulted in a word-selection wrapping past the first column without
checking the first column's character class (reported by Christian
Lacunza <celacunza@netscape.net>
- correct a logic in UTF-8 mode for selecting double-width characters;
a combining character was omitted (patch by Markus Kuhn).
- add feature to pop (raise) window when a bell is received
(patch by Gael Roualland <gael.roualland@dial.oleane.com>).
- add __NetBSD__ and __OpenBSD__ to special-case in xterm_io.h
for USE_POSIX_TERMIOS definition (patch by Christian Weisgerber).
- move special-case HPUX include for <sys/bsdtty.h> to
xterm_io.h to define TIOCSLTC, making HAS_LTCHARS defined for HPUX
10.20 (report by Bruno Betro).
- restructured includes for
termios.h,
termio.h and related definitions for main.c, os2main.c,
screen.c and resize.c so they will share equivalent definitions in a
new header xterm_io.h. This is intended to solve some
problems mainly for HPUX which appear to arise from inconsistent
definitions for SIGWINCH- and HAS_LTCHARS-related symbols (reports
by Bruno Betro, Jeremie Petit and Clint Olsen).
- improve usability of double-width fonts by allowing normal fonts
to be given as double-width (from a patch by Fabrice Bellard
<bellard@email.enst.fr>).
- correct a few compiler warnings in TRACE() macros for
signed/unsigned variable differences (reported by Clint Olsen).
- make configure script use $CFLAGS and $CPPFLAGS more consistently,
i.e., by using CF_ADD_CFLAGS in CF_ANSI_CC macro.
- expanded description of environment variables in manual-page.
- modify OPT_TCAP_QUERY feature to always return the termcap or
terminfo capability string in the response, and to read/write the
names in hexadecimal form to allow for the special case of termcap's
k; name (patch by Bram Moolenaar).
- add OPT_SAME_NAME and OPT_TCAP_QUERY to xtermcfg.hin, so the
corresponding configure options work (patch by Bram Moolenaar).
- resync with XFree86 4.0.1g:
- Rewrite Xft library for Render extension/core text and font management
Change xterm to use new interface (Keith Packard).
- document logfile options in man-page.
- correct spelling of
-samename option in help message.
- add configure script option
--enable-tcap-query
(request by Bram Moolenaar).
- patch by Bram Moolenaar to add a
"Co" or "colors" entry to the OPT_TCAP_QUERY feature.
- patch by Kiyokazu SUTO <suto@ks-and-ks.ne.jp>:
- add support for bold font for double width characters.
The font name may be specified with the command line option
-fwb or with resource
wideBoldFont (class WideBoldFont).
- correct underlining of double width character string, which
was drawn only half width.
- correct binary search of precomposed character table, which
may return wrong result when
int is just 32 bits.
- some changes to align terminfo with ncurses 5.2:
- remove xtermm description, retaining xterm-mono since the former
conflicts with ncurses.
- modify initialization and reset strings to avoid putting the
save/restore cursor operations bracketing changes to video
attributes, since the changes could be lost when the cursor is
restored. This affects xterm-r6 and xterm-8bit (the xterm-xfree86
entry uses the soft-reset feature which resets scrolling margins
and origin mode without requiring us to save/restore the cursor
position).
- make a few entries explicitly inherit from xterm-xfree86 rather
than xterm: xterm-rep, xterm-xmc, xterm-nrc
- ensure that sign-extension does not affect
ctype
macros by using CharOf() macro to coerce the parameter
to an unsigned char.
- resync with XFree86 4.0.1d:
- Add primitive support in xterm for Xft based fonts (Keith Packard).
The changes are ifdef'd with
-DXRENDERFONT.
- correct implementation of
ptyInitialErase: the
value assigned to initial_erase was for the control
terminal, which is correct as far as it goes. But there was no
following test for the pseudo-terminal's erase value, which would
overwrite the default obtained from the control terminal
(reported by Christian Weisgerber <naddy@mips.inka.de>).
- modify check for printable-characters in OSC string to use xterm's
ansi_table rather than isprint() macro, to isolate this check from
locale settings. This fixes a problem using 8-bit characters to
set the title (reported by Ricardas Cepas <rch@richard.eu.org>).
- modify sample scripts to check for printf before print, since the
latter is not as well standardized (e.g., on Linux).
- updated config.sub, config.guess to reflect changes on
subversions.gnu.org
- correct two instances overlooked from patch #141 which assumed
UTF-8 mode without checking, causing a core dump in non-UTF-8 mode
(one instance was reported by Tommi Virtanen <tv@debian.org>).
- correct a problem selecting from the scrollback buffer in UTF-8
mode by changing remaining getXtermCell() calls to XTERM_CELL() as in
the non-UTF-8 cases (report by Markus Kuhn, patch by Robert Brady).
- several changes from Robert Brady for UTF-8 configuration:
- doublewide characters don't lose their accents when the cursor
moves onto or from them (a visual bug)
- fix logic in addXtermCombining, which mean that if the low byte
of a cell's first combining char was 0, a following combining char
would go into combining slot 1, not 2.
- modify logic for cut-buffers so UTF-8 data is first converted
to Latin1.
- collapse surrogates, 0xfffe, 0xffff to UCS_REPL.
- modify to allow xterm to to show combining characters
attached to doublewidth characters.
- correct bug in linewrap with -u8 option (reported by
Andreas Koenig <andreas.koenig@anima.de>).
- several changes to PTY logic (based on request by Tim Ryan
<timryan@nortelnetworks.com>).
- modify treatment of
-S option to to make it work with
Unix98 PTY's.
- restore sense of IsPts flag in
get_pty(), which was
lost in Unix98 changes.
- use new functions
my_pty_id() and
my_pty_name() to simplify/fix strings used for utmp,
wtmp identifiers.
- simplify
get_pty() function, making it have a single
return point so its inputs/outputs can be identified.
- update config.guess and config.sub and scripts to my 20000819 patch,
adding cases for OS/2 EMX.
- add special case for os390 compiler options to configure script
(patch by Paul Gilmartin)
- fix some unused-variable compiler warnings (reported by
Zdenek Sekera).
- split-out some string functions into xstrings.c, to use them
more consistently among main.c, os2main.c and resize.c
- align termcap/terminfo files, adding entries to make them match.
The termcap entries are necessarily less complete than the terminfo,
to fit within 1023 character per entry.
- add terminfo entry for xterm-sco (SCO function keys).
- modify
same_font_name() to properly handle wildcard
introduced in bold_font_name(), making comparison for
different fonts succeed when only the normal font is specified. This
is needed to decide if 1-pixel offset should be used. (reported
in a newsgroup by Bart Oldeman <enbeo@enbeo.resnet.bris.ac.uk>)
- correct preprocessor line for OPT_WIDE_CHARS in drawXtermText()
from patch #141 which resulted in overstriking for bold fonts not
working.
- correct Imakefile from 4.0.1c resync so UTF-8 modules are in
UTF8SRC, UTF8OBJ lists, allowing build without UTF-8 support.
- remove a spurious assignment in ScreenWrite() from Robert Brady's
patch which set a null at the "end" of the buffer to be written.
That made the autowrap feature write a blank in the first column for
the non-UTF-8 configuration, rather than the actual character
(reported by Alan Citterman <alan@mticket.com>).
- add a check to ensure that
-class command-line option
is not confused with -c (reported by Paul Townsend
<aab@aab.cc.purdue.edu>).
- correction to precompose scripts, so 0061 + 0300 will now be really
be displayed as 00C0 (patch by Robert Brady
<robert@susu.org.uk>).
- correct macro ClassSelects() in button.c, used to hide ifdef's for
OPT_WIDE_CHARS in patch #141 (reported by Andreas Paul
<paula@informatik.tu-muenchen.de>).
- change wcwidth.h to include stddef.h rather than wchar.h, which is
not present on OpenBSD and FreeBSD (reported by Christian
Weisgerber and Bram Moolenaar).
- newer config.sub and config.guess, from lynx 2.8.4dev.7
- Most of this patch is an integration of Robert Brady's patch #11
for doublewidth and combining characters, from
http://www.ecs.soton.ac.uk/~rwb197/xterm/. In this context,
doublewidth refers to 16-bit character sets which may have glyphs
occupying two cells.
- add command-line option
-class, which allows one
to override xterm's resource class. Also add resource file
UXTerm.ad, which simplifies using xterm for both
8-bit character sets and UTF-8.
- fixes/improvements to OPT_TCAP_QUERY logic (patches by Bram
Moolenaar, Steve Wall).
- modify Makefile.in to circumvent GNU make's built-in suffix rule
for ".sh" which confuses install.sh with the "make install" target
(report/patch by Paul Gilmartin).
- implement an experimental control sequence which an application may
use to query the terminal to determine what sequence of characters it
would send for a given function key. This is ifdef'd with
OPT_TCAP_QUERY (request by Bram Moolenaar).
- add /usr/local to search path in CF_X_ATHENA configure macro
to build with Xaw3d on OpenBSD (patch by Christian Weisgerber).
- add missing
#undef HAVE_TERMIO_C_ISPEED to
xtermcfg.hin, omitted in patch #133 fix for IRIX 6.5 baudrate (report
by Alain Filbois <Alain.Filbois@loria.fr>).
- correct a few errors in xterm.man: font in filename example for
Tektronix emulation, and description of -nul/+nul command-line
options (report by Eric Fischer <enf@pobox.com>).
- update config.guess and config.sub (from tin and lynx)
- back out change to
-name command-line option,
restoring its original behavior (as noted by David Madore, the
correct interpretation of this option is the application instance
rather than the application class).
- workaround for fixed fonts which are generated from Unicode fonts:
they omit glyphs for some xterm's less-used line-drawing characters,
which caused xterm to set a flag telling it to use only its internal
line-drawing characters. Do not set the flag (it can be set from the
popup menu), and xterm will generate only the line-drawing glyphs
which actually are missing.
Otherwise, when used for large fonts, xterm may generate a 2-pixel
wide line, which can leave dots on the screen.
- restore first line of 256colres.pl, omitted in 4.0c diffs.
- make command-line
-name option work as documented.
Apparently this was lost in X11R5 when coding to use
XtAppInitialize.
- limit numeric parameters of control sequences to 65535 to
simplify checks for numeric overflow.
- change index into UDK list to unsigned to guard against numeric
overflow making the index negative (Taneli Huuskonen
<huuskone@cc.helsinki.fi>).
- change
sun function-keys resource name to
sunFunctionKeys to work around redefinition of the
token sun by xrdb on Solaris. Similarly, renamed
resource sun keyboard to sunKeyboard
(Steve Wall).
- change similar resource names for HP and SCO to avoid potential
conflict with xrdb symbols on other systems, as well as for
consistency.
- reorganized the install targets in the autoconf'd Makefile, adding
install-app, install-bin, install-dirs and install-man. The
app-defaults class can be overridden by setting the make variable
'CLASS', simplifying customization of xterm as a Unicode terminal,
e.g., CLASS=UXTerm.
- add limit checks to
ClearInLine(),
ScrnInsertChar(), ScrnDeleteChar() to
correct potential out-of-bounds indexing (prompted by Debian bug
report #64713, which reported a problem with ICH escape sequences).
- updates to config.sub and config.guess
Kevin Buettner <kev@primenet.com> for elf64_ia64
Bernd Kuemmerlen <bkuemmer@mevis.de> and MacOS X.
- patch from Paul Gilmartin for os390 to check for errno set to
ENODEV on failure to open /dev/tty when there is no controlling
terminal.
- patch from H Merijn Brand <h.m.brand@hccnet.nl> for
building on Digital Unix 4.0 and AIX 4.2.
- modify DECRQSS reply for DECSCL to additionally report if the
terminal is set for 8-bit controls.
- add a resource (
limitResize)
limiting resizing via the CSI 4 t and CSI 8 t sequences.
- ignore out-of-bounds resize requests, i.e., where sign-extension
or truncation of the parameters would occur.
- remove code introduced in #134 which made some backgrounds bold.
- minor correction to format of updated $TERMCAP when adding
kb capability for ptyInitialErase logic.
- improved test for SVR4 definition.
- update URL's and mailing addresses, moved to http://dickey.his.com
and dickey@herndon4.his.com
- correct missing quotes in CF_TTY_GROUP configure script macro in
case the script is run in batch mode.
- modify ownership-check of log file to ignore the group ownership.
Otherwise xterm cannot create logfiles in directories with set-gid
permissions.
- simplify the logic that reads termcap data.
- add fallback definition for B9600 in case line speed definition
for 38400 is missing (report by Jack J Woehr <jwoehr@ibm.net>,
for OpenBSD 2.6).
- fix: Set highlightColor, and select a region containing the text
cursor. If the window loses focus, the cursor becomes hollow, with
the region inside the cursor being background/foreground, unlike the
rest of the selection, which is foreground/highlight
(patch by Ross Paterson <ross@soi.city.ac.uk>).
- add configure script tests to define SVR4, SYSV and USE_POSIX_WAIT,
which enables xterm to compile on Solaris 7 and SCO Openserver
without imake, though there are still a few features for the latter
which require
sco to be predefined.
- patches from Steve Wall:
- add support for two Sun-specific function keys. These keys are
labeled F11 and F12 on Sun Type 5 keyboards, but return SunXK_F36 and
SunXK_F37. Support will only be compiled in if the header file
<X11/Sunkeysym.h> exists and contains the appropriate symbol
definitions. The keycodes for the DEC keycodes were arbitrary unused
codes, but the ones for the Sun keycodes are what cmdtool and
shelltool actually send.
- add
colorRV and colorRVMode resources to
allow specifying a color to use for reverse video, similar to the
existing UL, BD, and BL modes.
- add
alwaysUseMods resource, to override check if
alt or meta modifiers are used in
translations resource. Revamped the code to calculate
the modifier value, and included Meta if alwaysUseMods is TRUE, using
values 9-16.
- patches from Paul Gilmartin for os390:
- regularize the definition of CONTROL() and remove an
acknowledged "trial and error" table.
- translate "^?" into A2E(0177) which is the EBCDIC "DEL"
rather than plain 0177 which is the EBCDIC quotation mark.
- modify
xtermMissingChar() so that EBCDIC codes 128-159
are not rendered as blanks by X server running on Solaris, which sees
those as control characters.
- make debugging traces (configure --enable-trace)
work properly with EBCDIC.
- add substitutions in autoconf'd Makefile for CPPFLAGS, LDFLAGS and
AWK (reported by Neil Bird).
- correct uninitialized
childstat variable from patch
#131 in creat_as() function, which caused logging to not
work on Solaris, whose waitpid() function does not
initialize its parameter. Add check for EINTR on return from
waitpid() as well (reported by Neil Bird
<neil.bird@rdel.co.uk>).
- remove a redundant check for working
setuid() function
introduced in patch #132 (Greg Smith reports that this does not work
as intended on os390).
- change line speed from 9600bd to 38400bd, to accommodate people who
mistakenly use $TERM set to vt100, to reduce the effect of
padding associated with this terminal type.
- add configure script check for IRIX 6.5's redefinition of baud
rates associated with
struct termio, to correct a
situation where the baud rate was initialized to zero (reported by
Andrew Isaacson <adi@lcse.umn.edu>).
- remove unused configure script check for VDISABLE.
- undo an incorrect change from patch #113 caused the right scrollbar
to be positioned incorrectly when re-enabling it (analysis by
D Roland Walker).
- add ctrlFKeys resource, replacing constant for adjusting
control-F1 to control-F12 to VT220-style F10-F20. The resource
changes the constant 12 to a default value of 10 (request by
Jim Knoble <jmknoble@pobox.com>).
- correct ifdef'ing for conflict between definitions in AIX's
<sys/select.h> and <X11/XPoll.h> (reported by Clint
Olsen).
- add checks for return-values of getutid(), initgroups() and
setuid() in main.c, as well as modifying ifdef's for __osf__ to
include tty-group and WTMP logic (adapted from patch by Paul Szabo
<psz@maths.usyd.edu.au>)
- modify resize.c to build and work on os390 (uses EBCDIC)
(adapted from patch by Phil Sidler <Phil.Sidler@airborne.com>)
- use Ires(), Bres() and Sres() macros to simplify resource list in
charproc.c
- resync with XFree86 4.0a:
- correct a typo in os2main.c (Holger Veit, from 4.0a).
- integrate patch by Branden Robinson for improving logfile
security:
- make the
creat_as() function more strict by using
O_EXCL rather than O_APPEND.
- fixes to make DEBUG ifdef's compile/run, including making the
debug logfile more unique by appending a timestamp to its name.
- include <term.h> in resize.c, to fix a missing-prototype
warning.
- modified
creat_as() a little more, retaining the
ability to append to a logfile If the user specifies the name.
Also, check if the opened file (which patch #130 ensures is
owned by the effective user) is not writable by other users.
- use
creat_as() logic to make tek4014 screen-copy
more secure (noted by Branden Robinson).
- ifdef'd some of Branden's changes to build/work on older machines.
- correct missing initialization of the
.mode flag in
ColorRes struct, from patch #129. This worked on Linux
because malloc() zeroes memory on that platform
(reported by Christian Weisgerber).
- modify logic for
deleteIsDEL resource so it has
internally 3 states: unspecified, true and false. If unspecified,
the keyboard type determines whether the Delete key transmits
<esc>[3~ or \177, and the popup menu
entry reflects the internal state. Otherwise, the popup menu entry
overrides the keyboard type (suggested by Dr Werner Fink, to make it
simpler to set resources that imitate the legacy X11R6 xterm).
- modify
scroll-forw() and scroll-back()
actions, adding a third parameter which will direct xterm to ignore
the action when mouse reporting is enabled. This is needed for
the wheel mouse to be used to report to the application rather than
scroll the window.
- add menu entry and action to allow disabling xterm's assumption
that the current font contains line-drawing characters if the
font cells 1-31 are nonempty. Some fonts may have other characters
(reported by Bruno Betro <bruno@iami.mi.cnr.it>).
- add a check in
creat_as() to ensure that the user
really owns the logfile that has been opened.
- add logic to implement SCO function-keys. (This is really
incomplete, since I intend to revisit this and make xterm able to
emulate scoansi better than just the function-keys).
- add configure script option --enable-sco-fkeys, minor related fixes
(patch by Dr Werner Fink).
- fix typos in ctlseqs.ms (reported by Bram Moolenaar)
- fix typo in sinstall.sh default for $TST_PROG (reported by
Paul Gilmartin <pg@sweng.stortek.com>)
- improve initialization of ANSI colors by delaying allocation until
each color is first used.
- remove ifdef that prevented colorBD/colorUL/colorBL resources from
working when 256-color configuration was built (reported by
Todd Larason).
- fix some minor inconsistencies in terminfo (Debian #58530).
- correct logic for
oldXtermFKeys resource, fixes a core
dump when attempting to set it from the command-line (reported by Dr
Werner Fink).
- correct ifdef for meta-sends-escap so configure --disable-num-lock
builds.
- add resource, popup menu entry and control sequence to allow
changing the Delete key to send either DEL or the VT220-style
Remove escape sequence.
- remove logic for metaSendsEscape that would allow xterm to send
<esc>[3~ before a function key that would begin
with <esc>[3~ (request by Christian Weisgerber).
- add missing action and documentation for meta-sends-escape.
- correct a few typos in ctlseqs.ms (incorrect code for Cyan color)
- patch by Markus Kuhn:
ensure that xterm will automatically activate the UTF-8 mode whenever
the name of the locale environment variable suggests that a UTF-8
locale is in use. This will help that by simply setting LC_CTYPE an
entire system can be switched over to UTF-8, without users having to
remember the UTF-8 command line options ("-u8", etc.) of the various
applications. Command line options and X resource entries can still
be used to override this default choice.
- add old function-keys control sequences and popup menu entry, for
compatibility with legacy X11R6 xterm.
- revert translation of editing keypad "Delete" key to legacy \177.
- simplify the color-resource data expressions with macro COLOR_RES,
for later use in restructuring color initialization.
- change encoding of wheel mouse (buttons 4 and 5) to avoid conflict
with legacy mouse modifiers (suggested by Bram Moolenaar).
- integrate patch by David Mathog
<mathog@seqaxp.bio.caltech.edu> to make this work on OpenVMS
- rename some functions, e.g.,
Index to
xtermIndex so that ports such as VMS which link
externals ignoring case will not have library conflicts (reported by
David Mathog).
- correct logic of
do_reversevideo(), which did not
update the corresponding popup menu check mark (reported by David
Mathog, this was a detail overlooked in patch #94).
- change TRACE macro so semicolon is not within definition, making
indent and similar programs work better.
- add
depend rule to Makefile.in
- modify logic of boldColors resource to suppress it if an extended
color control has been used, e.g., for 88-color or 256-color mode
(patch by Todd Larason).
- revise logic that handles menus and input translation for keyboard
type so only one can be selected at a time.
- restore kdch1=\177 for the Sun function-key type, and make the
the Delete key send DEL (\177) if the oldXtermFKeys resource is set.
- rephrase logic and ifdef's for POSIX VDISABLE to avoid preprocessor
expression that will not compile on NetBSD/x86 1.4.1 (reported by
Takaaki Nomura <amadeus@yk.rim.or.jp>).
- change coding of editing keypad's "Delete" key to
<escape>[3~, in the default (Sun/PC) keyboard mode.
This makes the terminfo kdch1 capability independent of the
coding of the backarrow key, which sends either backspace (8)
or DEL (127). The reason for doing this (compatibility with
the screen program) outweighs the choice of DEL (127)
which was used in X11R5/X11R6 xterms. The screen
program translates whatever matches kdch1 into <escape>[3~,
even if it happens to be the stty erase character.
- add encoding for control/?, to work around xmodmap or key
translations which may confuse backspace and delete. A control/?
will send DEL (127), and a control/H will of course send backspace
(8).
- add encoding for kcbt to <escape>[Z (fixes Debian #54840).
- minor correction to logic that encodes Sun and DEC function keys
to avoid sending an escape sequence if the key symbol is not found
in xterm's lookup table.
- simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern
is more likely to be implemented when imake configures xterm
(fixes Debian #55105).
- change manpage to make it clearer what codes are sent by the
backarrow key.
- add a note reserving OSC 51 for use in Emacs shell (request by
Rob Myoff <mayoff@dqd.com>).
- correct a missing backslash in xterm-vt220 termcap.
- cleanup remaining quoted includes, preferring bracketed form.
- minor configure-script macro updates from tin and vile.
- add configure-script option for using utempter library, adapted
from Redhat 6.1 patch for XFree86 3.3.5
- resync with XFree86 3.9.17a:
- correction to QNX support (Frank Guangxin Liu)
- some cosmetic changes that did not correct any reported problems.
- move the suggested wheel-mouse button translations into charproc.c
to simplify customization. Correct some minor logic errors in the
support for buttons 4 and 5, used for wheel mice (reported by
Bram Moolenaar).
- implement metaSendsEscape resource, with corresponding
control sequence and menu entry. Like eightBitInput, this
causes xterm to send ESC prefixing the given key, but applies to
all keys and is independent of the 8-bit/7-bit terminal setting.
(requests by Alexander V Lukyanov and Marc Feeley).
- correct potential indexing with negative subscript in udk_lookup(),
(reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>).
- modify configure script that sets TERMINFO_DIR to use ${prefix}
rather than /usr if the --prefix option was specified (request by
Zdenek Sekera <zs@sgi.com>).
- modify checks for repeat-character control sequence to test the
character class against xterm's state table, rather than the
isprint() macro (patch by Alexander V Lukyanov).
- change several functions to macros to improve speed
- two corrections to simulation of bold font via overstriking:
- use clipping to avoid leaving trash at end of the text, and
- add brackets so wide-character logic does not fall-through
into the overstriking logic (reported by
Marc Feeley <feeley@IRO.UMontreal.CA>)
- add several entries to termcap file to make it have the same set
of aliases as the terminfo file.
- scale the color values used for xterm-256color terminfo entry to
0..1000, as expected by ncurses.
- change xterm-r6 terminfo definitions for F1-F4 to match program.
- Add QNX/Neutrino support (Frank Guangxin Liu
<frank@ctcqnx4.ctc.cummins.com>)
- refine the change to
SGR_Background() in patch #119,
by not flushing the pending scrolling operation if the background
color is not actually changing. This combination occurs when using
color-ls to display a long listing, since each line ends with an SGR0
which affects only the foreground color. The unnecessary flushing
made it noticeably slower (reported by D Roland Walker
<walker@pobox.com>).
- remove obsolete documentation about modifiers which can be returned
in mouse tracking mode, and modify logic to ignore modifiers other
than the existing ones, e.g., NumLock (prompted by discussions with
Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>).
- use free bit from obsolete shift-modifier coding of mouse tracking
button events to encode buttons 4 and 5, e.g., for a wheel mouse
(requests by Brad Pepers and Bram Moolenaar).
- correct a place where the ptyInitialErase logic did not set the
backarrowKey state, and modify it further to use tgetstr() rather
than parse the termcap data returned from tgetent() so the
ptyInitialErase logic will work when xterm is linked with a terminfo
library (based on a patch by Dr Werner Fink <werner@suse.de>).
- fix definition of HAVE_UTMP_UT_HOST for ISC configuration (patch by
<michael.rohleder@stadt-frankfurt.de>)
- improve configure script's utmp tests (based on reports by Greg
Smith for os390, and David Ellement for HPUX).
- modify sinstall.sh to use uid=0 rather than 'root' to determine if
the installer is privileged. This is needed on some systems since
more than one account may be privileged (report by Greg Smith).
- add an application resource,
messages (and a
corresponding -/+mesg option) which controls the initial permission
on the terminal: if messages is set to true (the default), behavior
is as without the patch; if it is set to false (as per -mesg), the
terminal is opened in mode 0600, thus producing the effect of the
mesg n command. This is useful for users who want to
redirect all their messages to one particular xterm: it is more
pleasant to do this with xterm resources than with explicit calls to
the mesg program (patch, description by David Madore
<david.madore@ens.fr>).
- add responses (DA and DSR) for DEC locator mode
- add coding for ANSI color to DA d DSR) fkeyboard mode.
This makes the terminfo kdch1 capability independent of the
coding of the backarrow key, which sends either backspace (8)
or DEL (127). The reason for doing this (compatibility with
the screen program) outweighs the choice of DEL (127)
which was used in X11R5/X11R6 xterms. The screen
program translates whatever matches kdch1 into <escape>[3~,
even if it happens to be the stty erase character.
- add encoding for control/?, to work around xmodmap or key
translations which may confuse backspace and delete. A control/?
will send DEL (127), and a control/H will of course send backspace
(8).
- add encoding for kcbt to <escape>[Z (fixes Debian #54840).
- minor correction to logic that encodes Sun and DEC function keys
to avoid sending an escape sequence if the key symbol is not found
in xterm's lookup table.
- simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern
is more likely to be implemented when imake configures xterm
(fixes Debian #55105).
- change manpage to make it clearer what codes are sent by the
backarrow key.
- add a note reserving OSC 51 for use in Emacs shell (request by
Rob Myoff <mayoff@dqd.com>).
- correct a missing backslash in xterm-vt220 termcap.
- cleanup remaining quoted includes, preferring bracketed form.
- minor configure-script macro updates from tin and vile.
- add configure-script option for using utempter library, adapted
from Redhat 6.1 patch for XFree86 3.3.5
- resync with XFree86 3.9.17a:
- correction to QNX support (Frank Guangxin Liu)
- some cosmetic changes that did not correct any reported problems.
- move the suggested wheel-mouse button translations into charproc.c
to simplify customization. Correct some minor logic errors in the
support for buttons 4 and 5, used for wheel mice (reported by
Bram Moolenaar).
- implement metaSendsEscape resource, with corresponding
control sequence and menu entry. Like eightBitInput, this
causes xterm to send ESC prefixing the given key, but applies to
all keys and is independent of the 8-bit/7-bit terminal setting.
(requests by Alexander V Lukyanov and Marc Feeley).
- correct potential indexing with negative subscript in udk_lookup(),
(reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>).
- modify configure script that sets TERMINFO_DIR to use ${prefix}
rather than /usr if the --prefix option was specified (request by
Zdenek Sekera <zs@sgi.com>).
- modify checks for repeat-character control sequence to test the
character class against xterm's state table, rather than the
isprint() macro (patch by Alexander V Lukyanov).
- change several functions to macros to improve speed
- two corrections to simulation of bold font via overstriking:
- use clipping to avoid leaving trash at end of the text, and
- add brackets so wide-character logic does not fall-through
into the overstriking logic (reported by
Marc Feeley <feeley@IRO.UMontreal.CA>)
- add several entries to termcap file to make it have the same set
of aliases as the terminfo file.
- scale the color values used for xterm-256color terminfo entry to
0..1000, as expected by ncurses.
- change xterm-r6 terminfo definitions for F1-F4 to match program.
- Add QNX/Neutrino support (Frank Guangxin Liu
<frank@ctcqnx4.ctc.cummins.com>)
- refine the change to
SGR_Background() in patch #119,
by not flushing the pending scrolling operation if the background
color is not actually changing. This combination occurs when using
color-ls to display a long listing, since each line ends with an SGR0
which affects only the foreground color. The unnecessary flushing
made it noticeably slower (reported by D Roland Walker
<walker@pobox.com>).
- remove obsolete documentation about modifiers which can be returned
in mouse tracking mode, and modify logic to ignore modifiers other
than the existing ones, e.g., NumLock (prompted by discussions with
Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>).
- use free bit from obsolete shift-modifier coding of mouse tracking
button events to encode buttons 4 and 5, e.g., for a wheel mouse
(requests by Brad Pepers and Bram Moolenaar).
- correct a place where the ptyInitialErase logic did not set the
backarrowKey state, and modify it further to use tgetstr() rather
than parse the termcap data returned from tgetent() so the
ptyInitialErase logic will work when xterm is linked with a terminfo
library (based on a patch by Dr Werner Fink <werner@suse.de>).
- fix definition of HAVE_UTMP_UT_HOST for ISC configuration (patch by
<michael.rohleder@stadt-frankfurt.de>)
- improve configure script's utmp tests (based on reports by Greg
Smith for os390, and David Ellement for HPUX).
- modify sinstall.sh to use uid=0 rather than 'root' to determine if
the installer is privileged. This is needed on some systems since
more than one account may be privileged (report by Greg Smith).
- add an application resource,
messages (and a
corresponding -/+mesg option) which controls the initial permission
on the terminal: if messages is set to true (the default), behavior
is as without the patch; if it is set to false (as per -mesg), the
terminal is opened in mode 0600, thus producing the effect of the
mesg n command. This is useful for users who want to
redirect all their messages to one particular xterm: it is more
pleasant to do this with xterm resources than with explicit calls to
the mesg program (patch, description by David Madore
<david.madore@ens.fr>).
- add responses (DA and DSR) for DEC locator mode
- add coding for ANSI color to DA d DSR) fkeyboard mode.
This makes the terminfo kdch1 capability independent of the
coding of the backarrow key, which sends either backspace (8)
or DEL (127). The reason for doing this (compatibility with
the screen program) outweighs the choice of DEL (127)
which was used in X11R5/X11R6 xterms. The screen
program translates whatever matches kdch1 into <escape>[3~,
even if it happens to be the stty erase character.
- add encoding for control/?, to work around xmodmap or key
translations which may confuse backspace and delete. A control/?
will send DEL (127), and a control/H will of course send backspace
(8).
- add encoding for kcbt to <escape>[Z (fixes Debian #54840).
- minor correction to logic that encodes Sun and DEC function keys
to avoid sending an escape sequence if the key symbol is not found
in xterm's lookup table.
- simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern
is more likely to be implemented when imake configures xterm
(fixes Debian #55105).
- change manpage to make it clearer what codes are sent by the
backarrow key.
- add a note reserving OSC 51 for use in Emacs shell (request by
Rob Myoff <mayoff@dqd.com>).
- correct a missing backslash in xterm-vt220 termcap.
- cleanup remaining quoted includes, preferring bracketed form.
- minor configure-script macro updates from tin and vile.
- add configure-script option for using utempter library, adapted
from Redhat 6.1 patch for XFree86 3.3.5
- resync with XFree86 3.9.17a:
- correction to QNX support (Frank Guangxin Liu)
- some cosmetic changes that did not correct any reported problems.
- move the suggested wheel-mouse button translations into charproc.c
to simplify customization. Correct some minor logic errors in the
support for buttons 4 and 5, used for wheel mice (reported by
Bram Moolenaar).
- implement metaSendsEscape resource, with corresponding
control sequence and menu entry. Like eightBitInput, this
causes xterm to send ESC prefixing the given key, but applies to
all keys and is independent of the 8-bit/7-bit terminal setting.
(requests by Alexander V Lukyanov and Marc Feeley).
- correct potential indexing with negative subscript in udk_lookup(),
(reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>).
- modify configure script that sets TERMINFO_DIR to use ${prefix}
rather than /usr if the --prefix option was specified (request by
Zdenek Sekera <zs@sgi.com>).
- modify checks for repeat-character control sequence to test the
character class against xterm's state table, rather than the
isprint() macro (patch by Alexander V Lukyanov).
- change several functions to macros to improve speed
- two corrections to simulation of bold font via overstriking:
- use clipping to avoid leaving trash at end of the text, and
- add brackets so wide-character logic does not fall-through
into the overstriking logic (reported by
Marc Feeley <feeley@IRO.UMontreal.CA>)
- add several entries to termcap file to make it have the same set
of aliases as the terminfo file.
- scale the color values used for xterm-256color terminfo entry to
0..1000, as expected by ncurses.
- change xterm-r6 terminfo definitions for F1-F4 to match program.
- Add QNX/Neutrino support (Frank Guangxin Liu
<frank@ctcqnx4.ctc.cummins.com>)
- refine the change to
SGR_Background() in patch #119,
by not flushing the pending scrolling operation if the background
color is not actually changing. This combination occurs when using
color-ls to display a long listing, since each line ends with an SGR0
which affects only the foreground color. The unnecessary flushing
made it noticeably slower (reported by D Roland Walker
<walker@pobox.com>).
- remove obsolete documentation about modifiers which can be returned
in mouse tracking mode, and modify logic to ignore modifiers other
than the existing ones, e.g., NumLock (prompted by discussions with
Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>).
- use free bit from obsolete shift-modifier coding of mouse tracking
button events to encode buttons 4 and 5, e.g., for a wheel mouse
(requests by Brad Pepers and Bram Moolenaar).
- correct a place where the ptyInitialErase logic did not set the
backarrowKey state, and modify it further to use tgetstr() rather
than parse the termcap data returned from tgetent() so the
ptyInitialErase logic will work when xterm is linked with a terminfo
library (based on a patch by Dr Werner Fink <werner@suse.de>).
- fix definition of HAVE_UTMP_UT_HOST for ISC configuration (patch by
<michael.rohleder@stadt-frankfurt.de>)
- improve configure script's utmp tests (based on reports by Greg
Smith for os390, and David Ellement for HPUX).
- modify sinstall.sh to use uid=0 rather than 'root' to determine if
the installer is privileged. This is needed on some systems since
more than one account may be privileged (report by Greg Smith).
- add an application resource,
messages (and a
corresponding -/+mesg option) which controls the initial permission
on the terminal: if messages is set to true (the default), behavior
is as without the patch; if it is set to false (as per -mesg), the
terminal is opened in mode 0600, thus producing the effect of the
mesg n command. This is useful for users who want to
redirect all their messages to one particular xterm: it is more
pleasant to do this with xterm resources than with explicit calls to
the mesg program (patch, description by David Madore
<david.madore@ens.fr>).
- add responses (DA and DSR) for DEC locator mode
- add coding for ANSI color to DA d DSR) fkeyboard mode.
This makes the terminfo kdch1 capability independent of the
coding of the backarrow key, which sends either backspace (8)
or DEL (127). The reason for doing this (compatibility with
the screen program) outweighs the choice of DEL (127)
which was used in X11R5/X11R6 xterms. The screen
program translates whatever matches kdch1 into <escape>[3~,
even if it happens to be the stty erase character.
- add encoding for control/?, to work around xmodmap or key
translations which may confuse backspace and delete. A control/?
will send DEL (127), and a control/H will of course send backspace
(8).
- add encoding for kcbt to <escape>[Z (fixes Debian #54840).
- minor correction to logic that encodes Sun and DEC function keys
to avoid sending an escape sequence if the key symbol is not found
in xterm's lookup table.
- simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern
is more likely to be implemented when imake configures xterm
(fixes Debian #55105).
- change manpage to make it clearer what codes are sent by the
backarrow key.
- add a note reserving OSC 51 for use in Emacs shell (request by
Rob Myoff <mayoff@dqd.com>).
- correct a missing backslash in xterm-vt220 termcap.
- cleanup remaining quoted includes, preferring bracketed form.
- minor configure-script macro updates from tin and vile.
- add configure-script option for using utempter library, adapted
from Redhat 6.1 patch for XFree86 3.3.5
- resync with XFree86 3.9.17a:
- correction to QNX support (Frank Guangxin Liu)
- some cosmetic changes that did not correct any reported problems.
- move the suggested wheel-mouse button translations into charproc.c
to simplify customization. Correct some minor logic errors in the
support for buttons 4 and 5, used for wheel mice (reported by
Bram Moolenaar).
- implement metaSendsEscape resource, with corresponding
control sequence and menu entry. Like eightBitInput, this
causes xterm to send ESC prefixing the given key, but applies to
all keys and is independent of the 8-bit/7-bit terminal setting.
(requests by Alexander V Lukyanov and Marc Feeley).
- correct potential indexing with negative subscript in udk_lookup(),
(reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>).
- modify configure script that sets TERMINFO_DIR to use ${prefix}
rather than /usr if the --prefix option was specified (request by
Zdenek Sekera <zs@sgi.com>).
- modify checks for repeat-character control sequence to test the
character class against xterm's state table, rather than the
isprint() macro (patch by Alexander V Lukyanov).
- change several functions to macros to improve speed
- two corrections to simulation of bold font via overstriking:
- use clipping to avoid leaving trash at end of the text, and
- add brackets so wide-character logic does not fall-through
into the overstriking logic (reported by
Marc Feeley <feeley@IRO.UMontreal.CA>)
- add several entries to termcap file to make it have the same set
of aliases as the terminfo file.
- scale the color values used for xterm-256color terminfo entry to
0..1000, as expected by ncurses.
- change xterm-r6 terminfo definitions for F1-F4 to match program.
- Add QNX/Neutrino support (Frank Guangxin Liu
<frank@ctcqnx4.ctc.cummins.com>)
- refine the change to
SGR_Background() in patch #119,
by not flushing the pending scrolling operation if the background
color is not actually changing. This combination occurs when using
color-ls to display a long listing, since each line ends with an SGR0
which affects only the foreground color. The unnecessary flushing
made it noticeably slower (reported by D Roland Walker
<walker@pobox.com>).
- remove obsolete documentation about modifiers which can be returned
in mouse tracking mode, and modify logic to ignore modifiers other
than the existing ones, e.g., NumLock (prompted by discussions with
Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>).
- use free bit from obsolete shift-modifier coding of mouse tracking
button events to encode buttons 4 and 5, e.g., for a wheel mouse
(requests by Brad Pepers and Bram Moolenaar).
- correct a place where the ptyInitialErase logic did not set the
backarrowKey state, and modify it further to use tgetstr() rather
than parse the termcap data returned from tgetent() so the
ptyInitialErase logic will work when xterm is linked with a terminfo
library (based on a patch by Dr Werner Fink <werner@suse.de>).
- fix definition of HAVE_UTMP_UT_HOST for ISC configuration (patch by
<michael.rohleder@stadt-frankfurt.de>)
- improve configure script's utmp tests (based on reports by Greg
Smith for os390, and David Ellement for HPUX).
- modify sinstall.sh to use uid=0 rather than 'root' to determine if
the installer is privileged. This is needed on some systems since
more than one account may be privileged (report by Greg Smith).
- add an application resource,
messages (and a
corresponding -/+mesg option) which controls the initial permission
on the terminal: if messages is set to true (the default), behavior
is as without the patch; if it is set to false (as per -mesg), the
terminal is opened in mode 0600, thus producing the effect of the
mesg n command. This is useful for users who want to
redirect all their messages to one particular xterm: it is more
pleasant to do this with xterm resources than with explicit calls to
the mesg program (patch, description by David Madore
<david.madore@ens.fr>).
- add responses (DA and DSR) for DEC locator mode
- add coding for ANSI color to DA d DSR) fkeyboard mode.
This makes the terminfo kdch1 capability independent of the
coding of the backarrow key, which sends either backspace (8)
or DEL (127). The reason for doing this (compatibility with
the screen program) outweighs the choice of DEL (127)
which was used in X11R5/X11R6 xterms. The screen
program translates whatever matches kdch1 into <escape>[3~,
even if it happens to be the stty erase character.
- add encoding for control/?, to work around xmodmap or key
translations which may confuse backspace and delete. A control/?
will send DEL (127), and a control/H will of course send backspace
(8).
- add encoding for kcbt to <escape>[Z (fixes Debian #54840).
- minor correction to logic that encodes Sun and DEC function keys
to avoid sending an escape sequence if the key symbol is not found
in xterm's lookup table.
- simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern
is more likely to be implemented when imake configures xterm
(fixes Debian #55105).
- change manpage to make it clearer what codes are sent by the
backarrow key.
- add a note reserving OSC 51 for use in Emacs shell (request by
Rob Myoff <mayoff@dqd.com>).
- correct a missing backslash in xterm-vt220 termcap.
- cleanup remaining quoted includes, preferring bracketed form.
- minor configure-script macro updates from tin and vile.
- add configure-script option for using utempter library, adapted
from Redhat 6.1 patch for XFree86 3.3.5
- resync with XFree86 3.9.17a:
- correction to QNX support (Frank Guangxin Liu)
- some cosmetic changes that did not correct any reported problems.
- move the suggested wheel-mouse button translations into charproc.c
to simplify customization. Correct some minor logic errors in the
support for buttons 4 and 5, used for wheel mice (reported by
Bram Moolenaar).
- implement metaSendsEscape resource, with corresponding
control sequence and menu entry. Like eightBitInput, this
causes xterm to send ESC prefixing the given key, but applies to
all keys and is independent of the 8-bit/7-bit terminal setting.
(requests by Alexander V Lukyanov and Marc Feeley).
- correct potential indexing with negative subscript in udk_lookup(),
(reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>).
- modify configure script that sets TERMINFO_DIR to use ${prefix}
rather than /usr if the --prefix option was specified (request by
Zdenek Sekera <zs@sgi.com>).
- modify checks for repeat-character control sequence to test the
character class against xterm's state table, rather than the
isprint() macro (patch by Alexander V Lukyanov).
- change several functions to macros to improve speed
- two corrections to simulation of bold font via overstriking:
- use clipping to avoid leaving trash at end of the text, and
- add brackets so wide-character logic does not fall-through
into the overstriking logic (reported by
Marc Feeley <feeley@IRO.UMontreal.CA>)
- add several entries to termcap file to make it have the same set
of aliases as the terminfo file.
- scale the color values used for xterm-256color terminfo entry to
0..1000, as expected by ncurses.
- change xterm-r6 terminfo definitions for F1-F4 to match program.
- Add QNX/Neutrino support (Frank Guangxin Liu
<frank@ctcqnx4.ctc.cummins.com>)
- refine the change to
SGR_Background() in patch #119,
by not flushing the pending scrolling operation if the background
color is not actually changing. This combination occurs when using
color-ls to display a long listing, since each line ends with an SGR0
which affects only the foreground color. The unnecessary flushing
made it noticeably slower (reported by D Roland Walker
<walker@pobox.com>).
- remove obsolete documentation about modifiers which can be returned
in mouse tracking mode, and modify logic to ignore modifiers other
than the existing ones, e.g., NumLock (prompted by discussions with
Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>).
- use free bit from obsolete shift-modifier coding of mouse tracking
button events to encode buttons 4 and 5, e.g., for a wheel mouse
(requests by Brad Pepers and Bram Moolenaar).
- correct a place where the ptyInitialErase logic did not set the
backarrowKey state, and modify it further to use tgetstr() rather
than parse the termcap data returned from tgetent() so the
ptyInitialErase logic will work when xterm is linked with a terminfo
library (based on a patch by Dr Werner Fink <werner@suse.de>).
- fix definition of HAVE_UTMP_UT_HOST for ISC configuration (patch by
<michael.rohleder@stadt-frankfurt.de>)
- improve configure script's utmp tests (based on reports by Greg
Smith for os390, and David Ellement for HPUX).
- modify sinstall.sh to use uid=0 rather than 'root' to determine if
the installer is privileged. This is needed on some systems since
more than one account may be privileged (report by Greg Smith).
- add an application resource,
messages (and a
corresponding -/+mesg option) which controls the initial permission
on the terminal: if messages is set to true (the default), behavior
is as without the patch; if it is set to false (as per -mesg), the
terminal is opened in mode 0600, thus producing the effect of the
mesg n command. This is useful for users who want to
redirect all their messages to one particular xterm: it is more
pleasant to do this with xterm resources than with explicit calls to
the mesg program (patch, description by David Madore
<david.madore@ens.fr>).
- add responses (DA and DSR) for DEC locator mode
- add coding for ANSI color to DA d DSR) fkeyboard mode.
This makes the terminfo kdch1 capability independent of the
coding of the backarrow key, which sends either backspace (8)
or DEL (127). The reason for doing this (compatibility with
the screen program) outweighs the choice of DEL (127)
which was used in X11R5/X11R6 xterms. The screen
program translates whatever matches kdch1 into <escape>[3~,
even if it happens to be the stty erase character.
- add encoding for control/?, to work around xmodmap or key
translations which may confuse backspace and delete. A control/?
will send DEL (127), and a control/H will of course send backspace
(8).
- add encoding for kcbt to <escape>[Z (fixes Debian #54840).
- minor correction to logic that encodes Sun and DEC function keys
to avoid sending an escape sequence if the key symbol is not found
in xterm's lookup table.
- simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern
is more likely to be implemented when imake configures xterm
(fixes Debian #55105).
- change manpage to make it clearer what codes are sent by the
backarrow key.
- add a note reserving OSC 51 for use in Emacs shell (request by
Rob Myoff <mayoff@dqd.com>).
- correct a missing backslash in xterm-vt220 termcap.
- cleanup remaining quoted includes, preferring bracketed form.
- minor configure-script macro updates from tin and vile.
- add configure-script option for using utempter library, adapted
from Redhat 6.1 patch for XFree86 3.3.5
- resync with XFree86 3.9.17a:
- correction to QNX support (Frank Guangxin Liu)
- some cosmetic changes that did not correct any reported problems.
- move the suggested wheel-mouse button translations into charproc.c
to simplify customization. Correct some minor logic errors in the
support for buttons 4 and 5, used for wheel mice (reported by
Bram Moolenaar).
- implement metaSendsEscape resource, with corresponding
control sequence and menu entry. Like eightBitInput, this
causes xterm to send ESC prefixing the given key, but applies to
all keys and is independent of the 8-bit/7-bit terminal setting.
(requests by Alexander V Lukyanov and Marc Feeley).
- correct potential indexing with negative subscript in udk_lookup(),
(reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>).
- modify configure script that sets TERMINFO_DIR to use ${prefix}
rather than /usr if the --prefix option was specified (request by
Zdenek Sekera <zs@sgi.com>).
- modify checks for repeat-character control sequence to test the
character class against xterm's state table, rather than the
isprint() macro (patch by Alexander V Lukyanov).
- change several functions to macros to improve speed
- two corrections to simulation of bold font via overstriking:
- use clipping to avoid leaving trash at end of the text, and
- add brackets so wide-character logic does not fall-through
into the overstriking logic (reported by
Marc Feeley <feeley@IRO.UMontreal.CA>)
- add several entries to termcap file to make it have the same set
of aliases as the terminfo file.
- scale the color values used for xterm-256color terminfo entry to
0..1000, as expected by ncurses.
- change xterm-r6 terminfo definitions for F1-F4 to match program.
- Add QNX/Neutrino support (Frank Guangxin Liu
<frank@ctcqnx4.ctc.cummins.com>)
- refine the change to
SGR_Background() in patch #119,
by not flushing the pending scrolling operation if the background
color is not actually changing. This combination occurs when using
color-ls to display a long listing, since each line ends with an SGR0
which affects only the foreground color. The unnecessary flushing
made it noticeably slower (reported by D Roland Walker
<walker@pobox.com>).
- remove obsolete documentation about modifiers which can be returned
in mouse tracking mode, and modify logic to ignore modifiers other
than the existing ones, e.g., NumLock (prompted by discussions with
Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>).
- use free bit from obsolete shift-modifier coding of mouse tracking
button events to encode buttons 4 and 5, e.g., for a wheel mouse
(requests by Brad Pepers and Bram Moolenaar).
- correct a place where the ptyInitialErase logic did not set the
backarrowKey state, and modify it further to use tgetstr() rather
than parse the termcap data returned from tgetent() so the
ptyInitialErase logic will work when xterm is linked with a terminfo
library (based on a patch by Dr Werner Fink <werner@suse.de>).
- fix definition of HAVE_UTMP_UT_HOST for ISC configuration (patch by
<michael.rohleder@stadt-frankfurt.de>)
- improve configure script's utmp tests (based on reports by Greg
Smith for os390, and David Ellement for HPUX).
- modify sinstall.sh to use uid=0 rather than 'root' to determine if
the installer is privileged. This is needed on some systems since
more than one account may be privileged (report by Greg Smith).
- add an application resource,
messages (and a
corresponding -/+mesg option) which controls the initial permission
on the terminal: if messages is set to true (the default), behavior
is as without the patch; if it is set to false (as per -mesg), the
terminal is opened in mode 0600, thus producing the effect of the
mesg n command. This is useful for users who want to
redirect all their messages to one particular xterm: it is more
pleasant to do this with xterm resources than with explicit calls to
the mesg program (patch, description by David Madore
<david.madore@ens.fr>).
- add responses (DA and DSR) for DEC locator mode
- add coding for ANSI color to DA d DSR) fkeyboard mode.
This makes the terminfo kdch1 capability independent of the
coding of the backarrow key, which sends either backspace (8)
or DEL (127). The reason for doing this (compatibility with
the screen program) outweighs the choice of DEL (127)
which was used in X11R5/X11R6 xterms. The screen
program translates whatever matches kdch1 into <escape>[3~,
even if it happens to be the stty erase character.
- add encoding for control/?, to work around xmodmap or key
translations which may confuse backspace and delete. A control/?
will send DEL (127), and a control/H will of course send backspace
(8).
- add encoding for kcbt to <escape>[Z (fixes Debian #54840).
- minor correction to logic that encodes Sun and DEC function keys
to avoid sending an escape sequence if the key symbol is not found
in xterm's lookup table.
- simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern
is more likely to be implemented when imake configures xterm
(fixes Debian #55105).
- change manpage to make it clearer what codes are sent by the
backarrow key.
- add a note reserving OSC 51 for use in Emacs shell (request by
Rob Myoff <mayoff@dqd.com>).
- correct a missing backslash in xterm-vt220 termcap.
- cleanup remaining quoted includes, preferring bracketed form.
- minor configure-script macro updates from tin and vile.
- add configure-script option for using utempter library, adapted
from Redhat 6.1 patch for XFree86 3.3.5
- resync with XFree86 3.9.17a:
- correction to QNX support (Frank Guangxin Liu)
- some cosmetic changes that did not correct any reported problems.
- move the suggested wheel-mouse button translations into charproc.c
to simplify customization. Correct some minor logic errors in the
support for buttons 4 and 5, used for wheel mice (reported by
Bram Moolenaar).
- implement metaSendsEscape resource, with corresponding
control sequence and menu entry. Like eightBitInput, this
causes xterm to send ESC prefixing the given key, but applies to
all keys and is independent of the 8-bit/7-bit terminal setting.
(requests by Alexander V Lukyanov and Marc Feeley).
- correct potential indexing with negative subscript in udk_lookup(),
(reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>).
- modify configure script that sets TERMINFO_DIR to use ${prefix}
rather than /usr if the --prefix option was specified (request by
Zdenek Sekera <zs@sgi.com>).
- modify checks for repeat-character control sequence to test the
character class against xterm's state table, rather than the
isprint() macro (patch by Alexander V Lukyanov).
- change several functions to macros to improve speed
- two corrections to simulation of bold font via overstriking:
- use clipping to avoid leaving trash at end of the text, and
- add brackets so wide-character logic does not fall-through
into the overstriking logic (reported by
Marc Feeley <feeley@IRO.UMontreal.CA>)
- add several entries to termcap file to make it have the same set
of aliases as the terminfo file.
- scale the color values used for xterm-256color terminfo entry to
0..1000, as expected by ncurses.
- change xterm-r6 terminfo definitions for F1-F4 to match program.
- Add QNX/Neutrino support (Frank Guangxin Liu
<frank@ctcqnx4.ctc.cummins.com>)
- refine the change to
SGR_Background() in patch #119,
by not flushing the pending scrolling operation if the background
color is not actually changing. This combination occurs when using
color-ls to display a long listing, since each line ends with an SGR0
which affects only the foreground color. The unnecessary flushing
made it noticeably slower (reported by D Roland Walker
<walker@pobox.com>).
- remove obsolete documentation about modifiers which can be returned
in mouse tracking mode, and modify logic to ignore modifiers other
than the existing ones, e.g., NumLock (prompted by discussions with
Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>).
- use free bit from obsolete shift-modifier coding of mouse tracking
button events to encode buttons 4 and 5, e.g., for a wheel mouse
(requests by Brad Pepers and Bram Moolenaar).
- correct a place where the ptyInitialErase logic did not set the
backarrowKey state, and modify it further to use tgetstr() rather
than parse the termcap data returned from tgetent() so the
ptyInitialErase logic will work when xterm is linked with a terminfo
library (based on a patch by Dr Werner Fink <werner@suse.de>).
- fix definition of HAVE_UTMP_UT_HOST for ISC configuration (patch by
<michael.rohleder@stadt-frankfurt.de>)
- improve configure script's utmp tests (based on reports by Greg
Smith for os390, and David Ellement for HPUX).
- modify sinstall.sh to use uid=0 rather than 'root' to determine if
the installer is privileged. This is needed on some systems since
more than one account may be privileged (report by Greg Smith).
- add an application resource,
messages (and a
corresponding -/+mesg option) which controls the initial permission
on the terminal: if messages is set to true (the default), behavior
is as without the patch; if it is set to false (as per -mesg), the
terminal is opened in mode 0600, thus producing the effect of the
mesg n command. This is useful for users who want to
redirect all their messages to one particular xterm: it is more
pleasant to do this with xterm resources than with explicit calls to
the mesg program (patch, description by David Madore
<david.madore@ens.fr>).
- add responses (DA and DSR) for DEC locator mode
- add coding for ANSI color to DA d DSR) fkeyboard mode.
This makes the terminfo kdch1 capability independent of the
coding of the backarrow key, which sends either backspace (8)
or DEL (127). The reason for doing this (compatibility with
the screen program) outweighs the choice of DEL (127)
which was used in X11R5/X11R6 xterms. The screen
program translates whatever matches kdch1 into <escape>[3~,
even if it happens to be the stty erase character.
- add encoding for control/?, to work around xmodmap or key
translations which may confuse backspace and delete. A control/?
will send DEL (127), and a control/H will of course send backspace
(8).
- add encoding for kcbt to <escape>[Z (fixes Debian #54840).
- minor correction to logic that encodes Sun and DEC function keys
to avoid sending an escape sequence if the key symbol is not found
in xterm's lookup table.
- simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern
is more likely to be implemented when imake configures xterm
(fixes Debian #55105).
- change manpage to make it clearer what codes are sent by the
backarrow key.
- add a note reserving OSC 51 for use in Emacs shell (request by
Rob Myoff <mayoff@dqd.com>).
- correct a missing backslash in xterm-vt220 termcap.
- cleanup remaining quoted includes, preferring bracketed form.
- minor configure-script macro updates from tin and vile.
- add configure-script option for using utempter library, adapted
from Redhat 6.1 patch for XFree86 3.3.5
- resync with XFree86 3.9.17a:
- correction to QNX support (Frank Guangxin Liu)
- some cosmetic changes that did not correct any reported problems.
- move the suggested wheel-mouse button translations into charproc.c
to simplify customization. Correct some minor logic errors in the
support for buttons 4 and 5, used for wheel mice (reported by
Bram Moolenaar).
- implement metaSendsEscape resource, with corresponding
control sequence and menu entry. Like eightBitInput, this
causes xterm to send ESC prefixing the given key, but applies to
all keys and is independent of the 8-bit/7-bit terminal setting.
(requests by Alexander V Lukyanov and Marc Feeley).
- correct potential indexing with negative subscript in udk_lookup(),
(reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>).
- modify configure script that sets TERMINFO_DIR to use ${prefix}
rather than /usr if the --prefix option was specified (request by
Zdenek Sekera <zs@sgi.com>).
- modify checks for repeat-character control sequence to test the
character class against xterm's state table, rather than the
isprint() macro (patch by Alexander V Lukyanov).
- change several functions to macros to improve speed
- two corrections to simulation of bold font via overstriking:
- use clipping to avoid leaving trash at end of the text, and
- add brackets so wide-character logic does not fall-through
into the overstriking logic (reported by
Marc Feeley <feeley@IRO.UMontreal.CA>)
- add several entries to termcap file to make it have the same set
of aliases as the terminfo file.
- scale the color values used for xterm-256color terminfo entry to
0..1000, as expected by ncurses.
- change xterm-r6 terminfo definitions for F1-F4 to match program.
- Add QNX/Neutrino support (Frank Guangxin Liu
<frank@ctcqnx4.ctc.cummins.com>)
- refine the change to
SGR_Background() in patch #119,
by not flushing the pending scrolling operation if the background
color is not actually changing. This combination occurs when using
color-ls to display a long listing, since each line ends with an SGR0
which affects only the foreground color. The unnecessary flushing
made it noticeably slower (reported by D Roland Walker
<walker@pobox.com>).
- remove obsolete documentation about modifiers which can be returned
in mouse tracking mode, and modify logic to ignore modifiers other
than the existing ones, e.g., NumLock (prompted by discussions with
Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>).
- use free bit from obsolete shift-modifier coding of mouse tracking
button events to encode buttons 4 and 5, e.g., for a wheel mouse
(requests by Brad Pepers and Bram Moolenaar).
- correct a place where the ptyInitialErase logic did not set the
backarrowKey state, and modify it further to use tgetstr() rather
than parse the termcap data returned from tgetent() so the
ptyInitialErase logic will work when xterm is linked with a terminfo
library (based on a patch by Dr Werner Fink <werner@suse.de>).
- fix definition of HAVE_UTMP_UT_HOST for ISC configuration (patch by
<michael.rohleder@stadt-frankfurt.de>)
- improve configure script's utmp tests (based on reports by Greg
Smith for os390, and David Ellement for HPUX).
- modify sinstall.sh to use uid=0 rather than 'root' to determine if
the installer is privileged. This is needed on some systems since
more than one account may be privileged (report by Greg Smith).
- add an application resource,
messages (and a
corresponding -/+mesg option) which controls the initial permission
on the terminal: if messages is set to true (the default), behavior
is as without the patch; if it is set to false (as per -mesg), the
terminal is opened in mode 0600, thus producing the effect of the
mesg n command. This is useful for users who want to
redirect all their messages to one particular xterm: it is more
pleasant to do this with xterm resources than with explicit calls to
the mesg program (patch, description by David Madore
<david.madore@ens.fr>).
- add responses (DA and DSR) for DEC locator mode
- add coding for ANSI color to DA d DSR) fkeyboard mode.
This makes the terminfo kdch1 capability independent of the
coding of the backarrow key, which sends either backspace (8)
or DEL (127). The reason for doing this (compatibility with
the screen program) outweighs the choice of DEL (127)
which was used in X11R5/X11R6 xterms. The screen
program translates whatever matches kdch1 into <escape>[3~,
even if it happens to be the stty erase character.
- add encoding for control/?, to work around xmodmap or key
translations which may confuse backspace and delete. A control/?
will send DEL (127), and a control/H will of course send backspace
(8).
- add encoding for kcbt to <escape>[Z (fixes Debian #54840).
- minor correction to logic that encodes Sun and DEC function keys
to avoid sending an escape sequence if the key symbol is not found
in xterm's lookup table.
- simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern
is more likely to be implemented when imake configures xterm
(fixes Debian #55105).
- change manpage to make it clearer what codes are sent by the
backarrow key.
- add a note reserving OSC 51 for use in Emacs shell (request by
Rob Myoff <mayoff@dqd.com>).
- correct a missing backslash in xterm-vt220 termcap.
- cleanup remaining quoted includes, preferring bracketed form.
- minor configure-script macro updates from tin and vile.
- add configure-script option for using utempter library, adapted
from Redhat 6.1 patch for XFree86 3.3.5
- resync with XFree86 3.9.17a:
- correction to QNX support (Frank Guangxin Liu)
- some cosmetic changes that did not correct any reported problems.
- move the suggested wheel-mouse button translations into charproc.c
to simplify customization. Correct some minor logic errors in the
support for buttons 4 and 5, used for wheel mice (reported by
Bram Moolenaar).
- implement metaSendsEscape resource, with corresponding
control sequence and menu entry. Like eightBitInput, this
causes xterm to send ESC prefixing the given key, but applies to
all keys and is independent of the 8-bit/7-bit terminal setting.
(requests by Alexander V Lukyanov and Marc Feeley).
- correct potential indexing with negative subscript in udk_lookup(),
(reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>).
- modify configure script that sets TERMINFO_DIR to use ${prefix}
rather than /usr if the --prefix option was specified (request by
Zdenek Sekera <zs@sgi.com>).
- modify checks for repeat-character control sequence to test the
character class against xterm's state table, rather than the
isprint() macro (patch by Alexander V Lukyanov).
- change several functions to macros to improve speed
- two corrections to simulation of bold font via overstriking:
- use clipping to avoid leaving trash at end of the text, and
- add brackets so wide-character logic does not fall-through
into the overstriking logic (reported by
Marc Feeley <feeley@IRO.UMontreal.CA>)
- add several entries to termcap file to make it have the same set
of aliases as the terminfo file.
- scale the color values used for xterm-256color terminfo entry to
0..1000, as expected by ncurses.
- change xterm-r6 terminfo definitions for F1-F4 to match program.
- Add QNX/Neutrino support (Frank Guangxin Liu
<frank@ctcqnx4.ctc.cummins.com>)
- refine the change to
SGR_Background() in patch #119,
by not flushing the pending scrolling operation if the background
color is not actually changing. This combination occurs when using
color-ls to display a long listing, since each line ends with an SGR0
which affects only the foreground color. The unnecessary flushing
made it noticeably slower (reported by D Roland Walker
<walker@pobox.com>).
- remove obsolete documentation about modifiers which can be returned
in mouse tracking mode, and modify logic to ignore modifiers other
than the existing ones, e.g., NumLock (prompted by discussions with
Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>).
- use free bit from obsolete shift-modifier coding of mouse tracking
button events to encode buttons 4 and 5, e.g., for a wheel mouse
(requests by Brad Pepers and Bram Moolenaar).
- correct a place where the ptyInitialErase logic did not set the
backarrowKey state, and modify it further to use tgetstr() rather
than parse the termcap data returned from tgetent() so the
ptyInitialErase logic will work when xterm is linked with a terminfo
library (based on a patch by Dr Werner Fink <werner@suse.de>).
- fix definition of HAVE_UTMP_UT_HOST for ISC configuration (patch by
<michael.rohleder@stadt-frankfurt.de>)
- improve configure script's utmp tests (based on reports by Greg
Smith for os390, and David Ellement for HPUX).
- modify sinstall.sh to use uid=0 rather than 'root' to determine if
the installer is privileged. This is needed on some systems since
more than one account may be privileged (report by Greg Smith).
- add an application resource,
messages (and a
corresponding -/+mesg option) which controls the initial permission
on the terminal: if messages is set to true (the default), behavior
is as without the patch; if it is set to false (as per -mesg), the
terminal is opened in mode 0600, thus producing the effect of the
mesg n command. This is useful for users who want to
redirect all their messages to one particular xterm: it is more
pleasant to do this with xterm resources than with explicit calls to
the mesg program (patch, description by David Madore
<david.madore@ens.fr>).
- add responses (DA and DSR) for DEC locator mode
- add coding for ANSI color to DA d DSR) fkeyboard mode.
This makes the terminfo kdch1 capability independent of the
coding of the backarrow key, which sends either backspace (8)
or DEL (127). The reason for doing this (compatibility with
the screen program) outweighs the choice of DEL (127)
which was used in X11R5/X11R6 xterms. The screen
program translates whatever matches kdch1 into <escape>[3~,
even if it happens to be the stty erase character.
- add encoding for control/?, to work around xmodmap or key
translations which may confuse backspace and delete. A control/?
will send DEL (127), and a control/H will of course send backspace
(8).
- add encoding for kcbt to <escape>[Z (fixes Debian #54840).
- minor correction to logic that encodes Sun and DEC function keys
to avoid sending an escape sequence if the key symbol is not found
in xterm's lookup table.
- simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern
is more likely to be implemented when imake configures xterm
(fixes Debian #55105).
- change manpage to make it clearer what codes are sent by the
backarrow key.
- add a note reserving OSC 51 for use in Emacs shell (request by
Rob Myoff <mayoff@dqd.com>).
- correct a missing backslash in xterm-vt220 termcap.
- cleanup remaining quoted includes, preferring bracketed form.
- minor configure-script macro updates from tin and vile.
- add configure-script option for using utempter library, adapted
from Redhat 6.1 patch for XFree86 3.3.5
- resync with XFree86 3.9.17a:
- correction to QNX support (Frank Guangxin Liu)
- some cosmetic changes that did not correct any reported problems.
- move the suggested wheel-mouse button translations into charproc.c
to simplify customization. Correct some minor logic errors in the
support for buttons 4 and 5, used for wheel mice (reported by
Bram Moolenaar).
- implement metaSendsEscape resource, with corresponding
control sequence and menu entry. Like eightBitInput, this
causes xterm to send ESC prefixing the given key, but applies to
all keys and is independent of the 8-bit/7-bit terminal setting.
(requests by Alexander V Lukyanov and Marc Feeley).
- correct potential indexing with negative subscript in udk_lookup(),
(reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>).
- modify configure script that sets TERMINFO_DIR to use ${prefix}
rather than /usr if the --prefix option was specified (request by
Zdenek Sekera <zs@sgi.com>).
- modify checks for repeat-character control sequence to test the
character class against xterm's state table, rather than the
isprint() macro (patch by Alexander V Lukyanov).
- change several functions to macros to improve speed
- two corrections to simulation of bold font via overstriking:
- use clipping to avoid leaving trash at end of the text, and
- add brackets so wide-character logic does not fall-through
into the overstriking logic (reported by
Marc Feeley <feeley@IRO.UMontreal.CA>)
- add several entries to termcap file to make it have the same set
of aliases as the terminfo file.
- scale the color values used for xterm-256color terminfo entry to
0..1000, as expected by ncurses.
- change xterm-r6 terminfo definitions for F1-F4 to match program.
- Add QNX/Neutrino support (Frank Guangxin Liu
<frank@ctcqnx4.ctc.cummins.com>)
- refine the change to
SGR_Background() in patch #119,
by not flushing the pending scrolling operation if the background
color is not actually changing. This combination occurs when using
color-ls to display a long listing, since each line ends with an SGR0
which affects only the foreground color. The unnecessary flushing
made it noticeably slower (reported by D Roland Walker
<walker@pobox.com>).
- remove obsolete documentation about modifiers which can be returned
in mouse tracking mode, and modify logic to ignore modifiers other
than the existing ones, e.g., NumLock (prompted by discussions with
Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>).
- use free bit from obsolete shift-modifier coding of mouse tracking
button events to encode buttons 4 and 5, e.g., for a wheel mouse
(requests by Brad Pepers and Bram Moolenaar).
- correct a place where the ptyInitialErase logic did not set the
backarrowKey state, and modify it further to use tgetstr() rather
than parse the termcap data returned from tgetent() so the
ptyInitialErase logic will work when xterm is linked with a terminfo
library (based on a patch by Dr Werner Fink <werner@suse.de>).
- fix definition of HAVE_UTMP_UT_HOST for ISC configuration (patch by
<michael.rohleder@stadt-frankfurt.de>)
- improve configure script's utmp tests (based on reports by Greg
Smith for os390, and David Ellement for HPUX).
- modify sinstall.sh to use uid=0 rather than 'root' to determine if
the installer is privileged. This is needed on some systems since
more than one account may be privileged (report by Greg Smith).
- add an application resource,
messages (and a
corresponding -/+mesg option) which controls the initial permission
on the terminal: if messages is set to true (the default), behavior
is as without the patch; if it is set to false (as per -mesg), the
terminal is opened in mode 0600, thus producing the effect of the
mesg n command. This is useful for users who want to
redirect all their messages to one particular xterm: it is more
pleasant to do this with xterm resources than with explicit calls to
the mesg program (patch, description by David Madore
<david.madore@ens.fr>).
- add responses (DA and DSR) for DEC locator mode
- add coding for ANSI color to DA d DSR) fkeyboard mode.
This makes the terminfo kdch1 capability independent of the
coding of the backarrow key, which sends either backspace (8)
or DEL (127). The reason for doing this (compatibility with
the screen program) outweighs the choice of DEL (127)
which was used in X11R5/X11R6 xterms. The screen
program translates whatever matches kdch1 into <escape>[3~,
even if it happens to be the stty erase character.
- add encoding for control/?, to work around xmodmap or key
translations which may confuse backspace and delete. A control/?
will send DEL (127), and a control/H will of course send backspace
(8).
- add encoding for kcbt to <escape>[Z (fixes Debian #54840).
- minor correction to logic that encodes Sun and DEC function keys
to avoid sending an escape sequence if the key symbol is not found
in xterm's lookup table.
- simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern
is more likely to be implemented when imake configures xterm
(fixes Debian #55105).
- change manpage to make it clearer what codes are sent by the
backarrow key.
- add a note reserving OSC 51 for use in Emacs shell (request by
Rob Myoff <mayoff@dqd.com>).
- correct a missing backslash in xterm-vt220 termcap.
- cleanup remaining quoted includes, preferring bracketed form.
- minor configure-script macro updates from tin and vile.
- add configure-script option for using utempter library, adapted
from Redhat 6.1 patch for XFree86 3.3.5
- resync with XFree86 3.9.17a:
- correction to QNX support (Frank Guangxin Liu)
- some cosmetic changes that did not correct any reported problems.
- move the suggested wheel-mouse button translations into charproc.c
to simplify customization. Correct some minor logic errors in the
support for buttons 4 and 5, used for wheel mice (reported by
Bram Moolenaar).
- implement metaSendsEscape resource, with corresponding
control sequence and menu entry. Like eightBitInput, this
causes xterm to send ESC prefixing the given key, but applies to
all keys and is independent of the 8-bit/7-bit terminal setting.
(requests by Alexander V Lukyanov and Marc Feeley).
- correct potential indexing with negative subscript in udk_lookup(),
(reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>).
- modify configure script that sets TERMINFO_DIR to use ${prefix}
rather than /usr if the --prefix option was specified (request by
Zdenek Sekera <zs@sgi.com>).
- modify checks for repeat-character control sequence to test the
character class against xterm's state table, rather than the
isprint() macro (patch by Alexander V Lukyanov).
- change several functions to macros to improve speed
- two corrections to simulation of bold font via overstriking:
- use clipping to avoid leaving trash at end of the text, and
- add brackets so wide-character logic does not fall-through
into the overstriking logic (reported by
Marc Feeley <feeley@IRO.UMontreal.CA>)
- add several entries to termcap file to make it have the same set
of aliases as the terminfo file.
- scale the color values used for xterm-256color terminfo entry to
0..1000, as expected by ncurses.
- change xterm-r6 terminfo definitions for F1-F4 to match program.
- Add QNX/Neutrino support (Frank Guangxin Liu
<frank@ctcqnx4.ctc.cummins.com>)
- refine the change to
SGR_Background() in patch #119,
by not flushing the pending scrolling operation if the background
color is not actually changing. This combination occurs when using
color-ls to display a long listing, since each line ends with an SGR0
which affects only the foreground color. The unnecessary flushing
made it noticeably slower (reported by D Roland Walker
<walker@pobox.com>).
- remove obsolete documentation about modifiers which can be returned
in mouse tracking mode, and modify logic to ignore modifiers other
than the existing ones, e.g., NumLock (prompted by discussions with
Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>).
- use free bit from obsolete shift-modifier coding of mouse tracking
button events to encode buttons 4 and 5, e.g., for a wheel mouse
(requests by Brad Pepers and Bram Moolenaar).
- correct a place where the ptyInitialErase logic did not set the
backarrowKey state, and modify it further to use tgetstr() rather
than parse the termcap data returned from tgetent() so the
ptyInitialErase logic will work when xterm is linked with a terminfo
library (based on a patch by Dr Werner Fink <werner@suse.de>).
- fix definition of HAVE_UTMP_UT_HOST for ISC configuration (patch by
<michael.rohleder@stadt-frankfurt.de>)
- improve configure script's utmp tests (based on reports by Greg
Smith for os390, and David Ellement for HPUX).
- modify sinstall.sh to use uid=0 rather than 'root' to determine if
the installer is privileged. This is needed on some systems since
more than one account may be privileged (report by Greg Smith).
- add an application resource,
messages (and a
corresponding -/+mesg option) which controls the initial permission
on the terminal: if messages is set to true (the default), behavior
is as without the patch; if it is set to false (as per -mesg), the
terminal is opened in mode 0600, thus producing the effect of the
mesg n command. This is useful for users who want to
redirect all their messages to one particular xterm: it is more
pleasant to do this with xterm resources than with explicit calls to
the mesg program (patch, description by David Madore
<david.madore@ens.fr>).
- add responses (DA and DSR) for DEC locator mode
- add coding for ANSI color to DA d DSR) fkeyboard mode.
This makes the terminfo kdch1 capability independent of the
coding of the backarrow key, which sends either backspace (8)
or DEL (127). The reason for doing this (compatibility with
the screen program) outweighs the choice of DEL (127)
which was used in X11R5/X11R6 xterms. The screen
program translates whatever matches kdch1 into <escape>[3~,
even if it happens to be the stty erase character.
- add encoding for control/?, to work around xmodmap or key
translations which may confuse backspace and delete. A control/?
will send DEL (127), and a control/H will of course send backspace
(8).
- add encoding for kcbt to <escape>[Z (fixes Debian #54840).
- minor correction to logic that encodes Sun and DEC function keys
to avoid sending an escape sequence if the key symbol is not found
in xterm's lookup table.
- simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern
is more likely to be implemented when imake configures xterm
(fixes Debian #55105).
- change manpage to make it clearer what codes are sent by the
backarrow key.
- add a note reserving OSC 51 for use in Emacs shell (request by
Rob Myoff <mayoff@dqd.com>).
- correct a missing backslash in xterm-vt220 termcap.
- cleanup remaining quoted includes, preferring bracketed form.
- minor configure-script macro updates from tin and vile.
- add configure-script option for using utempter library, adapted
from Redhat 6.1 patch for XFree86 3.3.5
- resync with XFree86 3.9.17a:
- correction to QNX support (Frank Guangxin Liu)
- some cosmetic changes that did not correct any reported problems.
- move the suggested wheel-mouse button translations into charproc.c
to simplify customization. Correct some minor logic errors in the
support for buttons 4 and 5, used for wheel mice (reported by
Bram Moolenaar).
- implement metaSendsEscape resource, with corresponding
control sequence and menu entry. Like eightBitInput, this
causes xterm to send ESC prefixing the given key, but applies to
all keys and is independent of the 8-bit/7-bit terminal setting.
(requests by Alexander V Lukyanov and Marc Feeley).
- correct potential indexing with negative subscript in udk_lookup(),
(reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>).
- modify configure script that sets TERMINFO_DIR to use ${prefix}
rather than /usr if the --prefix option was specified (request by
Zdenek Sekera <zs@sgi.com>).
- modify checks for repeat-character control sequence to test the
character class against xterm's state table, rather than the
isprint() macro (patch by Alexander V Lukyanov).
- change several functions to macros to improve speed
- two corrections to simulation of bold font via overstriking:
- use clipping to avoid leaving trash at end of the text, and
- add brackets so wide-character logic does not fall-through
into the overstriking logic (reported by
Marc Feeley <feeley@IRO.UMontreal.CA>)
- add several entries to termcap file to make it have the same set
of aliases as the terminfo file.
- scale the color values used for xterm-256color terminfo entry to
0..1000, as expected by ncurses.
- change xterm-r6 terminfo definitions for F1-F4 to match program.
- Add QNX/Neutrino support (Frank Guangxin Liu
<frank@ctcqnx4.ctc.cummins.com>)
- refine the change to
SGR_Background() in patch #119,
by not flushing the pending scrolling operation if the background
color is not actually changing. This combination occurs when using
color-ls to display a long listing, since each line ends with an SGR0
which affects only the foreground color. The unnecessary flushing
made it noticeably slower (reported by D Roland Walker
<walker@pobox.com>).
- remove obsolete documentation about modifiers which can be returned
in mouse tracking mode, and modify logic to ignore modifiers other
than the existing ones, e.g., NumLock (prompted by discussions with
Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>).
- use free bit from obsolete shift-modifier coding of mouse tracking
button events to encode buttons 4 and 5, e.g., for a wheel mouse
(requests by Brad Pepers and Bram Moolenaar).
- correct a place where the ptyInitialErase logic did not set the
backarrowKey state, and modify it further to use tgetstr() rather
than parse the termcap data returned from tgetent() so the
ptyInitialErase logic will work when xterm is linked with a terminfo
library (based on a patch by Dr Werner Fink <werner@suse.de>).
- fix definition of HAVE_UTMP_UT_HOST for ISC configuration (patch by
<michael.rohleder@stadt-frankfurt.de>)
- improve configure script's utmp tests (based on reports by Greg
Smith for os390, and David Ellement for HPUX).
- modify sinstall.sh to use uid=0 rather than 'root' to determine if
the installer is privileged. This is needed on some systems since
more than one account may be privileged (report by Greg Smith).
- add an application resource,
messages (and a
corresponding -/+mesg option) which controls the initial permission
on the terminal: if messages is set to true (the default), behavior
is as without the patch; if it is set to false (as per -mesg), the
terminal is opened in mode 0600, thus producing the effect of the
mesg n command. This is useful for users who want to
redirect all their messages to one particular xterm: it is more
pleasant to do this with xterm resources than with explicit calls to
the mesg program (patch, description by David Madore
<david.madore@ens.fr>).
- add responses (DA and DSR) for DEC locator mode
- add coding for ANSI color to DA d DSR) fkeyboard mode.
This makes the terminfo kdch1 capability independent of the
coding of the backarrow key, which sends either backspace (8)
or DEL (127). The reason for doing this (compatibility with
the screen program) outweighs the choice of DEL (127)
which was used in X11R5/X11R6 xterms. The screen
program translates whatever matches kdch1 into <escape>[3~,
even if it happens to be the stty erase character.
- add encoding for control/?, to work around xmodmap or key
translations which may confuse backspace and delete. A control/?
will send DEL (127), and a control/H will of course send backspace
(8).
- add encoding for kcbt to <escape>[Z (fixes Debian #54840).
- minor correction to logic that encodes Sun and DEC function keys
to avoid sending an escape sequence if the key symbol is not found
in xterm's lookup table.
- simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern
is more likely to be implemented when imake configures xterm
(fixes Debian #55105).
- change manpage to make it clearer what codes are sent by the
backarrow key.
- add a note reserving OSC 51 for use in Emacs shell (request by
Rob Myoff <mayoff@dqd.com>).
- correct a missing backslash in xterm-vt220 termcap.
- cleanup remaining quoted includes, preferring bracketed form.
- minor configure-script macro updates from tin and vile.
- add configure-script option for using utempter library, adapted
from Redhat 6.1 patch for XFree86 3.3.5
- resync with XFree86 3.9.17a:
- correction to QNX support (Frank Guangxin Liu)
- some cosmetic changes that did not correct any reported problems.
- move the suggested wheel-mouse button translations into charproc.c
to simplify customization. Correct some minor logic errors in the
support for buttons 4 and 5, used for wheel mice (reported by
Bram Moolenaar).
- implement metaSendsEscape resource, with corresponding
control sequence and menu entry. Like eightBitInput, this
causes xterm to send ESC prefixing the given key, but applies to
all keys and is independent of the 8-bit/7-bit terminal setting.
(requests by Alexander V Lukyanov and Marc Feeley).
- correct potential indexing with negative subscript in udk_lookup(),
(reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>).
- modify configure script that sets TERMINFO_DIR to use ${prefix}
rather than /usr if the --prefix option was specified (request by
Zdenek Sekera <zs@sgi.com>).
- modify checks for repeat-character control sequence to test the
character class against xterm's state table, rather than the
isprint() macro (patch by Alexander V Lukyanov).
- change several functions to macros to improve speed
- two corrections to simulation of bold font via overstriking:
- use clipping to avoid leaving trash at end of the text, and
- add brackets so wide-character logic does not fall-through
into the overstriking logic (reported by
Marc Feeley <feeley@IRO.UMontreal.CA>)
- add several entries to termcap file to make it have the same set
of aliases as the terminfo file.
- scale the color values used for xterm-256color terminfo entry to
0..1000, as expected by ncurses.
- change xterm-r6 terminfo definitions for F1-F4 to match program.
- Add QNX/Neutrino support (Frank Guangxin Liu
<frank@ctcqnx4.ctc.cummins.com>)
- refine the change to
SGR_Background() in patch #119,
by not flushing the pending scrolling operation if the background
color is not actually changing. This combination occurs when using
color-ls to display a long listing, since each line ends with an SGR0
which affects only the foreground color. The unnecessary flushing
made it noticeably slower (reported by D Roland Walker
<walker@pobox.com>).
- remove obsolete documentation about modifiers which can be returned
in mouse tracking mode, and modify logic to ignore modifiers other
than the existing ones, e.g., NumLock (prompted by discussions with
Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>).
- use free bit from obsolete shift-modifier coding of mouse tracking
button events to encode buttons 4 and 5, e.g., for a wheel mouse
(requests by Brad Pepers and Bram Moolenaar).
- correct a place where the ptyInitialErase logic did not set the
backarrowKey state, and modify it further to use tgetstr() rather
than parse the termcap data returned from tgetent() so the
ptyInitialErase logic will work when xterm is linked with a terminfo
library (based on a patch by Dr Werner Fink <werner@suse.de>).
- fix definition of HAVE_UTMP_UT_HOST for ISC configuration (patch by
<michael.rohleder@stadt-frankfurt.de>)
- improve configure script's utmp tests (based on reports by Greg
Smith for os390, and David Ellement for HPUX).
- modify sinstall.sh to use uid=0 rather than 'root' to determine if
the installer is privileged. This is needed on some systems since
more than one account may be privileged (report by Greg Smith).
- add an application resource,
messages (and a
corresponding -/+mesg option) which controls the initial permission
on the terminal: if messages is set to true (the default), behavior
is as without the patch; if it is set to false (as per -mesg), the
terminal is opened in mode 0600, thus producing the effect of the
mesg n command. This is useful for users who want to
redirect all their messages to one particular xterm: it is more
pleasant to do this with xterm resources than with explicit calls to
the mesg program (patch, description by David Madore
<david.madore@ens.fr>).
- add responses (DA and DSR) for DEC locator mode
- add coding for ANSI color to DA d DSR) fkeyboard mode.
This makes the terminfo kdch1 capability independent of the
coding of the backarrow key, which sends either backspace (8)
or DEL (127). The reason for doing this (compatibility with
the screen program) outweighs the choice of DEL (127)
which was used in X11R5/X11R6 xterms. The screen
program translates whatever matches kdch1 into <escape>[3~,
even if it happens to be the stty erase character.
- add encoding for control/?, to work around xmodmap or key
translations which may confuse backspace and delete. A control/?
will send DEL (127), and a control/H will of course send backspace
(8).
- add encoding for kcbt to <escape>[Z (fixes Debian #54840).
- minor correction to logic that encodes Sun and DEC function keys
to avoid sending an escape sequence if the key symbol is not found
in xterm's lookup table.
- simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern
is more likely to be implemented when imake configures xterm
(fixes Debian #55105).
- change manpage to make it clearer what codes are sent by the
backarrow key.
- add a note reserving OSC 51 for use in Emacs shell (request by
Rob Myoff <mayoff@dqd.com>).
- correct a missing backslash in xterm-vt220 termcap.
- cleanup remaining quoted includes, preferring bracketed form.
- minor configure-script macro updates from tin and vile.
- add configure-script option for using utempter library, adapted
from Redhat 6.1 patch for XFree86 3.3.5
- resync with XFree86 3.9.17a:
- correction to QNX support (Frank Guangxin Liu)
- some cosmetic changes that did not correct any reported problems.
- move the suggested wheel-mouse button translations into charproc.c
to simplify customization. Correct some minor logic errors in the
support for buttons 4 and 5, used for wheel mice (reported by
Bram Moolenaar).
- implement metaSendsEscape resource, with corresponding
control sequence and menu entry. Like eightBitInput, this
causes xterm to send ESC prefixing the given key, but applies to
all keys and is independent of the 8-bit/7-bit terminal setting.
(requests by Alexander V Lukyanov and Marc Feeley).
- correct potential indexing with negative subscript in udk_lookup(),
(reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>).
- modify configure script that sets TERMINFO_DIR to use ${prefix}
rather than /usr if the --prefix option was specified (request by
Zdenek Sekera <zs@sgi.com>).
- modify checks for repeat-character control sequence to test the
character class against xterm's state table, rather than the
isprint() macro (patch by Alexander V Lukyanov).
- change several functions to macros to improve speed
- two corrections to simulation of bold font via overstriking:
- use clipping to avoid leaving trash at end of the text, and
- add brackets so wide-character logic does not fall-through
into the overstriking logic (reported by
Marc Feeley <feeley@IRO.UMontreal.CA>)
- add several entries to termcap file to make it have the same set
of aliases as the terminfo file.
- scale the color values used for xterm-256color terminfo entry to
0..1000, as expected by ncurses.
- change xterm-r6 terminfo definitions for F1-F4 to match program.
- Add QNX/Neutrino support (Frank Guangxin Liu
<frank@ctcqnx4.ctc.cummins.com>)
- refine the change to
SGR_Background() in patch #119,
by not flushing the pending scrolling operation if the background
color is not actually changing. This combination occurs when using
color-ls to display a long listing, since each line ends with an SGR0
which affects only the foreground color. The unnecessary flushing
made it noticeably slower (reported by D Roland Walker
<walker@pobox.com>).
- remove obsolete documentation about modifiers which can be returned
in mouse tracking mode, and modify logic to ignore modifiers other
than the existing ones, e.g., NumLock (prompted by discussions with
Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>).
- use free bit from obsolete shift-modifier coding of mouse tracking
button events to encode buttons 4 and 5, e.g., for a wheel mouse
(requests by Brad Pepers and Bram Moolenaar).
- correct a place where the ptyInitialErase logic did not set the
backarrowKey state, and modify it further to use tgetstr() rather
than parse the termcap data returned from tgetent() so the
ptyInitialErase logic will work when xterm is linked with a terminfo
library (based on a patch by Dr Werner Fink <werner@suse.de>).
- fix definition of HAVE_UTMP_UT_HOST for ISC configuration (patch by
<michael.rohleder@stadt-frankfurt.de>)
- improve configure script's utmp tests (based on reports by Greg
Smith for os390, and David Ellement for HPUX).
- modify sinstall.sh to use uid=0 rather than 'root' to determine if
the installer is privileged. This is needed on some systems since
more than one account may be privileged (report by Greg Smith).
- add an application resource,
messages (and a
corresponding -/+mesg option) which controls the initial permission
on the terminal: if messages is set to true (the default), behavior
is as without the patch; if it is set to false (as per -mesg), the
terminal is opened in mode 0600, thus producing the effect of the
mesg n command. This is useful for users who want to
redirect all their messages to one particular xterm: it is more
pleasant to do this with xterm resources than with explicit calls to
the mesg program (patch, description by David Madore
<david.madore@ens.fr>).
- add responses (DA and DSR) for DEC locator mode
- add coding for ANSI color to DA d DSR) fkeyboard mode.
This makes the terminfo kdch1 capability independent of the
coding of the backarrow key, which sends either backspace (8)
or DEL (127). The reason for doing this (compatibility with
the screen program) outweighs the choice of DEL (127)
which was used in X11R5/X11R6 xterms. The screen
program translates whatever matches kdch1 into <escape>[3~,
even if it happens to be the stty erase character.
- add encoding for control/?, to work around xmodmap or key
translations which may confuse backspace and delete. A control/?
will send DEL (127), and a control/H will of course send backspace
(8).
- add encoding for kcbt to <escape>[Z (fixes Debian #54840).
- minor correction to logic that encodes Sun and DEC function keys
to avoid sending an escape sequence if the key symbol is not found
in xterm's lookup table.
- simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern
is more likely to be implemented when imake configures xterm
(fixes Debian #55105).
- change manpage to make it clearer what codes are sent by the
backarrow key.
- add a note reserving OSC 51 for use in Emacs shell (request by
Rob Myoff <mayoff@dqd.com>).
- correct a missing backslash in xterm-vt220 termcap.
- cleanup remaining quoted includes, preferring bracketed form.
- minor configure-script macro updates from tin and vile.
- add configure-script option for using utempter library, adapted
from Redhat 6.1 patch for XFree86 3.3.5
- resync with XFree86 3.9.17a:
- correction to QNX support (Frank Guangxin Liu)
- some cosmetic changes that did not correct any reported problems.
- move the suggested wheel-mouse button translations into charproc.c
to simplify customization. Correct some minor logic errors in the
support for buttons 4 and 5, used for wheel mice (reported by
Bram Moolenaar).
- implement metaSendsEscape resource, with corresponding
control sequence and menu entry. Like eightBitInput, this
causes xterm to send ESC prefixing the given key, but applies to
all keys and is independent of the 8-bit/7-bit terminal setting.
(requests by Alexander V Lukyanov and Marc Feeley).
- correct potential indexing with negative subscript in udk_lookup(),
(reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>).
- modify configure script that sets TERMINFO_DIR to use ${prefix}
rather than /usr if the --prefix option was specified (request by
Zdenek Sekera <zs@sgi.com>).
- modify checks for repeat-character control sequence to test the
character class against xterm's state table, rather than the
isprint() macro (patch by Alexander V Lukyanov).
- change several functions to macros to improve speed
- two corrections to simulation of bold font via overstriking:
- use clipping to avoid leaving trash at end of the text, and
- add brackets so wide-character logic does not fall-through
into the overstriking logic (reported by
Marc Feeley <feeley@IRO.UMontreal.CA>)
- add several entries to termcap file to make it have the same set
of aliases as the terminfo file.
- scale the color values used for xterm-256color terminfo entry to
0..1000, as expected by ncurses.
- change xterm-r6 terminfo definitions for F1-F4 to match program.
- Add QNX/Neutrino support (Frank Guangxin Liu
<frank@ctcqnx4.ctc.cummins.com>)
- refine the change to
SGR_Background() in patch #119,
by not flushing the pending scrolling operation if the background
color is not actually changing. This combination occurs when using
color-ls to display a long listing, since each line ends with an SGR0
which affects only the foreground color. The unnecessary flushing
made it noticeably slower (reported by D Roland Walker
<walker@pobox.com>).
- remove obsolete documentation about modifiers which can be returned
in mouse tracking mode, and modify logic to ignore modifiers other
than the existing ones, e.g., NumLock (prompted by discussions with
Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>).
- use free bit from obsolete shift-modifier coding of mouse tracking
button events to encode buttons 4 and 5, e.g., for a wheel mouse
(requests by Brad Pepers and Bram Moolenaar).
- correct a place where the ptyInitialErase logic did not set the
backarrowKey state, and modify it further to use tgetstr() rather
than parse the termcap data returned from tgetent() so the
ptyInitialErase logic will work when xterm is linked with a terminfo
library (based on a patch by Dr Werner Fink <werner@suse.de>).
- fix definition of HAVE_UTMP_UT_HOST for ISC configuration (patch by
<michael.rohleder@stadt-frankfurt.de>)
- improve configure script's utmp tests (based on reports by Greg
Smith for os390, and David Ellement for HPUX).
- modify sinstall.sh to use uid=0 rather than 'root' to determine if
the installer is privileged. This is needed on some systems since
more than one account may be privileged (report by Greg Smith).
- add an application resource,
messages (and a
corresponding -/+mesg option) which controls the initial permission
on the terminal: if messages is set to true (the default), behavior
is as without the patch; if it is set to false (as per -mesg), the
terminal is opened in mode 0600, thus producing the effect of the
mesg n command. This is useful for users who want to
redirect all their messages to one particular xterm: it is more
pleasant to do this with xterm resources than with explicit calls to
the mesg program (patch, description by David Madore
<david.madore@ens.fr>).
- add responses (DA and DSR) for DEC locator mode
- add coding for ANSI color to DA d DSR) fkeyboard mode.
This makes the terminfo kdch1 capability independent of the
coding of the backarrow key, which sends either backspace (8)
or DEL (127). The reason for doing this (compatibility with
the screen program) outweighs the choice of DEL (127)
which was used in X11R5/X11R6 xterms. The screen
program translates whatever matches kdch1 into <escape>[3~,
even if it happens to be the stty erase character.
- add encoding for control/?, to work around xmodmap or key
translations which may confuse backspace and delete. A control/?
will send DEL (127), and a control/H will of course send backspace
(8).
- add encoding for kcbt to <escape>[Z (fixes Debian #54840).
- minor correction to logic that encodes Sun and DEC function keys
to avoid sending an escape sequence if the key symbol is not found
in xterm's lookup table.
- simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern
is more likely to be implemented when imake configures xterm
(fixes Debian #55105).
- change manpage to make it clearer what codes are sent by the
backarrow key.
- add a note reserving OSC 51 for use in Emacs shell (request by
Rob Myoff <mayoff@dqd.com>).
- correct a missing backslash in xterm-vt220 termcap.
- cleanup remaining quoted includes, preferring bracketed form.
- minor configure-script macro updates from tin and vile.
- add configure-script option for using utempter library, adapted
from Redhat 6.1 patch for XFree86 3.3.5
- resync with XFree86 3.9.17a:
- correction to QNX support (Frank Guangxin Liu)
- some cosmetic changes that did not correct any reported problems.
- move the suggested wheel-mouse button translations into charproc.c
to simplify customization. Correct some minor logic errors in the
support for buttons 4 and 5, used for wheel mice (reported by
Bram Moolenaar).
- implement metaSendsEscape resource, with corresponding
control sequence and menu entry. Like eightBitInput, this
causes xterm to send ESC prefixing the given key, but applies to
all keys and is independent of the 8-bit/7-bit terminal setting.
(requests by Alexander V Lukyanov and Marc Feeley).
- correct potential indexing with negative subscript in udk_lookup(),
(reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>).
- modify configure script that sets TERMINFO_DIR to use ${prefix}
rather than /usr if the --prefix option was specified (request by
Zdenek Sekera <zs@sgi.com>).
- modify checks for repeat-character control sequence to test the
character class against xterm's state table, rather than the
isprint() macro (patch by Alexander V Lukyanov).
- change several functions to macros to improve speed
- two corrections to simulation of bold font via overstriking:
- use clipping to avoid leaving trash at end of the text, and
- add brackets so wide-character logic does not fall-through
into the overstriking logic (reported by
Marc Feeley <feeley@IRO.UMontreal.CA>)
- add several entries to termcap file to make it have the same set
of aliases as the terminfo file.
- scale the color values used for xterm-256color terminfo entry to
0..1000, as expected by ncurses.
- change xterm-r6 terminfo definitions for F1-F4 to match program.
- Add QNX/Neutrino support (Frank Guangxin Liu
<frank@ctcqnx4.ctc.cummins.com>)
- refine the change to
SGR_Background() in patch #119,
by not flushing the pending scrolling operation if the background
color is not actually changing. This combination occurs when using
color-ls to display a long listing, since each line ends with an SGR0
which affects only the foreground color. The unnecessary flushing
made it noticeably slower (reported by D Roland Walker
<walker@pobox.com>).
- remove obsolete documentation about modifiers which can be returned
in mouse tracking mode, and modify logic to ignore modifiers other
than the existing ones, e.g., NumLock (prompted by discussions with
Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>).
- use free bit from obsolete shift-modifier coding of mouse tracking
button events to encode buttons 4 and 5, e.g., for a wheel mouse
(requests by Brad Pepers and Bram Moolenaar).
- correct a place where the ptyInitialErase logic did not set the
backarrowKey state, and modify it further to use tgetstr() rather
than parse the termcap data returned from tgetent() so the
ptyInitialErase logic will work when xterm is linked with a terminfo
library (based on a patch by Dr Werner Fink <werner@suse.de>).
- fix definition of HAVE_UTMP_UT_HOST for ISC configuration (patch by
<michael.rohleder@stadt-frankfurt.de>)
- im