home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: WPS_PM / WPS_PM.zip / pc2v210.zip / PC2-2.faq < prev    next >
Text File  |  1999-07-01  |  37KB  |  713 lines

  1. ******************************************************************************
  2.                         Frequently Asked Questions Part 2/3
  3.  
  4.                    PC/2 - Program Commander/2 Version 2.10 for
  5.            IBM OS/2 2.x, OS/2 WARP, WARP Srv. SMP Presentation Manager
  6.                      Copyright (C) by Roman Stangl July, 1999
  7.  
  8.                                Version 2.10 Draft
  9. ******************************************************************************
  10.  
  11. Contents:
  12.  
  13. 41.) How do I activate and use the PC/2 Spooler Control Window?
  14. 42.) Why does the Overview Window sometimes not correspond to the real Desktop
  15.      application mix?
  16. 43.) I have configured a Popup Menu, but always get the Setup dialog when
  17.      clicking on the Desktop.
  18. 44.) How can I change the default fonts used by PC/2?
  19. 45.) What is the addon WPS 2 PC/2 used for?
  20. 46.) How can I open WPS Folder Objects from PC/2's Popup Menu?
  21. 47.) What is the difference between the "slow" and "fast" version of PC/2.
  22. 48.) Why does an installation update of PC/2 not work with active CM/2?
  23. 49.) Why does selection of a tiled background bitmap hang OS/2 Warp 3.0?
  24. 50.) Do I have to change anything in CONFIG.SYS to run PC/2?
  25. 51.) I have defined a Hotkey, but now my favorite program doesn't get this
  26.      key!
  27. 52.) What is referred as an *accelerator* key?
  28. 53.) Which sequence is used by PC/2 when autostarting programs?
  29. 54.) Are duplicate Menuentries allowed?
  30. 55.) What's the difference between the Program Title and Window Name?
  31. 56.) How can I use a Hotkey that starts a program, each time the Hotkey is
  32.      pressed instead of switching to the running instance?
  33. 57.) Can Mouse Button 3 be used instead of Mouse Button 1 to activate the
  34.      Popup Menu or to switch between Virtual Desktops?
  35. 58.) What does "Advanced Marking" mean?
  36. 59.) If running PC/2 as the WorkPlace Shell process, how can I launch WPS
  37.      Objects or change system settings (as e.g. the background color)?
  38. 60.) I've activated Advanced Marking, now both mouse buttons 2 seem no longer
  39.      to work as expected for IBM Personal Communications/3270, IBM
  40.      Communications Manager/2, Advantis PassPort/2 or EPM.
  41. 61.) Does PC/2 also support OS/2 half-packs (OS/2 running on top of
  42.      MS Windows)?
  43. 62.) I'm running PC/2 as the WorkPlace Shell process, how can I change PM
  44.      settings (my system configuration), e.g. the PM background color?
  45. 63.) Advanced Marking doesn't paste at the correct location sometimes, what
  46.      am I doing wrong?
  47. 64.) Are UNC Names supported?
  48. 65.) I have multiple partitions with (different versions of) OS/2
  49. 66.) I have enabled the feature "Button 2 Border click moves window", but I
  50.      can't move some windows, what am I doing wrong?
  51. 67.) PC/2 used to work perfectly, but now it hangs OS/2 when starting!
  52. 68.) Can PC/2 help my server to recycle at midnight for example to get rid of
  53.      resource leaks or hanging programs?
  54. 69.) When running PC/2 the focus change when closing windows behaves peculiar!
  55. 70.) I'm experiencing unexpected hangups/traps now that I've enabled the
  56.      Titlebar Smarticons.
  57.  
  58. Questions, Answers:
  59.  
  60. 41.) How do I activate and use the PC/2 Spooler Control Window?
  61.  
  62.      To be able to select the PC/2 Spooler, just add a the PC/2 Spooler via
  63.      the Control Addition dialog to your Popup Menu. Then select the newly
  64.      created item to show the PC/2 Spooler.
  65.      The PC/2 Spooler is a container where you can manipulate the printer
  66.      queues and print jobs of your local machine by pressing mouse button 2
  67.      on any row you want to apply an action. A Popup Menu occurs, which you
  68.      can use to select actions.
  69.  
  70.      Note that when running PC/2 as the WPS replacement, the PC/2 Spooler
  71.      Control Window is the only way you can control your queues and jobs.
  72.      Even more, without the PC/2 Spooler Control Window, the OS/2 spooler
  73.      would not even be started!
  74.  
  75. 42.) Why does the Overview Window sometimes not correspond to the real Desktop
  76.      application mix?
  77.  
  78.      The Overview Window does its updating by event triggering.
  79.  
  80.      This means that an event (creating, destroying, sizing or moving a
  81.      window) is the prerequisite for all windows available on the Desktop to
  82.      get shown on the Overview Window.
  83.  
  84.      For example, because many events are generated when a Window is created,
  85.      PC/2 ignores all events during working on the first event.
  86.      So when PC/2 is drawing a window on the Overview Window as a result of a
  87.      window creation, and another window is created (but doesn't trigger any
  88.      action by PC/2 because PC/2 is already busy with the previous event) it
  89.      will not be displayed on the Overview Window.
  90.  
  91.      To compensate for this, PC/2 redraws all windows again, when another
  92.      event is triggered. However, even then, there is a low possibility that
  93.      a window doesn't get recognized by PC/2.
  94.  
  95.      When the system is idle, no event triggers PC/2 actions and PC/2 is
  96.      therefore idle too.
  97.  
  98.      PC/2 versions previous to 1.80 took another approach. They always drew
  99.      the windows available, loading the CPU to a permanent 15 % even when
  100.      the system was doing nothing. I am happy to say, this is no longer the
  101.      case.
  102.  
  103. 43.) I have configured a Popup Menu, but always get the Setup dialog when
  104.      clicking on the Desktop.
  105.  
  106.      To display the configured Popup Menu, the Menu *must* contain the entry
  107.      "Configure Desktop", otherwise, the Setup dialog will be displayed.
  108.  
  109.      To add the Menuentry "Configure Desktop", select the pushbutton
  110.      "Add Control" from the Setup dialog. Then select "Configure Popup Menu
  111.      Settings" to add the entry "Configure Desktop" to your Popup Menu.
  112.      Now you will get the Popup Menu when clicking mouse button 1 or mouse
  113.      button 3 on the Desktop.
  114.  
  115. 44.) How can I change the default fonts used by PC/2?
  116.  
  117.      You can change the font of the Popup Menu, the Spooler Window and the
  118.      Overview window by simply dragging a font from the font palette:
  119.  
  120.      +) to change the Popup Menu's font, drop the font onto the Smarticonbar
  121.         on PC/2's Overview Window
  122.      +) to change the Spooler Window Container's font, drop the font onto the
  123.         container
  124.      +) to change the Overview Window's font, drop the font onto the Overview
  125.         Window (all fonts will be accepted, though some fonts produce not
  126.         exactly the requested result).
  127.      +) to change the SessionBar Window's font, drop the font onto the 
  128.         SessionBar.
  129.      +) to change the QuickSwitch Window's font, activate the QuickSwitch
  130.         window drop the font onto it while it is still displayed. 
  131.  
  132. 45.) What is the addon WPS 2 PC/2 used for?
  133.  
  134.      WPS 2 PC/2 is a WPS Object, residing in WPS2PC2.DLL. This DLL must reside
  135.      in a directory that is accessible through the LIBPATH environment
  136.      variable in your CONFIG.SYS.
  137.  
  138.      When WPS 2 PC/2 is installed and registered to the WPS, you can extract
  139.      settings from WPS Program and Folder objects to be used within PC/2's
  140.      Popup Menu.
  141.  
  142.      To extract the data from WPS Objects, just select the and drag them
  143.      over to WPS 2 PC/2's closed icon on your Desktop, and drop them to let
  144.      WPS 2 PC/2 extract their contents.
  145.  
  146.      To add extracted WPS Object data to PC/2's Popup Menu, open the
  147.      WPS 2 PC/2 Object and PC/2's Setup dialog, and drag the Status bitmap
  148.      (Full suitcase) from WPS 2 PC/2's window onto the Submenu/Program
  149.      Configuration listbox on PC/2's Setup dialog.
  150.  
  151.      Menuitems corresponding to the settings of the WPS Objects you extracted
  152.      will be added at the bottom of the current level of the Popup Menu (you
  153.      probably will notice that the listbox gets filled with the top-level
  154.      WPS Objects converted to Popup Menu entries).
  155.      From now on, you can use exactly the same settings of your WPS Objects
  156.      from PC/2's Popup Menu without entering them twice (even DOS settings
  157.      will be extracted).
  158.  
  159. 46.) How can I open WPS Folder Objects from PC/2's Popup Menu?
  160.  
  161.      Just create a Program Menuitem by selecting Add Program from PC/2's
  162.      Setup dialog. Then drag one WPS Folder Object on PC/2's Program
  163.      Installation dialog (and replace the Program Title field for better
  164.      readability) - that's all.
  165.  
  166. 47.) What is the difference between the "slow" and "fast" version of PC/2.
  167.  
  168.      With version 1.90, PC/2 slightly changed the way how the Overview window
  169.      is updated.
  170.  
  171.      Up to version 1.80, PC/2 used to updated the Overview window only on
  172.      the screen, causing some flicker. This approach is called "slow" because
  173.      it gives the best performance for video chipsets, that have a small
  174.      performance of moving data from main memory to video memory (e.g. the
  175.      8514/A adapter because of its IO-mapped design). This version is called
  176.      PC2SLOW.EXE (in PC/2 1.90) and can either be renamed to PC2.EXE or you 
  177.      change the settings of PC/2's WPS Object.
  178.  
  179.      Beginning with version 1.90, PC/2 defaults to draw most changes of
  180.      the Overview window into memory first, and just copies it onto the
  181.      screen, when the drawing has finished, eliminating most flicker.
  182.      This approach is called "fast" because for modern video chipsets
  183.      (e.g. XGA, S3) there is no performance impact of moving data from
  184.      main memory to video memory. This version requires a slightly more
  185.      memory). Beginning with version 2.00, only the "fast" method is included,
  186.      as this fits best to modern video hardware. Hovever, you can compile PC/2
  187.      if you need the "slow" method.
  188.  
  189. 48.) Why does an installation update of PC/2 not work with active CM/2?
  190.  
  191.      IBM Communication Manager/2 locks the DLL PC2HOOK.DLL when running,
  192.      therefore you have to stop and shut down CM/2 prior to run an update of
  193.      PC/2.
  194.      This behavior of CM/2 is not expected and I can't explain it -
  195.      but there are potentially more programs out having this behavior. So
  196.      I suggest you shut down or not start applications prior to running an
  197.      installation update of PC/2, if you experience problems installing PC/2.
  198.  
  199. 49.) Why does selection of a tiled background bitmap hang OS/2 Warp 3.0?
  200.  
  201.      OS/2 WARP has a bug, when requesting display of a tiled background
  202.      bitmap. It even behaves a little different between OS/2 WARP and OS/2
  203.      WARP Fullpack. A defect (PMR 4X472) has been opened against OS/2 WARP,
  204.      so a future CSD (Corrective Service Diskette) will hopefully repair this
  205.      defect.
  206.      This bug is not a PC/2 problem, since selecting a tiled background
  207.      bitmap works correctly under OS/2 2.x.
  208.  
  209.      During beta tests of OS/2 WARP 3 and 4, I informed OS/2 development a few
  210.      times about this bug (on an IBM internal forum, and via a note), but I
  211.      have not yet heard back yet, in time for the cutoff date of this release.
  212.  
  213. 50.) Do I have to change anything in CONFIG.SYS to run PC/2?
  214.  
  215.      No, PC/2 is so smart that it can locate all its files (the DLLs, the
  216.      online HLP and configuration files) in the directory PC/2 was started
  217.      from! This also holds true then using PC/2 as the WPS replacement.
  218.  
  219.      In contrast, many other programs require modifications in your CONFIG.SYS
  220.      or that you copy some files in certain directories.
  221.  
  222.      Just WPS 2 PC/2 requires its DLL and HLP file in the directory \OS2\DLL
  223.      and \OS2\HELP, because the WPS requires them in a path pointed to by the
  224.      LIBPATH and HELP environment variables. Both files will be copied by the
  225.      installation automatically.
  226.  
  227.      You may experience an error during startup of PC/2 that the online help
  228.      can't be initialized. Most probably you are simply missing to include the
  229.      current directory (.;) in the path pointed to by the HELP environment
  230.      variable.
  231.  
  232. 51.) I have defined a Hotkey, but now my favorite program doesn't get this
  233.      key!
  234.  
  235.      When you have defined a Hotkey, PC/2 "sees" that Hotkey when any PM
  236.      window (PM programs, OS/2 and DOS windows) has the focus unless:
  237.  
  238.      *) you have selected the checkbox "No systemwide Hotkeys" on the Desktop
  239.         dialog notebook - using this option, PC/2 detects Hotkeys only when
  240.         either PC/2, the Window List, or the WPS are the active tasks when
  241.         pressing the Hotkey
  242.  
  243.      or
  244.  
  245.      *) the key is captured by OS/2 or a device driver (e.g. CTRL+ESC)
  246.  
  247.      or
  248.  
  249.      *) you have launched another program (after PC/2) that also detects keys
  250.         systemwide.
  251.  
  252. 52.) What is referred as an *accelerator* key?
  253.  
  254.      An accelerator is a special OS/2 PM (Presentation Manager) resource, that,
  255.      when pressed, informs the window having the focus not by the key's ASCII
  256.      character code, but by a special message.
  257.  
  258.      If a key is not captured by OS/2 (or a device driver) itself, PC/2 will
  259.      "see" that accelerator key instead of an application when a systemwide
  260.      Hotkey is defined for that key within PC/2, unless the SHIFT key is
  261.      pressed simultaneously.
  262.  
  263.      For example, the EPM editor has defined an accelerator key for ALT+S,
  264.      to invoke its split line function. You can define ALT+S as a systemwide
  265.      Hotkey to launch PMSEEK, then EPM will no longer see this key, unless you
  266.      have pressed the SHIFT key while pressing the Hotkey.
  267.  
  268. 53.) Which sequence is used by PC/2 when autostarting programs?
  269.  
  270.      PC/2 uses a recursive depth-first search, when searching the Popup Menu
  271.      for applications marked to be autostarted. For example, assume your Popup
  272.      Menu looks like the following graphics (tree view):
  273.  
  274.                            +----+     Px ... x'th Program Menuentry, not
  275.                         +--| A2 |                 not having autostart flag
  276.                         |  +----+                 set
  277.                         |  | P1 |
  278.                 +----+  |  +----+     Sy ... y'th Submenu Menuentry
  279.              +--| A1 |  |  | A3 |
  280.              |  +----+  |  +----+     Az ... z'th Program Menuentry, having
  281.              |  | S2 |--+                         autostart flag set
  282.      +----+  |  +----+     +----+
  283.      | S1 !--+  | S3 |-----| P2 |
  284.      +----+     +----+     +----+
  285.      | A5 |                | P3 |
  286.      +----+     +----+     +----+
  287.      | S4 |-----| P4 |     | A4 |
  288.      +----+     +----+     +----+
  289.                 | P5 |
  290.                 +----+
  291.                 | A6 |
  292.                 +----+
  293.  
  294.      \----/     \----/     \----/
  295.       root      first      second
  296.      level     Submenu    Submenu
  297.                 level      level
  298.  
  299.      Having above Popup Menu, invoking PC/2 would autostart applications in
  300.      the following order:
  301.      A1 --> A2 --> A3 --> A4 --> A5 --> A6
  302.  
  303.      To define a certain sequence for your applications to autostart, you have
  304.      to position their Menuentries according to above graphics.
  305.  
  306. 54.) Are duplicate Menuentries allowed?
  307.  
  308.      It is possible to have multiple Menuentries for the same applications,
  309.      but I *strongly* recommend creation of just *one* Menuentry for a single
  310.      application.
  311.      PC/2 currently does *not* support a concept of "shadow Menuentries",
  312.      behaving similar to WPS Shadowobjects.
  313.  
  314. 55.) What's the difference between the Program Title and Window Name?
  315.  
  316.      The Program Title is the text displayed for an application's Menuentry in
  317.      PC/2's Popup Menu. Some applications (e.g. OS/2 and DOS windows) even use
  318.      this text in their titlebar, but mode applications (e.g. EPM) choose to
  319.      set their titlebar text according to their own preferences.
  320.  
  321.      The Window Name is the text used by PC/2 to identify one certain PM
  322.      window among all windows on PM. To identify a certain window, PC/2 uses
  323.      the Window Name text and matches it with all windows on PM. A window is
  324.      identified when the Menuentry's Window Name matches either the window's
  325.      titlebar *or* the window's Window List entry. The first window of all
  326.      windows on PM which matches with the Menuentry's Window Name is assumed
  327.      as the window launched by this Menuentry by PC/2.
  328.  
  329.      If you choose not to fill the Window Name entryfield, PC/2 just copies
  330.      the contents of the Program Title entryfield into Window Name.
  331.  
  332.      Most easily, just use the Spy notebook page to find out the names of the
  333.      Desktop (WPS) and Window List or any other window you are interested in!
  334.  
  335. 56.) How can I use a Hotkey that starts a program, each time the Hotkey is
  336.      pressed instead of switching to the running instance?
  337.  
  338.      Just ensure that the program's Window Name entryfield contains a text,
  339.      that never occurs on any other window's titlebar *or* Window List entry
  340.      *or* window class name.
  341.  
  342.      For example I prefer CTRL+O to start an OS/2 window each time I press
  343.      CTRL+O. I do so by entering the following data for this OS/2 window:
  344.         Program Title:      OS/2 Window
  345.         Window Name:        HK OS/2 Window
  346.      Under the assumption that now other window on PM contains the string
  347.      "HK OS/2 Window", CTRL+O will always start a new OS/2 window, but switch
  348.      to the running one (if none is running, one is started of course).
  349.      However, the Hotkey will not switch to a window names "OS/2 Window",
  350.      because the string "HK OS/2 Window" is no substring of "OS/2 Window".
  351.  
  352.      Of course, if I for example would invoke EPM "HK OS/2 Window", then my
  353.      OS/2 Window's Window Name "HK OS/2 Window" would be successfully matched
  354.      with this EPM session when pressing CTRL+O, and the Hotkey would switch
  355.      to this EPM session instead of starting another OS/2 window.
  356.  
  357.      Just ensure that it is very unlikely that any PM window contains the
  358.      Window Name in its titlebar *or* Window List entry *or* window class, to
  359.      start a new instances of the program each time the Hotkey is pressed.
  360.  
  361.      To find out a window's class name, you may use the Spy notebook page of
  362.      the Desktop Dialog.
  363.  
  364. 57.) Can Mouse Button 3 be used instead of Mouse Button 1 to activate the
  365.      Popup Menu or to switch between Virtual Desktops?
  366.  
  367.      Yes, you may use the Desktop Configuration dialog to enable the
  368.      activation of the Popup Menu and to switch between Virtual Desktops by
  369.      clicking on surrounding rows or columns for clicking with mouse button 3.
  370.  
  371.      You may even select that the Popup Menu appears when clicking anywhere
  372.      on the screen. This makes of course only sense when using mouse button 3,
  373.      because mouse button 1 is used by OS/2 applications themselves.
  374.  
  375. 58.) What does "Advanced Marking" mean?
  376.  
  377.      Advanced Marking is a feature of PC/2, that enables you to mark text,
  378.      copy it to and paste it from the OS/2 keyboard just by mouse clicks.
  379.  
  380.      Advanced Marking works for entryfields, multiline entryfields, for OS/2
  381.      and DOS windows, E editor, EPM, IBM Personal Communications/3270,
  382.      Advantis PassPort/2, IBM Communications Manager/2, Netscape Navigator/2
  383.      and Lotus Notes windows. 
  384.      When enabling Advanced Marking you will never have to select Mark, Copy 
  385.      or Paste from a DOS or OS/2 window's system menu again!
  386.  
  387.      To activate Advanced Marking, just mark the text you want to paste into
  388.      OS/2's clipboard by pressing and holding mouse button 1 while selecting
  389.      the text (you may already know this from (multiline)entryfields).
  390.      Release mouse button 1 whenever you have selected the text you want to
  391.      mark and copy into the clipboard. PC/2's Advanced Marking feature will
  392.      automatically paste the selected text into OS/2's clipboard.
  393.      To paste text from the OS/2 clipboard just doubleclick with mouse button
  394.      2 (mouse button 1 is already reserved by OS/2) - that's all.
  395.  
  396.      If you want to mark text without PC/2 automatically copying into the
  397.      clipboard, just press and hold the ALT key while selecting the text
  398.      (Note: IBM Communications Manager/2 will not allow you to move the mouse
  399.      pointer while pressing a key).
  400.  
  401.      If you paste text from the OS/2 clipboard into a OS/2 or DOS windowed
  402.      command prompt, trailing \r and/or \n (CRLF) characters are removed in
  403.      order to prevent the immediate execution of the pasted text as a command.
  404.      However, a single \r\n character sequence is added, if you press and hold
  405.      the CTRL key while pasting the text.
  406.  
  407.      Of course you may use Advanced Marking cooperatively with an application
  408.      that copies text to or pastes text from the OS/2 clipboard (e.g. your
  409.      favourite word processor).
  410.  
  411.      For 3-button mice, you can select that PC/2 uses mouse button 3 instead 
  412.      of mouse button 2. PC/2 then does not overlay the functionality of
  413.      button 2 assigned by the applications.
  414.  
  415.      Note: Advanced Marking was tested with the E edtior from 2.10 to Merlin
  416.            (OS/2 WARP V4), EPM 5.51, EPM 6.03a, EPM 6.03b, IBM Personal
  417.            Communications/3270 V4.00, IBM Communications Manager/2 1.11 and
  418.            Advantis PassPort/2 1.31D and 2.1D, NetScape Navigator/2 2.02, 
  419.            Lotus Notes 4.52, other versions may be incompatible.
  420.  
  421.      Note: You should turn off VIO marking in the System notebook under WARP 4
  422.            when using PC/2's Advanced Marking.
  423.  
  424.      Note: Though users have requested to make Advanced Marking to optionally
  425.            require a key pressed simultaneously (e.g. CTRL or ALT), I have yet
  426.            found not way for a consistant implementation, as IBM's CM/2 does
  427.            not allow this, and at least CTRL is already used to paste with a
  428.            CRLF added.
  429.  
  430.      Hint: If you are not sure what and when something gets copied into the 
  431.            OS/2 clipboard, just open the clipboard (e.g. from either its WPS
  432.            Object or CLIPOS2.EXE from the commandline).
  433.  
  434. 59.) If running PC/2 as the WorkPlace Shell process, how can I launch WPS
  435.      Objects or change system settings (as e.g. the background color)?
  436.  
  437.      When the WPS (PMSHELL.EXE) is not running, PC/2 displays an error message
  438.      when you try to launch WPS objects from PC/2's Popup Menu. As WPS Objects
  439.      are part of PMSHELL.EXE, these objects can't live without running
  440.      PMSHELL.EXE.
  441.  
  442.      Also if the WPS (PMSHELL.EXE) is not running, you can't change your 
  443.      system settings. To be exact, you still can do this with an INI editor
  444.      and editing OS/2's OS2*.INI files directly, but I would strongly 
  445.      discourage you doing so, unless you really know what you are doing (you
  446.      can easily prevent PM or OS/2 from booting otherwise).
  447.  
  448.      As a sample, the REXX batch file PMColor.cmd is shipped with PC/2, which
  449.      allows you to set the PM background color that is displayed after the 
  450.      next reboot.
  451.  
  452.      If you want to launch a WPS Object, and the programs to interface with 
  453.      the system settings are also WPS Objects, while running PC/2 as the 
  454.      WorkPlace Shell process, ensure that PMSHELL.EXE is started before. Just 
  455.      create a Menuentry by locating PMSHELL.EXE which is usually installed on 
  456.      your boot drive [d] at:
  457.         [d]\os2\PmShell.exe
  458.      and launch PMSHELL.EXE from this item before invoking WPS Objects.
  459.  
  460.      Unfortunately PMSHELL.EXE can't be exited once it is running, so you have
  461.      to find a process killer (e.g. KILLEM.EXE or PSPM2) to force PMSHELL.EXE
  462.      to terminate it when no longer required. Warning! Terminating PMSHELL.EXE
  463.      also terminates all WPS Objects too, and the changes you have made to 
  464.      your system configuration may be lost (keep your system idle for at least
  465.      a few minutes before killing PMSHELL.EXE, as the WPS usually will have
  466.      updated the OS2*.INI files then).
  467.  
  468. 60.) I've activated Advanced Marking, now both mouse buttons 2 seem no longer
  469.      to work as expected for IBM Personal Communications/3270, IBM
  470.      Communications Manager/2, Advantis PassPort/2, EPM, NetScape/2 and Lotus
  471.      Notes!
  472.  
  473.      This is a restriction when using Advanced Marking. In order to implement
  474.      Advanced Marking, PC/2 changes the functionality of mouse button 2. You
  475.      may either disable Advanced Marking, or you may invoke the functions from
  476.      the menubar (these functions are not used often anyway and are very
  477.      likely also selectable from the menubar).
  478.  
  479.      For 3-button mice, you can select that PC/2 uses mouse button 3 instead 
  480.      of mouse button 2. PC/2 then does not overlay the functionality of
  481.      button 2 assigned by the applications.
  482.  
  483. 61.) Does PC/2 also support OS/2 half-packs (OS/2 running on top of
  484.      MS Windows)?
  485.  
  486.      Yes, PC/2 supports OS/2 running on top of MS Windows similar to OS/2
  487.      full-pack (OS/2 including WIN-OS2). For WIN-OS2, the demonstrational
  488.      configuration files assume that WIN-OS2 is used from a path similar to:
  489.         [d]\os2\mdos\winos2
  490.      where [d] is the drive (e.g. C: ) WIN-OS2 was installed into.
  491.      To use PC/2 with MS Windows, replace these references with references
  492.      to the path you installed MS Windows similar to:
  493.         [d]\Windows
  494.      where [d] is the drive (e.g. D: ) MS Window was installed into.
  495.  
  496. 62.) I'm running PC/2 as the WorkPlace Shell process, how can I change PM
  497.      settings (my system configuration), e.g. the PM background color?
  498.  
  499.      Most PM settings are adjusted through user-friendly dialogs provided
  500.      by the WPS, but these dialogs just hide the low-level interface of the
  501.      OS/2 INI files (OS2.INI and OS2SYS.INI), where PM gets its settings
  502.      from.
  503.  
  504.      As a sample, the REXX batch file PMColor.cmd is shipped with PC/2, which
  505.      allows you to set the PM background color that is displayed after the 
  506.      next reboot.
  507.  
  508.      To adjust the PM settings you may temporarily invoke the WPS (start
  509.      the executable PMSHELL.EXE), or if you are really sure what you are
  510.      doing, use an INI editor to directly edit OS/2's OS2*.INI files or 
  511.      use small REXX scripts (e.g. like SmallFnt.cmd).
  512.  
  513.      Unfortunately PMSHELL.EXE can't be exited once it is running, so you have
  514.      to find a process killer (e.g. KILLEM.EXE or PSPM2) to force PMSHELL.EXE
  515.      to terminate it when no longer required. Warning! Terminating PMSHELL.EXE
  516.      also terminates all WPS Objects too, and the changes you have made to 
  517.      your system configuration may be lost (keep your system idle for at least
  518.      a few minutes before killing PMSHELL.EXE, as the WPS usually will have
  519.      updated the OS2*.INI files then).
  520.  
  521. 63.) Advanced Marking doesn't paste at the correct location sometimes, what
  522.      am I doing wrong?
  523.  
  524.      Advanced Marking manipulates the default processing of mouse messages for
  525.      the applications it supports, however there are limitations that can't be
  526.      removed (e.g. the timely expiration of the message processing).
  527.  
  528.      Such limitations may cause text pasted to the wrong position when you
  529.      paste by mouse button 2 doubleclicks to a window not having the focus
  530.      (e.g. IBM Communications Manager/2). In this case the text may not got
  531.      pasted to the position you doubleclicked on, but to the position the
  532.      cursor was before the window lost the focus.
  533.  
  534.      You may either move the focus to this window before pasting into it, or
  535.      you may increase the delay between both mouseclicks of the doubleclick.
  536.  
  537. 64.) Are UNC Names supported?
  538.  
  539.      Yes, PC/2 supports UNC Names as most programs do, as UNC Name support is
  540.      built into OS/2 natively. For example to launch a program from a OS/2
  541.      LAN Server or from the OS/2 File and Print Client you may enter: (Note:
  542.      Replace [d] with a drive letter, e.g. E: )
  543.         Program Title:      VirusCheck LAN
  544.         Path and Filename:  \\DOMAIN1\Utilities\AntiVirus\AV.exe
  545.         Working Directory:  [d]
  546.         Parameters:         -CheckSum
  547.  
  548.      Note: The working directory must not be an UNC name (which doesn't work
  549.            for OS/2 command windows either, e.g. you can't enter the command
  550.            CD \\DOMAIN1\Utilities
  551.  
  552.      You may of course also specify UNC Names in the session's Environment
  553.      Settings, e.g. to allow above sample to load DLLs via UNC Names you may
  554.      set into the Environment:
  555.         ENDLIBPATH=\\DOMAIN\Utilities\AntiVirus\DLL;%ENDLIBPATH%
  556.  
  557. 65.) I have multiple partitions with (different versions of) OS/2
  558.      Installations, what can I do to setup a single installation of PC/2
  559.      that can run OS/2 version dependent applications, e.g. the Multimedia
  560.      Player?
  561.  
  562.      You can simply use the macro %BOOTDRIVE% (which is not case dependent)
  563.      instead of a fixed drive letter. When launching the session this macro
  564.      gets replaced by d: , where d is the drive letter of the drive you OS/2
  565.      was booted from.
  566.  
  567.      You can also use the macro %PC2% which gets replace by the fully 
  568.      qualified path PC/2's executable was invoked from.
  569.  
  570.      For example to run the OS/2 Multimedia Player from the partition OS/2
  571.      booted from you enter:
  572.         Program Title:      MultiMedia Player
  573.         Path and Filename:  %BOOTDRIVE%\MMOS2\MPPM.EXE
  574.         Working Directory:  %BOOTDRIVE%\MMOS2
  575.         Parameters:         -L %BOOTDRIVE%\MMOS2\MOVIES\MACAW.AVI
  576.         IconFile:           %PC2%\MMDemo.ico
  577.      In the Parameters entryfield you may even want to enter the %BOOTDRIVE%
  578.      macro multiple times.
  579.  
  580. 66.) I have enabled the feature "Button 2 Border click moves window", but I
  581.      can't move some windows, what am I doing wrong?
  582.  
  583.      Most likely you haven't positioned the mouse pointer correctly on the
  584.      border of that window. Just ensure that the mouse pointer is positioned
  585.      on the frame window's border, press and hold mouse button 2 and try drag
  586.      the window to its new position again. Even if a frame window has no
  587.      border at all (e.g. usually for dialog frame windows), you can move that
  588.      window, just imagine that it would have a sizeable border as PC/2 handles
  589.      that window as if it had a sizing border.
  590.  
  591. 67.) PC/2 used to work perfectly, but now it hangs OS/2 when starting!
  592.  
  593.      There is one known problem when upgrading from OS/2 2.x to OS/2 Warp. If
  594.      you have configured a tiled background bitmap under OS/2 2.x you will
  595.      experience an OS/2 hang when running PC/2 under OS/2 Warp (either by
  596.      upgrading OS/2 or be booting from a different partition) due to an OS/2
  597.      bug.
  598.  
  599.      To recover from such a hang, you may take one of the following measures:
  600.  
  601.         *) Delete PC2.INI, before PC/2 launches the next time, for example by
  602.            booting a OS/2 command window. PC2.INI may be hidden and read-only,
  603.            but will be found in the directory the executable PC2.EXE resides.
  604.            Unfortunately you have to reconfigure PC/2's Desktop Configuration
  605.            the next time you launch PC/2.
  606.  
  607.         *) Rename or delete the bitmap you have configured as the Desktop
  608.            background bitmap of PC/2.
  609.  
  610.         *) Use an INI editor to remove the entries of PC/2's Desktop
  611.            background bitmap - this is of course the toughest method! Be
  612.            sure you know what you are doing!
  613.  
  614. 68.) Can PC/2 help my server to recycle at midnight for example to get rid of
  615.      resource leaks or hanging programs?
  616.  
  617.      Yes, PC/2 can reboot your server at a predetermined time automatically
  618.      with the help of the integrated Scheduler. The Scheduler allows you to
  619.      automatically launch Menuentries hourly, daily, weekly, monthly or once
  620.      a year as if you had selected them from the Popup Menu. As Shutdown OS/2
  621.      (beside PowerDown OS/2, Lockup OS/2 and Exit PC/2) is one of the 
  622.      Menucontrols also being supported by the Scheduler, you can configure 
  623.      PC/2 to automatically shut down and reboot OS/2 at midnight.
  624.      Just remember that the clocks in PCs aren't very accurate at all! You
  625.      must also have PC/2 configured that selecting the ShutDown OS/2 Menuentry
  626.      automatically (that is no manual intervention required) shuts down and
  627.      reboots your workstation!
  628.  
  629.      Note: To reboot OS/2, PC/2 requires the DOS.SYS device driver of OS/2 to
  630.            be installed. Ensure that for OS/2 2.11 the line
  631.            DEVICE=[x]\OS2\DOS.SYS, and for OS/2 WARP the line
  632.            DEVICE=[x]\OS2\BOOT\DOS.SYS is contained in your CONFIG.SYS, where
  633.            [d] is the the drive letter you installed OS/2 at, e.g. E: ).
  634.  
  635.            This line may only be missing for non standard OS/2 Installations,
  636.            e.g. maintenance partitions created by BOOTOS2.
  637.  
  638. 69.) When running PC/2 the focus change when closing windows behaves peculiar!
  639.  
  640.      First, most likely you have checked the option "Follow Focus". By 
  641.      unchecking that option, this seamingly random switch between Virtual
  642.      Desktops and/or windows will revert back to normal PM behaviour.
  643.  
  644.      Second a short explanation of the terminology of OS/2: You surely have
  645.      heard the term "(input) focus". The control having the input focus will
  646.      receive the user input, e.g. if you have a window with 5 entryfields
  647.      controls, your keyboard input will be routed to that single entryfield
  648.      that just has the input focus. Usually the titlebar of the window the
  649.      control having the input focus is in will be marked active - so you can
  650.      call it "focus window".
  651.  
  652.      Now assume that the focus window gets closed, PM has then to find another
  653.      window becoming the focus window and inside this window a control
  654.      receiving the input focus. PM finds the new focus window by examining the
  655.      Z-Order. The window a user is working with (our focus window) is usually
  656.      on top of Z-Order causing it to cover all other windows. So when this
  657.      window gets destroyed, the new window getting on top of Z-Order will
  658.      become the new focus window (unless it is minimized).
  659.  
  660.      So what has this to do with PC/2? Well, PC/2 ensures that its QuickSwitch,
  661.      its SessionBar and its Overview (only when having selected "Keep PC/2 on
  662.      Z-order top") window are kept on top of Z-Order when visible - causing to
  663.      cover all other windows. Now when the focus window gets destroyed, one of
  664.      PC/2's windows will become the focus window as it is on top of Z-Order.
  665.      As this is very inconvenient from the usability standpoint, PC/2 ensures
  666.      that its windows stay on top of Z-Order, but tries to refuse becoming the
  667.      focus window passing the input focus on the the next window not part of
  668.      PC/2 (which may also cause a switch to another Virtual Desktop).
  669.  
  670.      If the window is unfortunately on another Virtual Desktop, OS/2 doesn't 
  671.      care as it doesn't know the concept of Virtual Desktops. OS/2 just 
  672.      activates it, and if it is an e.g. editor, keystrokes will be reflected
  673.      in the loaded file, however you won't see that window unless you switch 
  674.      to the Virtual Desktop it is running inn. PC/2 just helps you by 
  675.      switching to the active window.
  676.  
  677.      You may find it annoying that PC/2 switches Desktops, but otherwise a 
  678.      window might get the focus you can't see (and PC/2's intension of the
  679.      "Follow Focus" option is to prevent that)!
  680.      
  681. 70.) I'm experiencing unexpected hangups/traps now that I've enabled the
  682.      Titlebar Smarticons.
  683.  
  684.      Adding smarticons to all titlebars is very complicated as there is not
  685.      native support for this in OS/2 (and they way subclassing is implemented
  686.      in OS/2 and Windows too, it's easy to run into troubles), so there will 
  687.      be problems and the only save way to remove them is to disable the 
  688.      Titlebar Smarticons (at least for the failing applications by adding them
  689.      to the exception .
  690.  
  691.      I know there are problems when having enabled Titlebar Smarticons under
  692.      OS/2 2.x, or when running more than one program that adds smarticons into
  693.      titlebars (e.g. WARP 4 VoiceType Dictation, NPSWPS, XIT,...) or when
  694.      using a PM debugger. Unfortunately I have found no way yet to make this
  695.      feature perfectly stable (mostly due to problems in PC/2 and partly due
  696.      to lack of native OS/2 support for Titlebar Smarticons).
  697.  
  698.      You can exclude the name of executables, which appear to fail when using
  699.      Titlebar Smarticons, by adding their case sensitive, unqualified 
  700.      executable name without the extension in the Exception List on the page 
  701.      you activated the Titlebar Smarticons. Adding ACS3EINI, VIEW3820, IPMD, 
  702.      ICSDEBUG and NOTES (without the path and extension!) are applications I 
  703.      have experienced problems with.
  704.  
  705.      Additionally, the Context Help Smarticon does not work very well under
  706.      OS/2 2.x at all, because it behaves differently compared to OS/2 WARP.
  707.  
  708.      Most easily, just use the Spy notebook page to find out the names of the
  709.      windows you want to add to the Exception List.
  710.  
  711. --->>>  --->>>  --->>> Please also read the third part  <<<---  <<<---  <<<---
  712.  
  713.