summaryrefslogtreecommitdiff
path: root/usr.bin/w/w.c
AgeCommit message (Expand)Author
2001-11-05Fix whitespace usage.enami
2001-02-19convert to use getprogname()cgd
2001-01-05ANSIfy.mjl
2001-01-05(From FreeBSD)mjl
2000-12-20__CONCAT does token pasting, not string concatnation. if something like:cgd
2000-09-28add code to recognize special ftpd utmp entries and match correspondingjdolecek
2000-08-21- Don't core dump when we have stale utmp entries; warn the user instead.christos
2000-07-22Redo previous slightly differently - restore the behaviour of twosimonb
2000-07-15- Set the minimum width for login name to 4, the width of "USER".enami
2000-07-13Use KERN_CONSDEV for determining the console device instead of CPU_CONSDEVsimonb
2000-06-25Use p_login from struct proc instead of ut_name from struct utmp sosimonb
2000-06-08Pass the size of struct kinfo_proc2 instead of kinfo_proc to kvm_getproc2enami
2000-05-26Use new sysctl/kvm interfaces and remove sgid bit.simonb
1999-11-29No need for <machine/cpu.h> here.pk
1999-11-09Since our gcc doesn't warn about NULL format strings anymore, we candrochner
1999-10-11recognise "dty" the same as we do "tty"mrg
1999-01-29Use correct buffer in kvm_openfiles().pk
1998-07-06- change setgid kmem programs (that lend themselves to this) so setegid(getgi...mrg
1998-07-06- use an array MAXHOSTNAMELEN+1 size to hold hostnamesmrg
1998-04-02Need <time.h> for strftime() and related definitions. Also, no need tokleink
1997-10-20minor WARNS for i386lukem
1997-10-20WARNSify; deprecate register; clean up .Nmmrg
1997-07-07Don't print "up" if uptime is less than 30 seconds. (uptime roundsphil
1997-05-19Use inet_aton(3) rather than inet_addr(3).mycroft
1997-04-13properly terminal buffer after calling strftime.mrg
1997-03-31PR/3416: enami tsugutomo: fix bug introduced in previous change to handlechristos
1997-03-29PR/3399: Tatoku Ogaito: Careful with not null terminated utmp strings.christos
1997-03-03Message buffer passed to kvm_openfiles() should _POSIX2_LINE_MAX long; PR#3266explorer
1997-01-09Sync to 4.4BSD-Lite2tls
1996-06-07Discard setgid privileges if not reading the running kernel as suggestedthorpej
1996-04-08Use errx() instead of err() to report failure of kvm_getprocs() call,jtc
1995-05-25Don't core dump when tty has no associated process.mycroft
1995-05-21Gather the argument list only as necessary. Avoid an extra strvisx(3).mycroft
1995-03-28fix annoying number consistency bug.cgd
1994-06-30Fix from John Brezak for the following bug:cgd
1994-06-30fix from Jarle Greipsland <jarle@idt.unit.no> to deal with ut_line misprinting.cgd
1994-05-09clean up importcgd
1994-05-05update for changed flagscgd
1993-10-26Print `-' rather than ` ' for 0 idle time.mycroft
1993-08-01Add RCS identifiers.mycroft
1993-07-15don't print process args, print the vis(3)'d process args...cgd
1993-07-07chris found a case where cn_tty was being used. Doesn't look like thederaadt
1993-06-08Fix definition of rcsid.mycroft
1993-05-20add rcsidcgd
1993-04-26Don't segv if no process found on tty.mycroft
1993-04-12Print spaces instead of '0' for a non-idle user. Looks nicer.sef
1993-03-21initial import of 386bsd-0.1 sourcescgd