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

  1. ******************************************************************************
  2.                         Frequently Asked Questions Part 1/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.  1.) How can I configure PC/2 to display the Popup Menu on the Desktop, using
  14.      a Mouse Button 1 or Mouse Button 3 singleclick instead of the default
  15.      doubleclick?
  16.  2.) PC/2 assumes that OS/2 is installed on drive C: , but I use drive H: !
  17.  3.) How do I add DOS Settings correctly?
  18.  4.) How can I add batch files?
  19.  5.) Is HPFS supported?
  20.  6.) How do I start a full-screen WIN-OS2 session?
  21.  7.) How do I control what mode and session type a Windows application runs
  22.      in?
  23.  8.) How do I start a VDM from an image?
  24.  9.) How do I start a VDM that boots from drive A: ?
  25. 10.) Why has PC/2 an option to shut down OS/2?
  26. 11.) How do I add commandline parameters at runtime?
  27. 12.) How do I install PC/2 as a replacement for the WPS?
  28. 13.) How do I add WPS Objects to start them via PC/2?
  29. 14.) How do I use Drag'n Drop?
  30. 15.) How can I add WPS Objects, and what WPS Object classes are allowed?
  31. 16.) Does PC/2 change to the root of all drives except for the working dir?
  32. 17.) Which versions of OS/2 are supported?
  33. 18.) How do I enable the Virtual Desktop and/or Sliding Focus?
  34. 19.) How does the sliding Focus work?
  35. 20.) How do I use the enabled Virtual Desktop?
  36. 21.) How does the Virtual Desktop work?
  37. 22.) How do I start applications on the Virtual Desktop?
  38. 23.) What's the name of the Desktop?
  39. 24.) What's the name of the Window List?
  40. 25.) What about seamless WIN-OS2 support, without a corresponding WPS object?
  41. 26.) How many applications can I start within a seamless WIN-OS2 session?
  42. 27.) How do I define a program's priority?
  43. 28.) How do I define a Hotkey to switch to a session?
  44. 29.) How does the Hotkey feature work?
  45. 30.) Why should I use the Hotkey feature?
  46. 31.) I have defined some Hotkeys - now these keys are not available on other
  47. 32.) I switched to an application - now some keys don't work as when not 
  48.      running PC/2!
  49. 33.) I defined a Hotkey but the wrong window is activated!
  50. 34.) How to I define a Hotkey for a certain window (e.g. Drive C object)
  51.      even if it wasn't started from PC/2?
  52. 35.) Do I need to completely fill in the Program Installation dialog to
  53.      define a new Hotkey?
  54. 36.) I have 2 OS/2 windows with the same name. Will the Hotkey work?
  55. 37.) How do I access the Window List on PM?
  56. 38.) What is the feature "Button 2 Titlebar click lowers Z-order" useful for?
  57. 39.) Can a Hotkey defined for PC/2 itself?
  58. 40.) When switching to a Virtual Desktop with a Hotkey, how is the window
  59.      aligned?
  60.  
  61. Questions, Answers:
  62.  
  63.  1.) How can I configure PC/2 to display the Popup Menu on the Desktop, using
  64.      a Mouse Button 1 or Mouse Button 3 singleclick instead of the default
  65.      doubleclick?
  66.  
  67.      First, you may select the Configure Desktop dialog on the Popup Menu to
  68.      select the type of default mouse click action.  This information is
  69.      written to the PC2.INI profile.
  70.      Second, use the commandline option "-SingleClick" or "/SingleClick" to
  71.      overwrite the default behavior read from PC2.INI. If you run PC/2
  72.      as a WPS replacement, you can't use any commandline option, since
  73.      OS/2 seems to dislike commandline options on programs run as the WPS.
  74.      However, this doesn't prevent you from setting the default behavior using
  75.      the Configure Desktop dialog.
  76.  
  77.  2.) PC/2 assumes that OS/2 is installed on drive C: , but I use drive H: !
  78.  
  79.      Either start with a blank Menu and add your programs, or use an editor
  80.      such as EPM.EXE to change all " C: " occurrences to " H: " in the
  81.      profile.
  82.      The profile is named PC2.CFG by default.
  83.  
  84.  3.) How do I add DOS Settings correctly?
  85.  
  86.      If you wish to do this using your text editor, ensure you use the
  87.      exact same spelling as found in the settings of a typical DOS
  88.      program. They have usually ON/OFF or numbers as possible
  89.      selections. For ON/OFF, you add =1 or =0 to the setting, e.g.
  90.      HW_TIMER=1. For numbers, add =xxxx, e.g. EMS_MEMORY_LIMIT=1024 or
  91.      DOS_VERSION=DOSPROG.EXE,5,0,255. But the really easy way to do this
  92.      is to use the standard DOS Settings dialog, which is displayed when
  93.      you click on the DOS Settings pushbutton.
  94.  
  95.  4.) How can I add batch files?
  96.  
  97.      Batch files aren't executable files, so they need a command
  98.      processor to interpret them. Therefore, you have to select a
  99.      command processor, (e.g. CMD.EXE) and add /C filename.bat or /C
  100.      filename.cmd to the parameters entry field. You may wish to look at
  101.      the command reference of CMD.EXE and COMMAND.COM for more details.
  102.      If you use the standard file dialog to find the batch file you want
  103.      to add, PC/2 automatically add this batch file as an argument to the
  104.      command processor.
  105.  
  106.  5.) Is HPFS supported?
  107.  
  108.      Yes, PC/2 fully supports HPFS. However, if a filename contains spaces,
  109.      you have to place it in double-quotes, e.g. at a command prompt you
  110.      would type DIR "[d]\OS!2 2.0 Desktop\*" /s to list all files of the
  111.      Desktop directory. The same is true for PC/2, e.g. if you want to start
  112.      a batchfile that conforms to HPFS-filename conventions, you may create
  113.      an entry like this : (Note: Replace [d] with a drive letter, e.g. E: )
  114.         Program Title:      HPFS-Test
  115.         Path and Filename:  [d]\OS!2 2.0 Desktop\Prompts\Command Processor.exe
  116.         Working Directory:  [d]\OS!2 User Applications
  117.         Parameters:         /C ""[d]\OS!2 2.0 Desktop\Run Me.cmd""
  118.      Note: Passing HPFS-filenames to command processors may require two
  119.      double-quotes (e.g. CMD.EXE does). Also take a look at the help pages
  120.      for CMD.EXE to get more details. Open up an OS/2 command line prompt, and
  121.      enter: help cmd.exe - this should get you to the right section.
  122.  
  123.  6.) How do I start a full-screen WIN-OS2 session?
  124.  
  125.      The easiest way is to select the Session type of Fullscreen WIN-OS2 and
  126.      specifying the WIN-OS2 executable on the Application notebook page in the
  127.      Program Installation dialog.
  128.  
  129.      Alternatively create a full-screen DOS command prompt that uses 
  130.      WINOS2.COM as the executable's name. (e.g. [d]\OS2\MDOS\WINOS2\WINOS2.COM
  131.      where [d] is the drive letter you installed WIN-OS2 onto, e.g. C: ). 
  132.  
  133.      Then add the required DOS Settings (e.g. the following settings greatly 
  134.      improve performance on a 8514/A adapter and probably on other adapters 
  135.      too (thanks to Timothy Sipples for them!):
  136.         VIDEO_8514_XGA_IOTRAP=0
  137.         VIDEO_RETRACE_EMULATION=0
  138.         VIDEO_SWITCH_NOTIFICATION=1
  139.         XMS=64
  140.         EMS=0
  141.         DPMI=4 (or more than 4, if you run a lot of Win apps)
  142.         HW_ROM_TO_RAM=1
  143.         IDLE_SECONDS=2
  144.         IDLE_SENSITIVITY=100
  145.         SESSION_PRIORITY=32 (for WARP only)
  146.      However, modern hardware should be fast enough so that I suggest you to
  147.      start with the following values instead:
  148.         IDLE_SECONDS=1
  149.         IDLE_SENSITIVITY=95
  150.         SESSION_PRIORITY=1 (for WARP only)
  151.  
  152.  7.) How do I control what mode and session type a Windows application runs
  153.      in?
  154.  
  155.      Just enter the application's data and select the mode the seamless
  156.      WIN-OS2 session should run. This includes realmode, standard or
  157.      enhanced 386 mode, both in separate sessions or in a common VDM.
  158.      Of course you may select a fullscreen WIN-OS2 session.
  159.  
  160.      Caution! Sliding Focus does not work well, when running seamless
  161.               WIN-OS2 sessions. To temporarily suspend Sliding, just hold 
  162.               down the SHIFT key while moving the mouse.
  163.  
  164.  8.) How do I start a VDM from an image?
  165.  
  166.      First create the image, then create an entry of a fullscreen or windowed
  167.      DOS session. Then add to the DOS settings:
  168.         DOS_STARTUP_DRIVE=[path]DISK.IMG
  169.      where [path]DISK.IMG is the path and filename of the image you want to
  170.      start. Caution! On OS/2 2.0 (2.0 GA) it doesn't work; I don't know why.
  171.  
  172.  9.) How do I start a VDM that boots from drive A: ?
  173.  
  174.      Same as item 8.) says, only adjust the DOS settings to:
  175.         DOS_STARTUP_DRIVE=A:
  176.      Caution! On OS/2 2.0 (2.0 GA) the system traps, I don't know why.
  177.  
  178. 10.) Why has PC/2 an option to shut down OS/2?
  179.  
  180.      Some people use PC/2 as a replacement for the WorkPlace Shell (this saves
  181.      up to 4 MB memory!) and they can't click with button 2 to get the WPS
  182.      Popup Menu, from where shutdown is usually selected. So, it is provided
  183.      on PC/2's Popup Menu. PC/2 requests OS/2 to clear all file buffers. After
  184.      all disk activity has been stopped, it is safe to power off your system.
  185.      PC/2 don't close the programs, but after the disk activity has stopped,
  186.      all processes are frozen (you can not switch to or select programs
  187.      anymore).
  188.  
  189.      If you set up "Normal Shutdown" in the PC/2 Desktop Menu, when you click
  190.      Shutdown OS/2 on the PC/2 Popup Menu, PC/2 will act just as the WPS does,
  191.      when doing a normal shutdown.  In other words, apps are notified they are
  192.      about to be shut down, and, depending on the application, you may get
  193.      several questions asking something to the effect "Do you really want to
  194.      do this?"
  195.  
  196. 11.) How do I add commandline parameters at runtime?
  197.  
  198.      E.g. assume you created a Menuentry that starts the editor EPM.EXE.
  199.      After you selected EPM, just before it is started, you can request
  200.      a dialog box from PC/2, where you can enter any commandline parameter
  201.      by adding a [...] construct in the parameters entryfield of the Program
  202.      Installation dialog. This work similar to the same WPS feature.
  203.  
  204. 12.) How do I install PC/2 as a replacement for the WPS?
  205.  
  206.      First, install PC/2 in the normal way. Second, edit your CONFIG.SYS to
  207.      replace the statement (Note: substitute your drive name instead of
  208.      [d], e.g. C: ):
  209.         SET RUNWORKPLACE=[d]\OS2\PMSHELL.EXE
  210.      to
  211.         REM * SET RUNWORKPLACE=[d]\OS2\PMSHELL.EXE
  212.         SET RUNWORKPLACE=[d]\path\PC2.EXE
  213.      or
  214.         REM * SET RUNWORKPLACE=[d]\OS2\PMSHELL.EXE
  215.         SET RUNWORKPLACE=\path\PC2.EXE
  216.  
  217.      Where [d]\path is the drive and path (e.g. \PMAPPS\PC2 on drive C: )
  218.      where you installed PC/2. (The second method can be used to add
  219.      PC/2 as the Workplace process of a maintenance partition, e.g.
  220.      created by the BOOTOS2 package). Second, ensure that all PC/2
  221.      *.DLLs are in the directory PC/2 is running from, or in a path
  222.      pointed to by the LIBPATH environment variable in your CONFIG.SYS.
  223.  
  224.      The next time you boot, the WPS will not be loaded (you can verify this
  225.      by a blank screen displayed instead of the normal Desktop and objects.
  226.  
  227.      Not using the WPS saves memory and reduces boot time! However, you will
  228.      not be able to change your system settings you are able when running the
  229.      WPS. Also, if you install applications that create WPS object, these
  230.      objects won't be installed and the installation may fail.
  231.  
  232.      Of course, you can also start the WPS later, either by starting
  233.      PMSHELL.EXE from a command prompt or from a PMSHELL Menuitem of PC/2.
  234.      You can follow the WPS initialization by heavy disk access and buildup
  235.      of your Desktop with objects. Once the WPS is running again, you can
  236.      change your system settings and installation programs will be able 
  237.      to create WPS objects.
  238.  
  239.      To allow you to use the Popup Menu on the newly (re)started WPS, PC/2
  240.      will detect this change immediately if you have correctly specified the
  241.      name of the WPS (e.g. Desktop, Arbeitsoberfläche,...). PC/2 displays the 
  242.      Window List on PM additionally, just as the WPS does by clicking mouse 
  243.      buttons 1 and 2 together.
  244.  
  245. 13.) How do I add WPS Objects to start them via PC/2?
  246.  
  247.      The important thing is, that you have to know the WPS Object ID
  248.      (Identifier) to be able to add them to PC/2. For preinstalled Objects,
  249.      you can find the ID in the file [d]\OS2\OS2_20.RC (where [d] is the
  250.      drive you installed OS/2 onto, e.g. C: ).
  251.      Alternatively, you may use WPS 2 PC/2 to extract the Object ID from
  252.      WPS Objects not being Folders or Program Objects, when available.
  253.      The ID of Objects, created as outlined above, may than be added in the
  254.      entryfield Path and Filename in the Program Installation dialog, with
  255.      the Program Type WPS Object.
  256.      Note that this function is not supported when PC/2 is used as the
  257.      replacement for the WPS, as it is the WPS that services starting
  258.      the Object ID's.
  259.  
  260. 14.) How do I use Drag'n Drop?
  261.  
  262.      In addition to the standard file dialog, you may use Drag'n Drop to
  263.      add applications in the Program Installation dialog. E.g. you may
  264.      use a drive object, select one (only 1!) application, and then drag
  265.      it into the dialog and drop it onto any area that accepts it (any area
  266.      that isn't covered by text, buttons, entryfields,...).
  267.      You can also drag one WPS Folder Object onto the first page of the
  268.      Program Installation dialog, to open it when selecting it from the
  269.      Popup Menu.
  270.      PC/2 will try to determine the type of the application you added
  271.      automatically (programs or folders), but you can still change it.
  272.  
  273. 15.) How can I add WPS Objects, and what WPS Object classes are allowed?
  274.  
  275.      The simplest way is to use WPS 2 PC/2. Just drag the WPS Objects you
  276.      want to add to PC/2's Popup Menu, onto the WPS *icon* of WPS 2 PC/2
  277.      (Not the open WPS 2 PC/2 application).
  278.      Then open the WPS 2 PC/2 application window by clicking on the icon
  279.      mentioned before. Now drag the status bitmap (the full suitcase) from
  280.      WPS 2 PC/2 onto the Setup dialog of PC/2, and voila, for each WPS
  281.      Object extracted, a new Menuentry is created within PC/2's Popup Menu.
  282.      WPS 2 PC/2 can extract data from WPS Objects of classes WPProgram,
  283.      WPFolder, any WPS Object that has an Object ID defined, or WPShadow
  284.      Objects of the classes mentioned previously.
  285.      E.g. you can't extract your WPS Printer Object, or a Drive Object,
  286.      unless an Object ID is assigned to these Objects.
  287.      Note: When running PC/2 as a replacement shell for the WPS, these
  288.      functions are inoperative, as they require the WPS to service them.
  289.  
  290. 16.) Does PC/2 change to the root of all drives except for the working dir?
  291.  
  292.      Yes, PC/2 changes to the root of all non-removable drives before the
  293.      selected application is started.
  294.  
  295. 17.) Which versions of OS/2 are supported?
  296.  
  297.      PC/2 was developed under OS/2 2.1 GA, 2.11 GA, and WARP GA, but I would
  298.      expect it to work under OS/2 2.0 and any Service Level too.
  299.      Under OS/2 WARP for Windows, using a tiled background bitmap hangs OS/2
  300.      solidly, requiring a reboot.
  301.      Under OS/2 WARP Fullpack, using a tiled background bitmap just hangs
  302.      PC/2, so in this case, just use CTRL+ESC to terminate PC/2. A defect
  303.      (PMR 4X472) has been opened against OS/2 WARP, so a future CSD
  304.      (Corrective Service Diskette) will hopefully repair this defect.
  305.      This bug is not a PC/2 problem, since selecting a tiled background
  306.      bitmap works correctly under OS/2 2.x.
  307.  
  308.      Unfortunately this bug has not been removed for OS/2 WARP 4 also.
  309.  
  310. 18.) How do I enable the Virtual Desktop and/or Sliding Focus?
  311.  
  312.      Start PC/2, click on the Desktop and select SETUP Desktop. A dialog box
  313.      will appear, where you can enable these features. Just press help for
  314.      further information.
  315.      To temporarily suspend the Sliding feature, just hold down the SHIFT key
  316.      while moving the mouse.
  317.  
  318.      Caution! Sliding Focus does not work well, when running seamless
  319.               WIN-OS2 sessions. To temporarily suspend Sliding, just hold 
  320.               down the SHIFT key while moving the mouse.
  321.  
  322. 19.) How does the sliding Focus work?
  323.  
  324.      For all pointer movements, OS/2 generates messages that contain the
  325.      window where the message originated. PC/2 hooks into these messages
  326.      and determines the active window. If the active window is not the
  327.      window that originated the message, it makes the message originating
  328.      window active.
  329.      Of course, PC/2's window, the Desktop and the window list are treated
  330.      differently. To preserve the Z-order of the windows, also check this
  331.      option.
  332.      Caution! Sliding Focus does not work well, when running seamless
  333.               WIN-OS2 sessions. To temporarily suspend Sliding, just hold 
  334.               down the SHIFT key while moving the mouse.
  335.  
  336. 20.) How do I use the enabled Virtual Desktop?
  337.  
  338.      You may know that a VGA-display has usually 640 columns and 480
  339.      rows (numbered from 0...639 and 0...479). If you position your mouse
  340.      pointer over the surrounding rows and/or columns of your display
  341.      (here columns 0 or 639 and/or rows 0 or 479) PC/2 SHIFTs all windows
  342.      that exist on your system (with some exceptions like window list) in
  343.      the opposite direction. Some windows may slide out, some may slide in
  344.      from the other direction.
  345.      You may click on any Virtual Desktop on the overview Window to
  346.      immediately switch to that Virtual Desktop.
  347.  
  348. 21.) How does the Virtual Desktop work?
  349.  
  350.      First, for all windows, OS/2 tracks their coordinates in data structures.
  351.      PC/2 queries and adjusts them according to the mouse movements the
  352.      user makes. For instance, if the mouse pointer is over column 0 on the
  353.      screen, PC/2 adds to the x-position of all windows for example 50 % of
  354.      the x-dimension of the screen. The windows appear to move rightward (out
  355.      of the display) because the display SHIFTs leftward within the Virtual
  356.      Desktop. Because windows are usually aligned on byte-boundaries, they
  357.      may not appear on their original place if you SHIFT one unit in one
  358.      direction and one unit in the opposite direction.
  359.  
  360. 22.) How do I start applications on the Virtual Desktop?
  361.  
  362.      In the Program Installation dialog, you can define the size and
  363.      position that the application should use. For instance, you can enter
  364.      a position of -200 in X, which would position the application to the left
  365.      of your Physical Desktop.  All coordinates are in relation to your
  366.      Physical Desktop.  In other words, an x setting of -1 would position your
  367.      application 1 pixel (out of a possible 640 in VGA) to the left off of your
  368.      Physical Desktop.
  369.  
  370.      PC/2 forces the window to the position you entered, however the
  371.      application may determine its size itself. To allow PC/2 to find the
  372.      window, ensure that you enter the applications Window List entry or
  373.      titlebar text to the Window Name entryfield on the Hotkey notebook page
  374.      of the Program Installation dialog. You don't need to enter the complete
  375.      Window List or titlebar text or window class name, just any substring that 
  376.      matches with the text. Use the Spy notebook page in the Desktop dialog to
  377.      determine this data easily.
  378.  
  379.      *However*, you must ensure that this substring matches *only* with the
  380.      application you want. Results are unpredictable if multiple applications
  381.      contain the same substring. For example you may find that a window is not
  382.      kept on every Virtual Desktop if you would like to, or a window may be 
  383.      kept on every Virtual Desktop while you can't explain why.
  384.  
  385.      Some applications are "stubborn", that is, no matter what you do to
  386.      specify your xy coordinate position for the application, it refuses to
  387.      obey, and starts where it wishes.  For instance, a OS/2 or DOS windowed 
  388.      session that changes from 80x25 line mode to 80x28 line mode during 
  389.      startup causes just such a condition (even if they would honor the 
  390.      requested position when no mode change is done).
  391.  
  392. 23.) What's the name of the Desktop?
  393.  
  394.      OS/2 2.0 introduced the name "OS/2 2.0 Desktop" for the Desktop window,
  395.      which normally is the WPS. OS/2 2.1 and OS/2 WARP  use the name
  396.      "Desktop" instead, if you install it over a newly formatted system.
  397.  
  398.      OS/2 2.1 and WARP may use a different name, if you install it over a
  399.      previous OS/2 system, so please read the README file provided with your
  400.      version of OS/2 carefully.
  401.  
  402.      If you use a non English OS/2 version, you have to translate the Desktop
  403.      window's name to your national language, for example you would enter
  404.      "Arbeitsoberfläche" when running a German OS/2. You may extract the
  405.      exact spelling from either the Window List (where the Desktop is one of
  406.      the running programs) or from OS/2's User's Guide.
  407.      PC/2 requires the exact spelling of the Desktop window's name to locate
  408.      the WPS process under all running processes.
  409.      
  410.      Most easily, just use the Spy notebook page to find out the names of the
  411.      Desktop (WPS) and Window List!
  412.  
  413. 24.) What's the name of the Window List?
  414.  
  415.      The Window List (known as Task List in OS/2 1.x) is just named
  416.      "Window List".
  417.  
  418.      If you use a non English OS/2 version, you have to translate the Window
  419.      List's name to your national language, for example you would enter
  420.      "Fensterliste" when running a German OS/2. You may extract the extract
  421.      exact spelling from either the Window List itself or from OS/2's User's
  422.      Guide.
  423.      PC/2 requires the exact spelling of the Window List's name to locate the
  424.      Window List under all applications.
  425.      
  426.      Most easily, just use the Spy notebook page to find out the names of the
  427.      Desktop (WPS) and Window List!
  428.  
  429. 25.) What about seamless WIN-OS2 support, without a corresponding WPS object?
  430.  
  431.      PC/2 allows you to start seamless WIN-OS2 sessions, as separate sessions
  432.      or in a common VDM. This means, if you start a Windows application in a
  433.      separate session, a complete copy of the WIN-OS2 environment will come up.
  434.      This wastes memory, so I suggest to start Windows applications into a
  435.      common VDM whenever possible.
  436.  
  437.      This seamless WIN-OS2 support works also without the WPS installed,
  438.      under OS/2 2.1 GA with no problems, but OS/2 2.0 GA hangs during load.
  439.      So under OS/2 2.0 GA, only start seamless WIN-OS2 sessions if the WPS is
  440.      running.
  441.  
  442.      Under OS/2 2.0 GA you can only successfully start WIN-OS2 sessions in
  443.      standard mode. 386 enhanced mode is not supported by OS/2, and real mode
  444.      starts to load, but doesn't complete successfully for unknown reasons.
  445.      Under OS/2 2.1 and WARP, real mode is not supported, so you can only start
  446.      Standard mode and 386 Enhanced mode sessions.
  447.  
  448. 26.) How many applications can I start within a seamless WIN-OS2 session?
  449.  
  450.      For a separate session usually only 1, but you may start the Windows
  451.      Program Manager as the first, and any Windows applications as a
  452.      commandline parameter, which the Program Manager will start for you.
  453.      If you start the Program Manager, you can of course start any Windows
  454.      application from it, but make sure that you have enough storage defined
  455.      in the DOS Settings (usually DPMI_MEMORY_LIMIT=16 or so).
  456.  
  457.      For separate sessions, the limit is determined by your system
  458.      configuration (e.g. how much memory you have in your kingdom. <smile> ).
  459.  
  460. 27.) How do I define a program's priority?
  461.  
  462.      Just select the last notebook page from the Program Installation dialog.
  463.      Warning - changing a program's priority may have severe impacts on your
  464.      system's performance, giving all CPU time to the application.
  465.  
  466.      You may set a tape backup or image conversion program to a lower priority
  467.      or a real-time data acquisition to a higher priority.
  468.  
  469.      For DOS sessions (and WIN-OS2 sessions are DOS sessions), the priority
  470.      can't be changed, because this would lock PM for unknown reasons.
  471.  
  472.      You can't change the priority of WPS Object either, because the WPS
  473.      actually starts them after a request from PC/2.
  474.  
  475.      On OS/2 Warp, you can adjust the priority of DOS sessions via the DOS
  476.      Settings dialog, in the Settings Notebook.
  477.  
  478. 28.) How do I define a Hotkey to switch to a session?
  479.  
  480.      Just select notebook page 4 from the Program Installation dialog.
  481.      You may define any key from the pool keys 0 to 9 and A to Z combined with
  482.      either with the CTRL or the ALT key. Once a Hotkey is defined for an
  483.      application, it is no more available for other sessions. You may define
  484.      Hotkeys for 72 different sessions as the maximum.
  485.  
  486.      In the Desktop Configuration notebook you may define the Hotkey to be
  487.      detected systemwide (even if the focus window has an accelerator key
  488.      defined for the Hotkey) or only when PC/2, the WPS or the Window List has
  489.      the focus.
  490.  
  491.      If PC/2 detects that the user pressed a Hotkey and the application the
  492.      Hotkey is defined for is not running, PC/2 launches the application,
  493.      otherwise, PC/2 will jump to the application already running.
  494.  
  495.      You may temporarily suspend the Hotkey feature by pressing and holding
  496.      the SHIFT key while pressing the Hotkey. PC/2 will then ignore the
  497.      Hotkey and pass it over to the application that currently has the focus.
  498.  
  499. 29.) How does the Hotkey feature work?
  500.  
  501.      PC/2 knows which Hotkeys are used if you have defined them. However, PC/2
  502.      also needs to know at least a part of the application's titlebar text or
  503.      Window List entry to switch to, so you have to fill in the entryfield
  504.      "Window Name: " (on the Hotkey notebook page) with the session's titlebar
  505.      text or Window List entry.
  506.  
  507.      For a session's Window Name either use part of the string that appears
  508.      in the session's titlebar, or part of the string that appears in the
  509.      Window List for this session.  This is most important that you follow
  510.      this procedure, otherwise results become unpredictable.
  511.  
  512.      If you press the Hotkey for a session, PC/2 searches all titlebars
  513.      and the Window List for the text from the "Window Name" entry and
  514.      switches to that session when a match was found.
  515.      PC/2 not only switches to the session the Hotkey is defined for, but
  516.      also switches to the Virtual Desktop the session resides on.
  517.      If neither the Window Name can be found on any window's titlebar nor
  518.      in the Window List, PC/2 assumes the application is not running and
  519.      launches it. This is why it is important that you ensure your entry in
  520.      the "Window Name" entryfield accurately relates to the titlebar name of
  521.      the running session's Window List entry.
  522.  
  523.      You may temporarily suspend Hotkey detection, if you press the SHIFT key
  524.      simultaneously with the Hotkey. PC/2 then will *not* steal the Hotkey,
  525.      but passes it on the the window that had the focus while the keypress.
  526.  
  527. 30.) Why should I use the Hotkey feature?
  528.  
  529.      Well, you don't need to use it, but you may find it very useful to
  530.      quickly switch to a certain session, for example a host terminal
  531.      emulator and than switch back to a compiling environment residing
  532.      on different Virtual Desktops.
  533.  
  534. 31.) I have defined some Hotkeys - now these keys are not available on other
  535.      sessions any more!
  536.  
  537.      Once you have defined a Hotkey, this Hotkey will be "seen" by PC/2
  538.      when it is pressed, because PC/2 "steals" them, before the application,
  539.      the key was pressed in, gets the notification for that key. Hotkeys are
  540.      detected systemwide, unless you check the option "No systemwide Hotkeys".
  541.  
  542.      You may allow an application "see" the Hotkey, if you have pressed the
  543.      SHIFT key simultaneously with the Hotkey.
  544.  
  545.      For example, the EPM editor has defined an accelerator key for CTRL+U,
  546.      to invoke its undo function. You can define CTRL+U as a Hotkey for your
  547.      terminal emulator, but EPM will no longer see this key then (and not 
  548.      showing the undo window). To allow EPM to see CTRL+U then, you have to 
  549.      press and hold the SHIFT key in addition to the CTRL key while pressing
  550.      the U key.
  551.  
  552. 32.) I switched to an application - now some keys don't work as when not 
  553.      running PC/2!
  554.  
  555.      You have probably defined a systemwide Hotkey in PC/2 for that key. The
  556.      Hotkey will not be "seen" by your application, unless you press the 
  557.      SHIFT key while pressing the Hotkey, as described in 31.).
  558.  
  559. 33.) I defined a Hotkey but the wrong window is activated!
  560.  
  561.      You have probably defined a Hotkey for an application and have
  562.      inadvertantly started more than one copy of this same application. PC/2
  563.      only switches to the first application window, and ignores all other
  564.      sessions containing copies of the same hotkeyed application.
  565.  
  566.      Be sure that you don't start more than one instance of a session a
  567.      Hotkey is defined for. A session is a PM, windowed OS/2 or DOS
  568.      application that displays at least one window on PM (Presentation
  569.      Manager).
  570.  
  571. 34.) How to I define a Hotkey for a certain window (e.g. Drive C object)
  572.      even if it wasn't started from PC/2?
  573.  
  574.      Assume that you have opened the Drive C - Tree View object from the
  575.      OS/2 System->Drives object of the WPS and you want to define ALT+C
  576.      as its Hotkey.
  577.      Create a new Menuentry and skip to the Hotkey notebook page of the
  578.      Program Installation dialog. Enable the Hotkey feature and select
  579.      ALT+C as the Hotkey.
  580.      Then select the entry of the Drive C object from the Current Window
  581.      List MLE and doubleclick on it. The selected entry will also be
  582.      filled into the entryfield Window Name. Now save the changes and
  583.      voila, you can now use the newly defined Hotkey.
  584.  
  585.      As the Drive objects are WPS Objects too, Drive objects can only be
  586.      opened while the WPS is running.
  587.  
  588. 35.) Do I need to completely fill in the Program Installation dialog to
  589.      define a new Hotkey?
  590.  
  591.      No, you just need to fill in the Hotkey labeled notebook page. PC/2
  592.      uses the text entered in the entryfield Window Name to compare with
  593.      all windows' titlebars and Window List entries. If the text matches
  594.      any of these entries, (or subset of the entry) the window the entry is
  595.      defined for is activated.
  596.  
  597.      To use the Hotkey feature, just ensure that the text entered in the
  598.      entryfield Window Name is part of any window's titlebar or Window List
  599.      entry.
  600.  
  601. 36.) I have 2 OS/2 windows with the same name. Will the Hotkey work?
  602.  
  603.      Yes, but only for the first window whose titlebar or Window List entry
  604.      matches to the Menuitem Window Name. You have to ensure a unique title
  605.      for a window to allow PC/2 to exactly identify a window and activate it
  606.      through the Hotkey function.
  607.  
  608. 37.) How do I access the Window List on PM?
  609.  
  610.      If you are positioned over the PM with the mouse pointer, just press
  611.      and hold down a mouse button and then click the other while not moving
  612.      the mouse pointer. The Window List will appear with the mouse pointer
  613.      in center (when the complete Window List can displayed then).
  614.      The PM is the bottommost window which you can see as your Desktop's
  615.      background, if either you don't run the WPS or you moved the WPS to
  616.      an other Virtual Desktop.
  617.  
  618.      Of course pressing CTRL+ESC works too.
  619.  
  620. 38.) What is the feature "Button 2 Titlebar click lowers Z-order" useful for?
  621.  
  622.      Even if you don't use the Virtual Desktop feature, you may find that 
  623.      sometimes you like to switch to a window which is under the currently 
  624.      active one, but you don't want to move or minimize the active one to get
  625.      the other window to the top. If this option is on, it enables you to 
  626.      just click mouse button 2 on the active window's titlebar to push this 
  627.      window to the bottom. The window previously behind the active window now
  628.      becomes the topmost window. Note that with this function enabled, you 
  629.      can't activate window movement with mouse button 2 anymore - however you
  630.      can still accomplish this using mouse button 1.
  631.  
  632.      Pressing the CTRL key while clicking on the titlebar only moves the
  633.      window to bottom; pressing the Alt key activates the default action
  634.      of the titlebar (usually activating the move window tracking frame).
  635.  
  636.      Therefore, the CTRL and Alt key may be temporarily used to suspend
  637.      the default PC/2 behavior.
  638.  
  639. 39.) Can a Hotkey defined for PC/2 itself?
  640.  
  641.      Yes, just enter PC/2 as the string to match on the Hotkey notebook
  642.      page in the Program Installation dialog and assign a Hotkey e.g.
  643.      ALT+P.
  644.  
  645. 40.) When switching to a Virtual Desktop with a Hotkey, how is the window
  646.      aligned?
  647.  
  648.      PC/2 moves the Desktop on the Virtual Desktop at the rate you defined
  649.      with the Virtual Desktop Scrolling scrollbar on Desktop Setup dialog.
  650.      The movement stops either when the middle point of a window becomes
  651.      visible on the screen the first time, or a surrounding edge was hit.
  652.      If you set the Virtual Desktop Scrolling to 100 % you will probably see
  653.      the best results.
  654.  
  655. --->>>  --->>>  --->>> Please also read the second part <<<---  <<<---  <<<---
  656.  
  657.