CVS commit: src/usr.bin/w

2022-05-26 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu May 26 06:48:36 UTC 2022 Modified Files: src/usr.bin/w: w.c Log Message: w: add -A to usage To generate a diff of this commit: cvs rdiff -u -r1.92 -r1.93 src/usr.bin/w/w.c Please note that diffs are not public domain; they

CVS commit: src/usr.bin/w

2022-05-26 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu May 26 06:48:36 UTC 2022 Modified Files: src/usr.bin/w: w.c Log Message: w: add -A to usage To generate a diff of this commit: cvs rdiff -u -r1.92 -r1.93 src/usr.bin/w/w.c Please note that diffs are not public domain; they

CVS commit: src/usr.bin/w

2022-05-25 Thread matthew green
Module Name:src Committed By: mrg Date: Thu May 26 02:24:00 UTC 2022 Modified Files: src/usr.bin/w: w.1 w.c Log Message: default to not sorting tty names with alphabetical sort and add a new -A switch to sort them again. enable the sorting code if either utmp or utmpx

CVS commit: src/usr.bin/w

2022-05-25 Thread matthew green
Module Name:src Committed By: mrg Date: Thu May 26 02:24:00 UTC 2022 Modified Files: src/usr.bin/w: w.1 w.c Log Message: default to not sorting tty names with alphabetical sort and add a new -A switch to sort them again. enable the sorting code if either utmp or utmpx

CVS commit: src/usr.bin/w

2021-04-17 Thread Maya Rashish
Module Name:src Committed By: maya Date: Sat Apr 17 06:14:15 UTC 2021 Modified Files: src/usr.bin/w: pr_time.c w.c Log Message: Remove SCCS workarounds. No binary change. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/usr.bin/w/pr_time.c cvs rdiff -u

CVS commit: src/usr.bin/w

2021-04-17 Thread Maya Rashish
Module Name:src Committed By: maya Date: Sat Apr 17 06:14:15 UTC 2021 Modified Files: src/usr.bin/w: pr_time.c w.c Log Message: Remove SCCS workarounds. No binary change. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/usr.bin/w/pr_time.c cvs rdiff -u

CVS commit: src/usr.bin/w

2020-08-01 Thread Kimmo Suominen
Module Name:src Committed By: kim Date: Sat Aug 1 17:53:38 UTC 2020 Modified Files: src/usr.bin/w: w.c Log Message: Skip bracket processing if -n is used. XXX: This could be improved to skip even more processing. To generate a diff of this commit: cvs rdiff -u -r1.89

CVS commit: src/usr.bin/w

2020-08-01 Thread Kimmo Suominen
Module Name:src Committed By: kim Date: Sat Aug 1 17:53:38 UTC 2020 Modified Files: src/usr.bin/w: w.c Log Message: Skip bracket processing if -n is used. XXX: This could be improved to skip even more processing. To generate a diff of this commit: cvs rdiff -u -r1.89

CVS commit: src/usr.bin/w

2020-08-01 Thread Kimmo Suominen
Module Name:src Committed By: kim Date: Sat Aug 1 17:25:57 UTC 2020 Modified Files: src/usr.bin/w: w.c Log Message: Restore ']' if not using a result from an address lookup. To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/usr.bin/w/w.c Please note

CVS commit: src/usr.bin/w

2020-08-01 Thread Kimmo Suominen
Module Name:src Committed By: kim Date: Sat Aug 1 17:25:57 UTC 2020 Modified Files: src/usr.bin/w: w.c Log Message: Restore ']' if not using a result from an address lookup. To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/usr.bin/w/w.c Please note

CVS commit: src/usr.bin/w

2020-08-01 Thread Kimmo Suominen
Module Name:src Committed By: kim Date: Sat Aug 1 15:52:50 UTC 2020 Modified Files: src/usr.bin/w: w.c Log Message: Handle hostname from DISPLAY="[2001:db8::dead:beef]:0" or similar. To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/usr.bin/w/w.c

CVS commit: src/usr.bin/w

2020-08-01 Thread Kimmo Suominen
Module Name:src Committed By: kim Date: Sat Aug 1 15:52:50 UTC 2020 Modified Files: src/usr.bin/w: w.c Log Message: Handle hostname from DISPLAY="[2001:db8::dead:beef]:0" or similar. To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/usr.bin/w/w.c

CVS commit: src/usr.bin/w

2020-07-04 Thread Kimmo Suominen
Module Name:src Committed By: kim Date: Sat Jul 4 23:30:32 UTC 2020 Modified Files: src/usr.bin/w: w.c Log Message: Don't overwrite host_buf as x might be pointing to wanted data in it To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/usr.bin/w/w.c

CVS commit: src/usr.bin/w

2020-07-04 Thread Kimmo Suominen
Module Name:src Committed By: kim Date: Sat Jul 4 23:30:32 UTC 2020 Modified Files: src/usr.bin/w: w.c Log Message: Don't overwrite host_buf as x might be pointing to wanted data in it To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/usr.bin/w/w.c

CVS commit: src/usr.bin/w

2020-07-01 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Jul 1 06:31:18 UTC 2020 Modified Files: src/usr.bin/w: Makefile Log Message: Forbid gcc to whine about intended format truncation To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.bin/w/Makefile Please

CVS commit: src/usr.bin/w

2020-07-01 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Jul 1 06:31:18 UTC 2020 Modified Files: src/usr.bin/w: Makefile Log Message: Forbid gcc to whine about intended format truncation To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.bin/w/Makefile Please

CVS commit: src/usr.bin/w

2020-06-30 Thread Kimmo Suominen
Module Name:src Committed By: kim Date: Tue Jun 30 15:02:55 UTC 2020 Modified Files: src/usr.bin/w: w.c Log Message: Remove local domain always, not just when looking up addresses To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/usr.bin/w/w.c Please

CVS commit: src/usr.bin/w

2020-06-30 Thread Kimmo Suominen
Module Name:src Committed By: kim Date: Tue Jun 30 15:02:55 UTC 2020 Modified Files: src/usr.bin/w: w.c Log Message: Remove local domain always, not just when looking up addresses To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/usr.bin/w/w.c Please

CVS commit: src/usr.bin/w

2020-06-30 Thread Kimmo Suominen
Module Name:src Committed By: kim Date: Tue Jun 30 14:57:25 UTC 2020 Modified Files: src/usr.bin/w: w.c Log Message: Compute a value for domain before comparing against it To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/usr.bin/w/w.c Please note that

CVS commit: src/usr.bin/w

2020-06-30 Thread Kimmo Suominen
Module Name:src Committed By: kim Date: Tue Jun 30 14:57:25 UTC 2020 Modified Files: src/usr.bin/w: w.c Log Message: Compute a value for domain before comparing against it To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/usr.bin/w/w.c Please note that

CVS commit: src/usr.bin/w

2018-12-06 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Thu Dec 6 19:15:35 UTC 2018 Modified Files: src/usr.bin/w: uptime.1 w.1 Log Message: Document the source of load average figures. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/usr.bin/w/uptime.1 cvs rdiff -u

CVS commit: src/usr.bin/w

2018-12-06 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Thu Dec 6 19:15:35 UTC 2018 Modified Files: src/usr.bin/w: uptime.1 w.1 Log Message: Document the source of load average figures. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/usr.bin/w/uptime.1 cvs rdiff -u

CVS commit: src/usr.bin/w

2018-12-06 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Thu Dec 6 19:01:53 UTC 2018 Modified Files: src/usr.bin/w: uptime.1 Log Message: Add a statement about uptime's relation to w(1). To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/usr.bin/w/uptime.1 Please note

CVS commit: src/usr.bin/w

2018-12-06 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Thu Dec 6 19:01:53 UTC 2018 Modified Files: src/usr.bin/w: uptime.1 Log Message: Add a statement about uptime's relation to w(1). To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/usr.bin/w/uptime.1 Please note

CVS commit: src/usr.bin/w

2016-11-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Nov 16 02:03:30 UTC 2016 Modified Files: src/usr.bin/w: w.c Log Message: if there is more than one : it is not an X display, it is a v6 address To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83

CVS commit: src/usr.bin/w

2016-11-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Nov 16 02:03:30 UTC 2016 Modified Files: src/usr.bin/w: w.c Log Message: if there is more than one : it is not an X display, it is a v6 address To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83

CVS commit: src/usr.bin/w

2014-12-22 Thread Dennis Ferguson
Module Name:src Committed By: dennis Date: Mon Dec 22 15:24:14 UTC 2014 Modified Files: src/usr.bin/w: w.c Log Message: Move enough additional 'w' code into 'uptime' to keep the latter from double-counting utmp users. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/w

2014-12-22 Thread Dennis Ferguson
Module Name:src Committed By: dennis Date: Mon Dec 22 15:24:14 UTC 2014 Modified Files: src/usr.bin/w: w.c Log Message: Move enough additional 'w' code into 'uptime' to keep the latter from double-counting utmp users. To generate a diff of this commit: cvs rdiff -u

re: CVS commit: src/usr.bin/w

2014-12-02 Thread matthew green
Christos Zoulas writes: Module Name: src Committed By: christos Date: Tue Dec 2 22:19:19 UTC 2014 Modified Files: src/usr.bin/w: w.c Log Message: if doing uptime, don't bother resolving names. this helps, but isn't it just hiding the fact that uptime is doing stuff it

CVS commit: src/usr.bin/w

2014-12-02 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 2 22:19:19 UTC 2014 Modified Files: src/usr.bin/w: w.c Log Message: if doing uptime, don't bother resolving names. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/usr.bin/w/w.c Please note that

CVS commit: src/usr.bin/w

2014-12-02 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Dec 3 06:12:19 UTC 2014 Modified Files: src/usr.bin/w: w.c Log Message: redo the previous; avoid a bunch of processing when running as uptime, and as a side effect, avoid any name lookups. To generate a diff of this commit:

CVS commit: src/usr.bin/w

2014-12-02 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 2 22:19:19 UTC 2014 Modified Files: src/usr.bin/w: w.c Log Message: if doing uptime, don't bother resolving names. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/usr.bin/w/w.c Please note that

CVS commit: src/usr.bin/w

2014-12-02 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Dec 3 06:12:19 UTC 2014 Modified Files: src/usr.bin/w: w.c Log Message: redo the previous; avoid a bunch of processing when running as uptime, and as a side effect, avoid any name lookups. To generate a diff of this commit:

CVS commit: src/usr.bin/w

2014-02-26 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Feb 27 00:49:46 UTC 2014 Modified Files: src/usr.bin/w: w.c Log Message: struct member can't be null, if the pointer itself is valid. To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79 src/usr.bin/w/w.c Please

CVS commit: src/usr.bin/w

2014-02-26 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Feb 27 00:49:46 UTC 2014 Modified Files: src/usr.bin/w: w.c Log Message: struct member can't be null, if the pointer itself is valid. To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79 src/usr.bin/w/w.c Please

CVS commit: src/usr.bin/w

2013-09-09 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Sep 9 19:20:38 UTC 2013 Modified Files: src/usr.bin/w: w.c Log Message: Expand ep-host to contain the final string that we are going to print before computing the width of the host column. To generate a diff of this

CVS commit: src/usr.bin/w

2013-09-09 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Sep 9 19:20:38 UTC 2013 Modified Files: src/usr.bin/w: w.c Log Message: Expand ep-host to contain the final string that we are going to print before computing the width of the host column. To generate a diff of this

CVS commit: src/usr.bin/w

2011-10-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 21 02:26:09 UTC 2011 Modified Files: src/usr.bin/w: Makefile extern.h w.c Removed Files: src/usr.bin/w: proc_compare.c Log Message: Remove stale proc_compare code and use the shared one in libutil. To generate

CVS commit: src/usr.bin/w

2011-10-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 21 02:26:09 UTC 2011 Modified Files: src/usr.bin/w: Makefile extern.h w.c Removed Files: src/usr.bin/w: proc_compare.c Log Message: Remove stale proc_compare code and use the shared one in libutil. To generate

CVS commit: src/usr.bin/w

2011-08-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Aug 17 13:48:11 UTC 2011 Modified Files: src/usr.bin/w: Makefile pr_time.c Log Message: Eliminate non-literal format strings, and now that gcc warns, kill y2k format warning. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/w

2011-08-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Aug 17 13:48:11 UTC 2011 Modified Files: src/usr.bin/w: Makefile pr_time.c Log Message: Eliminate non-literal format strings, and now that gcc warns, kill y2k format warning. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/w

2009-04-14 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Tue Apr 14 07:37:32 UTC 2009 Modified Files: src/usr.bin/w: w.c To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 src/usr.bin/w/w.c Please note that diffs are not public domain; they are subject to the copyright