home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / tasklist.zip / readme.1st next >
Text File  |  1996-03-22  |  3KB  |  116 lines

  1. Task list listing and hiding Utility
  2. ------------------------------------
  3. Copyright (c) Secant Technologies, 1996
  4. Author: Chas Honton (chas@secant.com)
  5. This file: Tim Lengel (tim@secant.com)
  6.  
  7. Purpose: This program will list all sessions running under OS/2 and it
  8.     will hide certain sessions from the task list and ALT-TAB cycle.
  9.     It was created to hide certain servers from novice OS/2 users on 
  10.     remote systems who might accidentally (or purposefully) bring up 
  11.     the windows and interfere with the processing (e.g. close the windows
  12.     to get rid of them instead of minimizing them).
  13.  
  14.  
  15. Usage: tasklist [options] [sessionname]
  16.  
  17.  Options:
  18.     +v : Makes the specified session visible in the window list
  19.          brought up with CTRL-Esc (or click both mouse buttons).
  20.     -v : Makes the specified session invisible in the window list
  21.          brought up with CTRL-Esc (or click both mouse buttons).
  22.     +j : Allows the specified session to come up in the ALT-TAB
  23.          cycle.
  24.     -j : Removes the specified session from the ALT-TAB cycle
  25.  
  26.  [sessionname]: The name of the session (or the sessionid)
  27.  
  28.  
  29.  If no parameters are given, all sessions will be listed with 
  30. their current status in terms of task list visibility and ALT-TAB
  31. cycle.
  32.  
  33.  
  34. "Run through" Example:
  35. ====================
  36.  
  37. (output may differ depending on contents of list, of course)
  38.     > = input to command shell (assuming tasklist.exe is in the path)
  39.     < = output to screen 
  40.     [ = contents of Window List (CTRL-ESC)
  41.  
  42. Just display tasklist:
  43.  > tasklist
  44.  
  45.  < Switch to (1): -v -j
  46.  < Desktop (12): +v +j
  47.  < Workplace Shell (12): -v -j
  48.  
  49.  [ Desktop-Icon View
  50.  
  51. Start a session:
  52.  > start cmd.exe
  53.  
  54. Display again
  55.  > tasklist
  56.  
  57.  < Switch to (1): -v -j
  58.  < CMD.EXE (19): +v +j
  59.  < Desktop (12): +v +j
  60.  < Workplace Shell (12): -v -j
  61.  
  62.  [ Desktop-Icon View
  63.  [ CMD.EXE
  64.  
  65. Now hide the Session from the CTRL-ESC:
  66.  > tasklist -v CMD.EXE
  67.  
  68.  < CMD.EXE (19) -v +j
  69.  
  70.  [ Desktop-Icon View
  71.  
  72. CMD.EXE is not in the CTRL-ESC list but you can 
  73. still press ALT-TAB to get to it.
  74.  
  75. Now take the Session out of the ALT-TAB cycle:
  76.  > tasklist -j CMD.EXE
  77.  
  78.  < CMD.EXE (19) -v -j
  79.  
  80. Now you can't get to CMD.EXE via ALT-TAB
  81.  
  82. Restore CMD.EXE back to task list and ALT-TAB cycle:
  83.  > tasklist +v +j CMD.EXE
  84.  
  85.  < CMD.EXE (19) +v +j
  86.  
  87. List again:
  88.  > tasklist
  89.  
  90.  < Switch to (1): -v -j
  91.  < CMD.EXE (19): +v +j
  92.  < Desktop (12): +v +j
  93.  < Workplace Shell (12): -v -j
  94.  
  95.  [ Desktop-Icon View
  96.  [ CMD.EXE
  97.  
  98.  
  99. Keep in mind, a session that is not in the CTRL-ESC window list or ALT-TAB 
  100. cycle can still be seen and given focus to (via mouse click) if it is not
  101. minimized.  If you truly want to make the process invisible you must start
  102. the session minimized ( start /min ).
  103.  
  104. This program is freeware.
  105.  
  106.  
  107. DISCLAIMER OF WARRANTY
  108. ======================
  109.  
  110. THIS SOFTWARE IS DISTRIBUTED "AS IS" AND WITHOUT WARRANTIES AS TO
  111. PERFORMANCE OR ANY OTHER WARRANTIES WHETHER EXPRESSED OR IMPLIED.
  112. BECAUSE OF THE VARIOUS HARDWARE AND SOFTWARE ENVIRONMENTS INTO WHICH
  113. THIS PROGRAM MAY BE PUT, NO WARRANTY OF FITNESS FOR A PARTICULAR 
  114. PURPOSE IS OFFERED.  THE USER MUST ASSUME THE ENTIRE RISK OF 
  115. USING THE PROGRAM.
  116.