This file contains a list of the changes that I have made for luit.
package/debian to avoid misuse by
Debian build-system.plink.sh, from xterm, to work around
poor performance of gcc on Fedora..enc” file is found, but no
built-in character set description is found, add that to the
internal font-encoding table to allow it to be used, like the
built-in character sets.annotate-enc to handle the external
“.enc” which were used with the older
luit.annotate-enc script, use that to annotate
the ".enc" files.apl2 (prompted by patch
by Jerome Ibanes).COPYING file for Arch packages.CF_CC_ENV_FLAGS, add check for
preprocessor-options in $CFLAGS.CF_FUNC_GRANTPT, amend the
posix_openpt vs grantpt change to
work with BSDsCF_GNU_SOURCE, fixes a regression for
Cygwin. The check for _DEFAULT_SOURCE should apply to
"recent" Cygwin (since early 2016), and except for "NEWLIB"
vs "GLIBC" in the test, acts the same if I pretend that
"newlib" is the GNU C library. Without this, the check
falls through to the _XOPEN_SOURCE test, which breaks the
pseudoterminal checks for xterm.CF_LD_RPATH_OPT, suppress check if
--disable-rpath is given.CF_XOPEN_SOURCE, add midnightbsd to
special cases with freebsd_GNU_SOURCE symbol for
DEFAULT_SOURCE, and preferring
man2html over groff's html conversion.parseArgs to check for a special case,
e.g., from xterm, where a shell command that cannot be exec'd
is passed as a single parameter. For that case, run the command
via the shell.IEXTEN when turning off canonical mode,
needed to make lnext control/V work consistently
on BSD platforms (report/patch by Christian Weisgerber).posix_openpt(), in case someone's running the
configure script in batch mode.-Wl,-rpath rather
than -rpath option. According to FreeBSD
#178732, either works since FreeBSD 4.x; however
scons does not accept anything except the
-Wl,-rpath form./bin/sh--with-man2html/usr/pkg and /opt/local
to help configuring with pkgsrc and macports.-list option to show character set
sizes.-prefer option to control the lookup order
between iconv, fontenc, builtin and posix character set
data.-show-builtin option to show details of a
particular built-in encoding.-list-builtin option to show built-in
encodings embedded. This is available only for the iconv
configuration; the fontenc library has no API for retrieving
the information.--enable-iconv and --enable-fontenc
to deprecate the fontenc library.IBM-CP to
CP ), etc., to make fontenc's encoding name
"ibm-cp866" work with luit.koi8-e to locale-charsets table, to make
that encoding work.-show-iconv to show a given encoding from
iconv using the ".enc" format.-fill-fontenc option to control output
format of -show-fontenc.-show-fontenc option to show a given
encoding, e.g., from a ".enc" file using the ".enc"
format.-list-fontenc option to show available
encodings using the ".enc" files which should be distributed
with the fontencoding library.-list-iconv option to show encodings and
corresponding locales supported in the iconv
configuration.-kg0, etc., in manpage.-h, providing a summary
of each option rather than the abbreviated listing. The
abbreviated listing is still provided when an unrecognized
option is encountered.copyOut in case a
non-8bit encoding was used with the iconv configuration.nl_langinfo(CODESET) in
2011/10/30 changes, ignoring that
section if the -encoding option was given (report
by Alexios Zavras).--datarootdir option in configure
script.iconv_open.posix_openpt,
which may be broken in Mac OS X's current release 10.7 Lion
(report by Kirby Zhou).poll and
select logic to avoid looping when a file
descriptor is no longer valid.poll
function to avoid using Mac OS X's broken implementation
(tested with Darwin 10.8.0).X_LIBS symbol
after resolving fontenc library, to use the associated
-L option in subsequent configure-checks.-t to simplify testing available locales
versus luit's tables and the locale.alias
file.nl_langinfo(CODESET) by mapping commonly used
prefixes into the prefixes used by luit.nl_langinfo(CODESET) to
augment X's locale.aliases file for determining
the encoding to use.posix_openpt,
prompted by FreeBSD ports/161480.plink.sh script from xterm to reduce
unneeded library dependencies, e.g., from fontenc's buggy
package script.-g0 and similar options actually work, by
adding checks in initIso2022.-v option, to
show which parts of the font-encoding configuration fail, for
troubleshooting.--disable-leaks,
etc.--enable-trace.--enable-iconv, to use
GNU iconv, which is far more portable than fontenc.
Aside from that (and some cosmetic changes to C source, as well as providing a different configure script), and omitting this change-log, the xorg 1.1.0 is the same as the 2010/6/1 version. Its release notes state:
This release includes these changes from Thomas Dickey's luit-20100601:
- add -alias option to allow override of locale.alias pathname.
- improve fix waitForInput as suggested in Freedesktop #26383.
- fix warnings from clang --analyze
2010/6/5 -
<sys/param.h>
which made setuid feature not work properly for FreeBSD.locale.alias file
for OpenSolaris.--disable-rpath-hack,
modified configure script to normally supply an rpath option if
possible to simplify linkage to libraries in unusual
places.2010/6/1 -
minstall.sh to update program name if
the configure script options such as
--program-prefix were used to rename the
program.-alias option to allow override of
locale.alias pathname.locale.alias file
for NetBSD.waitForInput as suggested in
Freedesktop #26383.mkdirs.sh, use
mkdir -p.Imakefileclang --analyze-V version option.openpty, use that on
systems such as OpenBSD rather than requiring setuid
operation.open to work with incomplete definitions
for O_NOCTTY and TIOCSCTTY (adapted
from patch by Yaakov Selkowitz).poll-flavor of
waitForInput to also check if the connection has
hung up.-p command-line
option to work with more BSD-flavors.HAVE_GRANTPT with
configure script.const more consistently in
sources.HAVE_POLL, #ifdef's the corresponding headers
and modifies #ifdef for I_PUSH ioctl to add
__SVR4).-p option, to make the wait-pipe
workaround from XFree86 optional. The default behavior is the
older one.NO_LEAKS, to check for memory
leaks. Found none in luit; font encoding library does have
leaks.minstall.sh from xterm to fix possible
scripting dependency upon locale.NCURSES_NO_UTF8_ACS environment
variable to simplify use of line-drawing characters in
luit.locale.alias
pathname by checking in the more common X11 locations.--with-fontenc-cflags and
--with-fontenc-libs options with when
pkg-config is not available.pkg-config.-Wwrite-strings warnings.-Wconversion warnings.