home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / fj / maillis / xwindow / 17613 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  59.6 KB

  1. Path: sparky!uunet!stanford.edu!sun-barr!sh.wide!wnoc-tyo-news!scslwide!wsgw!wsservra!daemon
  2. From: dbl@visual.com (David B. Lewis)
  3. Newsgroups: fj.mail-lists.x-window
  4. Subject: comp.windows.x Frequently Asked Questions (FAQ) 1/4
  5. Message-ID: <1992Nov19.003136.18343@sm.sony.co.jp>
  6. Date: 19 Nov 92 00:31:36 GMT
  7. Sender: daemon@sm.sony.co.jp (The devil himself)
  8. Distribution: fj
  9. Organization: Visual
  10. Lines: 1139
  11. Approved: michael@sm.sony.co.jp
  12.  
  13. Date: Tue, 17 Nov 92 22:06:59 GMT
  14. Message-Id: <1992Nov17.220659.9562@visual.com>
  15. Newsgroups: comp.windows.x,news.answers
  16. Sender: xpert-request@expo.lcs.mit.edu
  17.  
  18. Archive-name: x-faq/part1
  19. Last-modified: 1992/11/16
  20.  
  21. This article and several following contain the answers to some Frequently Asked 
  22. Questions (FAQ) often seen in comp.windows.x. It is posted to help reduce 
  23. volume in this newsgroup and to provide hard-to-find information of general 
  24. interest.
  25.  
  26.         Please redistribute this article!
  27.  
  28. This article includes answers to the following questions, which are loosely
  29. grouped into categories. Questions marked with a + indicate questions new to 
  30. this issue; those with significant changes of content since the last issue are 
  31. marked by !:
  32.  
  33.   0)  TOPIC: BASIC INFORMATION SOURCES AND DEFINITIONS
  34.   1)  What books and articles on X are good for beginners?
  35.   2)! What courses on X and various X toolkits are available?
  36.   3)  What conferences on X are coming up?
  37.   4)! What X-related public mailing lists are available?
  38.   5)! How can I meet other X developers? 
  39.   6)! What related FAQs are available?
  40.   7)  How do I ask a net-question so as to maximize helpful responses?
  41.   8)  What publications discussing X are available?
  42.   9)  What are these common abbreviations/acronyms?
  43.  10)  What is the ICCCM? (How do I write X-friendly applications?)
  44.  11)  What is the X Consortium, and how do I join?
  45.  12)  Just what are OPEN LOOK and Motif?
  46.  13)  Just what is OpenWindows?
  47.  14)  Just what is DECWindows?
  48.  15)  What is PEX?
  49.  16)  What is "low-bandwidth X" (LBX)? XRemote? PPP? SLIP? CSLIP?
  50.  17)  TOPIC: USING X IN DAY-TO-DAY LIFE
  51.  18)! What are all these different window managers?
  52.  19)  Why does my X session exit when I kill my window manager (sic)?
  53.  20)  Can I save the state of my X session, like toolplaces does?
  54.  21)  How do I use another window manager with DEC's session manager?
  55.  22)  How do I change the keyboard auto-repeat rate?
  56.  23)  How do I remap the keys on my keyboard to produce a string?
  57.  24)! How do I make a screendump or print my application?
  58.  25)  How do I make a color PostScript screendump of the X display?
  59.  26)  How do I make a screendump including the X cursor?
  60.  27)! How do I convert/view Mac/TIFF/GIF/Sun/PICT/img/FAX images in X?
  61.  28)  How can I change the titlebar of my xterm window?
  62.  29)  Where can I find the xterm control sequences?
  63.  30)  Why does the R3 xterm, et al, fail against the R4 server?
  64.  31)  How can I use characters above ASCII 127 in xterm ?
  65.  32)  Why are my xterm menus so small?
  66.  33)  How can I print the current selection?
  67.  34)  How does Xt use environment variables in loading resources?
  68.  35)  How to I have the R4 xdm put a picture behind the log-in window?
  69.  36)  Why isn't my PATH set when xdm runs my .xsession file?
  70.  37)  How do I keep my $DISPLAY when I rlogin to another machine?
  71.  38)  How can I design my own font?
  72.  39)  Why does adding a font to the server not work (sic)?
  73.  40)  How do I convert a ".snf" font back to ".bdf" font?
  74.  41)  What is a general method of getting a font in usable format?
  75.  42)  How do I use DECwindows fonts on my non-DECwindows server?
  76.  43)  How do I add ".bdf" fonts to my DECwindows server?
  77.  44)  How can I set the backgroundPixmap resource in a defaults file?
  78.  45)  Why can't I override translations? Only the first item works.
  79.  46)  How can I have xclock or oclock show different timezones?
  80.  47)  I have xmh, but it doesn't work. Where can I get MH?
  81.  48)  Why am I suddenly unable to connect to my Sun X server?
  82.  49)  Why don't the R5 PEX demos work on my mono screen?
  83.  50)! How do I get my Sun Type-[45] keyboard fully supported by Xsun?
  84.  51)  How do I report bugs in X?
  85.  52)  Why do I get "Warning: Widget class version mismatch"?
  86.  53)  Where can I find a dictionary server for xwebster?
  87.  54)  TOPIC: OBTAINING X AND RELATED SOFTWARE AND HARDWARE
  88.  55)  Is X public-domain software?
  89.  56)  How compatible are X11R3, R4, and R5? What changes are there?
  90.  57)  Where can I get X11R5 (source and/or binaries)?
  91.  58)  Where can I get patches to X11R5?
  92.  59)  What is the xstuff mail-archive?
  93.  60)  Where can I get X11R4 (source and binaries)?
  94.  61)! Where can I get OSF/Motif?
  95.  62)  Does Motif work with X11R4? X11R5?
  96.  63)  Where can I get toolkits implementing OPEN LOOK?
  97.  64)  Where can I get other X sources? (including R5 modifications)
  98.  65)! Where can I get interesting widgets?
  99.  66)  What is the current state of the world in X terminals?
  100.  67)  Where can I get an X server with a touchscreen or lightpen?
  101.  68)! Where can I get an X server on a PC (DOS or Unix)?
  102.  69)  Where can I get an X server on a Macintosh running MacOS?
  103.  70)  Where can I get X for the Amiga?
  104.  71)  Where can I get a fast X server for a workstation?
  105.  72)  Where can I get a server for my high-end Sun graphics board?
  106.  73)  Where can I get an "X terminal" server for my low-end Sun 3/50?
  107.  74)! What terminal emulators other than xterm are available?
  108.  75)  Where can I get an X-based editor or word-processor?
  109.  76)! Where can I get an X-based mailer?
  110.  77)! Where can I get an X-based paint/draw program?
  111.  78)  Where can I get an X-based plotting program?
  112.  79)  Where can I get an X-based spreadsheet?
  113.  80)! Where can I get X-based project-management software?
  114.  81)! Where can I get an X-based PostScript previewer?
  115.  82)  Where can I get an X-based GKS package?
  116.  83)! Where can I get an X-based PEX package?
  117.  84)  Where can I get an X-based TeX or DVI previewer?
  118.  85)! Where can I get an X-based troff previewer?
  119.  86)  Where can I get a WYSIWYG interface builder?
  120.  87)  Where can I find X tools callable from shell scripts?
  121.  88)! Where can I get an X-based debugger?
  122.  89)  How can I "tee" an X program identically to several displays?
  123.  90)  TOPIC: BUILDING THE X DISTRIBUTION [topic needs updating to R5]
  124.  91)  What's a good source of information on configuring the X build?
  125.  92)! Why doesn't my Sun with a cg6 work with R5?
  126.  93)  Why doesn't my Sun with SunOS 4.1 know about _dlsym, etc.?
  127.  94)  What is this strange problem building X clients on SunOS 4.1.2?
  128.  95)  Why can't gcc compile X11R4 on my SPARC?
  129.  96)  What are these I/O errors running X built with gcc?
  130.  97)  What are these problems compiling X11R4 on the older Sun3?
  131.  98)  What are these problems compiling the X server on SunOS 4.1.1?
  132.  99)  What are these problems using R4 shared libraries on SunOS 4?
  133. 100)  Can OLIT programs run with R5 Xt? (_XtQString undefined)
  134. 101)  How do I get around the SunOS 4.1 security hole?
  135. 102)  TOPIC: BUILDING X PROGRAMS 
  136. 103)  What is Imake?
  137. 104)  Where can I get imake?
  138. 105)  I have a program with an Imakefile but no Makefile. What to do?
  139. 106)  Why can't I link to the Xlib shape routines?
  140. 107)  What are these problems with "_XtInherit not found" on the Sun?
  141. 108)  Why can't I compile my R3 Xaw contrib programs under the new X?
  142. 109)  TOPIC: PROGRAMMING PROBLEMS AND PUZZLES
  143. 110)  Why doesn't my program get the keystrokes I select for (sic)?
  144. 111)  How do I figure out what window manager is running?
  145. 112)  Is there a skeleton X program available?
  146. 113)  Why does XtGetValues not work for me (sic)?
  147. 114)  Why don't XtConfigureWidget/XtResizeWidget/XtMoveWidget work?
  148. 115)  Why isn't there an XtReparentWidget call like XReparentWindow?
  149. 116)  I'm writing a widget and can't use a float as a resource value.
  150. 117)  Is this a memory leak in the X11R4 XtDestroyWidget()?!
  151. 118)  Are callbacks guaranteed to be called in the order registered?
  152. 119)  Why doesn't XtDestroyWidget() actually destroy the widget?
  153. 120)  How do I query the user synchronously using Xt?
  154. 121)  How do I determine the name of an existing widget?
  155. 122)  What widget is appropriate to use as a drawing canvas?
  156. 123)  Why do I get a BadDrawable error drawing to XtWindow(widget)?
  157. 124)  Why do I get a BadMatch error when calling XGetImage?
  158. 125)  How can my application tell if it is being run under X?
  159. 126)  How do I make a "busy cursor" while my application is computing?
  160. 127)  How do I fork without hanging my parent X program?
  161. 128)  Can I make Xt or Xlib calls from a signal handler?
  162. 129)  What are these "Xlib sequence lost" errors?
  163. 130)  How can my Xt program handle socket, pipe, or file input?
  164. 131)  How do I simulate a button press/release event for a widget?
  165. 132)  Why doesn't anything appear when I run this simple program?
  166. 133)  What is the difference between a Screen and a screen?
  167. 134)  Can I use C++ with X11? Motif? XView?
  168. 135)  Where can I obtain alternate language bindings to X?
  169. 136)  Can XGetWindowAttributes get a window's background pixel/pixmap?
  170. 137)  How do I create a transparent window?
  171. 138)  Why doesn't GXxor produce mathematically-correct color values?
  172. 139)  Why does every color I allocate show up as black?
  173. 140)  Why can't my program get a standard colormap?
  174. 141)  Why does the pixmap I copy to the screen show up as garbage? 
  175. 142)  How do I check whether a window ID is valid?
  176. 143)  Can I have two applications draw to the same window?
  177. 144)  Why can't my program work with tvtwm or swm?
  178. 145)  How do I keep a window from being resized by the user?
  179. 146)  How do I keep a window in the foreground at all times?
  180. 147)  How do I make text and bitmaps blink in X?
  181. 148)  How do I render rotated text?
  182. 149)  What is the X Registry? (How do I reserve names?)
  183.  
  184. If you have suggestions or corrections for any of these answers or any 
  185. additional information, please send them directly to uunet!craft!faq;
  186. the information will be included in the next revision (or possibly the one 
  187. after that; thanks for the many suggestions which haven't been incorporated 
  188. yet). 
  189.  
  190. This version of the FAQ is in the process of having R3 information replaced
  191. by R5 information.
  192.  
  193. This posting is intended to be distributed at approximately the beginning of 
  194. each month. New versions are archived on export.lcs.mit.edu and are also 
  195. available from mail-server@pit-manager.mit.edu (send "help").
  196.  
  197. The information contained herein has been gathered from a variety of sources. 
  198. In many cases attribution has been lost; if you would like to claim 
  199. responsibility for a particular item, please let me know. 
  200.  
  201. Conventions used below: telephone numbers tend to be Bell-system unless 
  202. otherwise noted; prices on items are not included; email addresses are those
  203. that work from the US.
  204.  
  205. All trademarks are the property of their respective owners.
  206.  
  207. ----------------------------------------------------------------------
  208. Subject:   0)  TOPIC: BASIC INFORMATION SOURCES AND DEFINITIONS
  209. ----------------------------------------------------------------------
  210. Subject:   1)  What books and articles on X are good for beginners?
  211.  
  212.     Ken Lee of the DEC Western Software Laboratory (klee@wsl.dec.com) 
  213. regularly posts to comp.windows.x and ba.windows.x a bibliography containing 
  214. cites of all known reference books and how-to manuals and also cites of 
  215. selected technical articles on X and X programming; it is ftp-able as 
  216.     export.lcs.mit.edu:/contrib/Xbibliography and 
  217.     gatekeeper.dec.com:/pub/X11/contrib/Xbibliography
  218.  
  219. Here is an unordered set of the reference books and tutorials most useful for
  220. beginners; most appear on that list [comments are gathered from a variety of 
  221. places and are unattributable]:
  222.  
  223. Asente, Paul J., and Swick, Ralph R., "X Window System Toolkit, The Complete
  224. Programmer's Guide and Specification", Digital Press, 1990.  The bible on Xt. A 
  225. treasury of information, excellent and invaluable.  Distributed by Digital 
  226. Press, ISBN 1-55558-051-3, order number EY-E757E-DP; and by Prentice-Hall, 
  227. ISBN 0-13-972191-6. Also available through DEC Direct at 1-800-DIGITAL. 
  228. [The examples are on export.lcs.mit.edu in contrib/ and on gatekeeper.dec.com 
  229. (16.1.0.2) in pub/X11/contrib as asente-swick.examples.tar.Z.  They were also 
  230. posted to comp.sources.x as xt-examples/part0[1-5].]
  231.  
  232. Jones, Oliver, Introduction to the X Window System, Prentice-Hall, 1988, 1989.
  233. ISBN 0-13-499997-5. An excellent introduction to programming with Xlib.  
  234. Written with the programmer in mind, this book includes many practical tips 
  235. that are not found anywhere else. This book is not as broad as the O'Reilly 
  236. Xlib tutorial, but Jones is an experienced X programmer and this shows in the 
  237. quality and depth of the material in the book. Originally written for X11R1, 
  238. recent printings have included corrections and additions and current material.
  239.  
  240. Young, Doug. "The X Window System: Applications and Programming with Xt (Motif 
  241. Version)," Prentice Hall, 1989 (ISBN 0-13-497074-8). The excellent tutorial 
  242. "X Window Systems Programming and Applications with Xt," (ISBN 0-13-972167-3) 
  243. updated for Motif. [The examples are available on export; the ones from the 
  244. Motif version are in ~ftp/contrib/young.motif.tar.Z.]
  245.  
  246. Young, Doug and John Pew, "The X Window System: Programming and Applications 
  247. with Xt, OPEN LOOK Edition" (ISBN 0-13-982992-X). The tutorial rewritten for 
  248. OLIT, with new examples and drag/drop information. [Examples are on export in
  249. youg.olit.tar.Z.]
  250.  
  251. Heller, Dan. "Motif Programmers Manual". The 6th Volume in the O'Reilly series
  252. covers Motif application programming; it's full of good examples. With Motif
  253. reference pages. (ISBN 0-9937175-70-6.)  [The examples are available on uunet
  254. in comp.sources.x and nutshell archives.]
  255.  
  256. Scheifler, Robert, and James Gettys, with Jim Flowers and David Rosenthal, "X 
  257. Window System: The Complete Reference to Xlib, X Protocol, ICCCM, XLFD, X 
  258. Version 11, Release 5, Third Edition," Digital Press, 1992. "The Bible" in its 
  259. latest revision", an enhanced version of X documentation by the authors of the 
  260. Xlib documentation. This is the most complete published description of the X 
  261. programming interface and X protocol. It is the primary reference work and is 
  262. not introductory tutorial documentation; additional tutorial works will usually
  263. be needed by most new X programmers.  Digital Press order EY-J802E-DP, ISBN 
  264. 0-13-971201-1.
  265.      
  266. Nye, Adrian, "Xlib Programming Manual, Volume 1" and "Xlib Reference Manual, 
  267. Volume 2," O'Reilly and Associates, 1988. A superset of the MIT X 
  268. documentation; the first volume is a tutorial with broad coverage of Xlib, and 
  269. the second contains reference pages for Xlib functions and many useful 
  270. reference appendices.  ISBN 0-937175-26-9 (volume 1) and ISBN 0-937175-27-7 
  271. (volume 2).  [A version updated for X11R4 is available (4/90).]
  272.  
  273. Nye, Adrian, and Tim O'Reilly, "X Toolkit Programming Manual, Volume 4,"
  274. O'Reilly and Associates, 1989. The folks at O'Reilly give their comprehensive
  275. treatment to programming with the MIT Intrinsics; R4 versions are now
  276. available, as is a Motif 1.1 version (Volume 4M).
  277.  
  278. O'Reilly, Tim, ed.,  "X Toolkit Reference Manual, Volume 5," O'Reilly and 
  279. Associates, 1989.  A professional reference manual for the MIT X11R3 Xt; some 
  280. information on X11R4 is included.
  281.  
  282. Mansfield, Niall. "The X Window System: A User's Guide," Addison-Wesley, 1989.
  283. A tutorial introduction to using X, now upgraded for R4. ISBN 0-201-51341-2.
  284.  
  285. Quercia, Valerie and Tim O'Reilly. "X Window System User's Guide," O'Reilly and
  286. Associates, 1989. A tutorial introduction to using X. ISBN 0-937175-36-6.
  287. Also available in R4 and Motif flavors.
  288.  
  289. (Prentice-Hall ordering is 201-767-5937. O'Reilly ordering is 800-998-9938.)
  290.  
  291. In addition, check the X11R4 and X11R5 core distribution in doc/tutorials for 
  292. some useful papers and tutorials, particularly the file answers.txt.  "Late 
  293. Night's Top Ten X11 Questions" by Dave Lemke (lemke@ncd.com) and Stuart Marks 
  294. (smarks@sun.com) answers other common questions and some of these here in more
  295. detail.
  296.  
  297. New R5 versions of the O'Reilly references (not yet Volume 6) are now available
  298. [8/92].  A single volume, "Programmer's Supplement for R5" by David Flanagan, 
  299. provides an overview of new R5 features; it includes man pages for Xlib, Xt, 
  300. and Xmu. [ISBN  0-937175-86-2]
  301.  
  302. ----------------------------------------------------------------------
  303. Subject:   2)! What courses on X and various X toolkits are available?
  304.  
  305.     Advanced Computing Environments periodically offers at least a two-day
  306. Introduction course. Contact Susie Karlson at 415-941-3399 for information.
  307.  
  308.     AT&T offers training in Xlib and in the Xol set. Contact AT&T Corporate
  309. Education & Training for more info; 1-800-TRAINER in the USA.
  310.  
  311.     Communica Software Consultants offers three-day hands-on courses in X 
  312. designed for the X Window system developer and programmer. Contact Chris 
  313. Clarkson, telephone 61 8 4101442, e-mail communica@communica.oz.au. [5/91]
  314.  
  315.     Cora Computer Technologies (516-485-7343) offers several courses.
  316.  
  317.     GHCT offers a one week lecture/lab course for programmmers designed by
  318. Douglas Young based on his book "The X Window System: Programming and Applica-
  319. tions with Xt, OSF/Motif Edition". Information: Brian Stell (415-966-8805 or
  320. ghct!brian@sgi.com).
  321.  
  322.     GHG offers a range of courses on X and Motif. Information: 713-488-8806 
  323. or training-info@ghg.hou.tx.us.
  324.  
  325.     Hands On Learning has live training and self-paced video workshops on 
  326. topics such as using and/or programming X, Xlib, Xm, Xt, and widget-writing. 
  327. Information: 617-272-0088, 800-248-9133.
  328.  
  329.     Hewlett-Packard (1-800-HPCLASS; or contact your local HP center) offers
  330. a 2-day "Introduction to X", a 5-day Xlib course, a 1-day Xt and Motif 1.1 
  331. seminar, and a 5-day Motif lab course.
  332.  
  333.     Integrated Computer Solutions, Inc., offers several multi-day, hands-on
  334. courses on X, Xt, and the Xaw and Motif widget sets, in particular. Information
  335. is available at 617-621-0060 and info@ics.com.
  336.  
  337.     Intelligent Visual Computing teaches several lab courses on-site for
  338. Motif and XView. IVC is at 1-800-776-2810 or +1 919-481-1353 or at info@ivc.com.
  339.  
  340.     Iris Computing Laboratories offers five-day Xlib and Xt courses.
  341. Info: +1-505-988-2670 or info@spectro.com.
  342.  
  343.     IXI Limited (+44 223 462 131) offers regular X training courses for 
  344. both programmers and non-technical managers.
  345.  
  346.     Learning Tree International offers a four-day course in X Window System
  347. applications development, including Xlib and some information on Motif.  For 
  348. more info call 800-824-9155 (213-417-3484); 613-748-7741 in Canada. Courses are
  349. offered in major North American cities; also in London, Stockholm, Tokyo, and 
  350. elsewhere.
  351.  
  352.     Lurnix offers 4-day "type-along courses" on Xt; the course is being
  353. ported from Xaw to Xm. Information is available at 800-433-9337 (in CA: -9338).
  354.  
  355.     Mitch Trachtenberg and Associates offers regular 5-day lab courses on
  356. programming with OSF/Motif, usually in but not limited to Cambridge, MA. 
  357. Info: 1-800-735-UNIX or +1 617-225-0366, info@mta.com.
  358.  
  359.     Non Standard Logics (+33 (1) 43 36 77 50; requests@nsl.fr) offers
  360. courses on programming with Xlib, Motif, and creating Motif widgets.
  361.  
  362.     OSF Educational Services (617-621-8778) offers one-day seminars and 
  363. one-week Motif lab courses.
  364.  
  365.     John A. Pew offers a 5-day course on OLIT, possibly based on his book
  366. on that subject; 408-224-5739.
  367.  
  368.     SCO (+44 923 816344, scol-info@sco.COM) offers training for its Open 
  369. Desktop (Motif) environment in the UK and Europe.
  370.  
  371.     Software Pundits (617-270-0639) offers a range of courses.
  372.  
  373.     Technology Exchange (617-944-3700) offers a 4-day Xlib/Xt/Motif course.
  374.  
  375.     TeleSoft is now offering a 1-day plus 3-day seminar on X and Motif.
  376. Information: Bruce Sherman (619-457-2700, bds@telesoft.com).
  377.  
  378.     Unipalm XTech offers OSF's 5-day Motif course and a 1-day overview on 
  379. X.  Information: Unipalm Training at +44 952  211797, xtech@unipalm.co.uk.
  380.  
  381.     Various other vendors are also beginning to offer X training, usually 
  382. specific to a proprietary toolkit or to Xt and a proprietary widget set: DEC 
  383. is offering Xlib courses; Sun offers an XView course.
  384.  
  385.     Various universities are offering short X courses or overviews: UCLA,
  386. Dartmouth, University of Lowell, University of Canberra (within Australia: 
  387. 062-522422) ... 
  388.     UC Berkeley Extension will have a one week X/Motif class for 
  389. programmers in San Francisco starting on July 29.  The class will have a 
  390. hands-on lab. For more information contact UCBX at 415 323 8141.
  391.  
  392.     Among the best places to find courses are at the various Unix 
  393. conferences -- Uniforum, Usenix, Unix Expo, Xhibition, the MIT X Technical
  394. Conference, the ACM tutorial weeks, &c.
  395.  
  396.     In addition, the X Consortium posts approximately quarterly a list of
  397. unendorsed speakers and consultants who can provide talks on a variety of X 
  398. topics.
  399.  
  400. ----------------------------------------------------------------------
  401. Subject:   3)  What conferences on X are coming up?
  402.  
  403.     The Motif92 show is being held in Washington November 30 to December 4,
  404. to coincide with the FedUnix and the Federal Open Systems Conference. 
  405. Information: motif92@fedunix.org or paller@fedunix.org, 301-229-1062,
  406. fax 301-229-1063.
  407.  
  408.     The MIT X Technical Conference is typically held in January in Boston.
  409. The 7th will be held January 18-20, 1993 at the Sheraton Boston Hotel and 
  410. Towers.  Registration information is available from 
  411. registration@expo.lcs.mit.edu.
  412.  
  413.     The XWorld Conference and Exhibition includes tutorials, panels, 
  414. presentations and vendor exhibits. The '93 show is April 19-23 in New York 
  415. City.  Information: SIGS Publication Group at 212-274-0640.
  416.  
  417.     The Xhibition 93 X trade show and conference, with tutorials, panels, 
  418. presentations, and vendor exhibits, will be held at the San Jose Convention
  419. Center June 7-11, 1993.  Information: +1 617 621 0060, xhibit@ics.com.
  420.  
  421.     The European X User Group holds an annual conference which typically 
  422. includes includes paper presentations and a vendor exhibit. Information: 
  423. exug@unipalm.co.uk (?) or p.whitehead@cc.ic.ac.uk, +44 (0) 223 426534, 
  424. fax +44 (0) 223 420251.
  425.  
  426.     Other trade shows -- UnixExpo, Uniforum, Siggraph -- show an increasing
  427. presence of X, including tutorials and exhibits.
  428.  
  429. ----------------------------------------------------------------------
  430. Subject:   4)! What X-related public mailing lists are available?
  431.  
  432.     The xpert mailing list is the general, public mailing list on X
  433. maintained by the X Consortium. The mailings are gatewayed, so xpert is almost 
  434. identical to the comp.windows.x Usenet newsgroup. 
  435.  
  436.     ***    If you get comp.windows.x, you don't need to     ***
  437.     ***    be added to the xpert mailing list.         ***
  438.  
  439.     Otherwise, you can join the list to receive X information 
  440. electronically. It is best to find a local distribution; perhaps someone within
  441. your company is already receiving the mailing. As a last resort, send mail to 
  442. xpert-request@expo.lcs.mit.edu with a valid return electronic address. 
  443.  
  444.     The xannounce mailing list carries major X announcements, such as new
  445. releases (including public patches from MIT), public reviews, adoption of 
  446. standards by the MIT X Consortium, and conference announcements.  It does NOT 
  447. carry advertisements, source code, patches, or questions.  If you already 
  448. receive the Usenet news group comp.windows.x.announce or the xpert mailing list,
  449. you don't need to be added to the xannounce mailing list.  Otherwise, to 
  450. subscribe, send a request to xannounce-request@expo.lcs.mit.edu. Note: Only 
  451. redistribution addresses will be accepted for this list -- i.e. no personal 
  452. addresses. If you wish to receive xannounce yourself, please contact your mail 
  453. administrator to set up a local redistribution list and to put you on it.  
  454.     comp.windows.x.apps is not gatewayed to a mailing list.
  455.  
  456.     In addition, the X Consortium sponsors these public lists:
  457.         bug-clx         CLX bug reports and discussions
  458.         x-ada           X and ada
  459.         x11-3d          people interested in X and 3d graphics
  460.         ximage          people interested in image processing and X
  461.         xvideo          discussion of video extensions for X
  462.     To subscribe to one of these lists, assuming no-one in your 
  463. organization already receives it, send mail to <list>-request@expo.lcs.mit.edu
  464. with the Subject line including the name of the LIST in caps and the request
  465. "addition request".  In the body of the message be sure to give an address for 
  466. your local distribution which is accessible from MIT (eddie.mit.edu).
  467.  
  468.     A mailing list for topics related to OPEN LOOK is sponsored by Greg
  469. Pasquariello of Unify corporation; send to openlook-request@unify.com (or
  470. openlook-request%unify@uunet.uu.net) for information. 
  471.     A mailing list for bugs in the publicly-available version of XView
  472. source, in particular, is sponsored by Sun; send for information to 
  473. xviewbug-trackers-request@sun.com. 
  474.     A mailing list for topics related to Motif is sponsored by Kee Hinckley
  475. of Alfalfa Software, Inc.; send to motif-request@alfalfa.com for information. 
  476. (This group is gatewayed to comp.windows.x.motif.)
  477.     A mailing list for topics related to the XPM pixmap-format is sponsored
  478. by Arnaud Le Hors of Group Bull; send to xpm-talk-request@sa.inria.fr for
  479. information. [1/91]
  480.     A mailing list discussing InterViews can be subscribed to by sending to 
  481. interviews-request@interviews.stanford.edu.
  482.     A mailing list (amiga-x11@nic.funet.fi) for topics related to the port 
  483. of X11 to the Amiga can be subscribed by sending to mailserver@nic.funet.fi a 
  484. message containing
  485.         Subject: Adding myself to AMIGA-X11
  486.         SUBS AMIGA-X11 Your Real Name
  487.     A mailing list discussing ParcPlace's (formerly Solbourne's) OI (Object
  488. Interface) toolkit can be subscribed to at oi-users-requests@bbn.com.
  489.     A mailing list discussing multi-threaded Xlib can be subscribed to at
  490. mt-xlib-request@xsoft.xerox.com.
  491.  
  492. ----------------------------------------------------------------------
  493. Subject:   5)! How can I meet other X developers? 
  494.  
  495.     O'Reilly and Associates sponsors a mailing list for the use of X user 
  496. group organizers; subscribe by sending to listserv@ora.com the message 
  497. "subscribe xgroups your@internet.address".
  498.  
  499.     Local area X user's groups are listed in Issue 4 of O'Reilly's X 
  500. Resource journal; a list may also be available from xug@ics.com.
  501.  
  502.     The French X User Group is called AFUX and is based in Sophia Antipolis
  503. by CERICS. Information can be obtained from Miss Vasseur or Miss Forest; BP 
  504. 148; 157, rue Albert Einstein; 06561 Valbonne Cedex; Phone: +33 93 95 45 00 / 
  505. 45 01; Fax: +33 93 95 48 57.  [10/90]
  506.  
  507.     The European X User Group was formed in 1989 to represent X users in 
  508. Europe.  It holds technical conferences at regular intervals. The EXUG also 
  509. publishes a regular newsletter which is distributed free of charge to members. 
  510. The EXUG also runs a email mailing list for members which is frequently used to
  511. address issues of European interest in X. The EXUG can be contacted at
  512. P.Whitehead@cc.ic.ac.uk, +44 (071) 225 8754, fax +44 (071) 823 9497.
  513.  
  514.     GXUGiV is the German X User's Group in Vorbereitung ("in preparation")
  515. being formed for X programmers and users; it is associated with the EXUG. All
  516. interested should contact Olaf Heimburger (+49 30 7 79 54 64; and at
  517. mcvax!unido!tub!olaf).
  518.  
  519. ----------------------------------------------------------------------
  520. Subject:   6)! What related FAQs are available?
  521.  
  522.     Liam R. E. Quin (lee@sq.sq.com) posts a FAQ on Open Look to 
  523. comp.windows.open-look.  
  524.     Jan Newmarch (jan@pandonia.canberra.edu.au) posts a FAQ on Motif to 
  525. comp.windows.x.motif.
  526.     Peter Ware (ware@cis.ohio-state.edu) posts a FAQ for
  527. comp.windows.x.intrinsics; it is on export in contrib/FAQ-Xt.
  528.     Art Mulder (art@cs.ualberta.ca) posts to comp.windows.x a FAQ on 
  529. maximizing the performance of X.
  530.     Steve Kotsopoulos (steve@ecf.toronto.edu) posts to comp.windows.x a FAQ
  531. about using X on Intel-based Unix systems.
  532.     The FAQ in alt.binaries.pictures contains information on viewing images
  533. with X and on massaging image formats.
  534.     The FAQ in comp.mail.mh (gatewayed to MH-users@ics.uci.edu) includes a 
  535. section on xmh.
  536.     The FAQ in comp.lang.lisp contains information on several interface
  537. tools and toolkits.
  538.     There exists a PEX/PHiGS FAQ.
  539.  
  540. ----------------------------------------------------------------------
  541. Subject:   7)  How do I ask a net-question so as to maximize helpful responses?
  542.  
  543.     When asking for help on the net or X mailing lists, be sure to include 
  544. all information about your setup and what you are doing.  The more specific you
  545. are, the more likely someone will spot an error in what you are doing.  Without
  546. all the details, people who want to help you often have to guess -- if they are
  547. able to respond at all.
  548.  
  549.     Always mention what version of X you are using and where you got it 
  550. from. If your server came from a different source as the rest of your X system,
  551. give details of that, too.  Give the machine type, operating system, and O/S 
  552. version for both the client and server machine.  It may also be appropriate to 
  553. mention the window manager, compiler, and display hardware type you are using.
  554.  
  555.     Then tell exactly what you are doing, exactly what happens, and what
  556. you expected/wanted to happen.  If it is a command that fails, include the 
  557. exact transcript of your session in the message.  If a program you wrote 
  558. doesn't work the way you expect, include as little of the source necessary 
  559. (just a small test case, please!) for readers to reproduce the problem.
  560.  
  561. ----------------------------------------------------------------------
  562. Subject:   8)  What publications discussing X are available?
  563.  
  564.     The trade magazines (Unix World, Unix Review, Computer Language, etc.)
  565. are publishing more articles on X.  Two X-specific publications include:
  566.  
  567.     - O'Reilly and Associates publishes "The X Resource: A Practical 
  568. Journal of the X Window System" (632 Petaluma Ave., Sebastapol, CA 95472).  
  569. Editorial information: Adrian Nye, adrian@ora.com.
  570.  
  571.     - The X Journal is started bi-monthly publication September 1991 on a 
  572. variety of X topics. Subscription information: The X Journal, Subscriber 
  573. Services, Dept XXX, P.O. Box 3000, Denville, NJ 07834, USA. Editorial 
  574. information: editors%topgun@uunet.uu.net.
  575.  
  576. ----------------------------------------------------------------------
  577. Subject:   9)  What are these common abbreviations/acronyms?
  578.  
  579.     Xt: The X Toolkit Intrinsics is a library layered on Xlib which 
  580. provides the functionality from which the widget sets are built. An "Xt-based" 
  581. program is an application which uses one of those widget sets and which uses 
  582. Intrinsics mechanisms to manipulate the widgets.
  583.     Xmu: The Xmu library is a collection of Miscellaneous Utility functions
  584. useful in building various applications and widgets.
  585.     Xaw: The Athena Widget Set is the MIT-implemented sample widget set
  586. distributed with X11 source.
  587.     Xm: The OSF/Motif widget set from the Open Software Foundation; binary
  588. kits are available from many hardware vendors.
  589.     Xhp (Xw): The Hewlett-Packard Widget Set was originally based on R2++, 
  590. but several sets of patches exist which bring it up to R3, as it is distributed
  591. on the X11R4 tapes. Supplemental patches are available to use it with R4/R5.
  592.     CLX: The Common Lisp X Interface is a Common Lisp equivalent to Xlib.
  593.     XDMCP: The X Display Manager Protocol provides a uniform mechanism for 
  594. a display such as an X terminal to request login service from a remote host.
  595.     XLFD: The X Logical Font Description Conventions describes a standard
  596. logical font description and conventions to be used by clients so that they
  597. can query and access those resources.
  598.     RTFM: Common expert-speak meaning "please locate and consult the 
  599. relevant documentation -- Read the Forgotten Manual".
  600.     UTSL: A common expression meaning "take advantage of the fact that you 
  601. aren't limited by a binary license -- Use The Source, Luke".
  602.     API: Application-Programmer Interface. The function calls, etc., in
  603. a programming library.
  604.     BDF: Bitmap Distribution Format; a human-readable format for uncompiled X fonts.
  605.     GUI: graphical user interface.
  606.     UIL: the User Interface Language, part of OSF/Motif which lets 
  607. programmers specify a widget hierarchy in a simple "outline" form
  608.     WCL: the Widget Creation Language, a package which extends the 
  609. understanding of the Xt resource format such that a widget hierarchy and 
  610. actions on the widgets can be specified through the resources file
  611.     GIL: the file format put out by Sun's OpenWindows Developers Guide 3.0
  612.     UIMS: User Interface Management System
  613.  
  614. ----------------------------------------------------------------------
  615. Subject:  10)  What is the ICCCM? (How do I write X-friendly applications?)
  616.  
  617.     The Inter-Client Communication Conventions Manual is one of the 
  618. official X Consortium standards documents that define the X environment. It 
  619. describes the conventions that clients must observe to coexist peacefully with 
  620. other clients sharing the same server.  If you are writing X clients, you need 
  621. to read and understand the ICCCM,  in particular the sections discussing the 
  622. selection mechanism and the interaction between your client and the window 
  623. manager.  Get it either:
  624.     - as part of the R4 distribution from MIT
  625.     - in the later editions of the Scheifler/Gettys "X Window System" book
  626.     - as an appendix in the new version of O'Reilly's Volume 0, "X Protocol
  627. Reference Manual." A version in old copies of their Volume 1 is obsolete.
  628.     The version in the Digital Press book is much more readable, thanks to 
  629. the efforts of Digital Press's editors to improve the English and the 
  630. presentation.
  631.  
  632. [from David Rosenthal, 10/90]
  633.  
  634.     - the ICCCM was updated for R5; updates are published in O'Reilly's
  635. "Programmer's Supplement for Release 5". The complete document is on the R5
  636. tapes.
  637.  
  638.     Alternate definition: the ICCCM is generally the M in "RTFM" and is
  639. the most-important of the least-read X documents.
  640.  
  641. ----------------------------------------------------------------------
  642. Subject:  11)  What is the X Consortium, and how do I join?
  643.  
  644.     The MIT X Consortium was formed in January of 1988 to further the
  645. development of the X Window System and has as its major goal the promotion of 
  646. cooperation within the computer industry in the creation of standard software 
  647. interfaces at all layers in the X Window System environment.
  648.     MIT's role is to provide the vendor-neutral architectural and 
  649. administrative leadership required to make this work. Membership in the 
  650. Consortium open to any organization.  There are two categories of membership, 
  651. Member (for large organizations) and Affiliate (for smaller organizations).
  652.     Most of the Consortium's activities take place via electronic mail, 
  653. with meetings when required.  As designs and specifications take shape,
  654. interest groups are formed from experts in the participating organizations.  
  655. Typically a small multi-organization architecture team leads the design, with 
  656. others acting as close observers and reviewers.  Once a complete specification
  657. is produced, it may be submitted for formal technical review by the Consortium
  658. as a proposed standard.  The standards process typically includes public 
  659. review (outside the Consortium) and a demonstration of proof of concept.
  660.     Your involvement in the public review process or as a Member or 
  661. Affiliate of the Consortium is welcomed.
  662.     Write to: Bob Scheifler, MIT X Consortium, Laboratory for Computer 
  663. Science, 545 Technology Square, Cambridge, MA 02139.
  664.  
  665. [For complete information see the XCONSORTIUM man page from the X11R4
  666. distribution, from which this information is adapted.] [2/90]
  667.  
  668. ----------------------------------------------------------------------
  669. Subject:  12)  Just what are OPEN LOOK and Motif?
  670.  
  671.     OPEN LOOK and Motif are two graphical user interfaces (GUIs). OPEN LOOK
  672. was developed by Sun with help from AT&T and many industry reviewers; Motif was 
  673. developed by the Open Software Foundation (OSF) with input from many OSF 
  674. members. 
  675.  
  676.     OPEN LOOK is primarily a user-interface specification and style-guide; 
  677. there are several toolkits which can be used to produce OPEN LOOK applications.
  678. Motif includes an API specification; the only sanctioned Motif toolkit is the 
  679. one from OSF. However, there are other toolkits which can be used to produce 
  680. programs which look and behave like OSF/Motif; one of these, ParcPlace's 
  681. (formerly Solbourne's) OI, is a "virtual toolkit" which provides objects in the
  682. style of OPEN LOOK and Motif, at the user's choice.
  683.  
  684.     OPEN LOOK GUI is also the name of a product from AT&T, comprising 
  685. their OPEN LOOK Intrinsics Toolkit and a variety of applications.
  686.  
  687. [Thanks to Ian Darwin, ian@sq.com, 5/91]
  688.  
  689. ----------------------------------------------------------------------
  690. Subject:  13)  Just what is OpenWindows?
  691.  
  692.     Open Windows (3.0) is a Sun product that encompasses: a window system 
  693. that combines a NeWS and X11-compliant server (X/NeWS); a user-interface 
  694. specification (OPEN LOOK) and a series of toolkits that implement it (including
  695. the SunView-like XView and the Xt-based OLIT); Xlib and Xt implementations; and
  696. a number of utilities (olwm window manager, filemgr, shelltool, etc.).
  697.  
  698. [thanks to Frank Greco (fgreco@govt.shearson.COM), 8/90; 4/92] 
  699.  
  700. ----------------------------------------------------------------------
  701. Subject:  14)  Just what is DECWindows?
  702.  
  703.     DECWindows is a DEC product that encompasses: an X11 server; the XUI 
  704. toolkit, including the Dwt widget set and UIL; Xlib and Xt implementations; a 
  705. session manager; and a number of utilities (dxwm window manager, dxcalendar, 
  706. dxpsview, etc.).
  707.  
  708. (At some point Motif flavors of the toolkit and applications will be shipped.)
  709. [8/90] 
  710.  
  711. ----------------------------------------------------------------------
  712. Subject:  15)  What is PEX?
  713.  
  714.     PEX is the "PHiGS Extension to X".
  715.     PHiGS stands for "Programmer's Hierarchical Interactive Graphics 
  716. System" and is essentially a library of functions that simplifies the creation 
  717. and manipulation of 3D graphics. Many platforms are capable of performing in 
  718. hardware the computations involved in rendering 3D objects; the extension 
  719. allows the client (PHiGS in this case) to take advantage of the specialized 
  720. hardware for 3D graphics.
  721.     Sun Microsystems is currently contracted to develop a freely 
  722. redistributable (copyright similar to the current X copyright) sample
  723. implementation.  Source and documentation are available in the R5 release.
  724. Several vendors are currently selling independently-developed PEX servers for 
  725. their workstations and X terminals.
  726.  
  727. [last modified 10/91]
  728.  
  729. ----------------------------------------------------------------------
  730. Subject:  16)  What is "low-bandwidth X" (LBX)? XRemote? PPP? SLIP? CSLIP?
  731.  
  732. There are several options for using X over serial lines:
  733.  
  734. SLIP - Serial Line IP; this is both a mechanism and a protocol for sending IP
  735. packets over point-to-point serial links. It has been around for several years, 
  736. and implementations are available for many of the major TCP/IP implementations.
  737. Most X Terminal vendors supply this as a checkoff item, although nobody really 
  738. ever uses it since it is horribly slow.  The TCP/IP headers add 40 bytes per 
  739. packet and the TCP/IP encoding of the X protocol is rather verbose (rightfully 
  740. so; it is optimized for packing and unpacking over high-speed links). 
  741.  
  742. CSLIP - Compressed header SLIP; this is a variant of SLIP that compresses the 40
  743. bytes of TCP/IP headers down to about 5 or 6 bytes.  It still doesn't do 
  744. anything about reencoding the X protocol.  Modems that do compression can help, 
  745. but they increase packet latency (it takes time to dribble the uncompressed data
  746. through typical serial interfaces, plus the compression assembly time).
  747.  
  748. PPP - Point-to-Point Protocol; this is an emerging standard for point-to-point
  749. links over serial lines that has a more complete set of option negotiation than
  750. SLIP.  A growing number of people see the combination of PPP for the serial line
  751. management and CSLIP for the header compression as becoming common for running 
  752. normal TCP/IP protocols over serial lines.  Running raw X over the wire still 
  753. needs compression somewhere to make it usable.
  754.  
  755. XRemote - this is the name of both a protocol and set of products originally
  756. developed by NCD for squeezing the X protocol over serial lines.  In addition to
  757. using a low level transport mechanism similar to PPP/CSLIP, XRemote removes 
  758. redundancies in the X protocol by sending deltas against previous packets and 
  759. using LZW to compress the entire data stream.  This work is done by either a 
  760. pseudo-X server or "proxy" running on the host or in a terminal server.  There 
  761. are several advantages to doing compression outside the modem:
  762.    (1)    You don't *have* to have compressing modems in there if you wouldn't 
  763.     otherwise be using them (e.g. if you were going to be directly 
  764.     connected), and
  765.    (2)    It reduces the I/O overhead by cutting down on the number of bytes that 
  766.     have to cross the serial interface, and
  767.    (3)    In addition to the effects of #2, it reduces the latency in delivering 
  768.     packets by not requiring the modem to buffer up the data waiting for 
  769.     blocks to compress.
  770.  
  771. LBX - Low Bandwidth X; this is an X Consortium project that is working on a
  772. standard for this area.  It is being chaired by NCD and Xerox and is using NCD's
  773. XRemote protocol as a stepping stone in developing the new protocol.  LBX will 
  774. go beyond XRemote by adding proxy caching of commonly-used information (e.g. 
  775. connection setup data, large window properties, font metrics, keymaps, etc.) and
  776. a more efficient encoding of the X protocol. The hope is to have a Standard 
  777. ready for public review in the first half of next year and a sample 
  778. implementation available in R6.
  779.  
  780. Additional technical information about how XRemote works and a few notes on how
  781. LBX might be different are available via anonymous ftp from export.lcs.mit.edu
  782. in contrib/ in the following files:
  783.         XRemote-slides.ps               slides describing XRemote
  784.         XRemote-LBX-diffs.ps            more slides describing some of LBX
  785.  
  786. [information provided by Jim Fulton, jim@ncd.com; 7/92]
  787.  
  788. ----------------------------------------------------------------------
  789. Subject:  17)  TOPIC: USING X IN DAY-TO-DAY LIFE
  790. ----------------------------------------------------------------------
  791. Subject:  18)! What are all these different window managers?
  792.  
  793.     The window manager in X is just another client -- it is not part of the
  794. X window system, although it enjoys special privileges -- and so there is
  795. no single window manager; instead, there are many which support different ways 
  796. for the user to interact with windows and different styles of window layout,
  797. decoration, and keyboard and colormap focus. In approximate chronological order
  798. (generally, the more recent ones are more conformant with the ICCCM):
  799.  
  800.     wm: this simple title-bar window manager was phased out in R2 or R3
  801.     uwm: the Universal Window Manager is still popular for its speed, 
  802. although it is very outdated. Moved to contrib/ on the R4 tape.
  803.     twm (old): Tom's Window Manager was among the first non-MIT window 
  804. managers and offered the user a great deal of customization options in a
  805. re-parenting window manager. 
  806.     awm: the Ardent Window Manager remains a hotbed for hackers and offers
  807. some features (dynamic menus) not found on more current window managers
  808.     cwm: cwm is part of the Andrew system. 
  809.     rtl: Siemen's window manager tiles windows so that they don't overlap
  810. and resizes the window with the focus to its preferred size.
  811.     dxwm: Digital's dxwm is part of the DECwindows offering
  812.     hpwm: HP's window manager offers a 3D look; it is a precursor of mwm
  813.     mwm: the Motif window manager is part of the OSF/Motif toolkit
  814.     tekwm: Tektronix's window manager offering 
  815.     olwm (Sun): olwm implements the OPEN LOOK GUI and some of the Style
  816. Guide functionality
  817.     olwm (AT&T): ditto
  818.     gwm: Bull's Generic Window Manager emulates others with a built-in
  819. Lisp interpreter. Version 1.7h (10/91) is on the R5 contrib tape; 1.7m is on
  820. avahi.inria.fr and export.lcs.mit.edu. [8/92]
  821.     m_swm: the Sigma window manager is on the R4 tape
  822.     pswm: Sun's PostScript-based pswm is part of the OpenWindows release
  823.     swm: Solbourne's swm is based on the OI toolkit and offers multiple
  824. GUI support and also a panned virtual window; configuration information comes
  825. from the resources file
  826.     twm (new): MIT's new Tab Window Manager from the R4 tape is a reworked
  827. twm and is the basis for several derivatives, including the one on the R5 tape
  828.     vtwm: vtwm offers some of the virtual-desktop features of swm, with a
  829. single-root window implementation; it is based on the R4 twm and is available
  830. on archive servers. A new version, vtwm-5.0, is based on R5.9 and is available 
  831. from export. [3/92]
  832.     tvtwm: Tom's Virtual Tab Window Manager is also based on the R4 twm
  833. and provides a virtual desktop modeled on the virtual-root window of swm. It is
  834. available on archive servers
  835.     olvwm: the vtwm-style virtual-desktop added to Sun's olwm. It is 
  836. available on archive servers; version 3.0 [1/92] is on export.
  837.     mvwm: the vtwm-style virtual-desktop added to OSF's mwm. A beta version
  838. is floating around (most recently from suresh@unipalm.co.uk) but requires a 
  839. source license to OSF/Motif 1.1.3 [3/92].
  840.     NCDwm: the window manager local to NCD terminals offers an mwm look 
  841.     XDSwm: the window manager local to Visual Technology's terminals 
  842.     ctwm: Claude Lecommandeur's (lecom@sic.epfl.ch) modification of the R5 
  843. twm offers 32 virtual screens in the fashion of HP vuewm; source is on export.
  844.     vuewm: HP's MWM-based window manager offers configurable workspaces.
  845.     4Dwm: SGI's enhanced MWM
  846.  
  847. ----------------------------------------------------------------------
  848. Subject:  19)  Why does my X session exit when I kill my window manager (sic)?
  849.  
  850.     It needn't.  What is probably happening is that you are running your 
  851. window manager as the last job in your .xsession or .xinitrc file; your X 
  852. session runs only as long as the last job is running, and so killing your 
  853. window manager is equivalent to logging out. Instead, run the window manager in
  854. the background, and as the last job instead invoke something safe like:
  855.         exec xterm -name Login -rv -iconic
  856. or any special client of your devising which exits on some user action.
  857. Your X session will continue until you explicitly logout of this window, 
  858. whether or not you kill or restart your window manager.
  859.  
  860. ----------------------------------------------------------------------
  861. Subject:  20)  Can I save the state of my X session, like toolplaces does?
  862.  
  863.     Although no known window manager directly supports such a feature --
  864. which may be equivalent to writing out a .xinitrc or .xsession file naming the
  865. geometry and WM_COMMAND of each application (but olvwm may have something 
  866. close) -- there is a contributed application which does much of what you are 
  867. looking for, although it is not as complete as the SunView program toolplaces. 
  868. Look for the application "xplaces" on an archive-server near you. There are 
  869. several versions of this program floating around; look for a recent vintage.
  870. [10/90]
  871.  
  872. ----------------------------------------------------------------------
  873. Subject:  21)  How do I use another window manager with DEC's session manager?
  874.  
  875.     DEC's session manager will start dxwm up by default. To override this, 
  876. add to your .Xdefaults file something like this line, naming the full pathname:
  877.     sm.windowManagerName:   /wherever/usr/bin/X11/your_favorite_wm
  878.  
  879. ----------------------------------------------------------------------
  880. Subject:  22)  How do I change the keyboard auto-repeat rate?
  881.  
  882.     You can turn auto-repeat on or off by using "xset r on|off". The X
  883. protocol, however, doesn't provide for varying the auto-repeat rate, which is
  884. a capability not supported by all systems.
  885.     Some servers running on systems that support this (the Xsun server from
  886. MIT, for example), however, may provide command-line flags to set the rate at 
  887. start-up time. If you have control over server start-up, you can invoke the
  888. server with the chosen settings. 
  889.  
  890. ----------------------------------------------------------------------
  891. Subject:  23)  How do I remap the keys on my keyboard to produce a string?
  892.  
  893.     There is no method of arranging for a particular string to be
  894. produced when you press a particular key. The xmodmap client, which is useful 
  895. for moving your CTRL and ESC keys to useful places, just rearranges keys and 
  896. does not do "macro expansion."
  897.     Some (few) clients, including xterm and several X-based editors, 
  898. accept a translation resource such as:
  899.     xterm*VT100.Translations: #override \
  900.         <Key>F1: string("setenv DISPLAY unix:0")
  901. which permits the shorthand F1 to be pressed to reset the display locally
  902. within an xterm; it takes effect for new xterm clients. To include control
  903. characters in the string, use \nnn, where nnn is the octal encoding of the
  904. control character you want to include.
  905.     Window managers, which could provide this facility, do not yet; nor
  906. has a special "remapper" client been made available.
  907.  
  908. ----------------------------------------------------------------------
  909. Subject:  24)! How do I make a screendump or print my application?
  910.  
  911.     The xwd client in the X11 distributions can be used to select a window 
  912. or the background. It produces an XWD-format file of the image of that window. 
  913. The file can be post-processed into something useful or printed with the xpr 
  914. client and your local printing mechanism. You can use this command:
  915.         csh% sleep 10; xwd -root > output.xwd &
  916. and then spend 10 seconds or so setting up your screen; the entire current
  917. display will be saved into the file output.xwd. Note that xwd also has an
  918. undocumented (before R5) -id flag for specifying the window id on the 
  919. command-line. [There are also unofficial patches on export to xwd for 
  920. specifying the delay and the portion of the screen to capture.]
  921.  
  922.     Two publicly-available programs which allow interactive definition of 
  923. arbitrary portions of the display and built-in delays are asnap and xgrabsc.
  924. There are several versions of xgrabsc; version 2.2, available on export [8/92]
  925. is the most recent.
  926.     xsnap includes some asnap features and supersedes it; it also renders 
  927. XPM output [version unknown]. It is available on export or avahi.inria.fr;
  928. see xsnap-pl2.tar.Z.
  929.     A screen-dump and merge/edit program combining features of xwd and xpr
  930. is available from vernam.cs.uwm.edu as xdump1.0.tar.Z. Information: 
  931. soft-eng@cs.uwm.edu.
  932.  
  933.     To post-process the xwd output of some of these tools, you can use xpr,
  934. which is part of the X11 distribution. Also on several archives are xwd2ps
  935. and XtoPS, which produce Encapsulated PostScript with trimmings suitable for 
  936. use in presentations (see export.lcs.mit.edu:contrib/xwd2ps.tar.Z and
  937. contrib/ImageMagick.tar.Z). Also useful is the PBMPLUS package on many archive
  938. servers.
  939.  
  940.     Also: 
  941.  
  942.     Bristol Technology (info@bristol.com, 203-438-6969) offers Xprinter 
  943. 2.0, an Xlib API for PostScript and PCL printers; a demo is on ftp.uu.net
  944. in vendor/Bristol/Xprinter.
  945.  
  946.     ColorSoft 9619-459-8500) offers OPENprint package includes a screen-
  947. capture facility, image-processing, and support for PostScript and 
  948. non-PostScript printers.
  949.  
  950.     Some vendors' implementations of X (e.g. DECWindows and OpenWindows) 
  951. include session managers or other desktop programs which include "print portion
  952. of screen" or "take a snapshot" options. Some platforms also have tools which 
  953. can be used to grab the frame-buffer directly; the Sun systems, for example, 
  954. have a 'screendump' program which produces a Sun raster file. Some X terminals 
  955. have local screen-dump utilities to write PostScript to a local serial printer. 
  956.  
  957.     Some vendors' implementations of lpr (e.g. Sony) include direct 
  958. support for printing xwd files, but you'll typically need some other package 
  959. to massage the output into a useful format which you can get to the printer.
  960.  
  961. ----------------------------------------------------------------------
  962. Subject:  25)  How do I make a color PostScript screendump of the X display?
  963.  
  964.     If you need color PostScript in particular, you can 
  965.     - grab the screen-image using xgrabsc to begin with, which can produce
  966. color PostScript.  
  967.     - grab the screen-image using xwd and post-process xwd into color PS.
  968. You can do this using xwd2ps or the XtoPS program from the ImageMagick 
  969. distribution. The PBMPLUS package is also good for this.
  970.  
  971. ----------------------------------------------------------------------
  972. Subject:  26)  How do I make a screendump including the X cursor?
  973.  
  974.     This can't be done unless the X server has been extended. Consider 
  975. instead a system-dependent mechanism for, e.g.,  capturing the frame-buffer.
  976.  
  977. ----------------------------------------------------------------------
  978. Subject:  27)! How do I convert/view Mac/TIFF/GIF/Sun/PICT/img/FAX images in X?
  979.  
  980.     The likeliest program is an incarnation of Jef Poskanzer's useful++ 
  981. Portable Bitmap Toolkit, which includes a number of programs for converting 
  982. among various image formats. It includes support for many types of bitmaps, 
  983. gray-scale images, and full-color images. PBMPLUS has been updated recently;
  984. the most recent version [12/91] is on export in contrib/pbmplus10dec91.tar.Z.
  985.     Another tool is San Diego Supercomputing Center's IMtools ('imconv' in 
  986. particular), which packages the functionality of PBM into a single binary.
  987. It's available anonymous ftp from sdsc.edu (132.249.20.22).
  988.  
  989.     Useful for viewing some image-formats is Jim Frost's xloadimage, a
  990. version of which is in the R4 directory contrib/clients/xloadimage -- there
  991. are later versions available; version 3.0.1 shipped 5/91 and is on export
  992. /contrib/xloadimage.3.01.tar.Z. A major new release of xloadimage is planned;
  993. in the mean-time, Graeme Gill's updates may hold you: see xli.README and
  994. xli.tar.Z.uu on export.lcs.mit.edu.
  995.  
  996.     An alternate image-viewer is xv (X Image Viewer), written by 
  997. bradley@cis.upenn.edu (John Bradley). XV displays many image formats and 
  998. permits editing of GIF files, among others. The program was updated 5/92; see 
  999. the file contrib/xv-2.21.tar.Z on export.lcs.mit.edu. 
  1000.  
  1001.     The Fuzzy Pixmap Manipulation, by Michael Mauldin <mlm@nl.cs.cmu.edu>.
  1002. Conversion and manipulation package, similar to PBMPLUS.  Version 1.0 available
  1003. via FTP as nl.cs.cmu.edu:/usr/mlm/ftp/fbm.tar.Z, uunet.uu.net:pub/fbm.tar.Z, 
  1004. and ucsd.edu:graphics/fbm.tar.Z.
  1005.  
  1006.     The Img Software Set, by Paul Raveling <raveling@venera.isi.edu>, reads
  1007. and writes its own image format, displays on an X11 screen, and does some image
  1008. manipulations.  Version 1.3 is available via FTP on expo.lcs.mit.edu as
  1009. contrib/img_1.3.tar.Z, along with large collection of color images.
  1010.  
  1011.     The Utah RLE Toolkit is a conversion and manipulation package similar 
  1012. to PBMPLUS.  Available via FTP as cs.utah.edu:pub/urt-*, 
  1013. weedeater.math.yale.edu:pub/urt-*, and freebie.engin.umich.edu:pub/urt-*.
  1014.  
  1015.     Xim, by Philip R. Thompson, reads and writes its own image format,
  1016. displays on an X11 screen, and does some image manipulations.  Available in 
  1017. your nearest X11R4 source tree as contrib/clients/xim.  A more recent version 
  1018. is available via ftp from video.mit.edu.  It uses x11r4 and the OSF/Motif 
  1019. toolkit to provide basic interactive image manipulation and reads/writes GIF, 
  1020. xwd, xbm, tiff, rle, xim, and other formats.
  1021.  
  1022.     ImageMagick [2.1b] by cristy@dupont.com can be retrieved from export's
  1023. contrib area. It is a collection of utilities to transform and display images 
  1024. on any X server. The tool uses the MIFF format; filters to and from MIFF from 
  1025. other popular formats (PPM, TIFF, GIF, SUN Raster, etc) are included.
  1026.  
  1027.     xtiff is a tool for viewing a TIFF file in an X window.  It was written
  1028. to handle as many different kinds of TIFF files as possible while remaining
  1029. simple, portable and efficient.  xtiff illustrates some common problems
  1030. with building pixmaps and using different visual classes.  It is distributed
  1031. as part of Sam Leffler's libtiff package and it is also available on
  1032. export.lcs.mit.edu, uunet.uu.net and comp.sources.x. [dbs@decwrl.dec.com,10/90]
  1033. xtiff 2.0 was announced in 4/91; it includes Xlib and Xt versions.
  1034.  
  1035.     A version of Lee Iverson's (leei@McRCIM.McGill.EDU) image-viewing tool
  1036. is available as contrib/vimage-0.9.3.tar.Z on export.lcs.mit.edu.  The package 
  1037. also includes an ImageViewPort widget and a FileDialog widget. [12/91;5/92] 
  1038.  
  1039. [some material from Larry Carroll (larryc@poe.jpl.nasa.gov), 5/91]
  1040.  
  1041. ----------------------------------------------------------------------
  1042. Subject:  28)  How can I change the titlebar of my xterm window?
  1043.  
  1044.     The solution involves sending an escape sequence to xterm which will
  1045. cause it to update the property which the window manager relies upon for the
  1046. string which appears in the window titlebar.
  1047.     A solution is as easy as typing this in an xterm running a shell:
  1048.         echo "ESC]2;TEXT^G"
  1049. where ESC is the escape key, TEXT is the string you wish to have displayed,
  1050. and ^G is a Control-G (the BEL character).
  1051.  
  1052.     Here is a more complicated csh alias which changes the titlebar to
  1053. the current working directory when you change directories:
  1054.         alias newcd 'cd \!*; echo -n ESC]2\;$cwd^G'
  1055.  
  1056.     The digit '2' in these strings indicates to xterm that it should 
  1057. change only the title of the window; to change both the title and the name 
  1058. used in the icon, use the digit '0' instead, and use '1' to change only the 
  1059. icon name.
  1060.  
  1061.     Note: another way to do this, which prevents an incorrect display of
  1062. the local directory if a modified `cd` is used in a subshell, is to wrap the
  1063. escape sequences into the PS1 prompt itself.
  1064.  
  1065.     Note: on an IBM RS/6000 is may be necessary to begin the sequence with
  1066. a ^V.
  1067.  
  1068. ----------------------------------------------------------------------
  1069. Subject:  29)  Where can I find the xterm control sequences?
  1070.  
  1071. The best source of such information is in your R5 sources in the file 
  1072. ctlseqs.ms; a PostScript version is in mit/hardcopy/clients/ctlseqs.PS.Z.
  1073.  
  1074. Other good sources of information include the R4 version of that document
  1075. and also the file in the R4 sources called mit/clients/xterm/ctlseq2.txt, a 
  1076. compilation put together by Skip Montanaro (GE CR&D) listing the VT100 
  1077. sequences. It dates from R3 but is fairly accurate.  A hardcopy version was 
  1078. published in the December 1989 XNextEvent (the XUG newsletter).
  1079.  
  1080. In addition, Volume 3 (User's Guide) of the R4 flavor of the O'Reilly 
  1081. X Window System series contains an appendix listing xterm control sequences;
  1082. it is less accurate than the information in the R5 or R4 sources.
  1083.  
  1084. In a pinch, a VT100 manual will do.
  1085.  
  1086. [last updated 10/91]
  1087.  
  1088. ----------------------------------------------------------------------
  1089. Subject:  30)  Why does the R3 xterm, et al, fail against the R4 server?
  1090.  
  1091.     The value given to a window's do_not_propagate mask is the likely 
  1092. culprit.  R3 allowed bogus values to be set, and early version of both Andrew 
  1093. and InterViews did, as well. Similar problems also occur in the R3 Motif
  1094. PanedWindow widget.
  1095.     If it is impossible to fix client source -- and many systems still ship
  1096. the R3 xterm -- use 'xset bc' to put the X11R4 server into bug-compatibility 
  1097. mode.
  1098.  
  1099. ----------------------------------------------------------------------
  1100. Subject:  31)  How can I use characters above ASCII 127 in xterm ?
  1101.  
  1102.     In order to use special characters such as the o-umlaut, you need to 
  1103. "stty pass8" but also to use a charcell ISO8859 font, such as 
  1104.     XTerm*font:     -*-*-medium-r-normal-*-*-130-*-*-c-*-iso8859-1
  1105.     XTerm*boldfont:    -*-*-bold-r-normal-*-*-130-*-*-c-*-iso8859-1
  1106. [The family is intentionally unspecified in this example.]
  1107.  
  1108. In addition, you may want to set this in your shell:
  1109.     setenv LC_CTYPE iso_8859_1
  1110.  
  1111.         For a given character above 127, you can determine the key to use with 
  1112. the Alt modifier by finding the equivalent character below 127 (try using
  1113. `man ascii`). For example, o-umlaut (v) is Alt-v and the section character (') 
  1114. is Alt-'. 
  1115.  
  1116. [thanks to Greg Holmberg (greg%thirdi@uunet.uu.net) and Stephen Gildea 
  1117. (gildea@expo.lcs.mit.edu); 6/92]
  1118.  
  1119. ----------------------------------------------------------------------
  1120. Subject:  32)  Why are my xterm menus so small?
  1121.  
  1122.     You are probably setting the geometry small accidentally. If you give 
  1123. a resource specification like this:
  1124.         xterm*geometry: 80x24
  1125. then you are asking for all widgets under xterm to have their geometry set to
  1126. 80x24. For the main window, this is OK, as it uses characters for its size. 
  1127. But its popup menus don't; they are in pixels and show up small. To set only
  1128. the terminal widget to have the specified geometry, name it explicitly:
  1129.         xterm*VT100.geometry: 80x24
  1130.  
  1131. ----------------------------------------------------------------------
  1132. Subject:  33)  How can I print the current selection?
  1133.  
  1134.     You could paste it into an xterm after executing the lpr command. 
  1135. However, a program by Richard Hesketh (rlh2@ukc.ac.uk) specifically for 
  1136. manipulating the selection will help; e.g. 
  1137.     % xselection PRIMARY | lpr
  1138. finds the primary selection and prints it. This command can be placed in a 
  1139. window-manager menu or in shell-scripts. xselection also permits the setting of
  1140. the selection and other properties. A version is on export.
  1141.     Also available is ria.ccs.uwo.ca:pub/xget_selection.tar.Z, which can be
  1142. adapted to do this.
  1143.  
  1144. ----------------------------------------------------------------------
  1145.  
  1146. David B. Lewis                     faq%craft@uunet.uu.net
  1147.  
  1148.         "Just the FAQs, ma'am." -- Joe Friday 
  1149. -- 
  1150. David B. Lewis        Temporarily at but not speaking for Visual, Inc.
  1151. day: dbl@visual.com    evening: david%craft@uunet.uu.net
  1152.