What is the Session window?

The Session window displays the text output of your analysis, such as statistical test results and related notes or error messages. By default, the Session window is directly below the main menu bar and directly above the worksheet when you start Minitab.

Basic things you can do in the Session window

The following table lists some simple tasks that you can do in the Session window. For other tasks, refer to the remainder of this topic.

Task Instructions
Move to the previous command or the next command in the Session window With the Session window active, choose Editor > Previous Command or Editor > Next Command.
Find and replace text in the Session window With the Session window active, choose Editor > Find or Editor > Replace.
Display columns, constants, and matrices Choose Data > Display Data and choose the items to display.
Cut, copy, and paste text Select the text and choose Edit > Cut, Edit > Copy, or Edit > Paste.
Add a comment Click where you want to add a comment and type the comment.
Add a section of the Session window to the ReportPad Click in the section, then right-click and choose Append Section to Report.
Tip

To select a column of output in the Session window, press the Alt key while you drag to select the column.

Enable the command prompt (MTB>) to view and generate command language

When the command prompt MTB> is enabled, you can view the command language used to generate the output and type session commands at the active prompt. The MTB> command prompt doesn't appear until you enable it.

Enable the command prompt for the current session

To have the command prompt enabled for the current session of Minitab, do the following:

  1. Click in the Session window to activate it.
  2. Choose Editor > Enable Commands.

The MTB> prompt is the last line in the Session window.

Note

To disable the command prompt, choose Editor > Enable Commands again to deselect it.

Enable the command prompt for all sessions

To have the command prompt enabled every time you start Minitab, do the following:

  1. Choose Tools > Options > Session Window > Submitting Commands.
  2. Under Command Language, choose Enable.
  3. Click OK.

Create a keyboard shortcut for quickly enabling the command prompt

  1. Choose Tools > Customize.
  2. Click the Keyboard tab.
  3. From Category, choose Session Editor Menu.
  4. Under Commands, choose Enable Commands.
  5. Click in the Press New Shortcut Key field, then press Ctrl+Q.
  6. Click Assign and close the window.

When the Session window is active, you can press Ctrl+Q to enable the command prompt.

Modify the text fonts

The Session window uses different fonts to distinguish elements and to make output easier to read.

  • Lines 1 and 3 are the Title font.
  • Lines 2, 4, and 5 are the I/O font.
  • Line 6 is the Comment font.

You can modify these fonts in the following ways:

  • To edit any of these fonts, choose Tools > Options > Session Window and then choose the font to edit.
  • To apply one of the Session window fonts to the selected text, choose Editor > Apply Font and then choose the font to apply.

Delete the contents of the Session window

You can select and delete the contents directly in the Session window, or you can delete contents from the Project Manager. To delete contents from the Project Manager, follow these steps:

  1. Choose Window > Project Manager.
  2. Right-click the Session folder and choose Clear Window.

Stop the output from wrapping to the next line

You can prevent the Session window output from wrapping by increasing the number of spaces available on each line. The maximum width is 132. The minimum width is 30. A width of 80 works well on most computers. A width of 70 produces narrow output for use in reports. If you choose a value less than 70, some commands will not conform to your specified width.

Modify the width of the output for the current session

Follow these steps to change the width of the Session window output for the subsequent analyses in this session of Minitab.

  1. Choose Edit > Command Line Editor.
  2. Type OW followed by the width. For example, for a width of 90 characters, type OW 90.
  3. Click Submit Commands.

Modify the width of the output for all sessions

Follow these steps to change the width of the Session window output for all subsequent sessions of Minitab.

  1. Choose Tools > Options > Session Window > Output.
  2. In Line Width, enter a different line width.
  3. Click OK.
By using this site you agree to the use of cookies for analytics and personalized content.  Read our policy