BSD 4_2 development
[unix-history] / usr / doc / uchanges / 2.t
CommitLineData
241c7f86
C
1.ce
2.LG
3.B "Bug fixes and changes"
4.SM
5.sp
6.LP
7.LP
8.LG
9.ce
10Section 1
11.SM
12.sp
13.PP
14.de BP
15.IP \fB\\$1\\fR 11n
16..
17.BP adb
18Support has been added for interpreting kernel data structures
19on a running system and in post mortem crash dumps created
20by savecore. A
21.B \-k
22option causes adb to map addresses
23according to the system and current process page tables.
24A new command, $p, can be used to switch between process contexts.
25Many scripts are available for symbolically displaying
26kernel data structures, searching for a process' context
27by process ID, etc. A new document, ``Using ADB to
28Debug the UNIX Kernel'', supplies hints in the use of adb
29with system crash dumps.
30.BP addbib
31Is a new utility for creating and extending bibliographic
32data bases for use with refer.
33.BP apply
34Is a new program which may be used to apply a command
35to a set of arguments.
36.BP ar
37Has a new key, `o', for preserving a file's modification
38time when it is extracted from an archive.
39.BP cc
40Supports the additional symbol information used by dbx.
41The old symbol information, used by the defunct sdb debugger,
42is available by specifying the
43.B \-go
44flag. A new flag, \fB\-pg\fP,
45creates executable programs which collect profiling information
46to be interpreted by the new gprof program. A bug in the C
47preprocessor, which caused line numbers to be incorrect
48for macros with formal parameters with embedded newlines has
49been fixed. The C preprocessor now properly handles hexadecimal
50constants in ``#if'' constructs and checks for missing ``#endif''
51statements.
52.BP chfn
53Now works interactively in changing a user's information
54field in the password file.
55.BP chgrp
56Is now in section 1 and may be executed by anyone. Users
57other than the super-user may change
58group ownership of a file they own to any group in
59their group access list.
60.BP cp
61Now has a
62.B \-r
63flag to copy recursively down a file system tree.
64.BP csh
65A bug which caused backquoted commands to wedge
66the terminal when interrupted has been fixed. Job identifiers
67are now globbed. A bug which caused the ``wait'' command
68to uninteruptible in certain cases has been fixed. History
69may now be saved and restored across terminal sessions with
70the \fIsavehist\fP variable. The newgrp command has been
71deleted due to the new group facilities.
72.BP ctags
73Now handles C \fBtypedefs\fP.
74.BP cu
75Exists only in the form of a ``compatible front-end'' to
76the new tip program.
77.BP dbx
78Is a new symbolic debugger replacing sdb. Dbx handles C
79and Fortran programs.
80.BP delivermail
81.br
82Has been replaced by the new sendmail program.
83.BP df
84Understands the new file system organization and
85reports all disk space totals in kilobytes.
86.BP du
87Now reports disk usage in kilobytes and uses the new
88field in the inode structure which contains the actual
89number of blocks allocated to a file to increase
90accuracy of calculations.
91.BP dump
92Has been moved to section 8.
93.BP error
94Has been taught about the error message formats of troff.
95.BP eyacc
96A bug which caused the generated parser to not recognize valid
97null statements has been fixed.
98.BP f77
99Has undergone major changes.
100.IP
101The i/o library has been extensively tested and debugged.
102Sequential files are now opened at the \s-2\fBBEGINNING\fP\s0
103by default; previously they were opened at the end.
104.IP
105Compilation of data statements has been substantially sped up.
106Significant new optimization is optionally available (this
107is still a bit buggy and should be used with caution).
108Even without optimization, however, single precision computations
109execute much faster.
110.IP
111The new debugger, dbx, has replaced sdb for debugging Fortran
112programs; sdb is no longer supported.
113.IP
114Files with ``.F'' suffixes are preprocessed by the C preprocessor.
115This allows C-style ``#include'' and ``#define'' constructs to be used.
116The compiler has been modified to print error messages with sensible
117line numbers. Make also understands the ``.F'' suffix. Note that
118when using the C preprocessor, the 72 column convention is not followed.
119.IP
120The
121.B \-I
122option for specifying short integers has been changed
123to \fB\-i\fP. The
124.B \-I
125option is now used to specify directory search paths
126for ``#include'' statements. A
127.B \-pg
128option for creating executable
129images which collect profiling information for gprof has been added.
130.BP fed
131Is a font editor of dubious value.
132.BP file
133Now understands symbolic links.
134.BP find
135Has a new
136.B \-type
137value, `l', for finding symbolic links.
138.BP fp
139Is a new compiler/interpreter for the
140Functional Programming language. A supporting document is
141present in Volume 2C of the UNIX Programmer's Manual.
142.BP fpr
143Is a new program for printing Fortran files with embedded
144Fortran carriage controls.
145.BP fsplit
146Is a new program for splitting a multi-function Fortran file
147into individual files.
148.BP ftp
149Is a new program which supports the ARPA standard File Transfer
150Protocol.
151.BP gcore
152Is a new program which creates a core dump of a running process.
153.BP gprof
154Is a new profiling tool which displays execution time for
155the dynamic call graph of a program. Gprof works on C, Fortran,
156and Pascal programs compiled with the
157.B \-pg
158option. Gprof may
159also be used in creating a call graph profile for the operating
160system. A supporting document, ``gprof: A Call Graph Execution
161Profiler" is included in Volume 2C of the UNIX Programmer's
162Manual.
163.BP groups
164Is a new program which displays a user's group access list.
165.BP hostid
166Is a new program which displays the system's unique identifier
167as returned by the new gethostid system call. The super-user
168uses this program to set the host identifier at boot time.
169.BP hostname
170Is a new program which displays the system's name as returned
171by the new gethostname system call. The super-user uses this
172program to set the host name at boot time.
173.BP indent
174Is a new program for formatting C program source.
175.BP install
176Is a shell script used in installing software.
177.BP iostat
178Now reports kilobytes per second transferred for each
179disk. This is useful as the unit of information transferred
180is no longer a constant one kilobytes.
181.BP last
182Now displays the remote host from which a user logged in
183(when accessing a machine across a network). The pseudo
184user ``ftp'' may be specified to find out information about
185FTP file transfer sessions.
186.BP lastcomm
187Now displays flags for each command indicating if the program
188dumped core, used PDP-11 mode, executed with a set-user-ID,
189or was created as the result of a fork (with no following exec).
190.BP learn
191Now has lessons for vi (this is user contributed software
192which is not part of the standard system).
193.BP lint
194Has a new
195.B \-C
196flag
197for creating lint libraries from C source code. Has improved
198type checking on static variables.
199.BP lisp
200Has been ported to several 68000 UNIX systems, the relevant
201code is included in the distribution. A new vector data
202type and a form of ``closure'' have been added.
203.BP ln
204Has a new flag, \fB\-s\fP, for creating symbolic links.
205.BP login
206Has been extensively modified for use with the rlogind
207and telnetd network servers.
208.BP lpq
209Is totally new, see lpr.
210.BP lpr
211And its related programs are totally new. The line printer
212system supports multiple printers of many different characteristics.
213A master data base, /etc/printcap, describes both local printers
214and printers accessable across a network. A document
215describing the line printer system is now part of Volume 2C
216of the UNIX Programmer's Manual.
217.BP lprm
218Is totally new, see lpr.
219.BP ls
220Has been rewritten for the new directory format. It understands
221symbolic links and uses the new inode field which contains the
222actual number of blocks allocated to a file when the
223.B \-s
224flag is supplied. Many rarely used options have been deleted.
225.BP m4
226A bug which caused m4 to dump core when keywords were
227undefined then redefined has been fixed.
228.BP Mail
229Now supports mail folders in the style of the Rand MH system.
230Has been reworked to cooperate with sendmail in understanding
231the new mail address formats. Allows users to defined message
232header fields which are not be displayed when a messages is
233viewed. Many other changes are described in a revised
234version of the user manual.
235.BP make
236Understands not to unlink directories when interrupted.
237Understands the new ``.F'' suffix for Fortran source files
238which are to be run through the C preprocessor. Has a
239new predefined macro MFLAGS which contains the flags
240supplied to make on the command line (useful in creating
241hierarchies of makefiles).
242.BP mkdir
243Now uses the mkdir system call to run faster.
244.BP mt
245Has a new command, status, which shows the current state
246of a tape drive.
247.BP mv
248Has been rewritten to use the new rename system call. As
249a result, multiple directories may now be moved in a single
250command, the restrictions on having ``..'' in a pathname
251are no longer present, and everything runs faster.
252.BP net
253And all related Berknet programs are no longer part
254of the standard distribution. These programs live on
255in /usr/src/old for those who can not do without them.
256.BP netstat
257Is a new program which displays network statistics and
258active connections.
259.BP oldcsh
260No longer exists.
261.BP od
262Has gobs of new formats options.
263.BP pagesize
264Is a new program which prints the system page size for use
265in constructing portable shell scripts.
266.BP passwd
267Now reliably interlocks with chsh, chfn, and vipw, in
268guarding against concurrent updates to the password file.
269.BP pc/pi
270\fBFor\fP loops are now done according to the standard.
271Files may now be dynamically allocated and disposed.
272Records and variant records are now aligned to correspond to
273C structures and unions (this was falsely claimed before).
274Several obscure bugs involving formal routines have been
275fixed. Three new library routines support random access
276file i/o, see /usr/include/pascal for details.
277.BP pc (only)
278\fBFor\fP loop variables and \fBwith\fP
279pointers are now allocated to registers.
280Separate compilation type checking can now be done without reference
281to the source file; this permits movement (including distribution)
282of .o files and creation of libraries.
283Display entries are saved only when needed (a speed optimization).
284.BP pdx
285Is a new debugger for use with pi. Pdx is invoked automatically
286by the interpreter if a run-time error is encountered.
287Future work is planned to extend the new
288dbx debugger to understand code generated by
289the Pascal compiler pc.
290.BP ps
291Has been changed to work with the new kernel and is no longer
292dependent on system page size. All process segment sizes
293are now shown in kilobytes. Understands that the old
294``using new signal facilities'' bit in the process structure
295now means ``using old 4.1BSD signal facilities''.
296.BP pwd
297Now simply calls the \fIgetwd\fP\|(3) routine.
298.BP rcp
299Is a new program for copying files across a network.
300The complete syntax of cp is supported, including recursive
301directory copying.
302.BP refer
303Has had many bugs fixed in it and the associated \-ms macro
304package support made to work.
305.BP reset
306Now resets all the special characters to the system defaults
307specified in the include file <sys/ttychars.h>.
308.BP rlogin
309Is a new program for logging in to a machine across a
310network. Rlogin uses the files /etc/hosts.equiv and .rhosts
311in the users login directory to allow logins to be performed
312without a password. Rlogin supports proper handling of ^S/^Q
313and flushing of output when an interrupt is typed at the
314terminal. Its `~' escape sequences are reminiscent of the
315old cu program (as it is based on the same source code).
316.BP rmdir
317Now uses the rmdir system call to run more efficiently and
318not require root privileges. Unfortunately, this means
319arguments which end in one or more ``/'' characters are no
320longer legal.
321.BP roffbib
322Is a new program for running off bibiliographic databases.
323.BP rsh
324Is a new program which supports remote command execution
325across a network.
326.BP ruptime
327Is a new program which displays system status information
328for clusters of machines attached to a local area network.
329.BP rwho
330Is a new program which displays users logged in on clusters
331of machines attached to a local area network.
332.BP script
333Has been rewritten to use pseudo-terminals. This allows
334the C shell job control facilities (among other things)
335to be used while scripting. A side effect of this change
336is that scripts now contain everything typed at a terminal.
337.BP sdb
338Has been replaced by dbx; it still lives on in /usr/src/old
339for those with a personal attachment.
340.BP sendbug
341Is a new command for submitting bug reports on 4.2BSD in
342a standard format suitable for automatic filing by the
343bugfiler program.
344.BP sh
345No longer has a newgrp command due to the new groups facilities.
346.BP sortbib
347Is a new command for sorting bibliographic databases.
348.BP strip
349Has been made blindingly fast by using the new truncate
350system call (thereby eliminating the old method of copying
351the file).
352.BP stty
353The default system erase, kill, and interrupt characters have
354been made the DEC standard values of DEL (`^?'), `^U', and
355\&`^C'. This is not expected to gain much popularity, but was
356done in the interest of compatibility with many other standard
357operating systems.
358.BP su
359Has been changed to do a ``full login'' when starting up
360the subshell. A new flag, \fB\-f\fP, does a ``fast'' su for when
361a system is heavily loaded. Extra arguments supplied to
362su are now treated as a command line and executed directly
363instead of creating an interactive shell.
364.BP sysline
365Is a new program for maintaining system status information
366on terminals which support a ``status line''; a poor man's
367alternative to a window manager (or emacs).
368.BP tail
369Has a larger buffer so that ``tail \-r'' and similar
370show more.
371.BP talk
372Is a new program which provides a screen-oriented write
373facility. Users may be ``talked to''across a network,
374though satellite response times have indicated overseas
375conversations are still best done by phone. Can be very
376obnoxious when engaged in important work.
377.BP tar
378Now allocates its internal buffers dynamically so that the
379block size can be specified to be very large for streaming
380tape drives. Also, now avoids many core-core copy operations.
381Has a new
382.B \-C
383option for forcing chdir operations in the middle
384of operation (thereby allowing multiple disjoint subtrees to
385be easily placed in a single file, each with short relative
386pathnames). Has a new flag, `B', for forcing 20 block records
387to be read and written; useful in joining two tar commands
388with a remote
389shell to transfer large amounts of data across a network.
390.BP telnet
391Is a new program which supports the ARPA standard Telnet
392protocol.
393.BP tip
394Replaces cu as the standard mechanism for connecting to
395machines across a phone line or through a hardwired connection. Tip
396uses a database of system descriptions, supports many different
397auto-call units, and understands many nuances required to talk
398to non-UNIX systems. Files may be transferred
399to and from non-UNIX systems in a simple fashion.
400.BP ul
401A bug which sometimes caused an extra blank line to
402be printed after reaching end of file has been fixed.
403.BP uucp
404And related programs have been extensively enhanced
405to support many different auto-call units and multiple spooling
406directories (among other things). A large number of bugs
407and performance enhancements have been made.
408.BP uusnap
409Is a new program which gives a snap-shot of the uucp
410spooling area.
411.BP vfontinfo
412Is a program used to inspect and print information about
413fonts.
414.BP vgrind
415Now uses a regular expression language
416to describe formatting. A
417.B \-f
418flag forces vgrind to act as
419a filter, generating output suitable for inclusion in troff
420and/or nroff documents. Language descriptions exist for C, Pascal,
421Model, C shell, Bourne shell, Ratfor, and Icon programs.
422.BP vi
423A bug which caused the ^B command to place the cursor on
424the wrong line has been fixed. A bug which caused vi to
425believe a file had been modified when an i/o error occurred
426has been fixed. A bug which allowed ``hardtabs'' to be
427set to 0 causing a divide by zero fault has been fixed.
428.BP vlp
429Is a new program for pretty printing Lisp programs.
430.BP vmstat
431Has had one new piece of information added to
432.B \-s
433summary, the number of fast page reclaims performed.
434The fields related to paging activity are now all
435given in kilobytes.
436.BP vpr
437And associated programs for spooling and printing files
438on Varian and Versatec printers are now shell scripts
439which use the new line printer support.
440.BP vwidth
441Is a new program for making troff width tables for a font.
442.BP wc
443Is once again identical to the version 7 program. That is,
444the \fB\-v\fP, \fB\-t\fP, \fB\-b\fP, \fB\-s\fP, and \fB\-u\fP
445flags have been deleted.
446.BP whereis
447Understands the new directory organization for the source
448code.
449.BP which
450Now understands how to handle aliases.
451.BP who
452Now displays the remote machine from which a user is
453logged in.