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 Retrieving the Most Recent Version You can always retrieve the most recent version of a file by using the -t option with the get command. For example, the command get -t s.demo.c retrieves the most recent version from the file s.demo.c. You may combine the -r and -t options to retrieve the most recent version of a given release number. For example, if the most recent version with release number 3 is 3.5, then the command get -r3 -t s.demo.c retrieves version 3.5. If a branch version exists that is more recent than version 3.5 (e.g., 3.2.1.5}, then the above command retrieves the branch version and ignores version 3.5. Displaying a Version You can display the contents of a version at the standard output by using the -p option of the get command. For example, the command get -p s.demo.c displays the most recent version in the s-file s.demo.c at the standard output. Similarly, the com mand get -p -r2. 1 s.demo.c displays version 2.1 at the standard output. The -p option is useful for creating g-files with user-supplied names. Since this option also directs all output normally sent to the standard output, such as the SID of the retrieved file, to the standard error output, the resulting file contains only the contents of the given version. For example, the command get -p s.demo.c >version.c copies the most recent version in the s-file s.demo.c to the file version.c. The SID of the file and its size are copied to the standard error output. 5-11
SCCS: Source Code Control System XENIX Programming Saving a Copy of a New Version The delta command normally removes the edited file after saving it in the s-file. You can save a copy of this file by using the -n option of the delta command. For example, the command delta -n s.demo.c first saves a new version in the s-file s.demo.c and then saves a copy of the source version in the file demo.c. You may then display the source file as desired, but you cannot edit it. Displaying Helpful Information An SCCS command displays an error message whenever it encounters an error in a file. An error message has the form ERROR [filename ]: message ( code ) where filename is the name of the file being processed, message is a short description of the error, and code is the alphanumeric error code. You may use the error code as an argument to the help command to display additional information about the error. The command has the form help code where code is the error code given in an error message. The command displays one or more lines of text that explain the error and suggest a possible remedy. For example, the command helpco1 displays the message co1: "not an sees file" A file that you think is an sees file does not begin with the characters "s.". Use the help command whenever you have doubt about the meariing of an error message. 5-12
- Page 25 and 26: cc: C Compiler XENIX Programming Th
- Page 27 and 28: cc: C Compiler XENIX Programming Co
- Page 29 and 30: cc: C Compiler XENIX Programming Sa
- Page 31 and 32: cc: C Compiler XENIX Programming Us
- Page 33 and 34: cc: C Compiler XENIX Programming Wh
- Page 35 and 36: cc: C Compiler XENIX Programming Co
- Page 37 and 38: cc: C Compiler XENIX Programming d
- Page 39 and 40: cc: C Compiler XENIX Programming Se
- 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: 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 and 92: SCCS: Source Code Control System XE
- Page 93 and 94: 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
SCCS: Source Code Control System <strong>XENIX</strong> Programming<br />
Saving a Copy of a New Version<br />
The delta command normally removes the edited file after saving it in the s-file. You<br />
can save a copy of this file by using the -n option of the delta command. For example,<br />
the command<br />
delta -n s.demo.c<br />
first saves a new version in the s-file s.demo.c and then saves a copy of the source<br />
version in the file demo.c. You may then display the source file as desired, but you<br />
cannot edit it.<br />
Displaying Helpful Information<br />
An SCCS command displays an error message whenever it encounters an error in a file.<br />
An error message has the form<br />
ERROR [filename ]: message ( code )<br />
where filename is the name of the file being processed, message is a short description of<br />
the error, and code is the alphanumeric error code.<br />
You may use the error code as an argument to the help command to display additional<br />
information about the error. The command has the form<br />
help code<br />
where code is the error code given in an error message. The command displays one or<br />
more lines of text that explain the error and suggest a possible remedy. For example,<br />
the command<br />
helpco1<br />
displays the message<br />
co1:<br />
"not an sees file"<br />
A file that you think is an sees file<br />
does not begin with the characters "s.".<br />
Use the help command whenever you have doubt about the meariing of an error message.<br />
5-12