Preliminaries: renaming

This commit is contained in:
Mike Small 2017-09-28 00:55:30 -04:00
parent 20894d7b1b
commit 5cfb5bf2e7
16 changed files with 2623 additions and 2432 deletions

1097
ChangeLog

File diff suppressed because it is too large Load Diff

1092
ChangeLog.twm Normal file

File diff suppressed because it is too large Load Diff

View File

@ -180,7 +180,7 @@ CSCOPE = cscope
DIST_SUBDIRS = $(SUBDIRS)
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in COPYING \
ChangeLog INSTALL README compile config.guess config.sub \
install-sh missing
depcomp install-sh missing ylwrap
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
@ -285,6 +285,8 @@ PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
@ -339,6 +341,7 @@ pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
runstatedir = @runstatedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@

28
README
View File

@ -1,30 +1,6 @@
twm - Tab Window Manager for the X Window System
twm is a window manager for the X Window System. It provides
titlebars, shaped windows, several forms of icon management,
user-defined macro functions, click-to-type and pointer-driven
keyboard focus, and user-specified key and pointer button bindings.
All questions regarding this software should be directed at the
Xorg mailing list:
http://lists.freedesktop.org/mailman/listinfo/xorg
Please submit bug reports to the Xorg bugzilla:
https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
twm fork to suit my preferences.
The master development code repository can be found at:
git://anongit.freedesktop.org/git/xorg/app/twm
http://cgit.freedesktop.org/xorg/app/twm
For patch submission instructions, see:
http://www.x.org/wiki/Development/Documentation/SubmittingPatches
For more information on the git code manager, see:
http://wiki.x.org/wiki/GitPage
https://gitlab.com/smallm/twmruined

30
README.twm Normal file
View File

@ -0,0 +1,30 @@
twm - Tab Window Manager for the X Window System
twm is a window manager for the X Window System. It provides
titlebars, shaped windows, several forms of icon management,
user-defined macro functions, click-to-type and pointer-driven
keyboard focus, and user-specified key and pointer button bindings.
All questions regarding this software should be directed at the
Xorg mailing list:
http://lists.freedesktop.org/mailman/listinfo/xorg
Please submit bug reports to the Xorg bugzilla:
https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
The master development code repository can be found at:
git://anongit.freedesktop.org/git/xorg/app/twm
http://cgit.freedesktop.org/xorg/app/twm
For patch submission instructions, see:
http://www.x.org/wiki/Development/Documentation/SubmittingPatches
For more information on the git code manager, see:
http://wiki.x.org/wiki/GitPage

2527
aclocal.m4 vendored

File diff suppressed because it is too large Load Diff

94
configure vendored
View File

@ -1,8 +1,8 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for twm 1.0.9.
# Generated by GNU Autoconf 2.69 for twmruined 0.1.
#
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
# Report bugs to <https://gitlab.com/smallm/twmruined>.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@ -267,11 +267,10 @@ fi
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
else
$as_echo "$0: Please tell bug-autoconf@gnu.org and
$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
$0: about your system, including any error possibly output
$0: before this message. Then install a modern shell, or
$0: manually run the script under such a shell if you do
$0: have one."
$0: https://gitlab.com/smallm/twmruined about your system,
$0: including any error possibly output before this
$0: message. Then install a modern shell, or manually run
$0: the script under such a shell if you do have one."
fi
exit 1
fi
@ -579,11 +578,11 @@ MFLAGS=
MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='twm'
PACKAGE_TARNAME='twm'
PACKAGE_VERSION='1.0.9'
PACKAGE_STRING='twm 1.0.9'
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
PACKAGE_NAME='twmruined'
PACKAGE_TARNAME='twmruined'
PACKAGE_VERSION='0.1'
PACKAGE_STRING='twmruined 0.1'
PACKAGE_BUGREPORT='https://gitlab.com/smallm/twmruined'
PACKAGE_URL=''
ac_unique_file="Makefile.am"
@ -659,6 +658,8 @@ build_vendor
build_cpu
build
INSTALL_CMD
PKG_CONFIG_LIBDIR
PKG_CONFIG_PATH
PKG_CONFIG
CHANGELOG_CMD
STRICT_CFLAGS
@ -730,6 +731,7 @@ infodir
docdir
oldincludedir
includedir
runstatedir
localstatedir
sharedstatedir
sysconfdir
@ -767,6 +769,8 @@ LIBS
CPPFLAGS
CPP
PKG_CONFIG
PKG_CONFIG_PATH
PKG_CONFIG_LIBDIR
YACC
YFLAGS
TWM_CFLAGS
@ -809,6 +813,7 @@ datadir='${datarootdir}'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
runstatedir='${localstatedir}/run'
includedir='${prefix}/include'
oldincludedir='/usr/include'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@ -1061,6 +1066,15 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
-runstatedir | --runstatedir | --runstatedi | --runstated \
| --runstate | --runstat | --runsta | --runst | --runs \
| --run | --ru | --r)
ac_prev=runstatedir ;;
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
| --run=* | --ru=* | --r=*)
runstatedir=$ac_optarg ;;
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@ -1198,7 +1212,7 @@ fi
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
libdir localedir mandir
libdir localedir mandir runstatedir
do
eval ac_val=\$$ac_var
# Remove trailing slashes.
@ -1311,7 +1325,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures twm 1.0.9 to adapt to many kinds of systems.
\`configure' configures twmruined 0.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1351,6 +1365,7 @@ Fine tuning of the installation directories:
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
@ -1359,7 +1374,7 @@ Fine tuning of the installation directories:
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/twm]
--docdir=DIR documentation root [DATAROOTDIR/doc/twmruined]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
@ -1381,7 +1396,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of twm 1.0.9:";;
short | recursive ) echo "Configuration of twmruined 0.1:";;
esac
cat <<\_ACEOF
@ -1412,6 +1427,10 @@ Some influential environment variables:
you have headers in a nonstandard directory <include dir>
CPP C preprocessor
PKG_CONFIG path to pkg-config utility
PKG_CONFIG_PATH
directories to add to pkg-config's search path
PKG_CONFIG_LIBDIR
path overriding pkg-config's built-in search path
YACC The `Yet Another Compiler Compiler' implementation to use.
Defaults to the first program found out of: `bison -y', `byacc',
`yacc'.
@ -1424,7 +1443,7 @@ Some influential environment variables:
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
Report bugs to <https://gitlab.com/smallm/twmruined>.
_ACEOF
ac_status=$?
fi
@ -1487,7 +1506,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
twm configure 1.0.9
twmruined configure 0.1
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@ -1646,9 +1665,9 @@ $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
( $as_echo "## ---------------------------------------------------------------------- ##
## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
## ---------------------------------------------------------------------- ##"
( $as_echo "## -------------------------------------------------- ##
## Report this to https://gitlab.com/smallm/twmruined ##
## -------------------------------------------------- ##"
) | sed "s/^/$as_me: WARNING: /" >&2
;;
esac
@ -1902,7 +1921,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by twm $as_me 1.0.9, which was
It was created by twmruined $as_me 0.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@ -4139,8 +4158,8 @@ fi
# Define the identity of the package.
PACKAGE='twm'
VERSION='1.0.9'
PACKAGE='twmruined'
VERSION='0.1'
cat >>confdefs.h <<_ACEOF
@ -4579,6 +4598,11 @@ fi
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
@ -4691,7 +4715,6 @@ $as_echo "yes" >&6; }
$as_echo "no" >&6; }
PKG_CONFIG=""
fi
fi
# Make sure we can run config.sub.
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
@ -11093,6 +11116,7 @@ if test -n "$TWM_CFLAGS"; then
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_TWM_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xt xmu ice sm xproto >= 7.0.17" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
@ -11109,6 +11133,7 @@ if test -n "$TWM_LIBS"; then
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_TWM_LIBS=`$PKG_CONFIG --libs "x11 xext xt xmu ice sm xproto >= 7.0.17" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
@ -11119,6 +11144,8 @@ fi
if test $pkg_failed = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
@ -11126,9 +11153,9 @@ else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
TWM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xext xt xmu ice sm xproto >= 7.0.17" 2>&1`
TWM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xext xt xmu ice sm xproto >= 7.0.17" 2>&1`
else
TWM_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xext xt xmu ice sm xproto >= 7.0.17" 2>&1`
TWM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xext xt xmu ice sm xproto >= 7.0.17" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$TWM_PKG_ERRORS" >&5
@ -11142,9 +11169,10 @@ installed software in a non-standard prefix.
Alternatively, you may set the environment variables TWM_CFLAGS
and TWM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
" "$LINENO" 5
See the pkg-config man page for more details." "$LINENO" 5
elif test $pkg_failed = untried; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
@ -11162,7 +11190,7 @@ else
TWM_LIBS=$pkg_cv_TWM_LIBS
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
:
fi
ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
@ -11697,7 +11725,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by twm $as_me 1.0.9, which was
This file was extended by twmruined $as_me 0.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@ -11757,13 +11785,13 @@ $config_headers
Configuration commands:
$config_commands
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
Report bugs to <https://gitlab.com/smallm/twmruined>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
twm config.status 1.0.9
twmruined config.status 0.1
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"

View File

@ -22,8 +22,8 @@ dnl Process this file with autoconf to create configure.
# Initialize Autoconf
AC_PREREQ([2.60])
AC_INIT([twm], [1.0.9],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [twm])
AC_INIT([twmruined], [0.1],
[https://gitlab.com/smallm/twmruined], [twmruined])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS([config.h])
AC_USE_SYSTEM_EXTENSIONS

View File

@ -23,7 +23,7 @@
appmandir = $(APP_MAN_DIR)
appman_PRE = twm.man
appman_PRE = twmruined.man
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)

View File

@ -234,6 +234,8 @@ PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
@ -288,6 +290,7 @@ pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
runstatedir = @runstatedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
@ -297,7 +300,7 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
appmandir = $(APP_MAN_DIR)
appman_PRE = twm.man
appman_PRE = twmruined.man
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
EXTRA_DIST = $(appman_PRE)
CLEANFILES = $(appman_DATA)

View File

@ -37,14 +37,14 @@
.if n .sp 1
.if t .sp .5
..
.TH TWM 1 __xorgversion__
.TH TWMRUINED 1 __xorgversion__
.SH NAME
twm \- Tab Window Manager for the X Window System
twmruined \- No longer quite the Tab Window Manager
.SH SYNTAX
\fBtwm \fP[ \fB\-display\fP \fIdpy\fP ] [ \fB\-s\fP ]
\fBtwmruined \fP[ \fB\-display\fP \fIdpy\fP ] [ \fB\-s\fP ]
[ \fB\-f\fP \fIinitfile\fP ] [ \fB\-v\fP ]
.SH DESCRIPTION
\fITwm\fP is a window manager for the X Window System. It provides
\fITwmruined\fP is a window manager for the X Window System based on twm. It provides
titlebars, shaped windows,
several forms of icon management, user-defined macro functions,
click-to-type and pointer-driven keyboard focus, and user-specified
@ -52,8 +52,8 @@ key and pointer button bindings.
.PP
This program is usually started by the user's session manager or
startup script. When used from \fIxdm(__appmansuffix__)\fP or \fIxinit(__appmansuffix__)\fP without
a session manager, \fItwm\fP is frequently executed in the foreground
as the last client. When run this way, exiting \fItwm\fP causes the
a session manager, \fItwmruined\fP is frequently executed in the foreground
as the last client. When run this way, exiting \fItwmruined\fP causes the
session to be terminated (i.e., logged out).
.PP
By default, application windows are surrounded by a ``frame'' with a
@ -80,7 +80,7 @@ region, dragging a window outline to the new location, and then releasing
when the outline is in the desired position. Just
clicking in the title or highlight region raises the window without moving it.
.PP
When new windows are created, \fItwm\fP will honor any size and location
When new windows are created, \fItwmruined\fP will honor any size and location
information requested by the user (usually through \fI-geometry\fP
command line argument or resources for the individual applications).
Otherwise, an outline of the window's default size, its titlebar, and lines
@ -95,7 +95,7 @@ described above. Clicking pointer Button3 (usually the right pointer button)
will give the window its current position but attempt to make it long enough
to touch the bottom the screen.
.SH OPTIONS
\fITwm\fP accepts the following command line options:
\fITwmruined\fP accepts the following command line options:
.PP
.TP 8
.B \-display \fIdpy\fP
@ -104,47 +104,47 @@ This option specifies the X server to use.
.B \-s
This option indicates that only the default screen (as specified by
\fB\-display\fP or by the \fBDISPLAY\fP environment variable) should be
managed. By default, \fItwm\fP will attempt to manage
managed. By default, \fItwmruined\fP will attempt to manage
all screens on the display.
.TP 8
.B \-f \fIfilename\fP
This option specifies the name of the startup file to use. By default,
\fItwm\fP will look in the user's home directory for files
named \fI.twmrc.num\fP (where \fInum\fP is a screen number) or \fI.twmrc\fP.
\fItwmruined\fP will look in the user's home directory for files
named \fI.twmruinedrc.num\fP (where \fInum\fP is a screen number) or \fI.twmruinedrc\fP.
.TP 8
.B \-v
This option indicates that \fItwm\fP should print error messages whenever
This option indicates that \fItwmruined\fP should print error messages whenever
an unexpected X Error event is received. This can be useful when debugging
applications but can be distracting in regular use.
.SH CUSTOMIZATION
.PP
Much of \fItwm\fP's appearance and behavior can be controlled by providing
Much of \fItwmruined\fP's appearance and behavior can be controlled by providing
a startup file in one of the following locations (searched in order for
each screen being managed when \fItwm\fP begins):
each screen being managed when \fItwmruined\fP begins):
.TP 8
.B "$HOME/.twmrc.\fIscreennumber\fP"
.B "$HOME/.twmruinedrc.\fIscreennumber\fP"
The \fIscreennumber\fP is a small positive number (e.g. 0, 1, etc.)
representing the screen number (e.g. the last number in the DISPLAY environment
variable \fIhost:displaynum.screennum\fP) that would be used to contact that
screen of the display. This is intended for displays with multiple screens of
differing visual types.
.TP 8
.B "$HOME/.twmrc"
.B "$HOME/.twmruinedrc"
This is the usual name for an individual user's startup file.
.TP 8
.B __datadir__/X11/twm/system.twmrc
If neither of the preceding files are found, \fItwm\fP will look in this
.B __datadir__/X11/twmruined/system.twmruinedrc
If neither of the preceding files are found, \fItwmruined\fP will look in this
file for a
default configuration. This is often tailored by the site administrator to
provide convenient menus or familiar bindings for novice users.
.PP
If no startup files are found, \fItwm\fP will use the built-in defaults
described above. The only resource used by \fItwm\fP is
If no startup files are found, \fItwmruined\fP will use the built-in defaults
described above. The only resource used by \fItwmruined\fP is
\fIbitmapFilePath\fP for a colon-separated list of directories to search
when looking for bitmap files (for more information, see the \fIAthena
Widgets\fP manual and \fIxrdb(__appmansuffix__)\fP).
.PP
\fITwm\fP startup files are logically broken up into three types of
\fITwmruined\fP startup files are logically broken up into three types of
specifications: \fIVariables\fP, \fIBindings\fP, \fIMenus\fP. The
\fIVariables\fP section must come first and is used to describe the
fonts, colors, cursors, border widths, icon and window placement, highlighting,
@ -163,7 +163,7 @@ of a string causes the remainder of the line in which the character appears to
be treated as a comment.
.SH VARIABLES
.PP
Many of the aspects of \fItwm\fP's user interface are controlled by variables
Many of the aspects of \fItwmruined\fP's user interface are controlled by variables
that may be set in the user's startup file. Some of the options are
enabled or disabled simply by the presence of a particular keyword. Other
options require keywords, numbers, strings, or lists of all of these.
@ -205,7 +205,7 @@ or \fB:delete\fP (both refer to the X logo),
and \fB:question\fP (the question mark used for non-existent
bitmap files).
.PP
The following variables may be specified at the top of a \fItwm\fP startup
The following variables may be specified at the top of a \fItwmruined\fP startup
file. Lists of Window name prefix strings are indicated by \fIwin-list\fP.
Optional arguments are shown in square brackets:
.IP "\fBAutoRaise\fP { \fIwin-list\fP }" 8
@ -223,7 +223,7 @@ same amount. This allows the resizing of windows that extend off
the edge of the screen.
If the pointer is
in the center of the window, or if the resize is begun by pressing a
titlebutton, \fItwm\fP will still wait for the pointer to cross a window
titlebutton, \fItwmruined\fP will still wait for the pointer to cross a window
edge (to prevent accidents). This option is
particularly useful for people who like the press-drag-release method of
sweeping out window sizes.
@ -258,7 +258,7 @@ per-window colors to be specified. The default is "black".
.IP "\fBBorderWidth\fP \fIpixels\fP" 8
This variable specifies the width in pixels of the border surrounding
all client window frames if \fBClientBorderWidth\fP has not been specified.
This value is also used to set the border size of windows created by \fItwm\fP
This value is also used to set the border size of windows created by \fItwmruined\fP
(such as the icon manager). The default is 2.
.IP "\fBButtonIndent\fP \fIpixels\fP" 8
This variable specifies the amount by which titlebuttons should be
@ -320,7 +320,7 @@ of time when invoking \fBf.move\fP will cause the window to be moved only
in a horizontal or vertical direction. Setting this value to 0 will disable
constrained moves. The default is 400 milliseconds.
.IP "\fBCursors\fP { \fIcursor-list\fP }" 8
This variable specifies the glyphs that \fItwm\fP should use for various
This variable specifies the glyphs that \fItwmruined\fP should use for various
pointer cursors. Each cursor
may be defined either from the \fBcursor\fP font or from two bitmap files.
Shapes from the \fBcursor\fP font may be specified directly as:
@ -591,7 +591,7 @@ This variable specifies the number of pixels the pointer
must move before the \fBf.move\fP function starts working. Also
see the \fBf.deltastop\fP function. The default is zero pixels.
.IP "\fBNoBackingStore\fP" 8
This variable indicates that \fItwm\fP's menus should not request backing
This variable indicates that \fItwmruined\fP's menus should not request backing
store to minimize repainting of menus. This is typically
used with servers that can repaint faster than they can handle backing store.
.IP "\fBNoCaseSensitive\fP" 8
@ -603,7 +603,7 @@ This variable indicates that \fItwm\fP should not supply the default
titlebuttons and bindings. This option should only be used if the startup
file contains a completely new set of bindings and definitions.
.IP "\fBNoGrabServer\fP" 8
This variable indicates that \fItwm\fP should not grab the server
This variable indicates that \fItwmruined\fP should not grab the server
when popping up menus and moving opaque windows.
.IP "\fBNoHighlight\fP [{ \fIwin-list\fP }]" 8
This variable indicates that borders should not be highlighted to track the
@ -649,11 +649,11 @@ optional \fIwin-list\fP is given, only those windows will not have titlebars.
\fBMakeTitle\fP may be used with this option to force titlebars to be put
on specific windows.
.IP "\fBNoTitleFocus\fP" 8
This variable indicates that \fItwm\fP should not set keyboard input focus to
each window as it is entered. Normally, \fItwm\fP sets the focus
This variable indicates that \fItwmruined\fP should not set keyboard input focus to
each window as it is entered. Normally, \fItwmruined\fP sets the focus
so that focus and key events from the titlebar and
icon managers are delivered to the application. If the pointer is moved
quickly and \fItwm\fP is slow to respond, input can be directed to the old
quickly and \fItwmruined\fP is slow to respond, input can be directed to the old
window instead of the new. This option is typically
used to prevent this ``input lag'' and to
work around bugs in older applications that have problems with focus events.
@ -682,7 +682,7 @@ may be specified:
.EE
The default for \fITitleHighlight\fP is to use an even stipple pattern.
.IP "\fBPriority\fP \fIpriority\fP" 8
This variable sets \fItwm\fP's priority. \fIpriority\fP should be an
This variable sets \fItwmruined\fP's priority. \fIpriority\fP should be an
unquoted, signed number (e.g. 999). This variable has an effect only
if the server supports the SYNC extension.
.IP "\fBRandomPlacement\fP" 8
@ -694,7 +694,7 @@ This variable specifies the font to be used for in the dimensions window when
resizing windows. The default is "fixed".
.IP "\fBRestartPreviousState\fP" 8
This variable indicates that
\fItwm\fP should attempt to use the WM_STATE property on client windows
\fItwmruined\fP should attempt to use the WM_STATE property on client windows
to tell which windows should be iconified and which should be left visible.
This is typically used to try to regenerate the state that the screen
was in before the previous window manager was shutdown.
@ -722,14 +722,14 @@ This would place on the root window 3 pixel values for borders and titlebars,
as well as the three color strings, all taken from the default colormap.
.IP "\fBShowIconManager\fP" 8
This variable indicates that the icon manager window should be displayed when
\fItwm\fP is started. It can always be brought up using the
\fItwmruined\fP is started. It can always be brought up using the
\fBf.showiconmgr\fP function.
.IP "\fBSortIconManager\fP" 8
This variable indicates that entries in the icon manager should be
sorted alphabetically rather than by simply appending new windows to
the end.
.IP "\fBSqueezeTitle\fP [{ \fIsqueeze-list\fP }] " 8
This variable indicates that \fItwm\fP should attempt to use the SHAPE
This variable indicates that \fItwmruined\fP should attempt to use the SHAPE
extension to make titlebars occupy only as much screen space as they need,
rather than extending all the way across the top of the window.
The optional \fIsqueeze-list\fP
@ -795,12 +795,12 @@ used as the default icon. This bitmap will be used as the icon of all
clients which do not provide an icon bitmap and are not listed
in the \fBIcons\fP list.
.IP "\fBUsePPosition\fP \fIstring\fP" 8
This variable specifies whether or not \fItwm\fP should honor
This variable specifies whether or not \fItwmruined\fP should honor
program-requested locations (given by the \fBPPosition\fP flag in the
WM_NORMAL_HINTS property) in the absence of a user-specified position.
The argument \fIstring\fP may have one of three values: \fB"off"\fP
(the default)
indicating that \fItwm\fP
indicating that \fItwmruined\fP
should ignore the program-supplied position,
\fB"on"\fP indicating that the position
should be used, and
@ -826,7 +826,7 @@ variety of
of distinguishable colors when exclusive-or'ed with the contents of the
user's typical screen. Setting this variable to 1 often gives nice results
if adjacent colors in the default colormap are distinct. By default,
\fItwm\fP will attempt to cause temporary lines to appear at the opposite
\fItwmruined\fP will attempt to cause temporary lines to appear at the opposite
end of the colormap from the graphics.
.IP "\fBZoom\fP [ \fIcount\fP ]" 8
This variable indicates that outlines suggesting movement of a window
@ -921,11 +921,11 @@ use the following bindings:
"Up" = m : all : f.upiconmgr
"Down" = m | s : all : f.downiconmgr
.EE
\fITwm\fP provides many more window manipulation primitives than can be
\fITwmruined\fP provides many more window manipulation primitives than can be
conveniently stored in a titlebar, menu, or set of key bindings. Although
a small set of defaults are supplied (unless the \fBNoDefaults\fP is
specified), most users will want to have their most common operations
bound to key and button strokes. To do this, \fItwm\fP associates names
bound to key and button strokes. To do this, \fItwmruined\fP associates names
with each of the primitives and provides \fIuser-defined functions\fP for
building higher level primitives and \fImenus\fP for interactively selecting
among groups of functions.
@ -968,7 +968,7 @@ This function lowers the top-most window that occludes another window.
This function raises the bottom-most window that is occluded by another window.
.IP "\fBf.colormap\fP \fIstring\fP" 8
This function rotates the colormaps (obtained from the WM_COLORMAP_WINDOWS
property on the window) that \fItwm\fP will display when the pointer
property on the window) that \fItwmruined\fP will display when the pointer
is in this window. The argument \fIstring\fP may have one of the following
values: \fB"next"\fP, \fB"prev"\fP, and \fB"default"\fP. It should be noted
here that in general, the installed colormap is determined by keyboard focus.
@ -1087,8 +1087,8 @@ the numeric value of the argument \fIstring\fP, which should be a signed
integer in double quotes (e.g. "999" ). This function has an effect only
if the server supports the SYNC extension.
.IP "\fBf.quit\fP" 8
This function causes \fItwm\fP to restore the window's borders and exit. If
\fItwm\fP is the first client invoked from \fIxdm\fP, this will result in a
This function causes \fItwmruined\fP to restore the window's borders and exit. If
\fItwmruined\fP is the first client invoked from \fIxdm\fP, this will result in a
server reset.
.IP "\fBf.raise\fP" 8
This function raises the selected window.
@ -1103,9 +1103,9 @@ This function displays an outline of the selected window. Crossing a border
rubber band until the invoking button is released. To abort a resize,
press another button before releasing the first button.
.IP "\fBf.restart\fP" 8
This function kills and restarts \fItwm\fP.
This function kills and restarts \fItwmruined\fP.
.IP "\fBf.startwm\fP \fIstring\fP" 8
This function kills \fItwm\fP and starts another window manager, as
This function kills \fItwmruined\fP and starts another window manager, as
specified by \fIstring\fP.
.IP "\fBf.righticonmgr\fI" 8
This function is similar to \fBf.nexticonmgr\fP except that wrapping does
@ -1127,17 +1127,17 @@ This function sorts the entries in the current icon manager alphabetically.
See the variable \fBSortIconManager\fP.
.\".IP "\fBf.source\fP \fIstring\fP" 8
.\"This function assumes \fIstring\fP is a file name. The file is read
.\"and parsed as a \fItwm\fP startup file.
.\"and parsed as a \fItwmruined\fP startup file.
.\"This
.\"function is intended to be used only to re-build pull-down menus. None
.\"of the \fItwm\fP variables are changed.
.\"of the \fItwmruined\fP variables are changed.
.IP "\fBf.title\fP" 8
This function provides a centered, unselectable item in a menu definition. It
should not be used in any other context.
.IP "\fBf.topzoom\fP" 8
This variable is similar to the \fBf.bottomzoom\fP function except that
the selected window is only resized to the top half of the display.
.\".IP "\fBf.twmrc\fP" 8
.\".IP "\fBf.twmruinedrc\fP" 8
.\"This function causes the startup customization file to be re-read. This
.\"function is exactly like the \fBf.source\fP function without having to
.\"specify the filename.
@ -1148,7 +1148,7 @@ when a focused window is no longer desired.
This function warps the pointer to the previous row in the current icon
manager, wrapping to the last row in the same column if necessary.
.\".IP "\fBf.version\fI" 8
.\"This function causes the \fItwm\fP version window to be displayed. This
.\"This function causes the \fItwmruined\fP version window to be displayed. This
.\"window will be displayed until a pointer button is pressed or the
.\"pointer is moved from one window to another.
.IP "\fBf.vlzoom\fP" 8
@ -1218,7 +1218,7 @@ The \fIfunction\fP portion of the menu entry is one of the functions,
including any user-defined functions, or additional menus.
.PP
There is a special menu named \fBTwmWindows\fP which contains the names of
all of the client and \fItwm\fP-supplied windows. Selecting an entry will
all of the client and \fItwmruined\fP-supplied windows. Selecting an entry will
cause the
\fBWindowFunction\fP to be executed on that window. If \fBWindowFunction\fP
hasn't been set, the window will be deiconified and raised.
@ -1261,9 +1261,9 @@ they may be lost if they are iconified and no bindings to
.SH FILES
.PP
.nf
.I $HOME/.twmrc.<screen number>
.I $HOME/.twmrc
.I __projectroot__/lib/X11/twm/system.twmrc
.I $HOME/.twmruinedrc.<screen number>
.I $HOME/.twmruinedrc
.I __projectroot__/lib/X11/twmruined/system.twmruinedrc
.fi
.SH "ENVIRONMENT VARIABLES"
.IP "DISPLAY" 8
@ -1271,7 +1271,7 @@ This variable is used to determine which X server to use. It is also set
during \fBf.exec\fP so that programs come up on the proper screen.
.IP "HOME" 8
This variable is used as the prefix for files that begin with a tilde and
for locating the \fItwm\fP startup file.
for locating the \fItwmruined\fP startup file.
.SH "SEE ALSO"
.PP
X(__miscmansuffix__), Xserver(__appmansuffix__), xdm(__appmansuffix__), xrdb(__appmansuffix__)

View File

@ -22,20 +22,20 @@
AM_YFLAGS = -d
bin_PROGRAMS = twm
bin_PROGRAMS = twmruined
rcdir = ${datadir}/X11/twm
dist_rc_DATA = system.twmrc
rcdir = ${datadir}/X11/twmruined
dist_rc_DATA = system.twmruinedrc
AM_CPPFLAGS = \
-DXVENDORNAME=\"The\ X.Org\ Foundation\" \
-DXORG_RELEASE=\"Release\ $(VERSION)\" \
-DSYSTEM_INIT_FILE=\"${datadir}/X11/twm/system.twmrc\"
-DSYSTEM_INIT_FILE=\"${datadir}/X11/twmruined/system.twmruinedrc\"
AM_CFLAGS = $(TWM_CFLAGS)
twm_LDADD = $(TWM_LIBS)
twmruined_LDADD = $(TWM_LIBS)
twm_SOURCES = \
twmruined_SOURCES = \
add_window.c \
add_window.h \
cursor.c \
@ -70,15 +70,15 @@ twm_SOURCES = \
BUILT_SOURCES = gram.h deftwmrc.c
deftwmrc.c: system.twmrc
deftwmrc.c: system.twmruinedrc
$(AM_V_at)rm -f $@ ; \
echo '/* ' >>$@ ; \
echo ' * This file is generated automatically from the default' >>$@ ; \
echo ' * twm bindings file system.twmrc by the twm Makefile.' >>$@ ; \
echo ' * twmruined bindings file system.twmruinedrc by the twmruined Makefile.' >>$@ ; \
echo ' */' >>$@ ; \
echo '' >>$@ ; \
echo 'unsigned char *defTwmrc[] = {' >>$@ ; \
$(SED) -f ${srcdir}/deftwmrc.sed < ${srcdir}/system.twmrc >>$@ ; \
$(SED) -f ${srcdir}/deftwmrc.sed < ${srcdir}/system.twmruinedrc >>$@ ; \
echo ' (unsigned char *) 0 };' >>$@
EXTRA_DIST = deftwmrc.sed siconify.bm

View File

@ -111,7 +111,7 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
bin_PROGRAMS = twm$(EXEEXT)
bin_PROGRAMS = twmruined$(EXEEXT)
subdir = src
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
@ -124,15 +124,15 @@ CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(rcdir)"
PROGRAMS = $(bin_PROGRAMS)
am_twm_OBJECTS = add_window.$(OBJEXT) cursor.$(OBJEXT) \
am_twmruined_OBJECTS = add_window.$(OBJEXT) cursor.$(OBJEXT) \
deftwmrc.$(OBJEXT) events.$(OBJEXT) gc.$(OBJEXT) \
iconmgr.$(OBJEXT) icons.$(OBJEXT) list.$(OBJEXT) \
menus.$(OBJEXT) parse.$(OBJEXT) resize.$(OBJEXT) \
session.$(OBJEXT) twm.$(OBJEXT) util.$(OBJEXT) \
version.$(OBJEXT) gram.$(OBJEXT) lex.$(OBJEXT)
twm_OBJECTS = $(am_twm_OBJECTS)
twmruined_OBJECTS = $(am_twmruined_OBJECTS)
am__DEPENDENCIES_1 =
twm_DEPENDENCIES = $(am__DEPENDENCIES_1)
twmruined_DEPENDENCIES = $(am__DEPENDENCIES_1)
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
@ -174,8 +174,8 @@ AM_V_YACC = $(am__v_YACC_@AM_V@)
am__v_YACC_ = $(am__v_YACC_@AM_DEFAULT_V@)
am__v_YACC_0 = @echo " YACC " $@;
am__v_YACC_1 =
SOURCES = $(twm_SOURCES)
DIST_SOURCES = $(twm_SOURCES)
SOURCES = $(twmruined_SOURCES)
DIST_SOURCES = $(twmruined_SOURCES)
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
@ -293,6 +293,8 @@ PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
@ -347,6 +349,7 @@ pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
runstatedir = @runstatedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
@ -356,16 +359,16 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AM_YFLAGS = -d
rcdir = ${datadir}/X11/twm
dist_rc_DATA = system.twmrc
rcdir = ${datadir}/X11/twmruined
dist_rc_DATA = system.twmruinedrc
AM_CPPFLAGS = \
-DXVENDORNAME=\"The\ X.Org\ Foundation\" \
-DXORG_RELEASE=\"Release\ $(VERSION)\" \
-DSYSTEM_INIT_FILE=\"${datadir}/X11/twm/system.twmrc\"
-DSYSTEM_INIT_FILE=\"${datadir}/X11/twmruined/system.twmruinedrc\"
AM_CFLAGS = $(TWM_CFLAGS)
twm_LDADD = $(TWM_LIBS)
twm_SOURCES = \
twmruined_LDADD = $(TWM_LIBS)
twmruined_SOURCES = \
add_window.c \
add_window.h \
cursor.c \
@ -480,9 +483,9 @@ gram.h: gram.c
@if test ! -f $@; then rm -f gram.c; else :; fi
@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) gram.c; else :; fi
twm$(EXEEXT): $(twm_OBJECTS) $(twm_DEPENDENCIES) $(EXTRA_twm_DEPENDENCIES)
@rm -f twm$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(twm_OBJECTS) $(twm_LDADD) $(LIBS)
twmruined$(EXEEXT): $(twmruined_OBJECTS) $(twmruined_DEPENDENCIES) $(EXTRA_twmruined_DEPENDENCIES)
@rm -f twmruined$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(twmruined_OBJECTS) $(twmruined_LDADD) $(LIBS)
mostlyclean-compile:
-rm -f *.$(OBJEXT)
@ -762,15 +765,15 @@ uninstall-am: uninstall-binPROGRAMS uninstall-dist_rcDATA
.PRECIOUS: Makefile
deftwmrc.c: system.twmrc
deftwmrc.c: system.twmruinedrc
$(AM_V_at)rm -f $@ ; \
echo '/* ' >>$@ ; \
echo ' * This file is generated automatically from the default' >>$@ ; \
echo ' * twm bindings file system.twmrc by the twm Makefile.' >>$@ ; \
echo ' * twmruined bindings file system.twmruinedrc by the twmruined Makefile.' >>$@ ; \
echo ' */' >>$@ ; \
echo '' >>$@ ; \
echo 'unsigned char *defTwmrc[] = {' >>$@ ; \
$(SED) -f ${srcdir}/deftwmrc.sed < ${srcdir}/system.twmrc >>$@ ; \
$(SED) -f ${srcdir}/deftwmrc.sed < ${srcdir}/system.twmruinedrc >>$@ ; \
echo ' (unsigned char *) 0 };' >>$@
# Tell versions [3.59,3.63) of GNU make to not export all variables.

View File

@ -1,6 +1,6 @@
/*
* This file is generated automatically from the default
* twm bindings file system.twmrc by the twm Makefile.
* twmruined bindings file system.twmruinedrc by the twmruined Makefile.
*/
unsigned char *defTwmrc[] = {

View File

@ -1,6 +1,6 @@
#
# Default twm configuration file; needs to be kept small to conserve string
# space in systems whose compilers don't handle medium-sized strings.
# Default twmruined configuration file; needs to be kept small to conserve
# string space in systems whose compilers don't handle medium-sized strings.
#
# Sites should tailor this file, providing any extra title buttons, menus, etc.
# that may be appropriate for their environment. For example, if most of the

View File

@ -210,7 +210,7 @@ Bool IsPrintScreen(Screen *s)
/***********************************************************************
*
* Procedure:
* main - start of twm
* main - start of twmruined
*
***********************************************************************
*/