Intel XENIX 286 Programmers Guide (86) - Tenox.tc
Intel XENIX 286 Programmers Guide (86) - Tenox.tc Intel XENIX 286 Programmers Guide (86) - Tenox.tc
XENIX Programming sees: Source Code Control System where -rrel-num gives the value of the starting release number, and s.filename is the name of the s-file to be created. For example, the command admin -idemo.c -r3 s.demo.c starts with release number 3. The first version is 3.1. Adding a Comment to the First Version You can add a comment to the first version of a file by using the -y option of the admin command when creating the s-file. For example, the command admin -idemo.c -y''George Wheeler" s.demo.c inserts the comment "George Wheeler" in the new s-file s.demo.c. The comment may be any combination of letters, digits, and punctuation symbols. If spaces are used, the comment must be enclosed in double quotes. The complete command must fit on one line. If the -y option is not used when creating an s-file, a comment of the form date and ti me created YY/MM/DD HH:MM :SS by logname is automatically inserted. Suppressing Normal Output You can suppress the normal display of messages created by the get command by using the -s option. The option prevents information, such as the SID of the retrieved file, from being copied to the standard output. The option does not suppress error messages. The -s option is often used with the -p option to pipe the output of the get command to other commands. For example, the command get -p -s s.demo.c I I pr copies the most recent version in the s-file s.demo.c to the line printer. You can also suppress the normal output of the delta command by using the -s option. This option suppresses all output normally directed to the standard output, except for the normal comment prompt. 5-27
SCCS: Source Code Control System XENIX Programming Including and Excluding Deltas You can explicitly define which deltas you wish to include and which you wish to exclude when creating a g-file by using the -i and -x options of the get command. The -i option causes the command to apply the given deltas when constructing a version. The -x option causes the command to ignore the given deltas when constructing a version. Both options must be followed by one or more SIDs. If multiple SIDs are given, they must be separated by commas (,). A range of SIDs may be given by separating two SIDs with a hyphen (-). For example, the command get -i 1.2, 1.3 s.demo.c causes deltas 1.2 and 1.3 to be used to construct the g-file. The command get -x1.2-1.4 s.demo.c causes deltas 1.2 through 1.4 to be ignored when constructing the file. The -i option is useful if you wish to apply the same changes to more than one version. For example, the command get -e -i4. 1 -r3.3 s.demo.c retrieves version 3.3 for editing. When the file is retrieved, the changes in delta 4.1 are automatically applied to it, making the g-file the same as if version 3.3 had been edited by hand using the changes in delta 4.1. These changes can be saved immediately by issuing a delta command. No editing is required. The -x option is useful if you wish to remove changes performed on a given version. For example, the command get -e -x 1.5 -r1.6 s.demo.c retrieves version 1.6 for editing. When the file is retrieved, the changes in delta 1.5 are automatically left out of it, making the g-file the same as if version 1.4 had been changed according to delta 1.6 (with no intervening delta 1.5). These changes can be saved immediately by issuing a delta command. No editing is required. When deltas are included or excluded, get compares them with the deltas normally used in constructing the given version. If two deltas attempt to change the same line of the retrieved file, the command displays a warning message. The message shows the range of lines in which the problem may exist. Corrective action, if required, is the responsibility of the user. 5-28
- Page 41 and 42: lint: C Program Checker XENIX Progr
- Page 43 and 44: lint: C Program Checker XENIX Progr
- Page 45 and 46: lint: C Program Checker XENIX Progr
- Page 47 and 48: lint: C Program Checker XENIX Progr
- Page 49 and 50: lint: C Program Checker XENIX Progr
- Page 51 and 52: lint: C Program Checker XENIX Progr
- Page 53 and 54: make: Program Maintainer XENIX Prog
- Page 55 and 56: make: Program Maintainer XENIX Prog
- Page 57 and 58: make: Program Maintainer XENIX Prog
- Page 59 and 60: make: Program Maintainer XENIX Prog
- Page 61 and 62: make: Program Maintainer XENIX Prog
- Page 63 and 64: make: Program Maintainer XENIX Prog
- Page 65 and 66: make: Program Maintainer print: $(F
- Page 67 and 68: SCCS: Source Code Control System XE
- Page 69 and 70: SCCS: Source Code Control System XE
- Page 71 and 72: SCCS: Source Code Control System XE
- Page 73 and 74: SCCS: Source Code Control System XE
- Page 75 and 76: SCCS: Source Code Control System XE
- Page 77 and 78: SCCS: Source Code Control System XE
- Page 79 and 80: SCCS: Source Code Control System XE
- Page 81 and 82: SCCS: Source Code Control System XE
- Page 83 and 84: SCCS: Source Code Control System XE
- Page 85 and 86: SCCS: Source Code Control System XE
- Page 87 and 88: SCCS: Source Code Control System XE
- Page 89 and 90: SCCS: Source Code Control System XE
- Page 91: SCCS: Source Code Control System XE
- Page 95 and 96: SCCS: Source Code Control System XE
- Page 98 and 99: CHAPTER 6 adb: PROGRAM DEBUGGER adb
- Page 100 and 101: XENIX Programming adb: Program Debu
- Page 102 and 103: XENIX Programming adb: Program Debu
- Page 104 and 105: XENIX Programming adb: Program Debu
- Page 106 and 107: XENIX Programming adb: Program Debu
- Page 108 and 109: XENIX Programming adb: Program Debu
- Page 110 and 111: XENIX Programming adb: Program Debu
- Page 112 and 113: XENIX Programming adb: Program Debu
- Page 114 and 115: XENIX Programming adb: Program Debu
- Page 116 and 117: XENIX Programming int fcnt,gcnt,hcn
- Page 118 and 119: XENIX Programming adb: Program Debu
- Page 120 and 121: XENIX Programming adb: Program Debu
- Page 122 and 123: XENIX Programming adb: Program Debu
- Page 124 and 125: XENIX Programming adb: Program Debu
- Page 126 and 127: XENIX Programming adb: Program Debu
- Page 128: XENIX Programming adb: Program Debu
- Page 131 and 132: as: A sse m bier XENIX Programming
- Page 133 and 134: as: Assembler XENIX Programming The
- Page 135 and 136: as: Assembler XENIX Programming Key
- Page 137 and 138: as: Assembler The combination rules
- Page 139 and 140: as: Assembler XENIX Programming Ins
- Page 141 and 142: as: Assembler Initial Value Directi
<strong>XENIX</strong> Programming sees: Source Code Control System<br />
where -rrel-num gives the value of the starting release number, and s.filename is the<br />
name of the s-file to be created. For example, the command<br />
admin -idemo.c -r3 s.demo.c<br />
starts with release number 3. The first version is 3.1.<br />
Adding a Comment to the First Version<br />
You can add a comment to the first version of a file by using the -y option of the admin<br />
command when creating the s-file. For example, the command<br />
admin -idemo.c -y''George Wheeler" s.demo.c<br />
inserts the comment "George Wheeler" in the new s-file s.demo.c.<br />
The comment may be any combination of letters, digits, and punctuation symbols. If<br />
spaces are used, the comment must be enclosed in double quotes. The complete<br />
command must fit on one line.<br />
If the -y option is not used when creating an s-file, a comment of the form<br />
date and ti me created YY/MM/DD HH:MM :SS by logname<br />
is automatically inserted.<br />
Suppressing Normal Output<br />
You can suppress the normal display of messages created by the get command by using<br />
the -s option. The option prevents information, such as the SID of the retrieved file,<br />
from being copied to the standard output. The option does not suppress error messages.<br />
The -s option is often used with the -p option to pipe the output of the get command to<br />
other commands. For example, the command<br />
get -p -s s.demo.c I I pr<br />
copies the most recent version in the s-file s.demo.c to the line printer.<br />
You can also suppress the normal output of the delta command by using the -s option.<br />
This option suppresses all output normally directed to the standard output, except for<br />
the normal comment prompt.<br />
5-27