Twm Menu
   HOME

TheInfoList



OR:

twm (Tab Window Manager) is a
window manager A window manager is system software that controls the placement and appearance of window (computing), windows within a windowing system in a graphical user interface. Most window managers are designed to help provide a desktop environment. They ...
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 originated as part of Project Athena at Massachusetts Institute of Technology (MIT) in 1984. The X protocol has been at ...
. 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 originated as part of Project Athena at Massachusetts Institute of Technology (MIT) in 1984. The X protocol has been a ...
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 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 (computing), library or a collection of libraries containing a set of graphical control elements (called ''widgets'') used to construct the graphical user interface (GUI) of ...
rather than a combination of the
X Toolkit Intrinsics X Toolkit Intrinsics (also known as Xt, for X toolkit) is a library that implements an API to facilitate the development of programs with a graphical user interface (GUI) for the X Window System. It can be used in the C language (or any languag ...
and XRandR. Various other window managers—such as vtwm, tvtwm,
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. CTWM was created in 1992 by Claude Lecommandeur of EPFL from the source code for twm, which he ex ...
, and
FVWM The F Virtual Window Manager (FVWM) is a virtual window manager for the X Window System. Originally a twm derivative, FVWM is now a window manager for Unix-like systems. History In 1993, during his work analyzing acoustic signatures for the ...
—were built on twm's
source code In computing, source code, or simply code or source, is a plain text computer program written in a programming language. A programmer writes the human readable source code to control the behavior of a computer. Since a computer, at base, only ...
. twm is still standard with X.Org Server, 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 originated as part of Project Athena at Massachusetts Institute of Technology (MIT) in 1984. The X protocol has been at ...
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 graphi ...
s many of which tend to work similarly to the
Apple Macintosh Mac is a brand of personal computers designed and marketed by Apple Inc., Apple since 1984. The name is short for Macintosh (its official name until 1999), a reference to the McIntosh (apple), McIntosh apple. The current product lineup inclu ...
or
Microsoft Windows Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
. 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. Before adulthood, a male child or adolescent is referred to as a boy. Like most other male mammals, a man's genome usually inherits an X chromosome from the mother and a Y chromosome from the f ...
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 (: foci or focuses) may refer to: Arts * Focus or Focus Festival, former name of the Adelaide Fringe arts festival in East Australia Film *Focus (2001 film), ''Focus'' (2001 film), a 2001 film based on the Arthur Miller novel *Focus (2015 ...
follows the
mouse A mouse (: mice) is a small rodent. Characteristically, mice are known to have a pointed snout, small rounded ears, a body-length scaly tail, and a high breeding rate. The best known mouse species is the common house mouse (''Mus musculus'' ...
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 window manager by Tom LaStrange while he was working at
Evans & Sutherland Evans & Sutherland is an American computer graphics firm founded in 1968 by David C. Evans (computer scientist), David Evans and Ivan Sutherland. Its current products are used in digital projection environments like planetariums. Its simulation b ...
, 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 (), a portmanteau of User's Network, is a worldwide distributed discussion system available on computers. It was developed from the general-purpose UUCP, Unix-to-Unix Copy (UUCP) dial-up network architecture. Tom Truscott and Jim Elli ...
newsgroup on June 13, 1988.for 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 research university in Cambridge, Massachusetts, United States. Established in 1861, MIT has played a significant role in the development of many areas of modern technology and sc ...
) 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 originated as part of Project Athena at Massachusetts Institute of Technology (MIT) in 1984. The X protocol has been a ...
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 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 Portable document format (PDF), standardized as ISO 32000, is a file format developed by Adobe Inc., Adobe in 1992 to present documents, including text formatting and images, in a manner independent of application software, computer hardware, ...
) — 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