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.
\( and \) are not interpreted
correctly.
-display is given, and the connect fails for
some other reason.
$DISPLAY, check for the unset
variable and warn/exit on this condition (comments by H Merijn
Brand and Bernhard R Link).
$DISPLAY to ":0" if it is not set.
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).
bellOnReset resource to allow users to disable
bell which sounds on hard reset since patch
#183 changes to DECSCL (discussion with Danek Duvall).
$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).
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).
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).
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).
translations is not
specific to xterm (Debian #278897).
DECALN with functions for vt420 rectangles,
fixes selection for this case.
--enable-mini-luit, ifdef'd the
mini-luit feature with OPT_MINI_LUIT.
faceSize resource to use a floating-point
internal value (adapted from patch by Sam Stephenson).
__INTERIX to allow building with
Interix (Windows Services for UNIX) 3.5 using the xlibs libraries
from freedesktop.org (patch by Min Sik Kim).
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).
showBlinkAsBold resource (report by
Christoph Berg).
ut_line member (Debian #256468).
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.
gen-pc-fkeys.pl script, use that to generate
terminfo fragment corresponding to the pc-style function keys.
cursorBlink resource was set on
startup.
XTerm-col.ad (Debian #241717).
eightBitInput resource.
xterm.vt100.font and
xterm.vt100.utf8Fonts.font (Debian #254650).
backarrowKeyIsErase
and ptyInitialErase default resource values
(adapted from OpenBSD CVS).
FIONREAD ioctl() call
from long to int
(discussion on tech-x11@netbsd.org regarding LP64 by
John Heasley and Matthias Scheler).
boldFont resource, so the same
value is restored when switching with the VT Fonts menu (Debian
#256086).
XTerm.ad to set saveLines default
to 1024 (Redhat Bugzilla #127132).
dotext() to prevent infinite
loop in a corner case of UTF-8 configuration.
-into option so it
can be combined with -e (Redhat Bugzilla #124518,
report/patch by James Armstrong).
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).
allowC1Printable resource (reported by
Simon Strandgaard).
openIm resource is
false (Debian #249025).
ncv from xterm-256color terminfo
entry since it is no longer needed (report by Eli Zaretskii).
ttyModes resource,
for recent/current FreeBSD.
setutent() or getutent() (adapted from
patch by Christian Biere).
OPT_DABBREV, and
enabled via the configure script --enable-dabbrev
option.
xtermAddInput to work around core dump on
IRIX64 when initializing scrollbar translations if toolbar is
compiled-in.
__vendorversion__
where that is available, and "XTerm" otherwise.
utf8 resource in manpage
(Debian #179407).
-D options that define string values, e.g.,
for XVENDORNAME.
$PATH is set accordingly) to use the
xmkmf script within an X build tree.
#undef OPT_SESSION_MGT to xtermcfg.hin
to make the configure script's --disable-session-mgt option work.
DECSCL to a soft-reset (appears some
DEC manuals have errors).
colorBD and similar resources which normally have
no explicit color assigned.
XtDefaultForeground and
XtDefaultBackground values as the actual foreground
and background colors of the terminal rather than white and black
(Debian #241717).
PTYCHARLEN in
parsing the -S option (report by Michael B Taylor).
XtExtdefaultfont and
XtExtdefaultbackground by their more familiar
equivalents
XtDefaultFont and
XtDefaultBackground.
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.
scoFunctionKeys resource, to match manpage.
Help() to make "xterm -h" write to standard
output rather than standard error (patch by Bram Moolenaar).
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).
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).
uxterm to check for UTF-8
locale, e.g., for HPUX (patch by H Merijn Brand).
-fd option and resource
faceNameDoublesize to specify double-wide fonts with
Xft (adapted from patch by Zarick Lau).
freeBoldBox, forceBoxChars.
showMissingGlyphs to outline places on
the screen where a font lacks the corresponding glyph.
showBlinkAsBold to control whether
blinking text should be shown as bold or actual blinking text.
-wc option was not given at startup (patch by Peter
Berg Larsen).
xft-config or freetype-config
scripts when available.
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).
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).
uxterm script to interpret help and version
options so xterm does not always create a window when the user
requests this information (Debian #223926).
Imakefile to put the current directory at the
beginning of the include searchpath (David Dawes).
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).
utf8Fonts class (XFree86 Bugzilla #905).
boldMode for wide-character logic in
drawXtermText() (report by Michael Schroeder).
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.
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.
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).
set-vt-font action
and related code.
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).
cvvis terminfo capability (request by
Nate Bargmann).
indp and rin to terminfo entry.
-fa):
colorBDMode resource in
logic that does bold fonts.
-u8 option.
uxterm, which
was attempting to strip the script (newsgroup posting by Fernan
Aguero).
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).
XTerm.ad, leaving them
only in XTerm-col.ad (prompted by Debian package for
xterm).
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).
XCopyArea()
to accommodate a Solaris bug.
$(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.
--enable-pty-handshake
option to enable it for Solaris (report by Nelson Beebe).
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).
-ls conflict with
-e option in xterm manpage (adapted from comments by
Henning Makholm).
kDC (Debian #189764, report by Henning Makholm).
XK_KP_Equal
works (report by Henning Makholm).
--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.
--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).
--disable-imake to provide values
for OSMAJORVERSION, OSMINORVERSION,
FUNCPROTO and NARROWPROTO (report by
Heiko Schlichting).
vttests/16colors.sh, which omitted the
$SUF variable in output strings (patch by Paul
Gilmartin).
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.
USE_HANDSHAKE, must be numeric
(reported by Jens Schleusener).
--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).
USE_HANDSHAKE ifdef removed in
patch #159
to address Debian #39964.
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).
$TERM and
$TERMCAP variables, which omitted the Tektronix
emulation and a note of the final "dumb" fallback.
XRegisterIMInstantiateCallback()
from patch #175 (XIM fix) to exclude
non-XFree86 (report by Nelson Beebe indicates this breaks for
Solaris, IRIX and OSF/1).
iconFont (this was added
by X11R6.3).
tty group to be less
strict in batch mode (report by Nelson Beebe).
dec2ucs[] table to reflect newer codes
available for scanlines 1, 3, 7, 9 (report by Michael Schroeder).
tekInhibit
resource.
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).
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).
veryBoldColors to
VeryBoldColors, since
ColorMode is associated with boolean resources.
-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.
ptsname()
in HPUX-specific code (report by David Ellement).
XKB bell support. The
code was using a nonstandard call XkbStdBell().
Changed to use XkbBell() (based on patch by
<derek@signalmarketing.com>).
xtermLoadFont() in case
there is no wide-bold font (Nam SungHyun).
Makefile.in to use autoconf's
bindir, libdir and mandir
variables (report by Nam SungHyun).
le to termcap xterm-basic entry.
Though missing from older termcaps for xterm, some applications
check for it (report by Matthias Buelow).
uxterm script to strip modifiers such as "@euro"
from the locale setting before adding ".UTF-8" (Debian #179929).
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.
XDefineCursor()
on a shell-window no longer work. The tek4014 emulation used this.
Use the next lower window (report by Karl Rudolf Bauchspiess).
AllocateAnsiColor() to ensure the color
is allocated once only.
ScrnRefresh, which was comparing
background colors only if the ANSI foreground colors also were set.
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().
-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.
$TERMCAP string generated
by resize:
export command.
This was missing as far back as X11R5.
\177\ to "^?".
tgetent() to work when
$TERMCAP has been set to a specific entry.
minstall.sh to use "%" rather than "@",
to avoid problems with AFS (report by Zdenek Sekera).
error.h in the manpage,
remove unused codes in error.h.
input.c to document
Meta as a modifier for escape sequences (patch by D
Roland Walker).
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>).
open() calls that do
not create a file.
$CPPFLAGS and $CFLAGS to avoid conflict
with environment's -I and -D options.
-/+ consistently with respect to "on/off" or "off/on".
--disable-session-mgt
to control whether the session management code should be compiled-in
(request by H Merijn Brand).
OPT_SESSION_MGT, to accommodate X11R5 which predates
the related definitions.
decode_keyvalue(), which did not properly parse
multiple settings as needed for the ttyModes resource,
since it did not skip over the parsed data.
-class and
-cjk_width (Nam SungHyun)
XtVaSetValues() call used in
Cleanup() (Nam SungHyun)
-cjk_width and corresponding resource
cjkWidth (patch by Jungshik Shin
<jshin@mailaps.org>).
-into option, for embedding xterm in a Tcl/Tk
application (patch by George Peter Staplin <georgeps@xmission.com>).
OPT_DEC_LOCATOR and
OPT_READLINE in button.c (reported by Ilya Zakharevich).
struct utmp versus
struct utmpx introduced in patch #167
(patches by Paul Gilmartin, Marc La France).
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).
execlp() (based on patch by Matthieu Herrb).
ChangeAnsiColorRequest(), which would
do a screen repaint after replying to a request for information.
echo -n and have, as does Debian, an unrelated
print utility.
USE_TERMCAP to match cygwin
configuration.
modifyCursorKeys resource.
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).
appdefaultCursor
and appdefaultKeypad resources.
--enable-luit and ifdef'd the
luit-related code with OPT_LUIT_PROG.
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).
tiXtraScroll resource
(reported by Tony Finch).
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).
printerCommand resource string is empty, use
this to allow user to disable printer function.
ptsname(), which may return
null for example if someone has changed the permissions of /dev/pts
to zero (Debian #121899).
__UNIXOS2__ definition
rather than __EMX__, related cleanup (patch by Holger
Veit).
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>).
vt100Graphics resource
(see patch #115,
based on discussion with Glenn Maynard).
ptsname()
(newsgroup posting from Mike Silva <mikesilva@lucent.com>).
wideChars resource be
set. (based on comments in 4 Aug 2001 by Alexey Marinichev
<lyosha@lyosha.2y.net>).
do_osc(), reserving cases 30 and 31
for for Konsole (request by Stephan Binner
<Stephan.Binner@gmx.de>).
uxterm script to strip encoding part from
environment variable before adding ".UTF-8" (based on Debian
#125947, but using a more portable solution).
awaitInput resource work.
errno in signal catcher (Matthieu Herrb).
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)
__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>).
-class option, so that
a following -e option is handled (Debian #116297).
-version and
-help options to be combined (Debian #110226).
-hold option, to avoid using too much CPU time
(Debian #116213).
uxterm with "exec"
to avoid a useless shell hanging around (Christian Weisgerber).
uxname script
(reported by Nam SungHyun <namsh@lge.com>).
<ncurses/term.h>
ifdef.
<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.
uxterm script, which uses the
UXTerm application defaults for UTF-8 environments.
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.
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>).
__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>).
UXTerm app-defaults file to makefile install
rules (request by Juliusz Chroboczek).
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.
ScrollbarReverseVideo() function to cache the
original border color, so it can restore that when an application
flashes the screen (Bugzilla #38872).
SunXK_F36, used in
xtermcapKeycode() (patch by Mark Waggoner
<waggoner@ichips.intel.com>).
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).
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>).
forceBoxChars resource to control the
"line-drawing characters" option.
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.
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.
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>).
XtReleaseGC()
calls in xtermLoadFont() (patch by Nam SungHyun
<namsh@lge.com>).
-fa, -fs command-line options
and faceName, faceSize
resources which are used by the freetype library support.
<Xlib.h>, since an older version of the related
headers relies on this (patch by Adam Sulmicki).
pututline (used for
debugging) since that function does not return a value on Slackware
3.6.
i18nSelection resource
from patch #153, by Bruno Haible:
i18nSelection
resource.
i18nSelection resource as a new resource,
brokenSelections.
<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).
dup2, getutent,
getutid, getutline and sleep
functions on Unixware 7 (report by Thanh Ma
<Thanh.Ma@casi-rusco.com>)
__hpux, which is
apparently not defined in some compilers on HPUX 11.0 (reported
by Clint Olsen).
"kb" termcap string to 8, since that matches the
xterm terminal description (request by Alexander V Lukyanov).
ClearInLine, which caused
the erase-characters (ECH) control to display incorrectly
(patch by Alexander V Lukyanov).
SelectionReceived()
(patch by Bruno Haible).
SelectionReceived()
which made it not compile for wide-characters combined with debug
traces.
VTInitI18N() from
patch #151 changes, which resulted in infinite loop under some
conditions (report/analysis by Paul Gilmartin).
resize when building with the standalone configure
script. Otherwise it uses the same list as for xterm, which is
excessive.
UTF-8 mode: UTF8_STRING, TEXT, COMPOUND_TEXT, STRING.
eight-bit mode: TEXT, COMPOUND_TEXT, UTF8_STRING, STRING.
i18nSelections is provided, please see the manpage for
details. However, due to an unexpected combination of ICCCM
extensions by various bits and pieces of the libraries, interacting
with previous versions of XTerm will work in many locales even
without this flag. (Please do not set this resource to true by
default, as this would violate the ICCCM.)
RequestResize() function to save/restore window
manager hints. Its call to XtMakeResizeRequest() had
the undesirable side-effect of clearing window manager hints, e.g.,
when switching to 132-columns via DECCOLM escape sequence. Window
manager hints make it simple to resize xterm in terms of character
cells rather than pixels (reported by Christian Weisgerber as well
as Debian bug #79939).
This applies to the normal configuration. When built with toolbar support, the hints are applied to a different widget level (more work will be needed to make hints work with the toolbar).
-T option to match
Xt library's -title, i.e., .title
rather than *title so the command-line options are
interchangeable as documented (Debian bug report #68843).
_POSIX_C_SOURCE for Solaris to
make this compile with gcc -ansi -pedantic (report
by <mark@zang.com>.
larger-vt-font() and smaller-vt-font()
actions, respectively, into the translations resource (suggested by
Marius Gedminas <mgedmin@puni.osf.lt>).
--program-prefix, --program-suffix and
--program-transform-name options (request by Alison
Winters <alison@mirrabooka.com>).
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).
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).
k; name (patch by Bram Moolenaar).
-samename option in help message.
--enable-tcap-query
(request by Bram Moolenaar).
-fwb or with resource
wideBoldFont (class WideBoldFont).
int is just 32 bits.
ctype
macros by using CharOf() macro to coerce the parameter
to an unsigned char.
-DXRENDERFONT.
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>).
-S option to to make it work with
Unix98 PTY's.
get_pty(), which was
lost in Unix98 changes.
my_pty_id() and
my_pty_name() to simplify/fix strings used for utmp,
wtmp identifiers.
get_pty() function, making it have a single
return point so its inputs/outputs can be identified.
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>)
-class command-line option
is not confused with -c (reported by Paul Townsend
<aab@aab.cc.purdue.edu>).
-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.
#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>).
-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).
-name option work as documented.
Apparently this was lost in X11R5 when coding to use
XtAppInitialize.
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).
ClearInLine(),
ScrnInsertChar(), ScrnDeleteChar() to
correct potential out-of-bounds indexing (prompted by Debian bug
report #64713, which reported a problem with ICH escape sequences).
limitResize)
limiting resizing via the CSI 4 t and CSI 8 t sequences.
kb capability for ptyInitialErase logic.
sco to be predefined.
colorRV and colorRVMode resources to
allow specifying a color to use for reverse video, similar to the
existing UL, BD, and BL modes.
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.
xtermMissingChar() so that EBCDIC codes 128-159
are not rendered as blanks by X server running on Solaris, which sees
those as control characters.
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>).
setuid() function
introduced in patch #132 (Greg Smith reports that this does not work
as intended on os390).
struct termio, to correct a
situation where the baud rate was initialized to zero (reported by
Andrew Isaacson <adi@lcse.umn.edu>).
creat_as() function more strict by using
O_EXCL rather than O_APPEND.
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.
creat_as() logic to make tek4014 screen-copy
more secure (noted by Branden Robinson).
.mode flag in
ColorRes struct, from patch #129. This worked on Linux
because malloc() zeroes memory on that platform
(reported by Christian Weisgerber).
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).
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.
creat_as() to ensure that the user
really owns the logfile that has been opened.
oldXtermFKeys resource, fixes a core
dump when attempting to set it from the command-line (reported by Dr
Werner Fink).
<esc>[3~ before a function key that would begin
with <esc>[3~ (request by Christian Weisgerber).
Index to
xtermIndex so that ports such as VMS which link
externals ignoring case will not have library conflicts (reported by
David Mathog).
do_reversevideo(), which did not
update the corresponding popup menu check mark (reported by David
Mathog, this was a detail overlooked in patch #94).
depend rule to Makefile.in
XtSetLanguageProc() is available in X11R5.
Caveat: XtSetLanguageProc() was
added fairly late in the X11R5 patches, and some vendors shipped
buggy versions of this function (request by Tomas Vanhala).
xterm-xfree86 to reflect
modifiers for shift and control which (from a patch by Alexander V
Lukyanov).
xterm-sun to match the
function-key definitions in ncurses. The pageup/pagedown and
related function keys correspond to the Sun keyboard, which does
not necessarily correspond with X's notion of those keys.
<esc>[3~ if modifiers (shift, control
alt) are given (request by Alexander V Lukyanov).
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>).
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>).
-C by Jeremie Petit
<Jeremie.Petit@digital.com>).
utf8controls resource, since Markus' change
removes the corresponding logic.
const after the check
for ANSI C compiler options, since those may be required to make
it work properly on HP-UX.
_GNU_SOURCE
tgetent() function. This is needed to make
resize work properly.
xterm consumes cpu when selecting text with mouse (holding down left mouse button) and when a program working under the xterm outputs something to stdout.Easy way to reproduce:
while :; do echo aaa; sleep 1; done
(while this runs, select text and hold down left mouse button) watch cpu load.
release left mouse button - spinning stops.
DECEFR - Enable Filter Rectangle DECELR - Enable Locator Reports DECSLE - Select Locator Events DECRQLP - Request Locator PositionThis allows the xterm mouse to be used with applications that use the DEC Locator sequences, such as VAX Tpu, or SMG$ based applications.
const after the check
for ANSI C compiler options, since those may be required to make
it work properly on HP-UX.
_GNU_SOURCE
tgetent() function. This is needed to make
resize work properly.
xterm consumes cpu when selecting text with mouse (holding down left mouse button) and when a program working under the xterm outputs something to stdout.Easy way to reproduce:
while :; do echo aaa; sleep 1; done
(while this runs, select text and hold down left mouse button) watch cpu load.
release left mouse button - spinning stops.
DECEFR - Enable Filter Rectangle DECELR - Enable Locator Reports DECSLE - Select Locator Events DECRQLP - Request Locator PositionThis allows the xterm mouse to be used with applications that use the DEC Locator sequences, such as VAX Tpu, or SMG$ based applications.
const after the check
for ANSI C compiler options, since those may be required to make
it work properly on HP-UX.
_GNU_SOURCE
tgetent() function. This is needed to make
resize work properly.
xterm consumes cpu when selecting text with mouse (holding down left mouse button) and when a program working under the xterm outputs something to stdout.Easy way to reproduce:
while :; do echo aaa; sleep 1; done
(while this runs, select text and hold down left mouse button) watch cpu load.
release left mouse button - spinning stops.
DECEFR - Enable Filter Rectangle DECELR - Enable Locator Reports DECSLE - Select Locator Events DECRQLP - Request Locator PositionThis allows the xterm mouse to be used with applications that use the DEC Locator sequences, such as VAX Tpu, or SMG$ based applications.
const after the check
for ANSI C compiler options, since those may be required to make
it work properly on HP-UX.
_GNU_SOURCE
tgetent() function. This is needed to make
resize work properly.
xterm consumes cpu when selecting text with mouse (holding down left mouse button) and when a program working under the xterm outputs something to stdout.Easy way to reproduce:
while :; do echo aaa; sleep 1; done
(while this runs, select text and hold down left mouse button) watch cpu load.
release left mouse button - spinning stops.
DECEFR - Enable Filter Rectangle DECELR - Enable Locator Reports DECSLE - Select Locator Events DECRQLP - Request Locator PositionThis allows the xterm mouse to be used with applications that use the DEC Locator sequences, such as VAX Tpu, or SMG$ based applications.
const after the check
for ANSI C compiler options, since those may be required to make
it work properly on HP-UX.
_GNU_SOURCE
tgetent() function. This is needed to make
resize work properly.
xterm consumes cpu when selecting text with mouse (holding down left mouse button) and when a program working under the xterm outputs something to stdout.Easy way to reproduce:
while :; do echo aaa; sleep 1; done
(while this runs, select text and hold down left mouse button) watch cpu load.
release left mouse button - spinning stops.
DECEFR - Enable Filter Rectangle DECELR - Enable Locator Reports DECSLE - Select Locator Events DECRQLP - Request Locator PositionThis allows the xterm mouse to be used with applications that use the DEC Locator sequences, such as VAX Tpu, or SMG$ based applications.
const after the check
for ANSI C compiler options, since those may be required to make
it work properly on HP-UX.
_GNU_SOURCE
tgetent() function. This is needed to make
resize work properly.
xterm consumes cpu when selecting text with mouse (holding down left mouse button) and when a program working under the xterm outputs something to stdout.Easy way to reproduce:
while :; do echo aaa; sleep 1; done
(while this runs, select text and hold down left mouse button) watch cpu load.
release left mouse button - spinning stops.
DECEFR - Enable Filter Rectangle DECELR - Enable Locator Reports DECSLE - Select Locator Events DECRQLP - Request Locator PositionThis allows the xterm mouse to be used with applications that use the DEC Locator sequences, such as VAX Tpu, or SMG$ based applications.
const after the check
for ANSI C compiler options, since those may be required to make
it work properly on HP-UX.
_GNU_SOURCE
tgetent() function. This is needed to make
resize work properly.
xterm consumes cpu when selecting text with mouse (holding down left mouse button) and when a program working under the xterm outputs something to stdout.Easy way to reproduce:
while :; do echo aaa; sleep 1; done
(while this runs, select text and hold down left mouse button) watch cpu load.
release left mouse button - spinning stops.
DECEFR - Enable Filter Rectangle DECELR - Enable Locator Reports DECSLE - Select Locator Events DECRQLP - Request Locator PositionThis allows the xterm mouse to be used with applications that use the DEC Locator sequences, such as VAX Tpu, or SMG$ based applications.
const after the check
for ANSI C compiler options, since those may be required to make
it work properly on HP-UX.
_GNU_SOURCE
tgetent() function. This is needed to make
resize work properly.
xterm consumes cpu when selecting text with mouse (holding down left mouse button) and when a program working under the xterm outputs something to stdout.Easy way to reproduce:
while :; do echo aaa; sleep 1; done
(while this runs, select text and hold down left mouse button) watch cpu load.
release left mouse button - spinning stops.
DECEFR - Enable Filter Rectangle DECELR - Enable Locator Reports DECSLE - Select Locator Events DECRQLP - Request Locator PositionThis allows the xterm mouse to be used with applications that use the DEC Locator sequences, such as VAX Tpu, or SMG$ based applications.
const after the check
for ANSI C compiler options, since those may be required to make
it work properly on HP-UX.
_GNU_SOURCE
tgetent() function. This is needed to make
resize work properly.
xterm consumes cpu when selecting text with mouse (holding down left mouse button) and when a program working under the xterm outputs something to stdout.Easy way to reproduce:
while :; do echo aaa; sleep 1; done
(while this runs, select text and hold down left mouse button) watch cpu load.
release left mouse button - spinning stops.
DECEFR - Enable Filter Rectangle DECELR - Enable Locator Reports DECSLE - Select Locator Events DECRQLP - Request Locator PositionThis allows the xterm mouse to be used with applications that use the DEC Locator sequences, such as VAX Tpu, or SMG$ based applications.
const after the check
for ANSI C compiler options, since those may be required to make
it work properly on HP-UX.
_GNU_SOURCE
tgetent() function. This is needed to make
resize work properly.
xterm consumes cpu when selecting text with mouse (holding down left mouse button) and when a program working under the xterm outputs something to stdout.Easy way to reproduce:
while :; do echo aaa; sleep 1; done
(while this runs, select text and hold down left mouse button) watch cpu load.
release left mouse button - spinning stops.
DECEFR - Enable Filter Rectangle DECELR - Enable Locator Reports DECSLE - Select Locator Events DECRQLP - Request Locator PositionThis allows the xterm mouse to be used with applications that use the DEC Locator sequences, such as VAX Tpu, or SMG$ based applications.
const after the check
for ANSI C compiler options, since those may be required to make
it work properly on HP-UX.
_GNU_SOURCE
tgetent() function. This is needed to make
resize work properly.
xterm consumes cpu when selecting text with mouse (holding down left mouse button) and when a program working under the xterm outputs something to stdout.Easy way to reproduce:
while :; do echo aaa; sleep 1; done
(while this runs, select text and hold down left mouse button) watch cpu load.
release left mouse button - spinning stops.
DECEFR - Enable Filter Rectangle DECELR - Enable Locator Reports DECSLE - Select Locator Events DECRQLP - Request Locator PositionThis allows the xterm mouse to be used with applications that use the DEC Locator sequences, such as VAX Tpu, or SMG$ based applications.
const after the check
for ANSI C compiler options, since those may be required to make
it work properly on HP-UX.
_GNU_SOURCE
tgetent() function. This is needed to make
resize work properly.
xterm consumes cpu when selecting text with mouse (holding down left mouse button) and when a program working under the xterm outputs something to stdout.Easy way to reproduce:
while :; do echo aaa; sleep 1; done
(while this runs, select text and hold down left mouse button) watch cpu load.
release left mouse button - spinning stops.
DECEFR - Enable Filter Rectangle DECELR - Enable Locator Reports DECSLE - Select Locator Events DECRQLP - Request Locator PositionThis allows the xterm mouse to be used with applications that use the DEC Locator sequences, such as VAX Tpu, or SMG$ based applications.
const after the check
for ANSI C compiler options, since those may be required to make
it work properly on HP-UX.
_GNU_SOURCE
tgetent() function. This is needed to make
resize work properly.
xterm consumes cpu when selecting text with mouse (holding down left mouse button) and when a program working under the xterm outputs something to stdout.Easy way to reproduce:
while :; do echo aaa; sleep 1; done
(while this runs, select text and hold down left mouse button) watch cpu load.
release left mouse button - spinning stops.
DECEFR - Enable Filter Rectangle DECELR - Enable Locator Reports DECSLE - Select Locator Events DECRQLP - Request Locator PositionThis allows the xterm mouse to be used with applications that use the DEC Locator sequences, such as VAX Tpu, or SMG$ based applications.
const after the check
for ANSI C compiler options, since those may be required to make
it work properly on HP-UX.
_GNU_SOURCE
tgetent() function. This is needed to make
resize work properly.
xterm consumes cpu when selecting text with mouse (holding down left mouse button) and when a program working under the xterm outputs something to stdout.Easy way to reproduce:
while :; do echo aaa; sleep 1; done
(while this runs, select text and hold down left mouse button) watch cpu load.
release left mouse button - spinning stops.
DECEFR - Enable Filter Rectangle DECELR - Enable Locator Reports DECSLE - Select Locator Events DECRQLP - Request Locator PositionThis allows the xterm mouse to be used with applications that use the DEC Locator sequences, such as VAX Tpu, or SMG$ based applications.
const after the check
for ANSI C compiler options, since those may be required to make
it work properly on HP-UX.
_GNU_SOURCE
tgetent() function. This is needed to make
resize work properly.
xterm consumes cpu when selecting text with mouse (holding down left mouse button) and when a program working under the xterm outputs something to stdout.Easy way to reproduce:
while :; do echo aaa; sleep 1; done
(while this runs, select text and hold down left mouse button) watch cpu load.
release left mouse button - spinning stops.
DECEFR - Enable Filter Rectangle DECELR - Enable Locator Reports DECSLE - Select Locator Events DECRQLP - Request Locator PositionThis allows the xterm mouse to be used with applications that use the DEC Locator sequences, such as VAX Tpu, or SMG$ based applications.