chiark / gitweb /
vtwm (5.4.7-3) unstable; urgency=medium
authorAndreas Beckmann <anbe@debian.org>
Fri, 9 Dec 2016 17:09:56 +0000 (17:09 +0000)
committerAndreas Beckmann <anbe@debian.org>
Fri, 9 Dec 2016 17:09:56 +0000 (17:09 +0000)
  * QA upload.
  * Set Maintainer to Debian QA Group.  (See: #522263)
  * Add Build-Depends: libfl-dev.  (Closes: #846455)

  [ Chris Lamb ]
  * Make the build reproducible.  (Closes: #831661)

[dgit import package vtwm 5.4.7-3]

22 files changed:
Imakefile
debian/changelog [new file with mode: 0644]
debian/changelog.Debian.old [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/menu [new file with mode: 0644]
debian/menu-method [new file with mode: 0644]
debian/patches [new file with mode: 0644]
debian/postinst [new file with mode: 0644]
debian/postrm [new file with mode: 0644]
debian/prerm [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/system.vtwmrc-menu [new file with mode: 0644]
debian/watch [new file with mode: 0644]
desktop.c
doc/vtwm.man
doors.c
iconmgr.c
list.c
menus.c
util.c

index 72db51e03e255d855aa819ffea9d8cbc61925853..3ab9201ceea2313fcff07897eb2ed7f4fef42b9d 100644 (file)
--- a/Imakefile
+++ b/Imakefile
@@ -56,8 +56,21 @@ XCOMM   NEED_PROCESS_H = -DNEED_PROCESS_H
 XCOMM Installation path for the binary
        VTWMBINDIR = $(BINDIR)
 
-XCOMM Installation path for the system resource file
-       VTWMLIBDIR = $(LIBDIR)/twm
+/*
+ * If EtcX11Directory is defined, we're using a relatively modern X.Org or
+ * XFree86 release.
+ */
+#ifdef EtcX11Directory
+          CONFDIR = $(ETCX11DIR)
+#else
+          CONFDIR = $(LIBDIR)
+#endif
+
+XCOMM Installation path for VTWM's system resource file
+       VTWMCONFDIR = $(CONFDIR)/vtwm
+
+XCOMM Location where we search for TWM's system resource file
+       TWMCONFDIR = $(CONFDIR)/twm
 
 XCOMM Installation path for the man page
        VTWMMANDIR = $(MANDIR)
@@ -113,8 +126,8 @@ SpecialObjectRule(util.o,gram.h,$(NEED_PUTENV_F))
 SpecialObjectRule(events.o,gram.h,$(NEED_SELECT_H))
 
 SpecialObjectRule(parse.o,gram.h,$(NEED_YYLINENO_V) \
-'-DSYSTEM_VTWMRC="'$(VTWMLIBDIR)'/system.vtwmrc"' \
-'-DSYSTEM_TWMRC="'$(VTWMLIBDIR)'/system.twmrc"')
+'-DSYSTEM_VTWMRC="'$(VTWMCONFDIR)'/system.vtwmrc"' \
+'-DSYSTEM_TWMRC="'$(VTWMCONFDIR)'/system.twmrc"')
 
 SpecialObjectRule(add_window.o applets.o icons.o \
 list.o regions.o sound.o twm.o,gram.h,NullParameter)
@@ -123,7 +136,7 @@ NormalProgramTarget(vtwm,$(OBJS),$(DEPLIBS),$(LOCAL_LIBRARIES),NullParameter)
 
 InstallProgram(vtwm,$(VTWMBINDIR))
 InstallManPage(vtwm,$(VTWMMANDIR))
-InstallNonExecFile(system.vtwmrc,$(VTWMLIBDIR))
+InstallNonExecFile(system.vtwmrc,$(VTWMCONFDIR))
 
 depend:: lex.c gram.c deftwmrc.c lastmake.c vtwm.man
 
@@ -161,8 +174,13 @@ lastmake.c:
        echo ' */' >>$@
        echo '' >>$@
        echo 'char *lastmake[] = {' >>lastmake.c
+ifdef SOURCE_DATE_EPOCH
+       echo '    "Platform:  -",' >>$@
+       echo '    "Build:  '`LC_ALL=C date --utc --date=@$${SOURCE_DATE_EPOCH}`'",' >>$@
+else
        echo '    "Platform:  '`uname -r -s`'",' >>$@
        echo '    "Build:  '`date`'",' >>$@
+endif
        echo '    "" };' >>$@
 
 system.vtwmrc:
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..c43e778
--- /dev/null
@@ -0,0 +1,272 @@
+vtwm (5.4.7-3) unstable; urgency=medium
+
+  * QA upload.
+  * Set Maintainer to Debian QA Group.  (See: #522263)
+  * Add Build-Depends: libfl-dev.  (Closes: #846455)
+
+  [ Chris Lamb ]
+  * Make the build reproducible.  (Closes: #831661)
+
+ -- Andreas Beckmann <anbe@debian.org>  Fri, 09 Dec 2016 18:09:56 +0100
+
+vtwm (5.4.7-2.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix dependency on old packages (Closes: #485227, #515518)
+  * Move homepage out of the description into its own field.
+  * Update menu's file section
+  * Update the path to install-menu (Closes: #483196)
+  * Add dummy binary-indep target (Closes: #395759)
+  * Add watch file
+  * Bump debhelper compat to five
+  * Don't ignore errors by make clean
+
+ -- Raphael Geissert <geissert@debian.org>  Wed, 08 Jul 2009 02:00:47 -0500
+
+vtwm (5.4.7-2.1) unstable; urgency=low
+
+  * NMU
+  * Update for X11R7 (Closes: #365286)
+    - debian/rules: modify make with path to /usr/lib
+    - debian/{postinst,prerm}: modify path for update-alternatives
+
+ -- Julien Danjou <acid@debian.org>  Tue, 23 May 2006 12:12:14 +0200
+
+vtwm (5.4.7-2) unstable; urgency=low
+
+  * Add build-dependency on librplay3-dev to fix FTBFS (librplay3-dev does not
+    depend on libc6-dev for some reason, so I didn't catch this when scrubbing
+    my chroot.  Sigh.)
+
+ -- Branden Robinson <branden@debian.org>  Sun,  6 Nov 2005 09:44:15 -0500
+
+vtwm (5.4.7-1) unstable; urgency=low
+
+  * Merge new upstream release.
+    + This release is dedicated to the memory of David J. Hawkey, Jr., who
+      passed away in 2004.  VTWM is now team-developed by the VTWM hackers at
+      http://www.vtwm.org/, and Callum Gibson is the release manager.
+    + See /usr/share/doc/vtwm/HISTORY for a comprehensive list of new
+      features, behavior changes, and bug fixes.
+  * Bump Debian standards version to 3.6.2; no changes necessary.
+  * Update URL in package description.
+  * Tweak Debian rules file:
+    + Explicitly set optimization to -O0 if DEB_BUILD_OPTS contains "noopt".
+    + Export the CDEBUGFLAGS variable instead of manually passing it to Make.
+    + Make shell style tweaks.
+  * Remove Debian patch to remove increment of yylineno variable from parse.c;
+    upstream has "#ifdef"ed it out so that it can be restored for systems
+    where lex doesn't define and use this variable for itself.
+  * Ship more upstream documentation files: 4.6.ANNOUNCE, 4.6.README,
+    4.7.README, DEVELOPERS, HISTORY, and SOUND.
+  * Remove "SunkFocusWindowTitle" configuration parameter from
+    debian/system.vtwmrc-menu, since it is no longer supported.
+  * Fix menu-method file to background launched apps, so the window manager
+    doesn't wedge.  Whoops.  Thanks to Matthew A. Micholson for the patch!
+    (Closes: #319510)
+
+ -- Branden Robinson <branden@debian.org>  Sat,  5 Nov 2005 19:35:41 -0500
+
+vtwm (5.4.6b-1) unstable; urgency=low
+
+  * Update to new upstream version.  (Closes: #193695)
+    + Fixes problem where certain window types (often transient dialogs) cause
+      VTWM to restart itself.  (Closes: #286951)
+    + The "VirtualDesktopFont" configuration variable is now documented under
+      that name, instead of the incorrect "VirtualFont".  (Closes: #201738)
+  * Resync Debian patches with new version.
+    + Fix for gram.y is now upstream.
+    + Replace VTWMLIBDIR symbol with VTWMCONFDIR since all we use it for is
+      installation of the configuration file.  Create a new TWMCONFDIR symbol,
+      which we use to locate twm's configration file.  If Imake defines
+      EtcX11Directory, use a subdirectory of ETCX11DIR for vtwm's
+      configuration; otherwise, use a subdirectory of LIBDIR.  (This is an
+      improved -- and hopefully upstream-tolerable -- version of a patch
+      previously applied.)
+  * Update copyright information:
+    + Update URL to new source version and hosting location.
+    + Update list of copyright holders, authors and contributors based on
+      current version of manual page.
+    + Undocument Martin "Joey" Schulze as a Debian package author, as he
+      wasn't responsible for *this* packaging (which has been done at least 3
+      times from scratch in the past 10 years, most recently by me).
+      Acknowledge Joey's previous packaging.
+    + Update my copyright notice.  I have never signed a written instrument
+      assigning my copyright in the packaging desiderata to Software in the
+      Public Interest, Inc., so it's probably misleading to claim the
+      copyright belongs to them.
+  * Rewrite package's extended description based on current information from
+    upstream.
+  * Update build-dependencies to depend on real X protocol header and library
+    development packages, rather than xlibs-dev, which is a dummy package
+    nowadays.
+  * Update menu item quoting functions in vtwm's menu-method file to align
+    them with twm's, which are a little easier to understand.
+  * Add support for launching other window managers to menu-method file, using
+    VTWM's f.startwm function.  Add 10 points to vtwm command's alternatives
+    priority per Debian Policy section 11.8.4.  (Closes: #194158)
+  * Re-case VTWM's name in its menu entry per upstream usage.
+  * Use a debian/compat file instead of the DH_COMPAT variable in the rules
+    file, per debhelper(7).
+  * Add "FixManagedVirtualGeometries" and "FixTransientVirtualGeometries" to
+    system.vtwmrc-menu file per suggestion from Neil Stewart; this should fix
+    various problems with placement of transient and pop-up dialog windows.
+    (Closes: #194110, #225945)
+  * Grab fix to twm's parse.c from XFree86 CVS (revision 1.9, 2001/04/23) that
+    fixes line numbers in error messages about the vtwmrc file from being
+    double their correct value.  (Closes: #201741)
+  * Bump Standards-Version to 3.6.1; no changes necessary.
+  * Quote strings in menu file, per Lintian.
+  * Tidy up the manual page in several respects:
+    + Add copyright notice to the manual page itself, copied from the
+      copyright information on twm's source files in X11R4, from which VTWM
+      was forked.
+    + Fix up the .TH directive:
+      - Downcase the command name (rendering a command's name in full caps is
+        a presentation decision).
+      - Change the date to reflect my modifications.
+      - Indicate the source as "VTWM 5.4.6b", not "X11R4-6", since this
+        manual page is independently maintained by the VTWM hackers.
+    + Fix up the NAME section:
+      - Remove spurious paragraph break at the beginning of the section.
+      - Use \- instead of - to separate the manpage's name and summary and so
+        that mkwhatis is less easily confused.  (See man(7).)
+    + Rename the SYNTAX section to SYNOPSIS.  (See man(7).)
+    + Use an macros for type face selection in the SYNOPSIS section.
+    + Use \- instead of - in the SYNOPSIS section to notate literal dashes
+      that the user will type (e.g., when specifying command-line options).
+    + Rename the SIGNALS section to ASYNCHRONOUS EVENTS (after SUSv3
+      manpages).
+    + Rename the ENVIRONMENT VARIABLES section to ENVIRONMENT.  (See
+      man(7).)
+    + Use "an" typeface macros instead of roff \f escapes for font changes
+      where practical in the ASYNCHRONOUS EVENTS, BUGS, FILES,
+      ENVIRONMENT, COPYRIGHT, and SEE ALSO sections.
+    + Quote multi-word arguments to the .SH macro in the ASYNCHRONOUS
+      EVENTS and AUTHORS AND CONTRIBUTORS sections.
+    + Use \(oq and \(cq named characters instead of literal double-quotes
+      in the BUGS section.
+    + Italicize signal names in the ASYNCHRONOUS EVENTS section.
+    + Put a newline at the ends of sentences per the GNU Roff info
+      documentation.
+    + Move the SEE ALSO section to the end of the page.
+    + Update COPYRIGHT section based on the information I gathered from
+      trawling the source tree.
+
+ -- Branden Robinson <branden@debian.org>  Thu, 30 Dec 2004 23:20:05 -0500
+
+vtwm (5.4.5a-12) unstable; urgency=medium
+
+  * Fix FTBFS bug caused by GNU Bison 1.50 and later, hence urgency.
+
+  * gram.y: fix syntax error (thanks, Matt Kraai) (Closes: #166271)
+
+  * debian/conffiles: deleted; debhelper takes care of this
+  * debian/control: incremented Standards-Version to 3.5.8 (no changes
+    necessary)
+  * debian/patches: regenerated; include new patch to gram.y
+
+ -- Branden Robinson <branden@debian.org>  Mon, 25 Nov 2002 01:11:30 -0500
+
+vtwm (5.4.5a-11) unstable; urgency=low
+
+  * debian/rules: s/CFLAGS/CDEBUGFLAGS/; Imake-using packages should use
+    CDEBUGFLAGS instead of CFLAGS.  Using CFLAGS didn't hurt vtwm but it
+    doesn't work in the general case.
+
+ -- Branden Robinson <branden@debian.org>  Thu,  3 Oct 2002 01:42:38 -0500
+
+vtwm (5.4.5a-10) unstable; urgency=low
+
+  * debian/changelog.Debian.old: move Martin Schulze's asyntactic old
+    changelog entries from 3+ years ago into this file; they cause the Vim
+    syntax highlighter to glow red, and that annoys me
+  * debian/copyright: updated
+  * debian/control:
+    - add versioning to build-dependency on debhelper (>= 4.0)
+    - correct improper case in Standards-Version, and increment it to 3.5.7
+  * debian/patches:
+    - new file containing all changes to upstream source, referenced by
+      debian/copyright
+  * debian/rules:
+    - use debhelper version 4 compatibility
+    - support "noopt" flag in DEB_BUILD_OPTIONS
+    - clean up paths in install rule
+    - miscellaneous cosmetic cleanups
+
+ -- Branden Robinson <branden@debian.org>  Thu,  3 Oct 2002 01:18:40 -0500
+
+vtwm (5.4.5a-9) unstable; urgency=low
+
+  * debian/conffiles: mark /etc/menu-methods/vtwm as a conffile
+    (Closes: #132203)
+  * lintian 1.20.17 clean
+
+ -- Branden Robinson <branden@debian.org>  Sun,  3 Feb 2002 15:16:10 -0500
+
+vtwm (5.4.5a-8) unstable; urgency=low
+
+  * debian/control: add debhelper to Build-Depends
+  * debian/rules: don't ship upstream INSTALL file anymore; instead do some
+    seddage to extract the "RUNTIME HINTS" section and write it out as
+    README.Debian
+  * lintian 1.20.11 clean
+
+ -- Branden Robinson <branden@debian.org>  Fri, 30 Mar 2001 03:06:57 -0500
+
+vtwm (5.4.5a-7) unstable; urgency=low
+
+  * debian/prerm: update-alternatives should only be called on remove or
+    deconfigure
+
+ -- Branden Robinson <branden@debian.org>  Thu, 22 Feb 2001 22:31:54 -0500
+
+vtwm (5.4.5a-6) unstable; urgency=low
+
+  * debian/control:
+    - changed build dependencies to xutils, xlibs-dev, flex, bison
+    - bumped Standards-Version to 3.5.2 (no changes required)
+
+ -- Branden Robinson <branden@debian.org>  Thu, 22 Feb 2001 13:03:34 -0500
+
+vtwm (5.4.5a-5) unstable; urgency=low
+
+  * added bison and xpm4g-dev to Build-Depends (Closes: #54601)
+
+ -- Branden Robinson <branden@debian.org>  Thu, 13 Jan 2000 00:49:58 -0500
+
+vtwm (5.4.5a-4) unstable; urgency=low
+
+  * correct menu-method with respect to menu entries with embedded quotes
+
+ -- Branden Robinson <branden@debian.org>  Thu,  6 Jan 2000 14:58:49 -0500
+
+vtwm (5.4.5a-3) unstable; urgency=low
+
+  * made compliant with Standards Version 3.1.1
+  * made compliant with new proposed X Window System policies
+  * debian/control:
+    - added Build-Depends
+    - Provides: x-window-manager
+  * debian/postinst: stepped alternative priority down to 40
+
+ -- Branden Robinson <branden@debian.org>  Sun,  2 Jan 2000 14:40:49 -0500
+
+vtwm (5.4.5a-2) unstable; urgency=low
+
+  * debian/postinst: whack /etc/X11/vtwm on purge (Closes: #49213)
+
+ -- Branden Robinson <branden@debian.org>  Sat,  6 Nov 1999 03:14:28 -0500
+
+vtwm (5.4.5a-1) unstable; urgency=medium
+
+  * New maintainer.
+  * New upstream source.
+  * Repackaged from scratch.
+  * Integrated with Debian menu system.
+  * Imakefile: looks in correct place for rc files (Closes: #43474)
+  * {util.c,list.c,doors.c,desktop.c,iconmgr.c,menus.c}: remove
+    declarations and definitions of strdup to suppress compiler warnings;
+    just use libc's strdup instead
+
+ -- Branden Robinson <branden@debian.org>  Sat, 30 Oct 1999 17:42:31 -0400
diff --git a/debian/changelog.Debian.old b/debian/changelog.Debian.old
new file mode 100644 (file)
index 0000000..e5d663e
--- /dev/null
@@ -0,0 +1,21 @@
+vtwm (5.4.4-3) frozen unstable; urgency=medium, closes=20992
+
+  * Re-Upload as the last removed the .orig.tar.gz dependency
+    and executable of debian/rules (closes: Bug#20992)
+
+ -- Martin Schulze <joey@finlandia.infodrom.north.de>  Tue, 14 Apr 1998 01:51:23 +0200
+
+vtwm (5.4.4-2) froen unstable; urgency=medium
+
+  * Correct permissions for conffiles (lintian)
+  * Correct permissions for changelog (lintian)
+  * Correct permissions for manpage (lintian)
+
+ -- Martin Schulze <joey@finlandia.infodrom.north.de>  Tue, 24 Mar 1998 00:27:38 +0100
+
+vtwm (5.4.4-1) unstable; urgency=low
+
+  * New upstream source
+  * Re-packaged
+
+ -- Martin Schulze <joey@finlandia.infodrom.north.de>  Sun, 1 Mar 1998 10:56:10 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..7b63270
--- /dev/null
@@ -0,0 +1,36 @@
+Source: vtwm
+Section: x11
+Priority: optional
+Maintainer: Debian QA Group <packages@qa.debian.org>
+Build-Depends:
+ debhelper (>= 5),
+ xutils-dev,
+ x11proto-core-dev,
+ libx11-dev,
+ libxext-dev,
+ libxmu-dev,
+ libxpm-dev,
+ libxt-dev,
+ libsm-dev,
+ libice-dev,
+ librplay3-dev,
+ flex,
+ bison,
+ libfl-dev,
+Standards-Version: 3.6.2
+Homepage: http://www.vtwm.org/
+
+Package: vtwm
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Provides: x-window-manager
+Description: Virtual Tab Window Manager
+ VTWM is an enhanced version of the Tab window manager (TWM) that adds many
+ features -- primarily a virtual desktop, meaning that what is currently on
+ screen is just a portion of a larger workspace.  What portion of the virtual
+ desktop that is displayed, and whatever windows might be visible within it,
+ are simple point-and-click operations within a scaled representation of the
+ workspace.
+# $Id: control 66 2005-11-06 15:01:09Z branden $
+#
+# vim:set ai et sts=4 sw=4 tw=78:
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..b8dc16b
--- /dev/null
@@ -0,0 +1,225 @@
+Package: vtwm
+Obtained from:
+  http://www.vtwm.org/downloads/vtwm-5.4.7.tar.gz
+  svn://necrotic.deadbeast.net/vtwm/tags/debian/5.4.7-1
+Upstream authors:
+    Tom LaStrange, Solbourne Computer; Jim Fulton, MIT X Consortium;
+    Steve Pitschke, Stardent Computer; Keith Packard, MIT X Consortium;
+    Dave Payne, Apple Computer; Nick Williams <njw@athena.mit.edu>;
+    Dave Edmondson, Santa Cruz Operation, <davided@sco.com>;
+    Dana Chee, Bellcore (R5 conversion), <dana@thumper.bellcore.com>;
+    Warren Jessop, University of Washington, <whj@cs.washington.edu>;
+    Gilligan <thoth@reef.cis.ufl.edu>;
+    Tim Ramsey <tar@math.ksu.edu>;
+    Ralph Betza <gnohmon@ssiny.com>;
+    Michael Kutzner <futzi@uni-paderborn.de>;
+    Stig Ostholm <ostholm@ce.chalmers.se>;
+    M. Eyckmans <mce@ping.be>;
+    Tony Brannigan <tbrann@ox.ac.uk>;
+    Alec Wolman <wolman@crl.dec.com>;
+    <gdmr@dcs.edinburgh.ac.uk>;
+    Marcel Mol <marcel@duteca.et.tudelft.nl>;
+    Darren S. Embry <dsembr01@starbase.spd.louisville.edu>;
+    Chris P. Ross <cross@eng.umd.edu>;
+    Paul Falstad <pf@z-code.z-code.com>;
+    D. J. Hawkey Jr., (version 5.4), <hawkeyd@visi.com>,
+  with
+    Erik Agsjo <erik.agsjo@aktiedirekt.com>,
+    Ugen Antsilevitch <ugen@xonix.com>,
+    Nelson H. F. Beebe <beebe@math.utah.edu>,
+    Michael Dales <michael@dcs.gla.ac.uk>,
+    Michel Eyckmans <mce@ping.be>,
+    Callum Gibson <callum.gibson@db.com>,
+    Jason Gloudon <jdg@world.std.com>,
+    Nicholas Jacobs <nicholas_jacobs@hotmail.com>,
+    Caveh Frank Jalali <caveh@eng.sun.com>
+    Takeharu Kato <magician@maekawa.is.uec.ac.jp>,
+    Goran Larsson <hoh@lorelei.approve.se>,
+    Rolf Neugebauer <neugebar@dcs.gla.ac.uk>,
+    Steve Ratcliffe <sterat@dial.pipex.com>,
+    Seth Robertson <seth@baka.org>,
+    Mehul N. Sanghvi <mehul@kirsun.ne.mediaone.net>,
+    Tim Wiess <tim@zetaflops.net>,
+  acknowledging
+    Claude Lecommandeur, (ctwm), <lecom@sic.epfl.ch>
+Debian package author: Branden Robinson
+
+Branden Robinson would like to acknowledge Martin "Joey" Schulze for his
+previous packaging of vtwm.
+
+Debian's changes to the upstream sources are available in the file
+debian/patches.
+
+Debian copyright/licensing:
+
+  Unless otherwise noted, all modifications and additions to vtwm found in
+  Debian packages bear the following copyright and license terms:
+
+  Copyright 1999-2002, 2004 Branden Robinson
+
+  Permission is hereby granted, free of charge, to any person obtaining a
+  copy of this software and associated documentation files (the "Software"),
+  to deal in the Software without restriction, including without limitation
+  the rights to use, copy, modify, merge, publish, distribute, sublicense,
+  and/or sell copies of the Software, and to permit persons to whom the
+  Software is furnished to do so, subject to the following conditions:
+
+  The above copyright notice and this permission notice shall be included in
+  all copies or substantial portions of the Software.
+
+  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+  SOFTWARE IN THE PUBLIC INTEREST, INC.  BE LIABLE FOR ANY CLAIM, DAMAGES OR
+  OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+  ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+  DEALINGS IN THE SOFTWARE.
+
+Upstream copyright/licensing:
+
+1) add_window.c
+   add_window.h
+   doc/vtwm.man
+   events.c
+   events.h
+   gc.c
+   gc.h
+   gram.y
+   lex.l
+   list.c
+   list.h
+   menus.c
+   menus.h
+   parse.c
+   parse.h
+   resize.c
+   resize.h
+   twm.c
+   twm.h
+   util.c
+   util.h
+   version.c
+   version.h
+
+  Copyright 1988 by Evans & Sutherland Computer Corporation,
+  Salt Lake City, Utah
+  Portions Copyright 1989 by the Massachusetts Institute of Technology
+  Cambridge, Massachusetts
+
+  All Rights Reserved
+
+  Permission to use, copy, modify, and distribute this software and
+  its documentation  for  any  purpose  and  without  fee is hereby
+  granted, provided that the above copyright notice appear  in  all
+  copies and that both  that  copyright  notice  and  this  permis-
+  sion  notice appear in supporting  documentation,  and  that  the
+  names of Evans & Sutherland and M.I.T. not be used in advertising
+  in publicity pertaining to distribution of the  software  without
+  specific, written prior permission.
+
+  EVANS & SUTHERLAND AND M.I.T. DISCLAIM ALL WARRANTIES WITH REGARD
+  TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES  OF  MERCHANT-
+  ABILITY  AND  FITNESS,  IN  NO  EVENT SHALL EVANS & SUTHERLAND OR
+  M.I.T. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL  DAM-
+  AGES OR  ANY DAMAGES WHATSOEVER  RESULTING FROM LOSS OF USE, DATA
+  OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+  TORTIOUS ACTION, ARISING OUT OF OR IN  CONNECTION  WITH  THE  USE
+  OR PERFORMANCE OF THIS SOFTWARE.
+
+2) applets.c
+   cursor.c
+   iconmgr.c
+   iconmgr.h
+   icons.c
+   regions.c
+   regions.h
+   screen.h
+
+  Copyright 1989 Massachusetts Institute of Technology
+
+  Permission to use, copy, modify, and distribute this software and its
+  documentation for any purpose and without fee is hereby granted, provided
+  that the above copyright notice appear in all copies and that both that
+  copyright notice and this permission notice appear in supporting
+  documentation, and that the name of M.I.T. not be used in advertising
+  or publicity pertaining to distribution of the software without specific,
+  written prior permission.  M.I.T. makes no representations about the
+  suitability of this software for any purpose.  It is provided "as is"
+  without express or implied warranty.
+
+  M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
+  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T.
+  BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
+  OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+  CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+3) desktop.c
+   desktop.h
+   doors.c
+   doors.h
+
+  Copyright 1990 Dave Edmondson.
+  Copyright 1990 Imperial College of Science, Technology & Medicine.
+
+  All Rights Reserved.
+
+  Permission to use, copy, modify, and distribute this software and its
+  documentation for any purpose and without fee is hereby granted, provided
+  that the above copyright notice appear in all copies and that both that
+  copyright notice and this permission notice appear in supporting
+  documentation, and that the names of Dave Edmondson or Imperial College
+  not be used in advertising or publicity pertaining to distribution of the
+  software without specific, written prior permission. Dave Edmondson and
+  Imperial College make no representations about the suitability of this
+  software for any purpose.  It is provided "as is" without express or
+  implied warranty.
+
+4) sound.c
+   sound.h
+
+  Copyright 2001 David J. Hawkey Jr.
+
+  Permission to use, copy, modify, and distribute this software and its
+  documentation for any purpose and without fee is hereby granted, provided
+  that the above copyright notice appear in all copies and that both that
+  copyright notice and this permission notice appear in supporting
+  documentation, and that the name of the copyright holder or the author not
+  be used in advertising or publicity pertaining to distribution of the
+  software without specific, written prior permission. The copyright holder
+  and the author make no representations about the suitability of this
+  software for any purpose. It is provided "as is" without express or
+  implied warranty.
+
+  THE COPYRIGHT HOLDER AND THE AUTHOR DISCLAIM ALL WARRANTIES WITH REGARD
+  TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+  FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDER OR THE AUTHOR BE LIABLE
+  FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+  OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+5) nexpm.c
+
+  Copyright 1990, 1991 GROUPE BULL
+
+  Permission to use, copy, modify, and distribute this software and its
+  documentation for any purpose and without fee is hereby granted, provided
+  that the above copyright notice appear in all copies and that both that
+  copyright notice and this permission notice appear in supporting
+  documentation, and that the name of GROUPE BULL not be used in advertising
+  or publicity pertaining to distribution of the software without specific,
+  written prior permission.  GROUPE BULL makes no representations about the
+  suitability of this software for any purpose.  It is provided "as is"
+  without express or implied warranty.
+
+  GROUPE BULL disclaims all warranties with regard to this software,
+  including all implied warranties of merchantability and fitness,
+  in no event shall GROUPE BULL be liable for any special,
+  indirect or consequential damages or any damages
+  whatsoever resulting from loss of use, data or profits,
+  whether in an action of contract, negligence or other tortious
+  action, arising out of or in connection with the use
+  or performance of this software.
+
+$Id: copyright 58 2005-11-05 23:23:20Z branden $
diff --git a/debian/menu b/debian/menu
new file mode 100644 (file)
index 0000000..c025e19
--- /dev/null
@@ -0,0 +1,8 @@
+# $Id: menu 47 2005-11-05 22:22:55Z branden $
+?package(vtwm):\
+    needs="wm"\
+    section="Window Managers"\
+    longtitle="Virtual Tab Window Manager"\
+    title="VTWM"\
+    command="vtwm"
+# vim:set ai et sts=4 sw=4 tw=80:
diff --git a/debian/menu-method b/debian/menu-method
new file mode 100644 (file)
index 0000000..e32b4d3
--- /dev/null
@@ -0,0 +1,32 @@
+#!/usr/bin/install-menu
+
+# $Id: menu-method 63 2005-11-06 00:36:48Z branden $
+
+compat="menu-1"
+
+!include menu.h
+
+compat="menu-2"
+
+# q($arg): backslash-escape double quotes in $arg
+function q($com) = esc($com,"\"");
+
+# apply($command, $action): run $command using window manager function $action
+function apply($com, $action) = "  \"" q(title()) "\" " $action " \"" q($com) " &\"\n";
+
+supported;
+    x11  = apply($command, "f.exec");
+    text = apply(term(), "f.exec");
+    wm   = apply($command, "f.startwm");
+endsupported;
+
+startmenu=   "menu \"" $section "\"\n{\n";
+endmenu=     "}\n";
+submenutitle="  \"" title() "\" f.menu \"" $section "\"\n";
+genmenu=      "menudefs.hook";
+rcfile=       "system.vtwmrc";
+examplercfile="system.vtwmrc-menu";
+rootprefix=   "/etc/X11/vtwm/";
+userprefix=   "/.vtwm/";
+
+# vim:set ai et sts=4 sw=4 tw=80:
diff --git a/debian/patches b/debian/patches
new file mode 100644 (file)
index 0000000..634eed4
--- /dev/null
@@ -0,0 +1,466 @@
+$Id: patches 57 2005-11-05 23:19:39Z branden $
+
+desktop.c, doors.c, iconmgr.c, list.c, menus.c, util.c:
+  Eliminate redefinitions of strdup().
+
+Imakefile:
+  Replace VTWMLIBDIR symbol with VTWMCONFDIR since all we use it for is
+  installation of the configuration file.  Create a new TWMCONFDIR symbol,
+  which we use to locate twm's configration file.  If Imake defines
+  EtcX11Directory, use a subdirectory of ETCX11DIR for vtwm's
+  configuration; otherwise, use a subdirectory of LIBDIR.
+
+doc/vtwm.man:
+  + Add copyright notice to the manpage itself, copied from the copyright
+    information on TWM's source files in X11R4, from which VTWM was forked.
+  + Remove commented-out local macro definition from manpage (which also
+    dates back to X11R4).
+  + Fix up the .TH directive:
+    - Downcase the command name (rendering a command's name in full caps is
+      a presentation decision).
+    - Change the date to reflect my modifications.
+    - Indicate the source as "VTWM 5.4.6b", not "X11R4-6", since this
+      manual page is independently maintained by the VTWM hackers.
+  + Fix up the NAME section:
+    - Remove spurious paragraph break at the beginning of the section.
+    - Use \- instead of - to separate the manpage's name and summary and so
+      that mkwhatis is less easily confused.  (See man(7).)
+  + Rename the SYNTAX section to SYNOPSIS.  (See man(7).)
+  + Use an macros for type face selection in the SYNOPSIS section.
+  + Use \- instead of - in the SYNOPSIS section to notate literal dashes
+    that the user will type (e.g., when specifying command-line options).
+  + Rename the SIGNALS section to ASYNCHRONOUS EVENTS (after SUSv3
+    manpages).
+  + Rename the ENVIRONMENT VARIABLES section to ENVIRONMENT.  (See
+    man(7).)
+  + Use "an" typeface macros instead of roff \f escapes for font changes
+    where practical in the ASYNCHRONOUS EVENTS, BUGS, FILES,
+    ENVIRONMENT, COPYRIGHT, and SEE ALSO sections.
+  + Quote multi-word arguments to the .SH macro in the ASYNCHRONOUS
+    EVENTS and AUTHORS AND CONTRIBUTORS sections.
+  + Use \(oq and \(cq named characters instead of literal double-quotes
+    in the BUGS section.
+  + Italicize signal names in the ASYNCHRONOUS EVENTS section.
+  + Put a newline at the ends of sentences per the GNU Roff info
+    documentation.
+  + Move the SEE ALSO section to the end of the page.
+  + Update COPYRIGHT section based on the information I gathered from
+    trawling the source tree.
+  + Add a Vim modeline.
+
+Index: Imakefile
+===================================================================
+--- Imakefile  (revision 46)
++++ Imakefile  (working copy)
+@@ -56,9 +56,22 @@
+ XCOMM Installation path for the binary
+        VTWMBINDIR = $(BINDIR)
+-XCOMM Installation path for the system resource file
+-       VTWMLIBDIR = $(LIBDIR)/twm
++/*
++ * If EtcX11Directory is defined, we're using a relatively modern X.Org or
++ * XFree86 release.
++ */
++#ifdef EtcX11Directory
++          CONFDIR = $(ETCX11DIR)
++#else
++          CONFDIR = $(LIBDIR)
++#endif
++XCOMM Installation path for VTWM's system resource file
++       VTWMCONFDIR = $(CONFDIR)/vtwm
++
++XCOMM Location where we search for TWM's system resource file
++       TWMCONFDIR = $(CONFDIR)/twm
++
+ XCOMM Installation path for the man page
+        VTWMMANDIR = $(MANDIR)
+@@ -113,8 +126,8 @@
+ SpecialObjectRule(events.o,gram.h,$(NEED_SELECT_H))
+ SpecialObjectRule(parse.o,gram.h,$(NEED_YYLINENO_V) \
+-'-DSYSTEM_VTWMRC="'$(VTWMLIBDIR)'/system.vtwmrc"' \
+-'-DSYSTEM_TWMRC="'$(VTWMLIBDIR)'/system.twmrc"')
++'-DSYSTEM_VTWMRC="'$(VTWMCONFDIR)'/system.vtwmrc"' \
++'-DSYSTEM_TWMRC="'$(VTWMCONFDIR)'/system.twmrc"')
+ SpecialObjectRule(add_window.o applets.o icons.o \
+ list.o regions.o sound.o twm.o,gram.h,NullParameter)
+@@ -123,7 +136,7 @@
+ InstallProgram(vtwm,$(VTWMBINDIR))
+ InstallManPage(vtwm,$(VTWMMANDIR))
+-InstallNonExecFile(system.vtwmrc,$(VTWMLIBDIR))
++InstallNonExecFile(system.vtwmrc,$(VTWMCONFDIR))
+ depend:: lex.c gram.c deftwmrc.c lastmake.c vtwm.man
+Index: iconmgr.c
+===================================================================
+--- iconmgr.c  (revision 46)
++++ iconmgr.c  (working copy)
+@@ -45,9 +45,6 @@
+ int strcmp(); /* missing from string.h in AUX 2.0 */
+ #endif
+-#define strdup Strdup /* avoid conflict with system header files */
+-extern char *strdup(char *);
+-
+ /* djhjr - 5/2/98 */
+ static int ComputeIconMgrWindowHeight();
+Index: util.c
+===================================================================
+--- util.c     (revision 46)
++++ util.c     (working copy)
+@@ -89,9 +89,6 @@
+ #define ZOOMSLEEP 50000 /* arbitrary, but pleasing, msec value */
+ #endif
+-#define strdup Strdup /* avoid conflict with system header files */
+-extern char *strdup(char *);
+-
+ /*
+  * All instances of Scr->TitleBevelWidth and Scr->BorderBevelWidth
+  * were a hard value of 2 - djhjr - 4/29/98
+Index: doors.c
+===================================================================
+--- doors.c    (revision 46)
++++ doors.c    (working copy)
+@@ -24,16 +24,6 @@
+ #include "desktop.h"
+ #include "add_window.h"
+-#define strdup Strdup /* avoid conflict with system header files */
+-char *strdup(s1)
+-char * s1;
+-{
+-      char *s2;
+-
+-      s2 = malloc((unsigned) strlen(s1)+1);
+-      return (s2 == NULL ? NULL : strcpy(s2,s1));
+-}
+-
+ extern void SetMapStateProp();
+ extern TwmDoor *door_add_internal();
+ extern void twmrc_error_prefix();
+Index: desktop.c
+===================================================================
+--- desktop.c  (revision 46)
++++ desktop.c  (working copy)
+@@ -26,9 +26,6 @@
+ #include "events.h"
+ #include "desktop.h"
+-#define strdup Strdup /* avoid conflict with system header files */
+-extern char *strdup(char *);
+-
+ extern void SetRealScreenInternal();
+ extern void SetRealScreen();
+ extern void SnapRealScreen();
+Index: list.c
+===================================================================
+--- list.c     (revision 46)
++++ list.c     (working copy)
+@@ -60,9 +60,6 @@
+ #define REGCOMP_FLAGS         (REG_EXTENDED | REG_NOSUB)
+-#define strdup Strdup /* avoid conflict with system header files */
+-extern char *strdup(char *);
+-
+ struct name_list_struct
+ {
+     name_list *next;          /* pointer to the next name */
+Index: menus.c
+===================================================================
+--- menus.c    (revision 46)
++++ menus.c    (working copy)
+@@ -69,9 +69,6 @@
+ #endif
+ #include "version.h"
+-#define strdup Strdup /* avoid conflict with system header files */
+-extern char *strdup(char *);
+-
+ extern void IconUp(), IconDown(), CreateIconWindow();
+ /* djhjr - 4/26/99 */
+Index: doc/vtwm.man
+===================================================================
+--- doc/vtwm.man       (revision 46)
++++ doc/vtwm.man       (working copy)
+@@ -1,19 +1,27 @@
+-.\" twm
+-.\" .de EX              \"Begin example
+-.\" .ne 5
+-.\" .if n .sp 1
+-.\" .if t .sp .5
+-.\" .nf
+-.\" .in +.5i
+-.\" ..
+-.\" .de EE
+-.\" .fi
+-.\" .in -.5i
+-.\" .if n .sp 1
+-.\" .if t .sp .5
+-.\" ..
+-.\" .ta .3i .6i .9i 1.2i 1.5i 1.8i
+-.TH VTWM 1 "Release 5.4.7" "X11R4-6"
++.\"       Copyright 1988 by Evans & Sutherland Computer Corporation,
++.\"                          Salt Lake City, Utah
++.\"  Portions Copyright 1989 by the Massachusetts Institute of Technology
++.\"                        Cambridge, Massachusetts
++.\"
++.\"                           All Rights Reserved
++.\"
++.\"    Permission to use, copy, modify, and distribute this software and
++.\"    its documentation  for  any  purpose  and  without  fee is hereby
++.\"    granted, provided that the above copyright notice appear  in  all
++.\"    copies and that both  that  copyright  notice  and  this  permis-
++.\"    sion  notice appear in supporting  documentation,  and  that  the
++.\"    names of Evans & Sutherland and M.I.T.  not be used in advertising
++.\"    in publicity pertaining to distribution of the  software  without
++.\"    specific, written prior permission.
++.\"
++.\"    EVANS & SUTHERLAND AND M.I.T.  DISCLAIM ALL WARRANTIES WITH REGARD
++.\"    TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES  OF  MERCHANT-
++.\"    ABILITY  AND  FITNESS,  IN  NO  EVENT SHALL EVANS & SUTHERLAND OR
++.\"    M.I.T.  BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL  DAM-
++.\"    AGES OR  ANY DAMAGES WHATSOEVER  RESULTING FROM LOSS OF USE, DATA
++.\"    OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
++.\"    TORTIOUS ACTION, ARISING OUT OF OR IN  CONNECTION  WITH  THE  USE
++.\"    OR PERFORMANCE OF THIS SOFTWARE.
+ .\"*********************************************************************
+ .\" Important note: At the time 5.4.4 was released, this manual page
+ .\" conformed to Sun's guidelines for manual page markup, passed
+@@ -22,16 +30,37 @@
+ .\" in subsequent edits to preserve these important invariants!
+ .\"*********************************************************************
+ .\"=====================================================================
++.TH vtwm 1 "2005-06-28" "VTWM 5.4.7"
+ .SH NAME
+ .PP
+ vtwm - Virtual Tab Window Manager for the X Window System
+ .PP
+ .\"=====================================================================
+-.SH SYNTAX
+-.PP
+-\&\fBvtwm\fP [\fB-d\fP \fIdisplay\fP] [\fB-f\fP [\fIinitfile\fP]]
+-[\fB-m\fP [\fIoptions\fP]] [\fB-p\fP] [\fB-s\fP] [\fB-v\fP]
+-.PP
++.SH SYNOPSIS
++.B vtwm
++[
++.B \-d
++.I display
++]
++[
++.B \-f
++.I initfile
++]
++[
++.B \-m
++[
++.I m4-options
++]
++]
++[
++.B \-p
++]
++[
++.B \-s
++]
++[
++.B \-v
++]
+ .\"=====================================================================
+ .SH DESCRIPTION
+ .PP
+@@ -2552,11 +2581,22 @@
+ accomplishes the same thing. This is but a simple example of RE usage,
+ and as such doesn't demonstrate or leverage their capabilities.
+ .\"=====================================================================
+-.SH SIGNALS
+-It is possible to issue a \fBf.restart\fP via a UNIX signal, to ease
+-debugging of \fBvtwm\fP resource files.  To do this, send a SIGUSR1 to the
+-\&\fBvtwm\fP process ID (written to \fI$HOME/vtwm.pid\fP).
+-See \fBkill\fP(1) or \fBslay\fP(1).
++.SH "ASYNCHRONOUS EVENTS"
++It is possible to issue an
++.B f.restart
++via a Unix signal, to ease debugging of
++.B vtwm
++resource files.
++To do this, send a
++.I SIGUSR1
++to the
++.B vtwm
++process ID (written to
++.IR $HOME/vtwm.pid ).
++See
++.BR kill (1)
++or
++.BR slay (1).
+ .\"=====================================================================
+ .SH BUGS
+ There are precious few safeguards against binding functions to objects
+@@ -2565,65 +2605,59 @@
+ Double clicking very fast to get the constrained move function will sometimes
+ cause the window to move, even though the pointer is not moved.
+ .PP
+-It is possible to "lose" windows in the virtual desktop by placing them
+-in a large desktop area, then shrinking the desktop so as to remove them
+-from view. They are still there, of course, but are unreachable until the
+-desktop is grown sufficiently large again.
++It is possible to \(oqlose\(cq windows in the virtual desktop by placing
++them in a large desktop area, then shrinking the desktop so as to remove
++them from view.
++They are still there, of course, but are unreachable until the
+ .PP
+-See the \fIBUGS\fP file in the distribution for others.
++See the
++.I BUGS
++file in the distribution for others.
+ .\"=====================================================================
+ .SH FILES
+-.PP
+-Searched for in the order shown:
+-.RS 4
+-.nf
+-\&\fI$HOME/.vtwmrc.<screen number>\fP
+-\&\fI$HOME/.vtwmrc\fP
+-\&\fI$VTWMDIR/twm/system.vtwmrc\fP
+-\&\fI$HOME/.twmrc.<screen number>\fP
+-\&\fI$HOME/.twmrc\fP
+-\&\fI$VTWMDIR/twm/system.twmrc\fP
++.PD 0
++.TP
++.IR $HOME/.vtwmrc. screen-number
++.TP
++.I $HOME/.vtwmrc
++.TP
++.I $VTWMETCMDIR/vtwm/system.vtwmrc
++.TP
++.IR $HOME/.twmrc. screen-number
++.TP
++.I $HOME/.twmrc
++.TP
++.I $VTWMETCMDIR/twm/system.vtwmrc
++are files
++.B vtwm
++will search for and use as its configuration file.
++They are searched for in the order shown, and the first readable file
++found is used.
++.PD 1
++.TP
++.I $HOME/vtwm.pid
++contains the ID of the user's
++.B vtwm
++process; see the description of the
++.B \-p
++option above.
+ .fi
+-.RE
+-.PP
+-.nf
+-\&\fI$HOME/vtwm.pid\fP
+-.fi
+ .\"=====================================================================
+-.SH "ENVIRONMENT VARIABLES"
+-.IP "\fBDISPLAY\fP" 8
+-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 "\fBHOME\fP" 8
++.SH ENVIRONMENT
++.TP
++.B DISPLAY
++This variable is used to determine which X server to use.
++It is also set during
++.B f.exec
++so that programs come up on the proper screen.
++.TP
++.B HOME
+ This variable is used as the prefix for files that begin with a tilde and
+-for locating the \fBvtwm\fP startup file.
++for locating the
++.B vtwm
++startup file.
+ .\"=====================================================================
+-.SH "SEE ALSO"
+-\&\fBbitmap\fP(5),
+-\&\fBctwm\fP(1),
+-\&\fBm4\fP(1),
+-\&\fBmwm\fP(1),
+-\&\fBpixmap\fP(5),
+-\&\fBre_format\fP(7) or \fBegrep\fP(1),
+-\&\fBrplayd\fP(8) and \fBrplay.helpers\fP(5),
+-\&\fBtvtwm\fP(1),
+-\&\fBtwm\fP(1),
+-\&\fBvuewm\fP(1),
+-\&\fBX\fP(1),
+-\&\fBxdm\fP(1),
+-\&\fBxinit\fP(1),
+-\&\fBxmodmap\fP(1),
+-\&\fBxrdb\fP(1),
+-\&\fBXserver\fP(1)
+-.\"=====================================================================
+-.SH COPYRIGHT
+-Portions copyright 1988 Evans & Sutherland Computer Corporation; portions
+-copyright 1989 Hewlett-Packard Company and the Massachusetts Institute of
+-Technology; portions copyright 2001 D. J. Hawkey Jr..
+-.PP
+-See \fBX\fP(1) for a full statement of rights and permissions.
+-.\"=====================================================================
+-.SH AUTHORS AND CONTRIBUTORS
++.SH "AUTHORS AND CONTRIBUTORS"
+ Tom LaStrange, Solbourne Computer; Jim Fulton, MIT X Consortium;
+ Steve Pitschke, Stardent Computer; Keith Packard, MIT X Consortium;
+ Dave Payne, Apple Computer; Nick Williams <njw@athena.mit.edu>;
+@@ -2665,4 +2699,44 @@
+ Tim Wiess <tim@zetaflops.net>,
+ acknowledging
+ Claude Lecommandeur, (ctwm), <lecom@sic.epfl.ch>
++.\"=====================================================================
++.SH COPYRIGHT
++Copyright 1988 Evans & Sutherland Computer Corporation
++.br
++Copyright 1989 Massachusetts Institute of Technology
++.br
++Copyright 1990 Dave Edmondson
++.br
++Copyright 1990 Imperial College of Science, Technology & Medicine
++.br
++Copyright 1990, 1991 Groupe Bull
++.br
++Copyright 2001 David J. Hawkey Jr.
++.PP
++See the copyright notices in the
++.B vtwm
++source distribution for copyright license statements.
++On Debian systems, these may also be found in the file
++.IR /usr/share/doc/vtwm/copyright .
++.\"=====================================================================
++.SH "SEE ALSO"
++.BR bitmap (1),
++.BR ctwm (1),
++.BR m4 (1),
++.BR mwm (1),
++.BR pixmap (1),
++.BR regex (7)
++or
++.BR egrep (1),
++.BR rplayd (8),
++.BR tvtwm (1),
++.BR twm (1),
++.BR vuewm (1),
++.BR X (1),
++.BR xdm (1),
++.BR xinit (1),
++.BR xmodmap (1),
++.BR xrdb (1),
++.BR Xserver (1)
+ .\"==============================[The End]==============================
++.\" vim:set ai et sts=4 sw=4 tw=72:
diff --git a/debian/postinst b/debian/postinst
new file mode 100644 (file)
index 0000000..fe00f0a
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/sh
+# Debian vtwm package post-installation script
+# Copyright 1999 Branden Robinson.
+# Licensed under the GNU General Public License, version 2.  See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+
+# $Id: postinst 47 2005-11-05 22:22:55Z branden $
+
+set -e
+
+trap "echo ;\
+      echo 'Received signal.  Aborting configuration of vtwm package.' ;\
+      echo ;\
+      exit 1" 1 2 3 15
+
+#DEBHELPER#
+
+update-alternatives --install /usr/bin/x-window-manager x-window-manager \
+  /usr/bin/vtwm 50 --slave /usr/share/man/man1/x-window-manager.1.gz \
+  x-window-manager.1.gz /usr/share/man/man1/vtwm.1x.gz
+
+exit 0
+
+# vim:set ai et sts=4 sw=4 tw=80:
diff --git a/debian/postrm b/debian/postrm
new file mode 100644 (file)
index 0000000..ee77378
--- /dev/null
@@ -0,0 +1,26 @@
+#!/bin/sh
+# Debian vtwm package post-removal script
+# Copyright 1999 Branden Robinson.
+# Licensed under the GNU General Public License, version 2.  See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+
+# $Id: postrm 47 2005-11-05 22:22:55Z branden $
+
+set -e
+
+trap "echo ;\
+      echo 'Received signal.  Aborting removal of vtwm package.' ;\
+      echo ;\
+      exit 1" 1 2 3 15
+
+#DEBHELPER#
+
+if [ "$1" = "purge" ]; then
+    if [ -d /etc/X11/vtwm ]; then
+        rm -r /etc/X11/vtwm
+    fi
+fi
+
+exit 0
+
+# vim:set ai et sts=4 sw=4 tw=80:
diff --git a/debian/prerm b/debian/prerm
new file mode 100644 (file)
index 0000000..b651001
--- /dev/null
@@ -0,0 +1,27 @@
+#!/bin/sh
+# Debian vtwm package pre-removal script
+# Copyright 1999, 2001 Branden Robinson.
+# Licensed under the GNU General Public License, version 2.  See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+
+# $Id: prerm 47 2005-11-05 22:22:55Z branden $
+
+set -e
+
+trap "echo ;\
+      echo 'Received signal.  Aborting removal of vtwm package.' ;\
+      echo ;\
+      exit 1" 1 2 3 15
+
+#DEBHELPER#
+
+case "$1" in
+    upgrade|failed-upgrade) ;;
+    remove|deconfigure)
+        update-alternatives --remove x-window-manager /usr/bin/vtwm
+        ;;
+esac
+
+exit 0
+
+# vim:set ai et sts=4 sw=4 tw=80:
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..4f479c3
--- /dev/null
@@ -0,0 +1,100 @@
+#!/usr/bin/make -f
+# Debian package build rules file for vtwm
+# Copyright 1997-1999 Joey Hess.
+# Copyright 1999 Branden Robinson.
+# Licensed under the GNU General Public License, version 2.  See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+
+# $Id: rules 60 2005-11-05 23:32:57Z branden $
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+CDEBUGFLAGS=-g
+# Does DEB_BUILD_OPTIONS contain the "noopt" flag?
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+# don't get rid of the space in the next line
+CDEBUGFLAGS+= -O2
+else
+CDEBUGFLAGS+= -O0
+endif
+export CDEBUGFLAGS
+
+build: build-stamp
+build-stamp:
+       dh_testdir
+
+       xmkmf
+       $(MAKE) LIBDIR=/usr/lib TWMDIR=/usr/lib/X11/twm
+
+       >"$@"
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp
+
+       [ ! -f Makefile ] || $(MAKE) clean
+       rm -f Makefile
+
+       dh_clean debian/README.Debian
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       $(MAKE) DESTDIR=debian/vtwm install install.man
+       rm debian/vtwm/etc/X11/vtwm/system.vtwmrc
+       install -m 644 debian/system.vtwmrc-menu debian/vtwm/etc/X11/vtwm
+
+       sed -n '/^RUNTIME HINTS/,$$p' <doc/INSTALL >debian/README.Debian
+
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+# Do not ship the following files from the doc/ directory:
+#   doc/CHANGELOG (dh_installchangelog handles this)
+#   doc/INSTALL (handled above in install target)
+       dh_installdocs \
+         doc/1.README \
+         doc/2.1.ANNOUNCE \
+         doc/2.1.README \
+         doc/2.2.README \
+         doc/2.README \
+         doc/3.FUTURE \
+         doc/3.README \
+         doc/4.4.ANNOUNCE \
+         doc/4.4.FUTURE \
+         doc/4.4.README \
+         doc/4.5.ANNOUNCE \
+         doc/4.5.README \
+         doc/4.6.ANNOUNCE \
+         doc/4.6.README \
+         doc/4.7.README \
+         doc/4.ANNOUNCE \
+         doc/4.FUTURE \
+         doc/4.README \
+         doc/BUGS \
+         doc/DEVELOPERS \
+         doc/HISTORY \
+         doc/SOUND \
+         doc/WISHLIST
+       dh_installexamples system.vtwmrc.2D system.vtwmrc.3D
+       dh_installmenu
+       dh_installchangelogs doc/CHANGELOG
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
+
+# vim:set ai noet sts=8 sw=8 tw=80:
diff --git a/debian/system.vtwmrc-menu b/debian/system.vtwmrc-menu
new file mode 100644 (file)
index 0000000..f32385e
--- /dev/null
@@ -0,0 +1,182 @@
+# $Id: system.vtwmrc-menu 62 2005-11-06 00:12:18Z branden $
+
+# Based on:
+# $XConsortium: system.twmrc,v 1.8 91/04/23 21:10:58 gildea Exp $
+
+#
+# Variables
+#
+
+NoGrabServer
+NoDefaults
+RestartPreviousState
+ShowIconManager
+SortIconManager
+IconifyByUnmapping
+RightHandSidePulldownMenus
+
+ButtonColorIsFrame
+ShallowReliefWindowButton
+
+FixManagedVirtualGeometries
+FixTransientVirtualGeometries
+
+BorderWidth            6
+
+BorderBevelWidth       2
+ButtonBevelWidth       1
+IconBevelWidth         2
+IconManagerBevelWidth  1
+InfoBevelWidth         2
+MenuBevelWidth         2
+TitleBevelWidth                1
+
+ClearBevelContrast     40
+DarkBevelContrast      40
+
+MoveDelta              3
+
+ResizeRegion           "NorthEast"
+VirtualDesktop         "3x3-0-0" 16
+
+TitleFont              "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
+ResizeFont             "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
+MenuFont               "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
+MenuTitleFont          "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
+IconFont               "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
+InfoFont               "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
+IconManagerFont                "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
+
+#
+# Lists
+#
+
+WarpCursor
+
+NailedDown
+{
+       "VTWM Icon Manager"
+       "VTWM Desktop"
+}
+
+NoTitle
+{
+       "VTWM Icon Manager"
+}
+
+DontShowInDisplay
+{
+       "VTWM Icon Manager"
+       "VTWM Desktop"
+}
+
+IconManagerDontShow
+{
+       "VTWM Icon Manager"
+       "VTWM Desktop"
+}
+
+Color
+{
+       BorderColor                     "grey70"
+       BorderTileBackground            "gray60"
+       BorderTileForeground            "gray60"
+       DefaultBackground               "maroon"
+       DefaultForeground               "gray85"
+       TitleBackground                 "maroon"
+       TitleForeground                 "gray85"
+       MenuBackground                  "maroon"
+       MenuForeground                  "gray85"
+       MenuTitleBackground             "gray70"
+       MenuTitleForeground             "maroon"
+       IconBackground                  "maroon"
+       IconForeground                  "gray85"
+       IconBorderColor                 "gray85"
+       IconManagerBackground           "maroon"
+       IconManagerForeground           "gray85"
+       VirtualBackground               "maroon"
+       VirtualForeground               "black"
+       DesktopDisplayBackground        "grey60"
+}
+
+#
+# Functions and Bindings
+#
+
+Function "move-or-lower" { f.move f.deltastop f.lower }
+Function "move-or-raise" { f.move f.deltastop f.raise }
+Function "move-or-iconify" { f.move f.deltastop f.iconify }
+
+LeftTitleButton ":xpm:bar" = f.menu "windowops"
+RightTitleButton ":xpm:dot" = f.iconify
+RightTitleButton ":xpm:resize" = f.resize
+
+Button1 = : root : f.menu "main"
+Button2 = : root : f.menu "windowops"
+Button3 = : root : f.version
+
+Button1 = : title : f.function "move-or-raise"
+Button3 = : title : f.lower
+
+Button1 = : frame : f.function "move-or-raise"
+Button2 = : frame : f.resize
+Button3 = : frame : f.iconify
+
+Button1 = : icon : f.function "move-or-iconify"
+Button3 = : icon : f.menu "windowops"
+
+Button1 = : iconmgr : f.iconify
+Button3 = : iconmgr : f.warp
+
+Button1 = : virtual | desktop : f.movescreen
+
+#
+# Menus
+#
+
+menu "main"
+{
+       "Main Menu"             f.title
+       "Debian"                f.menu "/Debian"
+       ""                              f.separator
+       "Show Icon Manager"     f.showiconmgr
+       "Hide Icon Manager"     f.hideiconmgr
+       ""                              f.separator
+       "Show Desktop"          f.showdesktopdisplay
+       "Hide Desktop"          f.hidedesktopdisplay
+       ""                              f.separator
+       "Exit"                  f.menu "Quit-Verify"
+}
+
+menu "Quit-Verify"
+{
+       "Really quit VTWM?"     f.title
+       "No, restart VTWM"      f.restart
+       "Yes, really quit"      f.quit
+}
+
+menu "windowops"
+{
+       "Window Ops"    f.title
+       "Autoraise"             f.autoraise
+       "Raise"                 f.raise
+       "Lower"                 f.lower
+       "Nail"                  f.nail
+       ""                              f.separator
+       "Move"                  f.move
+       "Size"                  f.resize
+       "Iconify"               f.iconify
+       ""                              f.separator
+       "Fullzoom"              f.fullzoom
+       "Horizoom"              f.horizoom
+       "Vertzoom"              f.zoom
+       ""                              f.separator
+       "Identify"              f.identify
+       ""                              f.separator
+       "Delete"                f.delete
+       "Destroy"               f.destroy
+}
+
+include-menu-defs
+
+# vim:set ai noet sts=8 sw=8 tw=80:
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..6633d3c
--- /dev/null
@@ -0,0 +1,3 @@
+version=3
+
+http://www.vtwm.org/downloads/vtwm-([\d.]+)\.tar\.gz
index b9f8140aa4f5c33c8f9b207400d01bc1dc7e4b30..9353fbfeca2355c919f77a1e0f5bab994453cd13 100644 (file)
--- a/desktop.c
+++ b/desktop.c
@@ -26,9 +26,6 @@
 #include "events.h"
 #include "desktop.h"
 
-#define strdup Strdup /* avoid conflict with system header files */
-extern char *strdup(char *);
-
 extern void SetRealScreenInternal();
 extern void SetRealScreen();
 extern void SnapRealScreen();
index c6a26b79abaf628c4c54715a72748ebef344b12b..93f6fb064c7b9c0d68b05c82ad6b71f9822e9720 100644 (file)
@@ -1,19 +1,27 @@
-.\" twm
-.\" .de EX              \"Begin example
-.\" .ne 5
-.\" .if n .sp 1
-.\" .if t .sp .5
-.\" .nf
-.\" .in +.5i
-.\" ..
-.\" .de EE
-.\" .fi
-.\" .in -.5i
-.\" .if n .sp 1
-.\" .if t .sp .5
-.\" ..
-.\" .ta .3i .6i .9i 1.2i 1.5i 1.8i
-.TH VTWM 1 "Release 5.4.7" "X11R4-6"
+.\"       Copyright 1988 by Evans & Sutherland Computer Corporation,
+.\"                          Salt Lake City, Utah
+.\"  Portions Copyright 1989 by the Massachusetts Institute of Technology
+.\"                        Cambridge, Massachusetts
+.\"
+.\"                           All Rights Reserved
+.\"
+.\"    Permission to use, copy, modify, and distribute this software and
+.\"    its documentation  for  any  purpose  and  without  fee is hereby
+.\"    granted, provided that the above copyright notice appear  in  all
+.\"    copies and that both  that  copyright  notice  and  this  permis-
+.\"    sion  notice appear in supporting  documentation,  and  that  the
+.\"    names of Evans & Sutherland and M.I.T.  not be used in advertising
+.\"    in publicity pertaining to distribution of the  software  without
+.\"    specific, written prior permission.
+.\"
+.\"    EVANS & SUTHERLAND AND M.I.T.  DISCLAIM ALL WARRANTIES WITH REGARD
+.\"    TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES  OF  MERCHANT-
+.\"    ABILITY  AND  FITNESS,  IN  NO  EVENT SHALL EVANS & SUTHERLAND OR
+.\"    M.I.T.  BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL  DAM-
+.\"    AGES OR  ANY DAMAGES WHATSOEVER  RESULTING FROM LOSS OF USE, DATA
+.\"    OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+.\"    TORTIOUS ACTION, ARISING OUT OF OR IN  CONNECTION  WITH  THE  USE
+.\"    OR PERFORMANCE OF THIS SOFTWARE.
 .\"*********************************************************************
 .\" Important note: At the time 5.4.4 was released, this manual page
 .\" conformed to Sun's guidelines for manual page markup, passed
 .\" in subsequent edits to preserve these important invariants!
 .\"*********************************************************************
 .\"=====================================================================
+.TH vtwm 1 "2005-06-28" "VTWM 5.4.7"
 .SH NAME
 .PP
 vtwm - Virtual Tab Window Manager for the X Window System
 .PP
 .\"=====================================================================
-.SH SYNTAX
-.PP
-\&\fBvtwm\fP [\fB-d\fP \fIdisplay\fP] [\fB-f\fP [\fIinitfile\fP]]
-[\fB-m\fP [\fIoptions\fP]] [\fB-p\fP] [\fB-s\fP] [\fB-v\fP]
-.PP
+.SH SYNOPSIS
+.B vtwm
+[
+.B \-d
+.I display
+]
+[
+.B \-f
+.I initfile
+]
+[
+.B \-m
+[
+.I m4-options
+]
+]
+[
+.B \-p
+]
+[
+.B \-s
+]
+[
+.B \-v
+]
 .\"=====================================================================
 .SH DESCRIPTION
 .PP
@@ -2552,11 +2581,22 @@ section to:
 accomplishes the same thing. This is but a simple example of RE usage,
 and as such doesn't demonstrate or leverage their capabilities.
 .\"=====================================================================
-.SH SIGNALS
-It is possible to issue a \fBf.restart\fP via a UNIX signal, to ease
-debugging of \fBvtwm\fP resource files.  To do this, send a SIGUSR1 to the
-\&\fBvtwm\fP process ID (written to \fI$HOME/vtwm.pid\fP).
-See \fBkill\fP(1) or \fBslay\fP(1).
+.SH "ASYNCHRONOUS EVENTS"
+It is possible to issue an
+.B f.restart
+via a Unix signal, to ease debugging of
+.B vtwm
+resource files.
+To do this, send a
+.I SIGUSR1
+to the
+.B vtwm
+process ID (written to
+.IR $HOME/vtwm.pid ).
+See
+.BR kill (1)
+or
+.BR slay (1).
 .\"=====================================================================
 .SH BUGS
 There are precious few safeguards against binding functions to objects
@@ -2565,65 +2605,59 @@ inappropriately, especially where the virtual desktop is concerned.
 Double clicking very fast to get the constrained move function will sometimes
 cause the window to move, even though the pointer is not moved.
 .PP
-It is possible to "lose" windows in the virtual desktop by placing them
-in a large desktop area, then shrinking the desktop so as to remove them
-from view. They are still there, of course, but are unreachable until the
-desktop is grown sufficiently large again.
+It is possible to \(oqlose\(cq windows in the virtual desktop by placing
+them in a large desktop area, then shrinking the desktop so as to remove
+them from view.
+They are still there, of course, but are unreachable until the
 .PP
-See the \fIBUGS\fP file in the distribution for others.
+See the
+.I BUGS
+file in the distribution for others.
 .\"=====================================================================
 .SH FILES
-.PP
-Searched for in the order shown:
-.RS 4
-.nf
-\&\fI$HOME/.vtwmrc.<screen number>\fP
-\&\fI$HOME/.vtwmrc\fP
-\&\fI$VTWMDIR/twm/system.vtwmrc\fP
-\&\fI$HOME/.twmrc.<screen number>\fP
-\&\fI$HOME/.twmrc\fP
-\&\fI$VTWMDIR/twm/system.twmrc\fP
-.fi
-.RE
-.PP
-.nf
-\&\fI$HOME/vtwm.pid\fP
+.PD 0
+.TP
+.IR $HOME/.vtwmrc. screen-number
+.TP
+.I $HOME/.vtwmrc
+.TP
+.I $VTWMETCMDIR/vtwm/system.vtwmrc
+.TP
+.IR $HOME/.twmrc. screen-number
+.TP
+.I $HOME/.twmrc
+.TP
+.I $VTWMETCMDIR/twm/system.vtwmrc
+are files
+.B vtwm
+will search for and use as its configuration file.
+They are searched for in the order shown, and the first readable file
+found is used.
+.PD 1
+.TP
+.I $HOME/vtwm.pid
+contains the ID of the user's
+.B vtwm
+process; see the description of the
+.B \-p
+option above.
 .fi
 .\"=====================================================================
-.SH "ENVIRONMENT VARIABLES"
-.IP "\fBDISPLAY\fP" 8
-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 "\fBHOME\fP" 8
+.SH ENVIRONMENT
+.TP
+.B DISPLAY
+This variable is used to determine which X server to use.
+It is also set during
+.B f.exec
+so that programs come up on the proper screen.
+.TP
+.B HOME
 This variable is used as the prefix for files that begin with a tilde and
-for locating the \fBvtwm\fP startup file.
-.\"=====================================================================
-.SH "SEE ALSO"
-\&\fBbitmap\fP(5),
-\&\fBctwm\fP(1),
-\&\fBm4\fP(1),
-\&\fBmwm\fP(1),
-\&\fBpixmap\fP(5),
-\&\fBre_format\fP(7) or \fBegrep\fP(1),
-\&\fBrplayd\fP(8) and \fBrplay.helpers\fP(5),
-\&\fBtvtwm\fP(1),
-\&\fBtwm\fP(1),
-\&\fBvuewm\fP(1),
-\&\fBX\fP(1),
-\&\fBxdm\fP(1),
-\&\fBxinit\fP(1),
-\&\fBxmodmap\fP(1),
-\&\fBxrdb\fP(1),
-\&\fBXserver\fP(1)
-.\"=====================================================================
-.SH COPYRIGHT
-Portions copyright 1988 Evans & Sutherland Computer Corporation; portions
-copyright 1989 Hewlett-Packard Company and the Massachusetts Institute of
-Technology; portions copyright 2001 D. J. Hawkey Jr..
-.PP
-See \fBX\fP(1) for a full statement of rights and permissions.
+for locating the
+.B vtwm
+startup file.
 .\"=====================================================================
-.SH AUTHORS AND CONTRIBUTORS
+.SH "AUTHORS AND CONTRIBUTORS"
 Tom LaStrange, Solbourne Computer; Jim Fulton, MIT X Consortium;
 Steve Pitschke, Stardent Computer; Keith Packard, MIT X Consortium;
 Dave Payne, Apple Computer; Nick Williams <njw@athena.mit.edu>;
@@ -2665,4 +2699,44 @@ Mehul N. Sanghvi <mehul@kirsun.ne.mediaone.net>,
 Tim Wiess <tim@zetaflops.net>,
 acknowledging
 Claude Lecommandeur, (ctwm), <lecom@sic.epfl.ch>
+.\"=====================================================================
+.SH COPYRIGHT
+Copyright 1988 Evans & Sutherland Computer Corporation
+.br
+Copyright 1989 Massachusetts Institute of Technology
+.br
+Copyright 1990 Dave Edmondson
+.br
+Copyright 1990 Imperial College of Science, Technology & Medicine
+.br
+Copyright 1990, 1991 Groupe Bull
+.br
+Copyright 2001 David J. Hawkey Jr.
+.PP
+See the copyright notices in the
+.B vtwm
+source distribution for copyright license statements.
+On Debian systems, these may also be found in the file
+.IR /usr/share/doc/vtwm/copyright .
+.\"=====================================================================
+.SH "SEE ALSO"
+.BR bitmap (1),
+.BR ctwm (1),
+.BR m4 (1),
+.BR mwm (1),
+.BR pixmap (1),
+.BR regex (7)
+or
+.BR egrep (1),
+.BR rplayd (8),
+.BR tvtwm (1),
+.BR twm (1),
+.BR vuewm (1),
+.BR X (1),
+.BR xdm (1),
+.BR xinit (1),
+.BR xmodmap (1),
+.BR xrdb (1),
+.BR Xserver (1)
 .\"==============================[The End]==============================
+.\" vim:set ai et sts=4 sw=4 tw=72:
diff --git a/doors.c b/doors.c
index 79f1d7341d94bba023bca7cf1d8050d292ba556b..90224b9d677cecdce3e4c895a131b8756dec6bc4 100644 (file)
--- a/doors.c
+++ b/doors.c
 #include "desktop.h"
 #include "add_window.h"
 
-#define strdup Strdup /* avoid conflict with system header files */
-char *strdup(s1)
-char * s1;
-{
-       char *s2;
-
-       s2 = malloc((unsigned) strlen(s1)+1);
-       return (s2 == NULL ? NULL : strcpy(s2,s1));
-}
-
 extern void SetMapStateProp();
 extern TwmDoor *door_add_internal();
 extern void twmrc_error_prefix();
index 55f1abb4804c4f3e1b5fd0c30e2f17d01bbc0328..b69b4be4a020eb089adbe58c9bcc7575856b3506 100644 (file)
--- a/iconmgr.c
+++ b/iconmgr.c
@@ -45,9 +45,6 @@
 int strcmp(); /* missing from string.h in AUX 2.0 */
 #endif
 
-#define strdup Strdup /* avoid conflict with system header files */
-extern char *strdup(char *);
-
 /* djhjr - 5/2/98 */
 static int ComputeIconMgrWindowHeight();
 
diff --git a/list.c b/list.c
index e91a69aa7e1d8d1af0a1e1c711bfa302bea0c8a1..f96f5b0880ded32fc0fe928b6d37d521599fd5bc 100644 (file)
--- a/list.c
+++ b/list.c
@@ -60,9 +60,6 @@
 
 #define REGCOMP_FLAGS          (REG_EXTENDED | REG_NOSUB)
 
-#define strdup Strdup /* avoid conflict with system header files */
-extern char *strdup(char *);
-
 struct name_list_struct
 {
     name_list *next;           /* pointer to the next name */
diff --git a/menus.c b/menus.c
index 63072a88c7ab1391c9c5443d5d35123d83ef1729..a1688e6dd99171b61e81ce469608be7818c6a290 100644 (file)
--- a/menus.c
+++ b/menus.c
@@ -69,9 +69,6 @@
 #endif
 #include "version.h"
 
-#define strdup Strdup /* avoid conflict with system header files */
-extern char *strdup(char *);
-
 extern void IconUp(), IconDown(), CreateIconWindow();
 
 /* djhjr - 4/26/99 */
diff --git a/util.c b/util.c
index 41947df83c760cf2a063adb59fe9e786ccf1f933..61b6d9157aa31eb3c03d2297b3223c8d8e799110 100644 (file)
--- a/util.c
+++ b/util.c
@@ -89,9 +89,6 @@ in this Software without prior written authorization from The Open Group.
 #define ZOOMSLEEP 50000 /* arbitrary, but pleasing, msec value */
 #endif
 
-#define strdup Strdup /* avoid conflict with system header files */
-extern char *strdup(char *);
-
 /*
  * All instances of Scr->TitleBevelWidth and Scr->BorderBevelWidth
  * were a hard value of 2 - djhjr - 4/29/98