home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / doc / hel / hel3 < prev    next >
Encoding:
Text File  |  1975-06-26  |  12.0 KB  |  558 lines

  1. .h0 "\na.\n+b Basic Program Development Package"
  2. .nr c 0 1
  3. .sp
  4. .in0
  5. A kit of fundamental programming tools.
  6. Some of these utilities are used as integral parts of
  7. the higher level languages described below.
  8. .sh AR
  9. Archive and library maintainer.
  10. Combines several files into one for housekeeping efficiency.
  11. Archive files are used by the link editor LD as libraries.
  12. .op
  13. Create new archive.
  14. .op
  15. Update archive by date.
  16. .op
  17. Replace or delete files.
  18. .op
  19. Table of contents.
  20. .op
  21. Retrieve from archive.
  22. .sh AS
  23. Assembler.
  24. Similar to PAL-11, but different in detail.
  25. .op
  26. Creates object program consisting of
  27. .in+2
  28. .nf
  29. code, possibly read-only,
  30. initialized data or read-write code,
  31. uninitialized data.
  32. .in -2
  33. .fi
  34. .op
  35. Relocatable object code is directly executable without
  36. further transformation.
  37. .op
  38. Object code normally includes a symbol table.
  39. .op
  40. Combines source files.
  41. .op
  42. Local labels.
  43. .op
  44. Conditional assembly.
  45. .op
  46. \*(lqConditional jump\*(rq instructions become
  47. branches or branches plus jumps depending on distance.
  48. .sh Manual
  49. Printed manual for the assembly language.
  50. .sh Library
  51. The basic run-time library.
  52. These routines are used freely by all system software.
  53. .op
  54. Formatted writing on standard output.
  55. .op
  56. Time conversions.
  57. .op
  58. Convert integer and floating numbers to ASCII and vice versa.
  59. .op
  60. Elementary functions: sin, cos, log, exp, atan, sqrt, gamma.
  61. .op
  62. Password encryption.
  63. .op
  64. Quicksort.
  65. .op
  66. Buffered character-by-character I/O.
  67. .op
  68. Random number generator.
  69. .op
  70. Floating point interpreter for 11/40's and non-floating point
  71. machines.
  72. .sh (LIBP)
  73. An elaborated I/O library.
  74. .op
  75. Formatted input and output.
  76. .op
  77. Ability to put characters back into input streams.
  78. .sh Manual
  79. Printed manual for LIBP.
  80. .sh DB
  81. Interactive post-mortem debugger.
  82. Works on core dump files, such as are produced by all
  83. program aborts, on object files, or on any arbitrary file.
  84. .op
  85. Symbolic addressing of files that have symbol tables.
  86. .op
  87. Octal, decimal or ASCII output.
  88. .op
  89. Symbolic disassembly.
  90. .op
  91. Octal or decimal patching.
  92. .sh OD
  93. Dump any file.
  94. .op
  95. Output options include:
  96. .in+2
  97. octal or decimal by words,
  98. .br
  99. octal by bytes,
  100. .br
  101. ASCII,
  102. .br
  103. opcodes,
  104. .br
  105. hexadecimal,
  106. .br
  107. any combination of the above.
  108. .op
  109. Range of dumping is controllable.
  110. .sh LD
  111. Link edit.
  112. Combine relocatable object files.
  113. Insert required routines from specified libraries.
  114. .op
  115. Resulting code may be sharable.
  116. .op
  117. Resulting code may have separate instruction and data spaces.
  118. .sh NM
  119. Print the namelist (symbol table) of an object program.
  120. Provides control over the style and order of
  121. names that are printed.
  122. .sh SIZE
  123. Report the core requirements
  124. of one or more object files.
  125. .sh STRIP
  126. Remove the relocation and symbol table information from
  127. an object file to save space.
  128. .sh TIME
  129. Run a command and report timing information on it.
  130. .sh PROF
  131. Construct a profile of time spent per routine
  132. from statistics gathered by time-sampling the
  133. execution of a program.
  134. Uses floating point.
  135. .op
  136. Subroutine call frequency and average times for C programs.
  137. .h0 "\na.\n+b The Programming Language ``C''"
  138. .nr c 0 1
  139. .nr b 0 1
  140. .sh CC
  141. Compile and/or link edits programs in the C
  142. language.
  143. The U\s8NIX\s10 operating system, most of the
  144. subsystems and C itself are written in C.
  145. .op
  146. Full general purpose language
  147. designed for structured programming.
  148. .op
  149. Data types:
  150. .nf
  151. .in+2
  152. character,
  153. integer,
  154. float,
  155. double,
  156. pointers to all types,
  157. arrays of all types,
  158. structures of all types,
  159. functions returning all types.
  160. .in-2
  161. .fi
  162. .op
  163. Operations intended to give
  164. access to full machine facility, including to-memory
  165. operations and data-sensitive
  166. pointer arithmetic.
  167. .op
  168. Macro preprocessor for parameterized code and inclusion of
  169. standard files.
  170. .op
  171. All procedures recursive, with parameters by value.
  172. .op
  173. Natural coercions.
  174. .op
  175. True compiled object code capitalizing on
  176. addressing capability of the PDP11.
  177. .op
  178. Runtime library gives access to all system facilities.
  179. .sh Manuals
  180. Printed manual and tutorial for the C language.
  181. .sh CDB
  182. An interactive debugger tailored for use with C.
  183. .op
  184. Usable in real time or post-mortem.
  185. .op
  186. The debugger is a completely separate process from the debuggee.
  187. No debugging code is loaded with debuggee.
  188. .op
  189. Prints all kinds of data in natural notation:
  190. .nf
  191. .in+2
  192. character,
  193. integer (octal and decimal),
  194. float,
  195. double,
  196. machine instructions (disassembled).
  197. .in -2
  198. .fi
  199. .op
  200. Stack trace and fault identification.
  201. .op
  202. Breakpoint tracing.
  203. .h0 "\n+a Other Languages"
  204. .nr b 0 1
  205. .h0 "\na.\n+b FORTRAN"
  206. .sh FC
  207. Compile and/or link-edit FORTRAN IV programs.
  208. Object code is \*(lqthreaded\*(rq.
  209. Relies heavily on floating point.
  210. .op
  211. Idiosyncracies:
  212. .nf
  213. .in+2
  214. free form, lower-case source code,
  215. no arithmetic statement functions,
  216. unformatted I/O requires record lengths agree,
  217. no BACKSPACE,
  218. no P FORMAT control on input.
  219. .in-2
  220. .fi
  221. .op
  222. Handles mixed-mode arithmetic,
  223. general subscripts and general DO limits.
  224. .op
  225. 32-bit integer arithmetic.
  226. .op
  227. Free format numeric input.
  228. .op
  229. Understands these nonstandard specifications:
  230. .in+2
  231. LOGICAL*1, *2, *4,
  232. .br
  233. INTEGER*2, *4,
  234. .br
  235. REAL*4, *8,
  236. .br
  237. COMPLEX*8, *16,
  238. .br
  239. IMPLICIT.
  240. .in-2
  241. .fi
  242. .sh RC
  243. ``Ratfor'', a preprocessor that adds rational
  244. control structure \o'a\(ga' la C to FORTRAN.
  245. .op
  246. Else, for, while,
  247. repeat...until
  248. statements.
  249. .op
  250. Symbolic constants.
  251. .op
  252. File insertion.
  253. .op
  254. Compound statements.
  255. .op
  256. Can produce genuine FORTRAN to carry away.
  257. .sh Manual
  258. Printed manual for Ratfor.
  259. .h0 "\na.\n+b Other Algorithmic Languages"
  260. .nr c 0 1
  261. .sh BAS
  262. An interpreter, similar in style to BASIC, that allows
  263. immediate execution of unnumbered statements, or deferred
  264. execution of numbered statements.
  265. .op
  266. Statements include:
  267. .in+2
  268. .nf
  269. comment,
  270. dump,
  271. for...next,
  272. goto,
  273. if...else...fi,
  274. list,
  275. print,
  276. prompt,
  277. return,
  278. run,
  279. save.
  280. .fi
  281. .op
  282. All calculations double precision.
  283. .op
  284. Recursive function defining and calling.
  285. .op
  286. Builtin functions include log, exp, sin, cos, atn, int,
  287. sqr, abs, rnd.
  288. .op
  289. Escape to ED for complex program editing.
  290. .op
  291. Usable as a filter.
  292. .sh DC
  293. Programmable reverse Polish desk calculator.
  294. Has named storage locations as well
  295. as conventional stack for holding integers or programs.
  296. .op
  297. Unlimited precision decimal arithmetic.
  298. .op
  299. Appropriate treatment of decimal fractions.
  300. .op
  301. Arbitrary input and output radices, in particular
  302. binary, octal, decimal and hexadecimal.
  303. .op
  304. Operators include:
  305. .in+2
  306. .nf
  307. + \- * /
  308. remainder, power, square root,
  309. load, store, duplicate, clear,
  310. print, enter program text, execute.
  311. .in-2
  312. .fi
  313. .op
  314. Usable as a filter.
  315. .sh BC
  316. A C-like interface to the desk calculator DC.
  317. .op
  318. All the capabilities of DC with a high-level syntax.
  319. .op
  320. Arrays and recursive functions.
  321. .op
  322. Immediate evaluation of expressions and evaluation of
  323. functions upon call.
  324. .op
  325. Arbitrary precision elementary functions:
  326. exp, sin, cos, atan, J\v'.3'\s8n\s10\v'-.3'.
  327. .op
  328. Go-to-less programming.
  329. .op
  330. Usable as a filter.
  331. .sh Manual
  332. Printed manual for BC.
  333. .sh SNO
  334. An interpreter very similar to SNOBOL 3.
  335. .op
  336. Limitations:
  337. .nf
  338. .in+2
  339. function definitions are static,
  340. pattern matches are always anchored,
  341. no built-in functions.
  342. .in-2
  343. .fi
  344. .op
  345. Usable as a filter.
  346. .sh Manual
  347. Reprint of basic article.
  348. .h0 "\na.\n+b Macroprocessing"
  349. .nr c 0 1
  350. .sh M6
  351. A general purpose macroprocessor.
  352. .op
  353. Stream-oriented, recognizes macros anywhere in text.
  354. .op
  355. Integer arithmetic.
  356. .op
  357. Usable as a filter.
  358. .sh Manual
  359. Printed manual for M6.
  360. .h0 "\na.\n+b Compiler-compilers"
  361. .nr c 0 1
  362. .sh TMG
  363. A classical top-down compiler-compiler language.
  364. Provides a formalism for syntax-directed translation.
  365. Produces driving tables to be loaded with a standard
  366. interpreter.
  367. .op
  368. Resulting compilers can have arbitrary tables kept in
  369. paged secondary store.
  370. .op
  371. Integer arithmetic capability.
  372. .op
  373. Syntactic function capability (similar to ALGOL 68
  374. metaproductions).
  375. .sh Manual
  376. Printed manual for the TMG compiler-writing system.
  377. .sh YACC
  378. An LR(1)-based compiler writing system.
  379. During execution of resulting
  380. parsers, arbitrary C-language, Ratfor or FORTRAN functions may be
  381. called to do code generation or semantic actions.
  382. .op
  383. BNF syntax specifications.
  384. .op
  385. Handles precedence relations.
  386. .op
  387. Accepts formally ambiguous grammars
  388. with non-BNF resolution rules.
  389. .op
  390. Optimizes space 
  391. taken by driving tables.
  392. .sh Manual
  393. Printed manual for the YACC compiler-writing system.
  394. .h0 "\n+a Word Processing"
  395. .nr b 0 1
  396. .sh ROFF
  397. A typesetting program for terminals.
  398. Easy for nontechnical people to learn, and good
  399. for most ordinary kinds of documents.
  400. Input consists of data lines intermixed with control lines,
  401. such as
  402. .ta  8n
  403. .ti 10
  404. .li
  405. .sp 2    insert two lines of space
  406. .ti10
  407. .li
  408. .ce    center the next line
  409. .br
  410. .op
  411. Justification of either or both margins.
  412. .op
  413. Automatic hyphenation.
  414. .op
  415. Generalized running heads and feet, with even-odd page
  416. capability, numbering, etc.
  417. .op
  418. Definable macros for frequently used
  419. control sequences (no substitutable arguments).
  420. .op
  421. All 4 margins and page size dynamically adjustable.
  422. .op
  423. Hanging indents and one-line indents.
  424. .op
  425. Absolute and relative parameter settings.
  426. .op
  427. Optional legal-style numbering of output lines.
  428. .op
  429. Multiple file capability.
  430. .sh CREF
  431. Make cross-reference listings of a collection of files.
  432. Each symbol is listed together with file, line number, and
  433. text of each line in which it occurs.
  434. .op
  435. Assembler or C language.
  436. .op
  437. Gathering or suppressing references to selected symbols.
  438. .op
  439. Last symbol defined may replace line number.
  440. .op
  441. Various ways to
  442. sort output available.
  443. .op
  444. Selective print of uniquely occurring symbols.
  445. .sh INDEX
  446. Make cross-reference indexes of English text.
  447. .op
  448. Handles lists of specific index terms or excluded terms.
  449. .op
  450. Handles words hyphenated across lines.
  451. .op
  452. Understands TROFF and NROFF output, so can gather
  453. references according to final pagination.
  454. .op
  455. Output capabilities like CREF.
  456. .op
  457. Frequency counts.
  458. .sh FORM
  459. Form letter generator.
  460. Remembers any number of forms and stock phrases such as names
  461. and addresses.
  462. Output usually intended to be ROFFed.
  463. .op
  464. Anything that is typed in can be remembered for later use.
  465. .op
  466. Runs interactively, querying only for those items
  467. that are not in its memory.
  468. .op
  469. Any item may call for the inclusion
  470. of other items.
  471. For example, full name, address, first name, title, etc.,
  472. may be separately retrieved from one name key.
  473. .sh FED
  474. Editor for 
  475. the memory used by FORM.
  476. Extract any item, turn it over to context editor ED for
  477. editing, and put it back when done.
  478. .op
  479. List names of selected items.
  480. .op
  481. Print contents of selected item.
  482. .sh SORT
  483. Sort or merge ASCII files line-by-line.
  484. .op
  485. Sort up or down.
  486. .op
  487. Sort lexicographically or on numeric key.
  488. .op
  489. Multiple keys located by delimiters or by character position.
  490. .op
  491. May sort upper case together with lower into dictionary order.
  492. .op
  493. Usable as a filter.
  494. .sh UNIQ
  495. Collapse successive duplicate lines
  496. in a file into one line.
  497. .op
  498. Publishes lines that were originally unique,
  499. duplicated, or both.
  500. .op
  501. May give redundancy count for each line.
  502. .op
  503. Usable as a filter.
  504. .sh TR
  505. Do one-to-one character translation according to
  506. an arbitrary code.
  507. .op
  508. May coalesce selected repeated characters.
  509. .op
  510. May delete selected characters.
  511. .op
  512. Usable as a filter.
  513. .sh DIFF
  514. Report line changes, additions and deletions necessary to bring two files
  515. into agreement.
  516. .op
  517. May produce an editor script to convert one file into another.
  518. .sh COMM
  519. Identify common lines in two sorted files.
  520. Output in up to 3 columns shows lines present in first file only,
  521. present in both, and/or present in second only.
  522. .sh CMP
  523. Compare two files and report disagreeing bytes.
  524. .sh GREP
  525. Print all lines in a file that satisfy
  526. a pattern of the kind used in the editor ED.
  527. .op
  528. May print all lines that fail to match.
  529. .op
  530. May print count of hits.
  531. .op
  532. Usable as a filter.
  533. .sh WC
  534. Count the lines and \*(lqwords\*(rq (blank-separated strings) in a file.
  535. .op
  536. Usable as a filter.
  537. .sh TYPO
  538. Find typographical errors.
  539. Statistically analyzes all the words in a text, weeds out
  540. several thousand familiar ones, and publishes the rest sorted so that
  541. the most improbably spelled ones
  542. tend to come to the top of the list.
  543. .sh GSI
  544. Simulate Model 37 Teletype facilities on
  545. GSI-300, DASI and other Diablo-mechanism terminals.
  546. .op
  547. Gives half-line and reverse platen motions.
  548. .op
  549. Approximates Greek letters and other special characters
  550. by overstriking.
  551. .op
  552. Usable as a filter.
  553. .sh COL
  554. Canonicalize files with reverse line feeds
  555. for one-pass printing.
  556. .op
  557. Usable as a filter.
  558.