09.06.2013 Views

Intel XENIX 286 Programmers Guide (86) - Tenox.tc

Intel XENIX 286 Programmers Guide (86) - Tenox.tc

Intel XENIX 286 Programmers Guide (86) - Tenox.tc

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>XENIX</strong> Programming sees: Source Code Control System<br />

If you create an s-file without giving the -a option, the user list is left empty and all<br />

users may access and edit the files. When you explicitly give a user name or names,<br />

only those users can access the files.<br />

Removing a User from a User List<br />

You can remove a user or a group of users from the user list of a given s-file by using<br />

the -e option of the admin command. The option is similar to the -a option but performs<br />

the opposite operation. The command has the form<br />

admin -ename s. filename<br />

where -ename gives the login name of a user or the group name of a group of users to be<br />

removed from the list, and s.filename is the name of the s-file from which the names<br />

are to be removed. For example, the command<br />

admin -ejohnd -emarketing s.demo.c<br />

removes the user "johnd" and the group "marketing" from the user list of the s-file<br />

s.demo.c.<br />

Setting the Floor Flag<br />

The floor flag, f, defines the release number of the lowest version a user may edit in a<br />

given s-file. You can set the flag by using the -f option of the admin command. For<br />

example, the command<br />

admin -ff2 s.demo.c<br />

sets the floor to release number 2. If you attempt to retrieve any versions with release<br />

numbers less than 2, an error will result.<br />

Setting the Ceiling Flag<br />

The ceiling flag, c, defines the release number of the highest version a user may edit in<br />

a given s-file. You can set the flag by using the -f option of the admin command. For<br />

example, the command<br />

admin -fcS s.demo.c<br />

sets the ceiling to release number 5. If you attempt to retrieve any versions with<br />

release numbers greater than 5, an error will result.<br />

5-23

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

Saved successfully!

Ooh no, something went wrong!