Re: svn commit: r285550 - head/usr.bin/w

2015-07-16 Thread Bryan Drewery
On 7/14/15 11:53 AM, Mark Murray wrote:
 Author: markm
 Date: Tue Jul 14 18:53:24 2015
 New Revision: 285550
 URL: https://svnweb.freebsd.org/changeset/base/285550
 
 Log:
   Widen the host field so that a full IPv6 address will be seen.

Relnotes: yes!

MFC: Please



-- 
Regards,
Bryan Drewery
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


Re: svn commit: r285550 - head/usr.bin/w

2015-07-16 Thread Mark R V Murray

 On 16 Jul 2015, at 20:46, Ed Schouten e...@nuxi.nl wrote:
 
 Hi Mark,

Hi!

 2015-07-14 20:53 GMT+02:00 Mark Murray ma...@freebsd.org:
 Log:
  Widen the host field so that a full IPv6 address will be seen.
 
 
 Quick question: does this column width adjust itself automatically?
 The WHAT column of w(1) is already pretty narrow.

No. This column is statically sized.

The “what column” prints arbitrary length lines. I’ve hardly ever
seen anything long in practice though.

M
-- 
Mark R V Murray

___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

Re: svn commit: r285550 - head/usr.bin/w

2015-07-16 Thread Ed Schouten
Hi Mark,

2015-07-14 20:53 GMT+02:00 Mark Murray ma...@freebsd.org:
 Log:
   Widen the host field so that a full IPv6 address will be seen.

 Modified:
   head/usr.bin/w/w.c

 Modified: head/usr.bin/w/w.c
 ==
 --- head/usr.bin/w/w.c  Tue Jul 14 18:45:15 2015(r285549)
 +++ head/usr.bin/w/w.c  Tue Jul 14 18:53:24 2015(r285550)
 @@ -120,7 +120,7 @@ static struct entry {

  #defineW_DISPUSERSIZE  10
  #defineW_DISPLINESIZE  8
 -#defineW_DISPHOSTSIZE  24
 +#defineW_DISPHOSTSIZE  40

  static void pr_header(time_t *, int);
  static struct stat *ttystat(char *);

Quick question: does this column width adjust itself automatically?
The WHAT column of w(1) is already pretty narrow.

-- 
Ed Schouten e...@nuxi.nl
Nuxi, 's-Hertogenbosch, the Netherlands
KvK/VAT number: 62051717
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


Re: svn commit: r285550 - head/usr.bin/w

2015-07-16 Thread Bryan Drewery
On 7/16/15 12:55 PM, Mark R V Murray wrote:
 
 On 16 Jul 2015, at 18:35, Bryan Drewery bdrew...@freebsd.org wrote:

 On 7/14/15 11:53 AM, Mark Murray wrote:
 Author: markm
 Date: Tue Jul 14 18:53:24 2015
 New Revision: 285550
 URL: https://svnweb.freebsd.org/changeset/base/285550

 Log:
  Widen the host field so that a full IPv6 address will be seen.

 Relnotes: yes!
 
 Damn you! ;-)
 
 I’ve just had to install the kitchen sink to do this!
 
 (The building is a bit out of date; the optional ports
 don’t exist, and installing textproc/fpo resulted in a
 tool that did not make a readable PDF).
 

If you put the literal 'Relnotes:   yes' in your commit then gjb/re@ will
document it for you :)

 MFC: Please
 
 Er, sure!
 
 M
 


-- 
Regards,
Bryan Drewery
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

Re: svn commit: r285550 - head/usr.bin/w

2015-07-16 Thread Mark R V Murray

 On 16 Jul 2015, at 18:35, Bryan Drewery bdrew...@freebsd.org wrote:
 
 On 7/14/15 11:53 AM, Mark Murray wrote:
 Author: markm
 Date: Tue Jul 14 18:53:24 2015
 New Revision: 285550
 URL: https://svnweb.freebsd.org/changeset/base/285550
 
 Log:
  Widen the host field so that a full IPv6 address will be seen.
 
 Relnotes: yes!

Damn you! ;-)

I’ve just had to install the kitchen sink to do this!

(The building is a bit out of date; the optional ports
don’t exist, and installing textproc/fpo resulted in a
tool that did not make a readable PDF).

 MFC: Please

Er, sure!

M
-- 
Mark R V Murray

___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

svn commit: r285550 - head/usr.bin/w

2015-07-14 Thread Mark Murray
Author: markm
Date: Tue Jul 14 18:53:24 2015
New Revision: 285550
URL: https://svnweb.freebsd.org/changeset/base/285550

Log:
  Widen the host field so that a full IPv6 address will be seen.

Modified:
  head/usr.bin/w/w.c

Modified: head/usr.bin/w/w.c
==
--- head/usr.bin/w/w.c  Tue Jul 14 18:45:15 2015(r285549)
+++ head/usr.bin/w/w.c  Tue Jul 14 18:53:24 2015(r285550)
@@ -120,7 +120,7 @@ static struct entry {
 
 #defineW_DISPUSERSIZE  10
 #defineW_DISPLINESIZE  8
-#defineW_DISPHOSTSIZE  24
+#defineW_DISPHOSTSIZE  40
 
 static void pr_header(time_t *, int);
 static struct stat *ttystat(char *);
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org