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

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

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

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

Adding Mod ification Requests<br />

You can add modification requests to an s-file, when the v flag is set, by using the -m<br />

option of the delta and admin commands. A modification request is a shorthand method<br />

of describing the reason for a particular version. Modification requests are usually<br />

names or numbers that the user has chosen to represent a specific request.<br />

The -m option causes the given command to save the requests following the option. A<br />

request may be any combination of letters, digits, and punctuation symbols. If spaces<br />

are used, you must enclose the request in double quotes. For example, the command<br />

delta -m" error35 optimize10" s.demo.c<br />

copies the requests "error35" and "optimizelO" to s.demo.c while saving the new version.<br />

The -m option when used with the admin command must be combined with the -i option.<br />

Furthermore, the v flag must be explicitly set with the -f option. For example, the<br />

command<br />

admin -idef.h -m" errorO" -fv s.def.h<br />

inserts the modification request "errorO" in the new file s.def.h.<br />

The delta command does not prompt for modification requests if you use the -m option.<br />

Changing Mod ification Requests<br />

You can change modification requests, when the v flag is set, by using the cdc<br />

command. The command asks for a list of modification requests by displaying the<br />

prompt<br />

MRs?<br />

You may type any number of requests. Each request may have any combination of<br />

letters, digits, or punctuation sy mbols. No more than 512 characters are allowed and<br />

the last request must be terminated with a newline character. If you wish to remove a<br />

request, you must precede the request with an exclamation mark (!). For example, the<br />

command<br />

cdc -r1.4 s.demo.c<br />

asks for changes to the modification requests. The response<br />

MRs? error36 !error3 5<br />

adds the request "error36" and removes "error35".<br />

5-18

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

Saved successfully!

Ooh no, something went wrong!