home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / SESSMUM.ZIP / README < prev    next >
Text File  |  1990-05-20  |  4KB  |  96 lines

  1.  A full-screen session controller
  2.  
  3. sessmum and sesskid make a convenient full-screen session switching mechanism.
  4.  
  5. sessmum sets up a small shared-memory segment, and creates sessions of
  6. "sesskid". Each sesskid brings up a "cmd" kid, and intercepts keyboard
  7. input with DosMon....
  8.  
  9. The print-screen key is used to mean "switch to the last session I was in"
  10. The Alt-print-screen is used to round-robin the sessions currently up
  11. The (Left) Shift- (Left) Control keys together are used to bring up QQ's
  12.    pop-up window.
  13.    From here there are are basically 3 sub-functions:
  14.       Switch directly to a numbered session by typing that number
  15.          (The session will be created if it doesn't yet exist)
  16.          (session 0 is "sessmum" itself - it doesn't do much right now - I was
  17.          going to put more stuff in it - maybe one day I will - at the moment
  18.          it merely prints a few process ID's and asks you if you want to quit!)
  19.  
  20.       Use the primitive calculator by typing "?"
  21.          (yes, it's integers only but sometimes it's kind of convenient)
  22.          F3 picks up characters under the cursor in the calculator window
  23.          and places them in the keyboard-buffer - see next paragraph.
  24.  
  25.       Use or edit a Quick-Key:
  26.          These are F1-F9 or a-z
  27.          Use page up-down to page through them
  28.          curse up to the key you want to use and just type -
  29.             (say you types "Hello World" in F3 now hit escape -
  30.             next time you can hit "Ctrl-Shift-F3" and "Hello World" will
  31.             get stuffed in your keystroke buffer)
  32.          The last page is unlabelled and consists of what you last typed
  33.             (ignoring control chars, and delimited by carriage-return)
  34.          If you find yourself typing "DB SS:SP" more than once you can do this:
  35.             Hit Ctrl-Shift-Space - this pops up into the un-named red page
  36.             Curse up to where you see "DB SS:SP"
  37.             Hit Alt-E - this brings the line into the bottom field
  38.             (You might at this stage want to hit Page-Up a time or two..)
  39.             Hit Alt-N
  40.             Hit any alpha or function (F1-F9) - say you hit "S"
  41.             You will now have the line in the "S" field - now hit escape
  42.             Now you can repeat "DB SS,SP" merely by hitting Ctrl-Shift-S
  43.          There are more little things you will notice, but one more thing:
  44.             "^m" (for example) plugs a carriage return, so you might want to
  45.             exit the "S" field to be "DB SS:SP^m"
  46.  
  47.          Note: The named quick-keys are shared between sessions, the un-named
  48.             last-typed fields are session-local
  49.  
  50.          These keys can be primed at boot from a file with the "-q" or "-Q"
  51.             option (If you specify "-Q" then the file gets written back
  52.             to disc whenever you change a named Quick-key)
  53.  
  54.          Last point:
  55.             if you preset an option field "SESSION=*" (actually any character
  56.             may be used instead of '*') then QQ plugs the sesssion number in
  57.             here, allowing you to test "IF %SESSION%=1 ...." in your
  58.             os2init.cmd file.
  59.             (I use it to print a different coloured border)
  60.  
  61.  
  62.       Options:
  63.          -q or -Q file  the file of preset Quick-keys, containing eg:
  64.                            set F1 hello world
  65.                            set S  DB SS,SP^m
  66.  
  67.          -p file        the full name of sesskid
  68.          -s "sess<*>"   the Task manager's name (with session # plugged)
  69.          -2 up to -9    causes 2 (or more) sessions to be started
  70.          -k "parms-to-sesskid"  passes the string to sesskid
  71.              parms for sesskid:
  72.                   -c  cmd_name  cmd_startup_string
  73.                   (e.g. -c cmd.exe /k os2init)
  74.  
  75.  
  76.  
  77. I have (more-or-less) the following line in my startup.cmd:
  78.  
  79.  
  80. start /n /fs d:\sessmum.exe -q d:\qkdata -p d:\sesskid.exe -s"sess<*>"
  81.           -k "-c c:\os2\cmd.exe /k os2init" -2
  82. (sorry I had to show it in 2 lines)...
  83.  
  84.  
  85. One more point - if you switch to (say) Dos with Ctrl-Escape, and then switch
  86.      back to a different sesskid, sessmum doesn't know this and gets a little
  87.      confused for a while - If you just switch back to "sessmum" you should
  88.      end up in the expected sesskid session 
  89.  
  90. One last point - don't try to run sessmum from two sessions - he'll either bomb
  91.      or just get confused!
  92.  
  93.  
  94. good luck  .......
  95.  
  96.