home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / x / 19255 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  59.6 KB

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