Prism 6.0 Reference Manual

DESCRIPTION

The fg command is available only in the commands-only version of MP Prism, or if you are using graphical Prism without an Xterm for I/O.

Use the fg command to bring your executable program into the foreground. When you execute a message-passing program in the commands-only version of MP Prism, the program starts up in the background. You would need to bring it into the foreground if it needs to read terminal input. You cannot execute Prism commands while the program is executing in the foreground.

To have the program run in the background again and regain the (prism) prompt, type Ctrl-z.