5.3 Command Syntax
You can perform some of the same SEA operations using more than one command variation, or syntax, and you can switch among the different syntaxes at any time:
- New common syntax (the default after install)
- Old common syntax
- Tru64 UNIX DECevent emulation
- OpenVMS DECevent emulation
This chapter describes the new common syntax, which supports all SEA functions and is the default after installation. For reference, the older syntaxes are detailed in Appendix E.
To use a syntax other than the current default, you must include a syntax designator in the command (see Table 5–1).
Table 5–1 wsea Syntax Designators Syntax Designator Example New common syntax n Old common syntax x wsea x DECevent emulator
(Tru64 UNIX) u wsea u DECevent emulator
(OpenVMS) v wsea v
1 The new common syntax is the default after install, so the "n" is not required unless the default is changed.
5.3.1 Showing the Default Syntax
To show the current default syntax, issue the following command:
wsea syntax5.3.2 Changing the Default Syntax
The new common syntax is the default when SEA is installed, so any new common syntax commands do not initially require the "n" designator.
To use another syntax without needing a designator, change the default with the following command plus a designator from Table 5–1:
wsea syntax syntax_designatorFor example, to make the Tru64 UNIX DECevent emulator the default, enter the following:
wsea syntax uAfterwards, UNIX DECevent emulator commands no longer need the "u" designator, but new common syntax commands now require the "n" designator.
Changing the default affects all users logged onto a system, so it can impact your session if someone else changes the default without telling you.
When there are multiple users logged onto a system, you can play it safe and avoid confusion by always including the designator whenever a command is available in multiple syntaxes (regardless of what you think the current default may be).