World Library  
Flag as Inappropriate
Email this Article

Twm

 

Twm

twm
twm desktop
Original author(s) Tom LaStrange
Initial release 1987
Development status Active
Written in C
Operating system Unix-like
Type Window manager
License MIT License

twm (Tab Window Manager) is a window manager for the X Window System. 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 when they adopted it in 1989. twm is a re-parenting window manager that provides title bars, shaped windows and icon management. It is highly configurable and extensible.

twm was a breakthrough achievement in its time, but it has been largely superseded by other window managers which, unlike twm, use a widget toolkit rather than writing directly against Xlib.

Various other window managers—such as vtwm, tvtwm, CTWM, and FVWM—were built on twm's source code.

twm is still standard with both XFree86, and is available as part of many X implementations.

Contents

  • Using twm 1
  • History 2
  • Authors 3
  • References 4
  • External links 5

Using twm

twm with xclock is iconified.
twm menu
Twm Xsession running on Debian 7 GNU/Linux

twm's interface is different from modern common X window managers and desktop environments many of which tend to work similarly to the Apple Macintosh or Microsoft Windows. New users often find twm difficult without reading the manual page.[1]

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 Closing program windows in twm at Wikibooks.

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. (The system file is typically /etc/X11/twm/system.twmrc and the user file is typically ~/.twmrc .)[1]

History

TWM with a classic maroon color scheme, running in Debian GNU/Linux

twm was written as a replacement for the uwm by Tom LaStrange while he was working at Evans & Sutherland, 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."[2] A version for X11R1 was published on the Usenet newsgroup comp.unix.sources on June 13, 1988[3]

Months later, Jim Fulton of the MIT X Consortium approached Evans and Sutherland and asked them to turn over the code maintenance to the X Consortium and Fulton then made it compliant with the then nascent Inter-Client Communication Conventions Manual. Subsequently, twm was released as the standard sample window manager for X11R4, replacing 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

  1. ^ a b twm — Tab Window Manager for the X Window System — X.org)
  2. ^ "From the Desktop: Tom LaStrange Speaks!" LinuxPlanet. February 6, 2001.
  3. ^ for open comment and review. Original files as posted to comp.unix.sources (isc.org)

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)
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.