Name

plush - ProLine Users Shell

Syntax

plush

Description

Plush is a simple, flexible, and friendly shell environment for the typical ProLine user. It employs a menu-style interface offering access to resources that one would only be able to access from a more powerful shell, such as csh.

Using PLUSH


When plush is invoked, it presents a menu of commands. After a selection is made, the appropriate task is performed. This can involve launching an application or performing an internal function within plush, such as going into a submenu. Upon exiting a launched application, plush resumes, displaying the last menu presented.

Special keys: To back out of a submenu and return to a previous menu, press a “backup” key. A backup key is any control character other than the user’s cancel (interrupt) key. The backspace or RETURN keys are suggested as backup keys. Pressing a cancel key halts a process and returns to the current menu prompt. Pressing ‘?’ shows a list of a menu’s commands. The ‘+’ and ‘-’ keys toggle —More— prompting.

Plush can ask for a line of input as an argument to some menu functions. For example, some disk utilities would require the name of a file to act upon. Plush recognizes the characters $/ in inputs as a variable which expands to the ProLine system directory (just like in csh).

Plush Menus


Menus are defined in a plush menu file. When invoked, plush attempts to locate a menu file in this order:

1.

A file named “plush.m” in the user’s $/adm directory.

2.

A file named “plush.m.#”, where # is the group ID of the user, in $tmpdir.

3.

A file named “plush.m” in $tmpdir.

4.

A file named “plush.m.#”, where # is the group ID of the user, in $/etc.

5.

A file named “plush.m” in $/etc.

This scheme allows the administrator to assign custom menu files to individual users, groups, and others.

Notes

Plush runs faster if it and its menu files are located on a RAM disk.

For details on designing custom menus, see plush(F).

Files

$/adm/*/environs
user’s environment settings,
$tmpdir/plush.env
temporary environment file.

See Also

csh(C), plush(F), setenv(C)