Twm
   HOME

TheInfoList



OR:

twm (Tab Window Manager) is a
window manager A window manager is system software that controls the placement and appearance of windows within a windowing system in a graphical user interface. Most window managers are designed to help provide a desktop environment. They work in conjunctio ...
for the
X Window System The X Window System (X11, or simply X) is a windowing system for bitmap displays, common on Unix-like operating systems. X provides the basic framework for a GUI environment: drawing and moving windows on the display device and interacting wi ...
. Started in 1987 by Tom LaStrange, it has been the standard window manager for the X Window System since version X11R4. The name originally stood for Tom's Window Manager, but the software was renamed Tab Window Manager by the
X Consortium The X Window System (X11, or simply X) is a windowing system for bitmap displays, common on Unix-like operating systems. X provides the basic framework for a GUI environment: drawing and moving windows on the display device and interacting wit ...
when they adopted it in 1989. twm is a stacking window manager that provides title bars, shaped windows and icon management. It is highly configurable and extensible. twm was a breakthrough achievement in the early years, but has been largely superseded by other window managers, which unlike twm, use a
widget toolkit A widget toolkit, widget library, GUI toolkit, or UX library is a library or a collection of libraries containing a set of graphical control elements (called ''widgets'') used to construct the graphical user interface (GUI) of programs. Most widge ...
rather than writing directly against
Xlib Xlib (also known as libX11) is an X Window System protocol client library written in the C programming language. It contains functions for interacting with an X server. These functions allow programmers to write programs without knowing the ...
. Various other window managers—such as
vtwm Vtwm (the Virtual Tabbed Window Manager) is an X window manager that was developed from the twm codebase. The first release was in 1990, and it is very much an "old school" window manager, lacking desktop environment features. It added feature ...
,
tvtwm tvtwm is an X window manager derived from twm to which it adds the virtual desktop feature from swm. All of these window managers were originally written by Tom LaStrange. The current maintainer of tvtwm is Chris Ross. James Tanis believes he ma ...
,
CTWM In Unix computing, CTWM (Claude's Tab Window Manager) is a stacking window manager for the X Window System in the twm family of window managers. It was created in 1992 by Claude Lecommandeur from the source code for twm, which he extended to a ...
, and
FVWM The F Virtual Window Manager is a virtual window manager for the X Window System. Originally a twm derivative, FVWM has evolved into a powerful and highly configurable environment for Unix-like systems. History In 1993, during his work analyzi ...
—were built on twm's
source code In computing, source code, or simply code, is any collection of code, with or without comments, written using a human-readable programming language, usually as plain text. The source code of a program is specially designed to facilitate the w ...
. twm is still standard with
X.Org Server X.Org Server is the free and open-source implementation of the X Window System display server stewarded by the X.Org Foundation. Implementations of the client-side X Window System protocol exist in the form of ''X11 libraries'', which serve a ...
, and is available as part of many
X Window System The X Window System (X11, or simply X) is a windowing system for bitmap displays, common on Unix-like operating systems. X provides the basic framework for a GUI environment: drawing and moving windows on the display device and interacting wi ...
implementations.


Usage

twm's interface is different from modern common X window managers and
desktop environment In computing, a desktop environment (DE) is an implementation of the desktop metaphor made of a bundle of programs running on top of a computer operating system that share a common graphical user interface (GUI), sometimes described as a graphica ...
s many of which tend to work similarly to the
Apple Macintosh The Mac (known as Macintosh until 1999) is a family of personal computers designed and marketed by Apple Inc., Apple Inc. Macs are known for their ease of use and minimalist designs, and are popular among students, creative professionals, and ...
or Microsoft Windows. New users often find twm difficult without reading the manual page.twm — Tab Window Manager for the X Window System
nbsp;—
man A man is an adult male human. Prior to adulthood, a male human is referred to as a boy (a male child or adolescent). Like most other male mammals, a man's genome usually inherits an X chromosome from the mother and a Y chromo ...
page, X11 release 7.6 ( X.org)
In the default configuration of twm, the title bar has two buttons: *''Resize button'' (nested squares): the user clicks here, drags the mouse pointer to the edge to be moved, then releases when the window is the desired size. *''Iconify button'' (circle): reduces the window to an icon. There is no title bar button to close a window. A left click on the desktop brings up a menu, which includes an option to delete (close) a window. Window close functionality for the titlebar can be configured in the .twmrc file: :See . A ''left click'' on the title bar brings the window to the top of the window stack; a ''middle click'' moves the window; a ''right click'' sends the window to the bottom of the window stack. Window
focus Focus, or its plural form foci may refer to: Arts * Focus or Focus Festival, former name of the Adelaide Fringe arts festival in South Australia Film *''Focus'', a 1962 TV film starring James Whitmore * ''Focus'' (2001 film), a 2001 film based ...
follows the mouse pointer (point-to-focus), rather than being on whichever window was clicked last ( click-to-focus). When a new window is created, a 3×3 grid is displayed following the mouse pointer, waiting for the user to click where the window should appear — left-click to appear in that position with that size, middle-click to resize the window before its creation, right-click to appear at that position but long enough vertically to reach the bottom of the screen. Note that any of the above may be changed with appropriate changes to the configuration file. (The system file is typically and the user file is typically .)


History

twm was written as a replacement for the uwm by Tom LaStrange while he was working at
Evans & Sutherland Evans & Sutherland is a pioneering American computer firm in the computer graphics field. Its current products are used in digital projection environments like planetariums. Its simulation business, which it sold to Rockwell Collins, sold products ...
, which was part of the X Consortium: "I sat down at my monochrome Sun 3/50 and typed vi twm.c and then opened the X11 documentation. twm was my first X program. About six months later, I convinced my manager to let me send a copy to the comp.windows.x newsgroup for testing." A version for X11R1 was published on the
Usenet Usenet () is a worldwide distributed discussion system available on computers. It was developed from the general-purpose Unix-to-Unix Copy (UUCP) dial-up network architecture. Tom Truscott and Jim Ellis conceived the idea in 1979, and it wa ...
newsgroup on June 13, 1988for open comment and review
Original files as posted to comp.unix.sources
(isc.org)
Months later, Jim Fulton of the X Consortium (which was at the time part of
MIT The Massachusetts Institute of Technology (MIT) is a private land-grant research university in Cambridge, Massachusetts. Established in 1861, MIT has played a key role in the development of modern technology and science, and is one of the m ...
) approached Evans and Sutherland and asked them to turn over the code maintenance to the
X Consortium The X Window System (X11, or simply X) is a windowing system for bitmap displays, common on Unix-like operating systems. X provides the basic framework for a GUI environment: drawing and moving windows on the display device and interacting wit ...
and Fulton then made it compliant with the nascent
Inter-Client Communication Conventions Manual In computing, the Inter-Client Communication Conventions Manual (ICCCM or I39L short for "I", 39 letters and "L")uwm. According to Fulton, the word "tab" was picked because it conveniently started with 'T' and it put the emphasis on the squeezing feature window title bars, which made them look like folders with tabs.


Authors

twm was originally written by Tom LaStrange. Later contributors include Jim Fulton,
Keith Packard Keith Packard (born April 16, 1963) is a software developer, best known for his work on the X Window System. Packard is responsible for many X extensions and technical papers on X. He has been heavily involved in the development of X since the ...
and Dave Sternlicht, all of whom were employees of the X Consortium.


References


External links


Tab Window Manager
(xwinman)
An Overview of twm (Tom's Window Manager)
( PDF) — Tom LaStrange, Xhibition '89 Conference Proceedings — concerning pre-ICCCM versions of twm
From the Desktop: Tom LaStrange Speaks!: Talking with a Man Named Tom
(Brian Proffitt, ''LinuxPlanet'', Tuesday 6 February 2001) {{XWinSys 1987 software Articles containing video clips Free software programmed in C Free X window managers Software using the MIT license