01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

UA ( 4) (AT&T UNIX PC only ) UA ( 4)<br />

The following keywords can be used in a menu objects file:<br />

Name = Object name<br />

The object name is used when the menu is displayed. For<br />

example, the initial Office menu display consists of those<br />

names that are defined in the menu objects file<br />

/usr/lib/ua/Office. The object name should be rela- �<br />

tively short.<br />

Expert If the Expert keyword is present, then the menu item is<br />

only displayed in expert mode. For example, the UNIX<br />

object in the Office menu has this keyword in its<br />

definition.<br />

MultiUser<br />

If the MultiUser keyword is present, then the menu item<br />

is only displayed in Multi-user mode. Multi-user mode can<br />

be changed via the user agent preferences form.<br />

Default = Command<br />

Specifies which command is the default (typically Open or<br />

Run).<br />

Open = Action specification<br />

The action specification defines what to do when the<br />

object is selected from the menu (or optionally when the<br />

object is opened via the user agent Open command). It<br />

typically involves creating a window and executing a process.<br />

(See the "Action Specifications" section below for<br />

details).<br />

Keyword = Action specification<br />

The remaining keywords that may be defined are all of<br />

this form. They are taken from the set of user agent commands<br />

listed in the section "Objects and Actions," and<br />

are optional . They should only be defined when the<br />

desired action differs from the default action.<br />

In general, Help is the only additional keyword defined. It is not<br />

desirable to allow the user to perform actions such as Copy,<br />

Create, Delete, Move, or Rename on menu objects. Those capabilities<br />

are generally provided via install and remove scripts. Experienced<br />

users, using the Bourne shell and a text editor, can create,<br />

delete, and rename objects at will.<br />

Action Specifications<br />

The action specification always starts with one of the following<br />

pseudo-commands:<br />

Command Arguments<br />

UA<br />

FM<br />

FO<br />

EXEC<br />

SH<br />

ERROR<br />

Menu objects file<br />

Directory<br />

Files<br />

File to execute<br />

File to execute as shell script<br />

String to display in message window<br />

- 6 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!