=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/w/w.1,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- src/usr.bin/w/w.1 1999/08/12 19:26:39 1.9 +++ src/usr.bin/w/w.1 2000/03/14 14:58:25 1.10 @@ -1,4 +1,4 @@ -.\" $OpenBSD: w.1,v 1.9 1999/08/12 19:26:39 millert Exp $ +.\" $OpenBSD: w.1,v 1.10 2000/03/14 14:58:25 aaron Exp $ .\" .\" Copyright (c) 1980, 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -94,13 +94,27 @@ .Xr ps 1 , .Xr uptime 1 , .Xr who 1 +.Sh COMPATIBILITY +The +.Fl f , +.Fl l , +.Fl s , +and +.Fl w +flags are no longer supported. +.Sh HISTORY +The +.Nm +command appeared in +.Bx 3.0 . .Sh BUGS The notion of the .Dq current process is muddy. -The current algorithm is ``the highest numbered process on the terminal +The current algorithm is +``the highest numbered process on the terminal that is not ignoring interrupts, or, if there is none, the highest numbered -process on the terminal''. +process on the terminal.'' This fails, for example, in critical sections of programs like the shell and editor, or when faulty programs running in the background fork and fail to ignore interrupts. @@ -109,9 +123,8 @@ prints .Dq \- . ) .Pp -The -.Tn CPU -time is only an estimate, in particular, if someone leaves a background +The CPU time is only an estimate. +In particular, if someone leaves a background process running after logging out, the person currently on that terminal is .Dq charged with the time. @@ -128,16 +141,3 @@ utility does not know about the new conventions for detection of background jobs. It will sometimes find a background job instead of the right one. -.Sh COMPATIBILITY -The -.Fl f , -.Fl l , -.Fl s , -and -.Fl w -flags are no longer supported. -.Sh HISTORY -The -.Nm -command appeared in -.Bx 3.0 .