twm

From Wikipedia, the free encyclopedia
  (Redirected from Tom's Window Manager)
Jump to: navigation, search
twm
twm desktop
Original author(s) Tom LaStrange
Developer(s) Eeri Kask (current maintainer)
Initial release 1987
Development status Active
Written in C
Operating system Unix-like
Type Window manager
License MIT License

In computing, twm (originally Tom's Window Manager, then Tab Window Manager and now Timeless Windows Manager[1]) is the standard window manager for the X Window System, version X11R4 onwards. It is a re-parenting window manager that provides title bars, shaped windows and icon management, and is extensively configurable.

twm was a breakthrough achievement in its time, but has been largely superseded by other window managers. twm made a strong impact on the development of X window managers. Many others, such as vtwm, tvtwm, CTWM, FVWM and their derivatives, were built on its code, while many others used concepts pioneered by it.

A small but dedicated minority of users favor twm for its simplicity, customizability, and light weight—partly due to being written in C directly against Xlib rather than based on a widget toolkit. twm is still standard with the X.Org reference implementation and is available as part of many X distributions. The Knoppix live CD will resort to twm if the computer it is running on lacks the RAM for a more sophisticated window manager.

twm was created by Tom LaStrange. It is currently maintained in X.Org by Eeri Kask.

Contents

[edit] Using twm

twm with xcalc and xterm, the xterm window being in focus. xclock is iconified.
twm menu

twm's interface is very different from that of common X window managers and desktop environments of the present day, which tend to work similarly to the Apple Macintosh or the various versions of Microsoft Windows. New users often find twm difficult to understand without reading the manual page.[2]

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.

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 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.[citation needed]

Menu config file: /etc/X11/twm/system.twmrc

[edit] History

twm was written by Tom LaStrange, then at Evans and Sutherland, starting in 1987, owing to frustration with the then-standard uwm: "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."[3] A version for X11R1 was published on the Usenet newsgroup comp.unix.sources on June 13, 1988.

Nine months later, Jim Fulton of the MIT X Consortium approached Tom and asked that he turn over the maintenance of the code to the X Consortium. Fulton made it compliant with the then-new Inter-Client Communication Conventions Manual and Keith Packard added support for shaped title bars. Subsequently, twm was released as the standard sample window manager for X11R4, replacing uwm.

twm originally stood for Tom's Window Manager. When the X Consortium took over its maintenance, and several other people had contributed substantially, its name was changed to Tab Window Manager. The vtwm.gamma man page says: "To save Tom LaStrange from being blamed for any of the massive numbers of changes that have been done to twm since he gave up control of it, the name 'twm' now stands for 'Tab Window Manager'."

According to Fulton, the word "tab" was picked because it conveniently started with 'T' and put the emphasis on the squeezing feature window title bars, which made them look like folders with tabs.

[edit] Authors

twm was originally written by Tom LaStrange. Later substantial contributors include Jim Fulton, Keith Packard and Dave Sternlicht, all three at the X Consortium at the time, Steve Pitschke, then at Stardent Computer, and Dave Payne, then at Apple Computer.

Eeri Kask is presently maintaining twm to work well with modern X.Org capabilities, such as XRender and transparency.[4]

[edit] References

  1. ^ "index : xorg/app/twm". Timeless Windows Manager. git.freedesktop.org. 2011-07-28. http://cgit.freedesktop.org/xorg/app/twm/. Retrieved 2011-11-01. 
  2. ^ twm — Tab Window Manager for the X Window Systemman page, X11 release 7.6 (X.org)
  3. ^ "From the Desktop: Tom LaStrange Speaks!" LinuxPlanet. February 6, 2001.
  4. ^ TWM -- Revised Edition -- Again (Eeri Kask, xorg mailing list, Sunday 03 January 2010)

[edit] External links

Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox
Print/export
Languages