In this dialog, you can determine which non-PM
sessions will be closed automatically
during Desktop restart or the eXtended Shutdown and which method will be used to close them.
Note that whatever you specify here only applies
to non-PM sessions; PM windows will never be closed by the methods you specify here.
"Non-PM sessions" is the term used here for all sessions which are not controlled
by Presentation Manager, i.e. &os2; and DOS text-mode sessions in a VIO window or in full-screen
mode as well as &winos2; sessions.
See Session types for more information.
The settings you specify here will override the "Auto-close non-PM sessions" setting
on the Desktop's main notebook page.
In order to specify the close method for a certain session, perform the following steps:
- Press the "New" button to create a new item, which will initially be titled "???".
- Enter the title of the session which you wish to configure in the respective
entry field. You must enter the title of the session exactly as it appears in the
&os2; task list (or VIO window title), so the best method to achieve this is to open
the session and to reproduce this title in the entry field.
You may however abbreviate the title, and the session title comparison during Shutdown
or Desktop restart is NOT case-sensitive.
Here is an example: if you wish to close the session titled
"&os2; window (CMD.EXE)",
you may enter either "&os2;", "os/2 window (cmd.exe)"
or "&os2; WiNdOw". All of these entries will work. You should however enter
more than just a few characters, because otherwise &xshutdown; might apply your settings
to a different session which has the same leading characters.
- You may then select what &xshutdown; should do with this session:
- "Skip session" will not close the session, but skip it, as if you
had pressed the "Skip" button in the &xshutdown; status window.
- "Close PM window" will simulate selecting the "Close" menu
item in the session's system menu. This should work for VIO windows as well as
full-screen sessions, because the latter session type is also represented by a
minimized icon on the Desktop. This might however result in yet another
(regular &os2;) confirmation window whether the session should really be closed.
- "Kill session" will kill the session without further discussion.
This invokes the
DosKillProcess
API on the session's process.
Note that neither of these methods will save the data of the session. If you wish
to have the data of a certain session saved, you should not enter its title in this
dialog, and you should neither have "Auto-close non-PM sessions" checked on the Desktop
main notebook page.