home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / as10.zip / XFree86 / lib / X11 / afterstep / doc / FAQ next >
Text File  |  1997-03-20  |  36KB  |  991 lines

  1.   AfterStep FAQ
  2.   Maintained by Diego Zamboni
  3.   $Revision: 1.3 $, $Date: 1997/03/18 15:17:03 $
  4.   ____________________________________________________________
  5.  
  6.   Table of Contents:
  7.  
  8.   1.      General information
  9.  
  10.   1.1.    What is AfterStep?
  11.  
  12.   1.2.    What is its history?
  13.  
  14.   1.3.    What are its main features?
  15.  
  16.   1.4.    Is it compatible with fvwm-2?
  17.  
  18.   1.5.    Where can I get this FAQ?
  19.  
  20.   1.6.    Who contributes to this FAQ?
  21.  
  22.   1.7.    What are the AfterStep-related mailing lists?
  23.  
  24.   2.      Getting and installing AfterStep
  25.  
  26.   2.1.    Where do I get AfterStep?
  27.  
  28.   2.2.    Other important WWW pages
  29.  
  30.   2.3.    What is the latest version of AfterStep
  31.  
  32.   2.4.    I've compiled AfterStep for my system but every time I try to
  33.   use it I receive the message: Cannot open display. What should I do?
  34.  
  35.   2.5.    How do I enable sound in AfterStep?
  36.  
  37.   2.6.    I grabbed TkStep and Tcl7.6 and tried to install TkStep, but
  38.   it doesn't work
  39.  
  40.   2.7.    Why doesn't ASCP run on my system?
  41.  
  42.   2.8.    How can I install AfterStep without being root?
  43.  
  44.   3.      Icons, graphics and pixmaps
  45.  
  46.   3.1.    Icons staying put
  47.  
  48.   3.2.    Colormap issues
  49.  
  50.   3.3.    Icons disappear from Wharf. What's wrong?
  51.  
  52.   3.4.    How do I create an icon with a transparent pixel?
  53.  
  54.   3.5.    Why doesn't program `xyz' work in 16bpp?
  55.  
  56.   3.6.    Why doesn't xv do `xyz' in 16bpp?
  57.  
  58.   3.7.    Why don't icon names change when the application changes it?
  59.  
  60.   3.8.    Suddenly, some windows stay always on top. Why?
  61.  
  62.   3.9.    Can you add `xyz' to the Wharf?
  63.  
  64.   4.      Modules
  65.  
  66.  
  67.   4.1.    How do I get multiple Wharfs/Pagers on the screen?
  68.  
  69.   4.2.    How can I get ASclock to properly appear in Wharf?
  70.  
  71.   4.3.    How do I configure asclock to use fewer colors?
  72.  
  73.   5.      General usage, features and bugs
  74.  
  75.   5.1.    Why does AfterStep get slower and slower until I restart it?
  76.  
  77.   5.2.    Click-to-focus dies
  78.  
  79.   5.3.    What is this `Shade' thing?
  80.  
  81.   5.4.    When I restart AfterStep, it kills X. What gives?
  82.  
  83.   5.5.    What is swallow-exec?
  84.  
  85.   5.6.    I upgraded to 1.0pre4 or later, and now the Wharf doesn't
  86.   work. What happens?
  87.  
  88.   6.      Other AfterStep-related applications
  89.  
  90.   6.1.    What is this WindowMaker I keep hearing about in the list?
  91.  
  92.   6.2.    What is ASCP?
  93.  
  94.   6.3.    What is TkStep and why do I want it?
  95.  
  96.   7.      Other AfterStep-unrelated applications
  97.  
  98.   7.1.    I have a problem with program `xyz'
  99.  
  100.   7.2.    Why am I having `xyz' problem/how do I do `xyz' with a
  101.   terminal window?
  102.   ______________________________________________________________________
  103.  
  104.   11..  GGeenneerraall iinnffoorrmmaattiioonn
  105.  
  106.  
  107.  
  108.   11..11..  WWhhaatt iiss AAfftteerrSStteepp??
  109.  
  110.  
  111.   AfterStep is a Window Manager for X that emulates the NEXTSTEP look
  112.   and feel, which many adepts will tell you is not only the most
  113.   visually pleasant interface, but also one of the most functional and
  114.   intuitive out there.
  115.  
  116.  
  117.   11..22..  WWhhaatt iiss iittss hhiissttoorryy??
  118.  
  119.  
  120.   From the man page:
  121.  
  122.  
  123.        AfterStep is a continuation of the BowMan window manager
  124.        which was originally put together by Bo Yang.  BowMan was
  125.        based on the fvwm window manager, written by Robert Nation.
  126.        fvwm was based on code from twm.  And so on...  It is
  127.        designed to emulate some of the look and feel of the
  128.        NEXTSTEP user interface, while adding useful, requested, and
  129.        neat features.  The changes which comprise AfterStep person-
  130.        ality were originally part of BowMan development, but due to
  131.        a desire to move past simple emulation and into a niche as
  132.        its own valuable window manager, the current designers
  133.   decided to change the project name and move on.  BowMan
  134.   development may continue, but we will no longer be a part of
  135.   it.
  136.  
  137.  
  138.  
  139.   11..33..  WWhhaatt aarree iittss mmaaiinn ffeeaattuurreess??
  140.  
  141.  
  142.   Again quoting from the man page:
  143.  
  144.  
  145.   1. NEXTSTEP-alike title bar, title buttons, borders and corners.
  146.  
  147.   2. AfterStep's _W_h_a_r_f is a much worked-out version of _G_o_o_d_S_t_u_f_f. To
  148.      avoid copyright complications it is not called a `dock.'
  149.  
  150.   3. NEXTSTEP style menus. However the menus are not controlled by
  151.      applications, they are more of pop-up service lists on the root
  152.      window.
  153.  
  154.   4. NEXTSTEP style icons. The default icons are consistent with those
  155.      in the NEXTSTEP interface, but they are configurable.
  156.  
  157.   However, the flexibility of _f_v_w_m was not traded off. The initiation
  158.   file,  ~/.steprc, recognizes most of the fvwm 1.24r commands. Virtual
  159.   screens and the pager are still intact. fvwm modules should work just
  160.   fine.
  161.  
  162.  
  163.   11..44..  IIss iitt ccoommppaattiibbllee wwiitthh ffvvwwmm--22??
  164.  
  165.  
  166.   No. Compatibility with fvwm-2 is not planned.
  167.  
  168.  
  169.   11..55..  WWhheerree ccaann II ggeett tthhiiss FFAAQQ??
  170.  
  171.  
  172.   The latest version is available at
  173.   <http://www.cs.purdue.edu/homes/zamboni/afterstep/FAQ.html>.
  174.  
  175.  
  176.   11..66..  WWhhoo ccoonnttrriibbuutteess ttoo tthhiiss FFAAQQ??
  177.  
  178.  
  179.   The initial version of the FAQ was written by Frank Fejes
  180.   (frank@ssax.com) and Jonathan B. Leffert (j-leffert@uchicago.edu).
  181.   Major additions were made by Kragen Sittler (kragen@tcsi.com). The FAQ
  182.   is currently maintained by Diego Zamboni (zamboni@cs.purdue.edu). Most
  183.   of the questions and answers have been provided by the people
  184.   participating in the AfterStep mailing lists (
  185.   <http://www.eosys.com/mailing-list/AfterStep.html>).
  186.  
  187.  
  188.   11..77..  WWhhaatt aarree tthhee AAfftteerrSStteepp--rreellaatteedd mmaaiilliinngg lliissttss??
  189.  
  190.  
  191.  
  192.  
  193.      AAfftteerrSStteepp--AAnnnnoouunnccee::
  194.         This is a low volume (moderated) list for announcements of
  195.         general interest to all AfterStep users (e.g. new releases). You
  196.         may submit announcements to be moderated via afterstep-
  197.         announce@eosys.com.
  198.  
  199.      AAfftteerrSStteepp::
  200.         The purpose of this list is to provide a forum in which users of
  201.         the AfterStep X11 window manager can discuss issues related to
  202.         to using AfterStep. Appropriate topics include, but are not
  203.         limited to, the installation and configuration of AfterStep and
  204.         related modules and applications.
  205.  
  206.  
  207.      AAfftteerrSStteepp--DDiiggeesstt::
  208.         This list contains the same messages as the AfterStep mailing
  209.         list. However, the messages are saved up (not transmitted
  210.         individually) and sent out as a bundle. This decreases the
  211.         number of separate messages received from the list, but makes it
  212.         more difficult to reply to a specific message.
  213.  
  214.  
  215.      AAfftteerrSStteepp--DDeevv::
  216.         This list is a forum to discuss ongoing development issues
  217.         related to AfterStep. If you want to participate in the
  218.         development of AfterStep, please join this forum.
  219.  
  220.  
  221.      AAfftteerrSStteepp--DDeevv--DDiiggeesstt::
  222.         This list contains the same messages as the AfterStep-Dev
  223.         mailing list. However, the messages are saved up (not
  224.         transmitted individually) and sent out as a bundle. This
  225.         decreases the number of separate messages received from the
  226.         list, but makes it more difficult to reply to a specific
  227.         message.
  228.  
  229.  
  230.   For subscribing to any of these lists, send a message to
  231.   <listname>-request@eosys.com containing:
  232.  
  233.  
  234.  
  235.        subscribe
  236.  
  237.  
  238.  
  239.  
  240.   You can find more information, and archives of all the lists, at
  241.   <http://www.eosys.com/mailing-list/AfterStep.html>, maintained by Ed
  242.   Orcutt (edo@eosys.com), and from where these descriptions were taken.
  243.  
  244.  
  245.   22..  GGeettttiinngg aanndd iinnssttaalllliinngg AAfftteerrSStteepp
  246.  
  247.  
  248.  
  249.   22..11..  WWhheerree ddoo II ggeett AAfftteerrSStteepp??
  250.  
  251.  
  252.   The main AfterStep resources in the net are:
  253.  
  254.  
  255.      WWWWWW PPaaggee::
  256.         The official WWW page is at <http://afterstep.edoc.com>.
  257.  
  258.      FFTTPP SSiittee::
  259.         <ftp://afterstep.foo.net/pub/AfterStep/>.
  260.  
  261.      UUppllooaadd ddiirreeccttoorryy::
  262.         <ftp://afterstep.foo.net/incoming/>.
  263.  
  264.  
  265.   You can get AfterStep from either the WWW page or the FTP site.
  266.  
  267.  
  268.   22..22..  OOtthheerr iimmppoorrttaanntt WWWWWW ppaaggeess
  269.  
  270.  
  271.  
  272.      AAllffrreeddoo KKoojjiimmaa''ss PPaaggee::
  273.         <http://www.inf.ufrgs.br/~kojima/>.
  274.  
  275.      MMaatttt KKrraammeerr''ss PPaaggee::
  276.         <http://defiant.gmi.edu/afterstep/>.
  277.  
  278.      KKiiwwii''ss PPaaggee::
  279.         <http://www.iis.ee.ethz.ch/~kiwi/AfterStep/>.
  280.  
  281.   On the above pages, you will find links to other interesting things
  282.   that work nicely with AfterStep such as TkStep, TkDesk, lib-neXtaw,
  283.   and nifty icons that were adapted from NEXTSTEP.
  284.  
  285.  
  286.   22..33..  WWhhaatt iiss tthhee llaatteesstt vveerrssiioonn ooff AAfftteerrSStteepp
  287.  
  288.  
  289.   The latest public version is 1.0pre4, released on March 13, 1997.
  290.  
  291.  
  292.   22..44..  II''vvee ccoommppiilleedd AAfftteerrSStteepp ffoorr mmyy ssyysstteemm bbuutt eevveerryy ttiimmee II ttrryy ttoo
  293.   uussee iitt II rreecceeiivvee tthhee mmeessssaaggee:: CCaannnnoott ooppeenn ddiissppllaayy.. WWhhaatt sshhoouulldd II ddoo??
  294.  
  295.  
  296.   AfterStep is an X window manager and cannot be run from the terminal.
  297.   It must be run through X.  The easiest way to do that is to either
  298.   create or edit your own  .xinitrc file (which contains a list of the
  299.   programs you wish to load upon startup) and add the line exec
  300.   afterstep to the end.  This last exec'd line is significant in that it
  301.   says to shut down X when that program is terminated.  Now that you
  302.   have that file, simply startup X in your customary manner, most likely
  303.   startx or xinit.  Now you're off and running...good luck.
  304.  
  305.  
  306.   22..55..  HHooww ddoo II eennaabbllee ssoouunndd iinn AAfftteerrSStteepp??
  307.  
  308.  
  309.   First, make sure you have compiled the Linux kernel with sound support
  310.   and that the sound works (try cat <some au file> > /dev/audio).
  311.  
  312.   Then, edit your  .steprc file.  Near the bottom of the file, you
  313.   should see (if you don't add it) lines like this:
  314.  
  315.  
  316.  
  317.          Module Audio
  318.          *AudioPlayCmd /usr/bin/showaudio
  319.          *AudioDir /usr/X11/lib/X11/afterstep/sounds
  320.          *AudioDelay 1
  321.  
  322.  
  323.  
  324.  
  325.   If these aren't there, add them.  Verify that the AudioPlayCmd is a
  326.   valid program and that the sounds you want to play are in
  327.   /usr/X11/lib/X11/afterstep/sounds (or set it to the appropriate
  328.   directory).
  329.  
  330.  
  331.   Below that section, you sould see many lines like this:
  332.  
  333.  
  334.  
  335.          #*Audio startup gong.au
  336.  
  337.  
  338.  
  339.  
  340.   Simply remove the comment (#) from the beginning of the line and if
  341.   you wish, set the startup event to some other au file.  The format is:
  342.  
  343.  
  344.  
  345.        Audio <event> <sound>
  346.  
  347.  
  348.  
  349.  
  350.   Do that for the rest of the Audio events, and as one AfterStepper put
  351.   it, you'll literally add new bells and whistles to AfterStep.
  352.  
  353.  
  354.   22..66..  II ggrraabbbbeedd TTkkSStteepp aanndd TTccll77..66 aanndd ttrriieedd ttoo iinnssttaallll TTkkSStteepp,, bbuutt iitt
  355.   ddooeessnn''tt wwoorrkk
  356.  
  357.  
  358.   TkStep still doesn't work with Tcl7.6. Try Tcl 7.5 (see question ``''
  359.   for information about TkStep).
  360.  
  361.  
  362.   22..77..  WWhhyy ddooeessnn''tt AASSCCPP rruunn oonn mmyy ssyysstteemm??
  363.  
  364.  
  365.   ASCP needs TkStep, a version of Tk implemented by Alfredo Kojima
  366.   (kojima@inf.ufrgs.br) that gives Tk the NEXTSTEP look-and-feel, and
  367.   implements a few new widgets, like font and color choosers. You can
  368.   download it from <http://www.inf.ufrgs.br/~kojima/tkstep.html>. See
  369.   question ``'' for information about ASCP.
  370.  
  371.  
  372.   22..88..  HHooww ccaann II iinnssttaallll AAfftteerrSStteepp wwiitthhoouutt bbeeiinngg rroooott??
  373.  
  374.  
  375.   This is fairly easy. You will have to install all the files under your
  376.   home directory. The usual recommendation is to use the same
  377.   directories as suggested in the installation procedure, but replacing
  378.    /usr/local by your home directory. For example, if you home directory
  379.   is  /home/bla you would use directories like
  380.    /home/blah/bin,  /home/blah/etc,  /home/blah/lib, etc.
  381.  
  382.   Compile AfterStep following the manual installation procedure (i.e. do
  383.   not use the  InstallMe program), up to but not including the make
  384.   install step. Then, do the following (make sure to create the
  385.   destination directories first if they don't exist. All the source
  386.   paths are relative to the AfterStep source directory):
  387.  
  388.  
  389.   1. Copy  afterstep/afterstep to  $HOME/bin/.
  390.  
  391.   2. Copy  modules/asclock/asclock to  $HOME/bin/.
  392.  
  393.   3. Copy  modules/Wharf/Wharf,  modules/Pager/Pager and all the other
  394.      module binary files to  $HOME/lib/afterstep/.
  395.  
  396.  
  397.   4. Copy the icons from  icons/ or  icons/8bit/ to
  398.       $HOME/include/X11/pixmaps/.
  399.  
  400.   5. Copy  sample.steprc to  $HOME/lib/afterstep/.
  401.  
  402.   6. Take a look at  install/Xdefaults,  install/xinitrc,
  403.       install/xsession, and copy or integrate them to your
  404.       .Xdefaults,  .xinitrc and  .xsession as appropriate.
  405.  
  406.   7. Copy  sample.steprc to  $HOME/.steprc.
  407.  
  408.   8. Edit  $HOME/.steprc to reflect the above paths in the lines
  409.      starting with ModulePath and PixmapPath.
  410.  
  411.   9. Put  $HOME/bin in your path.
  412.  
  413.   You should be set. Feel free to modify this procedure according to
  414.   your particular needs or the particular setup of your machine/account.
  415.  
  416.  
  417.   33..  IIccoonnss,, ggrraapphhiiccss aanndd ppiixxmmaappss
  418.  
  419.  
  420.  
  421.   33..11..  IIccoonnss ssttaayyiinngg ppuutt
  422.  
  423.  
  424.   WWhheenn II cclliicckk oonn ssoommee ooff tthhee iiccoonnss tthheeyy ffaann oouutt aanndd ssttaayy tthheerree uunnttiill II
  425.   rreessttaarrtt WWhhaarrff.. WWhhaatt''ss tthhee ddeeaall??
  426.  
  427.   In old versions of AfterStep, an icon to be used in Wharf must contain
  428.   at least one transparent pixel, otherwise the symptoms you've
  429.   mentioned will be prevalent.  Simply add a transparent pixel and
  430.   everything should work flawlessly (see question ``'' for instructions
  431.   on how to do this).
  432.  
  433.   Newer versions of AfterStep fix this problem, allowing you to use
  434.   icons without transparent pixels in the Wharf without problems. You
  435.   should really upgrade to the latest version.
  436.  
  437.  
  438.   33..22..  CCoolloorrmmaapp iissssuueess
  439.  
  440.  
  441.   WWhheenn II rruunn AAfftteerrSStteepp ssoommee ooff tthhee iiccoonnss oonn tthhee bbuuttttoonn bbaarr ddoonn''tt sshhooww
  442.   uupp.. IIff II llooaadd tthheemm aatt tthhee ttoopp tthheeyy sshhooww uupp,, bbuutt tthheenn tthhee ootthheerr oonneess
  443.   ddoonn''tt.. AAllssoo,, wwhheenn II uussee nneettssccaappee,, tthhee ccoolloorrss ggeett wwaacckkyy.. WWhhaatt''ss wwrroonngg??
  444.  
  445.   Odds are you are using a 256 color (8bit) display.  A quick
  446.   explanation is that you can only have 256 colors on the screen at the
  447.   same time, and the more colors you use in Wharf (the button bar), the
  448.   less you can use for other applications and icons.  I would suggest
  449.   upgrading your video hardware or using more conservative (less
  450.   colorful) icons.  For netscape, an option is to run it with the
  451.   netscape -install` command.  This will insure that netscape gets a
  452.   good deal of the color that it wants. However, this will result in the
  453.   colors flashing whenever you move the mouse in or out the Netscape
  454.   window. You decide if you can live with that.
  455.  
  456.   You can find some help on configuring AfterStep for running on an
  457.   8-bit display in  <http://www.infinet.com/~gnosis/as.html>. You can
  458.   find a good collection of low-color icons (all of them together use
  459.   only 21 colors) at  <http://www.iis.ee.ethz.ch/~kiwi/AfterStep/>.
  460.  
  461.   If you are using asclock, you can configure it to use much fewer
  462.   colors. See question ``''.
  463.   33..33..  IIccoonnss ddiissaappppeeaarr ffrroomm WWhhaarrff.. WWhhaatt''ss wwrroonngg??
  464.  
  465.  
  466.   You are most likely running out of colors. Either upgrade your
  467.   hardware, switch to a higher color depth (i.e. 16 bpp or higher), or
  468.   use icons that contain fewer colors. See question ``''.
  469.  
  470.  
  471.   33..44..  HHooww ddoo II ccrreeaattee aann iiccoonn wwiitthh aa ttrraannssppaarreenntt ppiixxeell??
  472.  
  473.  
  474.   Its beyond easy. An xpm is a simple text file. Therefore, the only
  475.   image manipulation software you will need is vi. If you edit your xpm,
  476.   you will become aware of the beauty and simplicity. At the bottom you
  477.   will notice a character representation of your image. At the top there
  478.   is a color listing corresponding to each pixel of the character
  479.   representation.
  480.  
  481.   You have two options to create a transparent pixel:
  482.  
  483.  
  484.      CChhaannggee aann eexxiissttiinngg ppiixxeell ccoolloorr ttoo ttrraannssppaarreenntt::
  485.         Simply find the pixel character(s) you wish to become
  486.         transparent, then go back up top and find that character in the
  487.         listing.  Change the color code (number beginning with a #) to
  488.         None.  Save, and you're all tootin'.
  489.  
  490.  
  491.      CCrreeaattee aa nneeww ttrraannssppaarreenntt ppiixxeell::
  492.         Edit the line near the top corresponding to the
  493.         height/width/number of colors/chars per pixel.  Increment the
  494.         number of colors (third value) by one.  Then in the list of
  495.         pixels and color values add the line:
  496.  
  497.  
  498.                "c None",
  499.  
  500.  
  501.  
  502.  
  503.      Where `c' should be a character that is not being used by any other
  504.      color. From there save and take off.
  505.  
  506.   If you're the slightest bit unsure, take a look at one of the xpm
  507.   files in the AfterStep distribution's icons directory.
  508.  
  509.   The `correct' size for a Wharf icon is 48x48 pixels. However, if you
  510.   use bigger icons, they will display correctly, up to 64x64, which is
  511.   the default size for the Wharf buttons.
  512.  
  513.  
  514.   33..55..  WWhhyy ddooeessnn''tt pprrooggrraamm ``xxyyzz'' wwoorrkk iinn 1166bbpppp??
  515.  
  516.  
  517.   A lot of 8bpp programs don't work on displays without a PseudoColor
  518.   visual available. A lot of PC X servers don't support PseudoColor
  519.   visuals on displays running in TrueColor mode. You should buy an SGI.
  520.   Or run two simultaneous X servers, if you're on Linux.
  521.  
  522.  
  523.   33..66..  WWhhyy ddooeessnn''tt xxvv ddoo ``xxyyzz'' iinn 1166bbpppp??
  524.  
  525.  
  526.   xv doesn't cope well with 16bpp in three ways. First, it can't grab
  527.   pieces of the screen. Second, if you grab pieces of the screen with
  528.   xwd and try to display them with xv, it doesn't work well. xwud works.
  529.   Third, if you display a 24bpp picture, it doesn't bother to dither it
  530.   down to 16bpp, resulting in bad pictures.
  531.  
  532.  
  533.   33..77..  WWhhyy ddoonn''tt iiccoonn nnaammeess cchhaannggee wwhheenn tthhee aapppplliiccaattiioonn cchhaannggeess iitt??
  534.  
  535.  
  536.   II hhaavvee ssoommee aapppplliiccaattiioonn ccrreeaattiinngg aa wwiinnddooww aanndd tthheenn cchhaannggiinngg iittss nnaammee
  537.   ttoo ssoommeetthhiinngg ssppeecciiaall.. II hhaavvee ttoolldd AAfftteerrSStteepp ttoo ggiivvee tthhee ssppeecciiaall wwiinnddooww
  538.   nnaammee aa ssppeecciiaall iiccoonn.. BBuutt II nneevveerr sseeee tthhee iiccoonn.. WWhhyy ddooeessnn''tt tthhiiss wwoorrkk??
  539.  
  540.   AfterStep assigns icons to windows when they are created, not when
  541.   they are iconified, and later title or icon-name changes don't cause
  542.   the icon to change.  Perhaps this is a bug.
  543.  
  544.   Emanuele Caratti (wiz@iol.it) has created a patch that supposedly
  545.   fixes this, but I have not tried it, and it's not (yet) part of the
  546.   official distribution. You can find it at
  547.   <ftp://afterstep.foo.net/pub/AfterStep/mods/dynamic_icons.tar.gz>.
  548.  
  549.  
  550.   33..88..  SSuuddddeennllyy,, ssoommee wwiinnddoowwss ssttaayy aallwwaayyss oonn ttoopp.. WWhhyy??
  551.  
  552.  
  553.   SSoommeettiimmeess,, aafftteerr II''vvee bbeeeenn uussiinngg AAfftteerrSStteepp ffoorr ssoommee ttiimmee,, cceerrttaaiinn
  554.   aapppplliiccaattiioonn wwiinnddoowwss ssttaayy aallwwaayyss oonn ttoopp;; tthheeyy eevveenn ssttaayy oonn ttoopp ooff tthhee
  555.   WWhhaarrff aanndd tthheeiirr oowwnn ddiiaalloogg bbooxxeess!!
  556.  
  557.   With the default  .steprc, triple-clicking on a window titlebar
  558.   toggles a window's always-on-top state.  Triple-click again to remove
  559.   it. If you want to remove this feature, locate the lines in your
  560.    .steprc that look like this (there are several of them):
  561.  
  562.  
  563.  
  564.                PutOnTop        "TripleClick"
  565.  
  566.  
  567.  
  568.  
  569.   and delete them. Or better yet, just comment them out, in case you
  570.   later decide you need the feature again.
  571.  
  572.  
  573.   33..99..  CCaann yyoouu aadddd ``xxyyzz'' ttoo tthhee WWhhaarrff??
  574.  
  575.  
  576.   YYoouu kknnooww,, iitt wwoouulldd bbee rreeaallllyy nniiccee iiff tthhee WWhhaarrff ssuuppppoorrtteedd tteexxtt
  577.   ttiittlleess//ccaassccaaddiinngg mmeennuuss//ttaabbss oonn tthhee ssiiddee//pplluugg--iinn mmoodduulleess//sswwaalllloowwiinngg
  578.   rruunnnniinngg aapppplliiccaattiioonnss iinn ffoollddeerrss//ssccrroollllbbaarrss oonn ffoollddeerrss//ssttaarrttiinngg
  579.   aapppplliiccaattiioonnss oonnllyy iiff tthheeyy''rree nnoott aallrreeaaddyy rruunnnniinngg.. WWhhyy ddooeessnn''tt ssoommeeoonnee
  580.   ddoo iitt??
  581.  
  582.   This is a holy war.  You will be crucified at dawn.  Unless you
  583.   implement it yourself and post a patch.
  584.  
  585.   No, seriously, there has been a lot of discussion about these topics.
  586.   Many people believe that AfterStep should be kept as close as possible
  587.   to the original NEXTSTEP interface, why others think it should be
  588.   extended and be made as configurable as possible. Most probably the
  589.   appropriate thing is some point in between, but then again, that is a
  590.   personal issue. For now, we will let the developers decide the
  591.   direction AfterStep should take.
  592.  
  593.  
  594.  
  595.   44..  MMoodduulleess
  596.  
  597.  
  598.  
  599.   44..11..  HHooww ddoo II ggeett mmuullttiippllee WWhhaarrffss//PPaaggeerrss oonn tthhee ssccrreeeenn??
  600.  
  601.  
  602.   It's pretty easy. You just have to have the Wharf exist under several
  603.   different names, and then configure each of them using its name. For
  604.   example, if you make a link to  Wharf called  MyWharf (type man ln if
  605.   you don't know how to make links), you would use lines like these in
  606.   your .steprc:
  607.  
  608.  
  609.  
  610.        Module MyWharf
  611.        *MyWharfAnimate
  612.        *MyWharf "label" Icon.xpm Exec "something" something
  613.  
  614.  
  615.  
  616.  
  617.   Same for the Pager.
  618.  
  619.   NNoottee:: Apparently, due to the way the AfterStep configuration file
  620.   parser works, links with names like  Wharf2 (i.e. the same original
  621.   name with characters appended to it) will nnoott work, the parser will
  622.   think you are referring to the original module and will get confused.
  623.   You have to give each link a distinctive name.
  624.  
  625.  
  626.   44..22..  HHooww ccaann II ggeett AASScclloocckk ttoo pprrooppeerrllyy aappppeeaarr iinn WWhhaarrff??
  627.  
  628.  
  629.   First, you need AfterStep 0.98 beta 4 or later. These version have the
  630.   .steprc `MaxSwallow' option. Then, add a command such as this to the
  631.   Wharf section of your  .steprc:
  632.  
  633.  
  634.  
  635.          *Wharf asclock nil MaxSwallow "asclock" asclock -12 -shape &
  636.  
  637.  
  638.  
  639.  
  640.   You can omit the `-12' to be in 24 hour time.
  641.  
  642.  
  643.   44..33..  HHooww ddoo II ccoonnffiigguurree aasscclloocckk ttoo uussee ffeewweerr ccoolloorrss??
  644.  
  645.  
  646.   When installing, after executing MakeMakefiles but before make
  647.   install, go to the  modules/asclock directory and do the following:
  648.  
  649.  
  650.   1. Execute sh configure
  651.  
  652.   2. Several menus will appear, asking for the default language for
  653.      dates (yes, you can change it!) and the number of colors used.
  654.      There is one option to use 2-bit color, resulting in an asclock
  655.      that uses only 4 colors, but still looks pretty good.
  656.  
  657.   3. Done. Now go and compile AfterStep as usual.
  658.  
  659.  
  660.  
  661.   55..  GGeenneerraall uussaaggee,, ffeeaattuurreess aanndd bbuuggss
  662.  
  663.  
  664.  
  665.   55..11..  WWhhyy ddooeess AAfftteerrSStteepp ggeett sslloowweerr aanndd sslloowweerr uunnttiill II rreessttaarrtt iitt??
  666.  
  667.  
  668.   Apparently there was a bug in versions up to 1.0pre3 (probably a
  669.   memory leak) that caused this behavior. We know that setting your
  670.   TextureMaxColors to something small, like `16 16 16 16' or `32 32 32
  671.   32', will stop this problem. It also seems to happen only with XFree86
  672.   in 32-bpp mode (or 16? Please give me confirmation), and if you're in
  673.   8-bpp or a different X server, it doesn't seem to cause a problem.
  674.  
  675.   This problem was solved in 1.0pre4, as far as we know. Upgrade!
  676.  
  677.  
  678.   55..22..  CClliicckk--ttoo--ffooccuuss ddiieess
  679.  
  680.  
  681.   SSoommeettiimmeess,, aafftteerr II''vvee bbeeeenn rruunnnniinngg AAfftteerrSStteepp ffoorr aa wwhhiillee iinn cclliicckk--ttoo--
  682.   ffooccuuss mmooddee,, II ccaann''tt sshhiifftt tthhee ffooccuuss ffrroomm oonnee wwiinnddooww ttoo aannootthheerr bbyy
  683.   cclliicckkiinngg..  II hhaavvee ttoo iiccoonniiffyy aanndd ddeeiiccoonniiffyy tthhee wwiinnddooww ttoo sshhiifftt ffooccuuss,,
  684.   oorr ppiicckk iitt ffrroomm tthhee ppooppuupp lliisstt..
  685.  
  686.   This is a strange bug, that is (sometimes at least) caused by having
  687.   the NumLock key activated. It is present up to 1.0pre4, so check your
  688.   NumLock key.
  689.  
  690.   This problem is solved in 1.0pre5.
  691.  
  692.  
  693.   55..33..  WWhhaatt iiss tthhiiss ``SShhaaddee'' tthhiinngg??
  694.  
  695.  
  696.   NNeewwss:: SShhaaddee wwaass ffiixxeedd iinn 11..00pprree44.. UUppggrraaddee nnooww!!
  697.  
  698.   Shade is a window function that is often seen on the Macintosh system.
  699.   In theory, it makes a window disappear except for the title bar.  For
  700.   example, an Xterm normally looks like this:
  701.  
  702.  
  703.  
  704.          |------------------------------|
  705.          |             Xterm            |
  706.          |------------------------------|
  707.          |                              |
  708.          |                              |
  709.          |                              |
  710.          |                              |
  711.          |                              |
  712.          |------------------------------|
  713.  
  714.  
  715.  
  716.  
  717.   Shade is set by default to take effect when one double clicks on the
  718.   title bar of the window.  When shade takes effect, the Xterm looks
  719.   like this:
  720.  
  721.  
  722.  
  723.          |------------------------------|
  724.          |             Xterm            |
  725.          |------------------------------|
  726.  
  727.   This is nice for saving desktop space and for window management
  728.   purposes.  Some prefer it to iconifying the windows.
  729.  
  730.   Up to 1.0pre3, Shade didn't work correctly, because it worked by
  731.   resizing the window to a height of 0 pixels, which some applications
  732.   didn't like.
  733.  
  734.   In 1.0pre4 and posterior versions, Shade works by making the
  735.   application think that it is being iconified, so it works with all
  736.   applications again. It has the problem, though, that shaded windows
  737.   become `sticky' and appear in all the pages in the virtual desktop.
  738.  
  739.  
  740.  
  741.   55..44..  WWhheenn II rreessttaarrtt AAfftteerrSStteepp,, iitt kkiillllss XX.. WWhhaatt ggiivveess??
  742.  
  743.  
  744.   This was a bug that occured in AfterStep betas. If you experience this
  745.   bug, you are running an old release of AfterStep. Upgrade to v1.0pre4
  746.   or later to fix this. This is, incidentally, something you should
  747.   probably do anyway, considering the wealth of features your are
  748.   missing.
  749.  
  750.  
  751.   55..55..  WWhhaatt iiss sswwaallllooww--eexxeecc??
  752.  
  753.  
  754.   Is a feature introduced in the distribution in 1.0pre4 (it previously
  755.   existed as a separate patch) that allows you to associate an action to
  756.   an entry in the Wharf corresponding to a swallowed application. So for
  757.   example you can have asmail in the Wharf, and have it configured so
  758.   that when you click on it, it warps to your email reading window. If
  759.   your email reader is exmh, the required lines would be:
  760.  
  761.  
  762.  
  763.        *Wharf "asmail" nil Swallow     "asmail" asmail &
  764.        *Wharf "asmail" nil Warp        "-" exmh
  765.  
  766.  
  767.  
  768.  
  769.   Note how both lines have the same label `asmail', which tells Wharf
  770.   that those two go together. You can use any AfterStep function instead
  771.   of `Warp'. For example, if you want the xload icon to fire a top
  772.   window when clicked, you can have something like this:
  773.  
  774.  
  775.  
  776.        *Wharf "xload" nil Swallow      "xload" xload -geometry 48x48-1-1 &
  777.        *Wharf "xload" nil Exec "Top" xterm +sb -T Top -n Top -e top &
  778.  
  779.  
  780.  
  781.  
  782.   By the way, this feature is responsible for a strange bug. See
  783.   question ``''.
  784.  
  785.  
  786.   55..66..  wwoorrkk.. WWhhaatt hhaappppeennss??  II uuppggrraaddeedd ttoo 11..00pprree44 oorr llaatteerr,, aanndd nnooww tthhee
  787.   WWhhaarrff ddooeessnn''tt
  788.  
  789.  
  790.   This is not a bug, it's a feature :-). No, really, this behavior was
  791.   introduced due to the introduction of the `Swallow-exec' capability in
  792.   1.0pre4. See question ``''.
  793.   To fix it, do the following:
  794.  
  795.  
  796.   1. In your  .steprc, locate the lines that start with
  797.  
  798.  
  799.        *Wharf "" ...
  800.  
  801.  
  802.  
  803.  
  804.   2. The  could be also nil, or any other label that is the same for all
  805.      the Wharf entries. These repeated labels are the ones causing the
  806.      trouble. You have to give each Wharf entry a unique label there,
  807.      like `xload', `asmail', `Pager', etc.
  808.  
  809.   3. Restart and it should be fixed.
  810.  
  811.  
  812.   66..  OOtthheerr AAfftteerrSStteepp--rreellaatteedd aapppplliiccaattiioonnss
  813.  
  814.  
  815.  
  816.   66..11..  WWhhaatt iiss tthhiiss WWiinnddoowwMMaakkeerr II kkeeeepp hheeaarriinngg aabboouutt iinn tthhee lliisstt??
  817.  
  818.  
  819.   WindowMaker a new NeXT-like window manager that is being developed by
  820.   Alfredo Kojima (kojima@inf.ufrgs.br) with the support of a lot of
  821.   other people. It will support many OpenStep/GNUStep-ish features, and
  822.   there is talk that it may be the `next-generation _asnl', and even the
  823.   window manager of choice for GNUstep. You can download it from
  824.   <ftp://afterstep.foo.net/pub/AfterStep/devel/>.
  825.  
  826.   However, be advised that WindowMaker is still in a very early stage of
  827.   development, so don't plan on using it for real work for now unless
  828.   you want to cope with a lot of unimplemented features. But it is
  829.   advancing very fast, so you may also want to take a good look at it.
  830.  
  831.  
  832.   66..22..  WWhhaatt iiss AASSCCPP??
  833.  
  834.  
  835.   ASCP stands for `AfterStep Control Panel', and is a program that
  836.   allows you to configure AfterStep while imitating the NEXTSTEP control
  837.   panel look and feel. It makes really easy to configure AfterStep
  838.   without manually fiddling with the  .steprc file. You can download it
  839.   from  <http://www.inf.ufrgs.br/~kojima/ascp.html>. Be sure to backup
  840.   your  .steprc file before using it, because it still has some bugs and
  841.   problems.
  842.  
  843.   WWAARRNNIINNGG:: Due to changes introduced in AfterStep 1.0pre4 and posterior
  844.   versions, the files written by ASCP cause AfterStep to behave very
  845.   strangely, particularily the Wharf. So please ddoonn''tt uussee ASCP for
  846.   configuring 1.0pre4 until this is fixed. If you accidentally did and
  847.   you don't have a backup of your  .steprc, do the following to fix it:
  848.  
  849.  
  850.   1. In your  .steprc, locate the lines that start with
  851.  
  852.  
  853.        *Wharf "" ...
  854.  
  855.  
  856.  
  857.  
  858.  
  859.   2. The empty double quotes are the ones causing the trouble. You have
  860.      to give each Wharf entry a unique label there, inside the double
  861.      quotes.
  862.  
  863.   3. Restart and it should be fixed.
  864.  
  865.   In case you are interested, this happens because 1.0pre4 introduced
  866.   the `swallow-exec' capability in the standard distribution (see
  867.   question ``''). This uses the labels to know which Wharf items have
  868.   multiple meanings, so if all the labels are the same, Wharf
  869.   superimposes all the icons on one.
  870.  
  871.  
  872.   66..33..  WWhhaatt iiss TTkkSStteepp aanndd wwhhyy ddoo II wwaanntt iitt??
  873.  
  874.  
  875.   TkStep is a modified version of Tk that implements the NEXTSTEP look
  876.   and feel. If you use wishstep instead of wish to run your
  877.   applications, all your Tcl/Tk programs will suddenly have a renewed
  878.   and great new look!
  879.  
  880.   You also want it because ASCP needs it. See question ``''.
  881.  
  882.   You can get it at <http://www.inf.ufrgs.br/~kojima/tkstep.html>. You
  883.   need to have Tcl7.5/Tk4.1 to run it. AASSCCPP ddooeess nnoott wwoorrkk wwiitthh TTccll77..66
  884.   yyeett.
  885.  
  886.  
  887.   77..  OOtthheerr AAfftteerrSStteepp--uunnrreellaatteedd aapppplliiccaattiioonnss
  888.  
  889.  
  890.  
  891.   77..11..  II hhaavvee aa pprroobblleemm wwiitthh pprrooggrraamm ``xxyyzz''
  892.  
  893.  
  894.   PPlleeaassee,, pplleeaassee, don't post questions unrelated to AfterStep to the
  895.   mailing lists. If you have a problem with some application not
  896.   running, and you think AfterStep is the culprit, first try the
  897.   following:
  898.  
  899.  
  900.   1. Read the documentation (manual pages, etc.) for the program.
  901.  
  902.   2. Find out about its configuration parameters (not only command line,
  903.      but also options in  .Xdefaults, config files, etc.).
  904.  
  905.   3. Ask other people who know about that specific program. Find a
  906.      mailing list about that program and ask there.
  907.  
  908.   4. Try running the program under some other window manager. If it
  909.      doesn't work there either, it is nnoott an AfterStep problem.
  910.  
  911.   If you are vveerryy confident that it is an AfterStep problem, then send
  912.   it to the mailing list, but try to give as much information as
  913.   possible. Questions like `Why doesn't blig-graphics work on my
  914.   system?' do not contain any useful information that may help others in
  915.   diagnosing your problem. Some data you may have to include is:
  916.  
  917.  
  918.   1. AfterStep version you are using.
  919.  
  920.   2. Operating system version, machine architecture.
  921.  
  922.   3. System configuration (color depth, memory, anything you think may
  923.      help).
  924.  
  925.   4. Problematic program.
  926.  
  927.   5. Environment information (other programs running at the same time,
  928.      etc.)
  929.  
  930.   6. A ddeettaaiilleedd description of the problem. What happens (error
  931.      messages, etc.), how replicable it is, how to replicate it, etc.
  932.      The more information you provide, the easier it will be for others
  933.      to find a solution.
  934.  
  935.  
  936.   77..22..  WWhhyy aamm II hhaavviinngg ``xxyyzz'' pprroobblleemm//hhooww ddoo II ddoo ``xxyyzz'' wwiitthh aa tteerrmmiinnaall
  937.   wwiinnddooww??
  938.  
  939.  
  940.   Are you using plain vanilla xterm, color xterm, rxvt, rxvt-xpm,
  941.   vanilla xterm with Xaw3d or Xaw-Xpm or neXtaw, dtterm, nxterm, hpterm,
  942.   aixterm, cmdtool, shelltool, or something else?
  943.  
  944.   See question ``''.
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.