From owner-cvs-usrbin Sun Jul 13 00:59:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA10357 for cvs-usrbin-outgoing; Sun, 13 Jul 1997 00:59:47 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA10329; Sun, 13 Jul 1997 00:59:31 -0700 (PDT) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id AAA07672; Sun, 13 Jul 1997 00:58:57 -0700 (PDT) Date: Sun, 13 Jul 1997 00:58:57 -0700 (PDT) Message-Id: <199707130758.AAA07672@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/m4/PSD.doc Makefile Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/07/13 00:58:57 PDT Removed files: usr.bin/m4/PSD.doc Makefile Log: The m4 doc sources aren't in Lite* or FreeBSD, and Lite2 removed this unused Makefile. From owner-cvs-usrbin Sun Jul 13 04:52:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA15604 for cvs-usrbin-outgoing; Sun, 13 Jul 1997 04:52:43 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA15572; Sun, 13 Jul 1997 04:52:18 -0700 (PDT) From: Guido van Rooij Received: (from guido@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id EAA09333; Sun, 13 Jul 1997 04:51:43 -0700 (PDT) Date: Sun, 13 Jul 1997 04:51:43 -0700 (PDT) Message-Id: <199707131151.EAA09333@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/iostat Makefile src/usr.bin/netstat Makefile src/usr.sbin/pciconf Makefile src/usr.sbin/pstat Makefile Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk guido 1997/07/13 04:51:43 PDT Modified files: usr.sbin/iostat Makefile Log: Remove -I/sys and add -I${.CURDIR}/../../sys Revision Changes Path 1.3 +1 -1 src/usr.sbin/iostat/Makefile Modified files: usr.bin/netstat Makefile usr.sbin/pciconf Makefile usr.sbin/pstat Makefile Log: Remove -I/sys Revision Changes Path 1.8 +1 -1 src/usr.bin/netstat/Makefile 1.4 +0 -1 src/usr.sbin/pciconf/Makefile 1.4 +0 -1 src/usr.sbin/pstat/Makefile From owner-cvs-usrbin Sun Jul 13 07:48:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA21173 for cvs-usrbin-outgoing; Sun, 13 Jul 1997 07:48:31 -0700 (PDT) Received: from gvr.win.tue.nl (root@gvr.win.tue.nl [194.151.74.97]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA21168; Sun, 13 Jul 1997 07:48:23 -0700 (PDT) Received: (from guido@localhost) by gvr.win.tue.nl (8.8.6/8.8.2) id QAA02975; Sun, 13 Jul 1997 16:48:20 +0200 (MET DST) From: Guido van Rooij Message-Id: <199707131448.QAA02975@gvr.win.tue.nl> Subject: Re: cvs commit: src/usr.sbin/iostat Makefile src/usr.bin/netstat Makefile src/usr.sbin/pciconf Makefile src/usr.sbin/pstat M In-Reply-To: <199707131151.EAA09333@freefall.freebsd.org> from Guido van Rooij at "Jul 13, 97 04:51:43 am" To: guido@FreeBSD.ORG (Guido van Rooij) Date: Sun, 13 Jul 1997 16:48:20 +0200 (MET DST) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk There are many more of these, and I want to fix these. I am not certain about the libs however (see below). (the pcvt/fed is not important as it is not included in the make process) I'd like to delete all of the -I/sys and replace all of the others by s|/sys|${.CURDIR}/../../sys|g Any objections? -Guido ./bin/ps/Makefile:CFLAGS+=-I/sys ./eBones/lib/libtelnet/Makefile:CFLAGS+= -DDES_ENCRYPTION -DAUTHENTICATION -DKRB 4 -I/usr/include/kerberosIV ./lib/libipx/Makefile:#CFLAGS+=-DLIBC_SCCS -I/sys ./lib/libkvm/Makefile:CFLAGS+=-DLIBC_SCCS -I/sys ./lib/libscsi/Makefile:#CFLAGS+=-DLIBC_SCCS -I/sys ./lib/libutil/Makefile:CFLAGS+=-Wall -DLIBC_SCCS -I${.CURDIR} -I/sys ./libexec/lfs_cleanerd/Makefile:CFLAGS+=-I/sys/ufs/lfs -I${.CURDIR} ${DEBUG} ./release/sysinstall/Makefile:CFLAGS+= -Wall -I${.CURDIR}/../../gnu/lib/libdialo g -I${.OBJDIR} -I/sys ./sbin/dumplfs/Makefile:CFLAGS+=-I/sys/ufs/lfs ./usr.bin/fstat/Makefile:CFLAGS+=-I/sys ./usr.bin/mt/Makefile:CFLAGS+=-I/sys eebsd/5.003/CORE ./usr.sbin/pcvt/fed/Makefile:CFLAGS = -O -Wall -pipe -I/usr/local/incl From owner-cvs-usrbin Sun Jul 13 09:39:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA27121 for cvs-usrbin-outgoing; Sun, 13 Jul 1997 09:39:50 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA27074; Sun, 13 Jul 1997 09:39:18 -0700 (PDT) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id JAA26092; Sun, 13 Jul 1997 09:38:41 -0700 (PDT) Date: Sun, 13 Jul 1997 09:38:41 -0700 (PDT) Message-Id: <199707131638.JAA26092@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/sys/sys gmon.h src/usr.bin/gprof gprof.h Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/07/13 09:38:40 PDT Modified files: sys/sys gmon.h usr.bin/gprof gprof.h Log: 32-bit counters aren't large enough for 100+MHz clocks. Use 64-bit counters. `4' in GPROF4 and gprof4 now means 8. gprof4 needs to be recompiled to match the kernel. Revision Changes Path 1.13 +2 -2 src/sys/sys/gmon.h 1.6 +1 -1 src/usr.bin/gprof/gprof.h From owner-cvs-usrbin Mon Jul 14 02:07:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA09669 for cvs-usrbin-outgoing; Mon, 14 Jul 1997 02:07:47 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA09640; Mon, 14 Jul 1997 02:07:30 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id CAA01531; Mon, 14 Jul 1997 02:06:47 -0700 (PDT) Date: Mon, 14 Jul 1997 02:06:47 -0700 (PDT) Message-Id: <199707140906.CAA01531@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/top machine.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/07/14 02:06:47 PDT Modified files: usr.bin/top machine.c Log: Hack to work around the large username field... scan for the largest username present on the system at startup and use that for the field width. It's not ideal but (I think) better than it was before. The width is limited to within 8..16. Revision Changes Path 1.5 +25 -19 src/usr.bin/top/machine.c From owner-cvs-usrbin Mon Jul 14 03:51:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA13387 for cvs-usrbin-outgoing; Mon, 14 Jul 1997 03:51:44 -0700 (PDT) Received: from veda.is (veda.is [193.4.230.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA13346; Mon, 14 Jul 1997 03:50:59 -0700 (PDT) Received: from ubiq.veda.is (ubiq.veda.is [193.4.230.60]) by veda.is (8.8.5/8.8.5) with ESMTP id KAA07670; Mon, 14 Jul 1997 10:50:48 GMT From: Adam David Received: (from adam@localhost) by ubiq.veda.is (8.8.5/8.8.5) id KAA21385; Mon, 14 Jul 1997 10:50:45 GMT Message-Id: <199707141050.KAA21385@ubiq.veda.is> Subject: Re: cvs commit: src/usr.bin/top machine.c In-Reply-To: <199707140906.CAA01531@freefall.freebsd.org> from Peter Wemm at "Jul 14, 97 02:06:47 am" To: peter@FreeBSD.ORG (Peter Wemm) Date: Mon, 14 Jul 1997 10:50:44 +0000 (GMT) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > peter 1997/07/14 02:06:47 PDT > > Modified files: > usr.bin/top machine.c > Log: > Hack to work around the large username field... scan for the largest > username present on the system at startup and use that for the field width. > It's not ideal but (I think) better than it was before. The width is > limited to within 8..16. > > Revision Changes Path > 1.5 +25 -19 src/usr.bin/top/machine.c Wasn't it a better idea to keep track of username length for the processes that top sees? -- Adam David From owner-cvs-usrbin Mon Jul 14 07:32:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA24079 for cvs-usrbin-outgoing; Mon, 14 Jul 1997 07:32:36 -0700 (PDT) Received: from spinner.dialix.com.au (spinner.dialix.com.au [192.203.228.67]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA24074; Mon, 14 Jul 1997 07:32:22 -0700 (PDT) Received: from spinner.dialix.com.au (localhost.dialix.com.au [127.0.0.1]) by spinner.dialix.com.au with ESMTP id WAA05038; Mon, 14 Jul 1997 22:31:53 +0800 (WST) Message-Id: <199707141431.WAA05038@spinner.dialix.com.au> X-Mailer: exmh version 2.0delta 6/3/97 To: Adam David cc: peter@FreeBSD.ORG (Peter Wemm), cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: Re: cvs commit: src/usr.bin/top machine.c In-reply-to: Your message of "Mon, 14 Jul 1997 10:50:44 GMT." <199707141050.KAA21385@ubiq.veda.is> Date: Mon, 14 Jul 1997 22:31:52 +0800 From: Peter Wemm Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Adam David wrote: > > peter 1997/07/14 02:06:47 PDT > > > > Modified files: > > usr.bin/top machine.c > > Log: > > Hack to work around the large username field... scan for the largest > > username present on the system at startup and use that for the field widt h. > > It's not ideal but (I think) better than it was before. The width is > > limited to within 8..16. > > > > Revision Changes Path > > 1.5 +25 -19 src/usr.bin/top/machine.c > > Wasn't it a better idea to keep track of username length for the processes th at > top sees? And what if somebody with a 16 character login name logs in? You can't take a snapshot of what is currently visible and assume that no new uid's are going to turn up... I had considered trying to expand the column on demand when/if a username longer than 8 characters logs in. Would that make sense? I don't think it's too hard but it will require more tweaks inside src/contrib/top. > -- > Adam David > Cheers, -Peter From owner-cvs-usrbin Mon Jul 14 08:17:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA26181 for cvs-usrbin-outgoing; Mon, 14 Jul 1997 08:17:19 -0700 (PDT) Received: from veda.is (veda.is [193.4.230.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA26126; Mon, 14 Jul 1997 08:16:23 -0700 (PDT) Received: from ubiq.veda.is (ubiq.veda.is [193.4.230.60]) by veda.is (8.8.5/8.8.5) with ESMTP id PAA14521; Mon, 14 Jul 1997 15:16:18 GMT From: Adam David Received: (from adam@localhost) by ubiq.veda.is (8.8.5/8.8.5) id PAA21708; Mon, 14 Jul 1997 15:16:16 GMT Message-Id: <199707141516.PAA21708@ubiq.veda.is> Subject: Re: cvs commit: src/usr.bin/top machine.c In-Reply-To: <199707141431.WAA05038@spinner.dialix.com.au> from Peter Wemm at "Jul 14, 97 10:31:52 pm" To: peter@spinner.dialix.com.au (Peter Wemm) Date: Mon, 14 Jul 1997 15:16:15 +0000 (GMT) Cc: peter@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Wasn't it a better idea to keep track of username length for the processes > > that top sees? > > And what if somebody with a 16 character login name logs in? You can't > take a snapshot of what is currently visible and assume that no new uid's > are going to turn up... > > I had considered trying to expand the column on demand when/if a username > longer than 8 characters logs in. Would that make sense? I don't think > it's too hard but it will require more tweaks inside src/contrib/top. Exactly what I was thinking, and maybe shrink to fit when the usage count goes to zero. -- Adam David From owner-cvs-usrbin Mon Jul 14 10:34:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA03848 for cvs-usrbin-outgoing; Mon, 14 Jul 1997 10:34:17 -0700 (PDT) Received: from nagual.pp.ru (ache.relcom.ru [194.58.229.133]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA03831; Mon, 14 Jul 1997 10:33:38 -0700 (PDT) Received: (from ache@localhost) by nagual.pp.ru (8.8.6/8.8.5) id VAA00671; Mon, 14 Jul 1997 21:32:13 +0400 (MSD) Date: Mon, 14 Jul 1997 21:32:07 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= To: Peter Wemm cc: Adam David , Peter Wemm , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: Re: cvs commit: src/usr.bin/top machine.c In-Reply-To: <199707141431.WAA05038@spinner.dialix.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 14 Jul 1997, Peter Wemm wrote: > > > Hack to work around the large username field... scan for the largest > > > username present on the system at startup and use that for the field widt > h. > > > It's not ideal but (I think) better than it was before. The width is > > > limited to within 8..16. Please back it out. We don't need hacks. If you try to improve situation, please implement run-time scanning through active names to be displayed (not at startup only, but each time) to compute max one. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/ From owner-cvs-usrbin Mon Jul 14 11:44:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA07231 for cvs-usrbin-outgoing; Mon, 14 Jul 1997 11:44:55 -0700 (PDT) Received: from veda.is (veda.is [193.4.230.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA07192; Mon, 14 Jul 1997 11:44:24 -0700 (PDT) Received: from ubiq.veda.is (ubiq.veda.is [193.4.230.60]) by veda.is (8.8.5/8.8.5) with ESMTP id SAA18303; Mon, 14 Jul 1997 18:44:19 GMT From: Adam David Received: (from adam@localhost) by ubiq.veda.is (8.8.5/8.8.5) id SAA21921; Mon, 14 Jul 1997 18:44:16 GMT Message-Id: <199707141844.SAA21921@ubiq.veda.is> Subject: Re: cvs commit: src/usr.bin/top machine.c In-Reply-To: from "[______ ______]" at "Jul 14, 97 09:32:07 pm" To: ache@nagual.pp.ru (=?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?=) Date: Mon, 14 Jul 1997 18:44:14 +0000 (GMT) Cc: peter@spinner.dialix.com.au, peter@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > > > It's not ideal but (I think) better than it was before. The width is > > > > limited to within 8..16. > > Please back it out. We don't need hacks. If you try to improve situation, > please implement run-time scanning through active names to be displayed > (not at startup only, but each time) to compute max one. The only other sane alternative seems to be a config file, where the field length is specified. Once a config file is there of course, it could specify dynamic behaviour or (old) fixed length. But which behaviour should be the default? -- Adam David From owner-cvs-usrbin Mon Jul 14 12:36:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA09798 for cvs-usrbin-outgoing; Mon, 14 Jul 1997 12:36:31 -0700 (PDT) Received: from lsd.relcom.eu.net (lsd.relcom.eu.net [193.124.23.23]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA09668; Mon, 14 Jul 1997 12:34:47 -0700 (PDT) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.6/8.8.5) id XAA08090; Mon, 14 Jul 1997 23:34:31 +0400 (MSD) Date: Mon, 14 Jul 1997 23:34:31 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= X-Sender: ache@lsd.relcom.eu.net To: Adam David cc: peter@spinner.dialix.com.au, peter@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: Re: cvs commit: src/usr.bin/top machine.c In-Reply-To: <199707141844.SAA21921@ubiq.veda.is> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 14 Jul 1997, Adam David wrote: > > > > > It's not ideal but (I think) better than it was before. The width is > > > > > limited to within 8..16. > > > > Please back it out. We don't need hacks. If you try to improve situation, > > please implement run-time scanning through active names to be displayed > > (not at startup only, but each time) to compute max one. > > The only other sane alternative seems to be a config file, where the field > length is specified. Once a config file is there of course, it could specify > dynamic behaviour or (old) fixed length. But which behaviour should be the > default? Why config file is ever needed? True dynamic behaviour (not at startup only but each time displayed) will be enough. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/ From owner-cvs-usrbin Mon Jul 14 16:17:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA20904 for cvs-usrbin-outgoing; Mon, 14 Jul 1997 16:17:31 -0700 (PDT) Received: from veda.is (veda.is [193.4.230.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA20850; Mon, 14 Jul 1997 16:16:13 -0700 (PDT) Received: from ubiq.veda.is (ubiq.veda.is [193.4.230.60]) by veda.is (8.8.5/8.8.5) with ESMTP id XAA12469; Mon, 14 Jul 1997 23:15:16 GMT From: Adam David Received: (from adam@localhost) by ubiq.veda.is (8.8.5/8.8.5) id XAA22303; Mon, 14 Jul 1997 23:15:14 GMT Message-Id: <199707142315.XAA22303@ubiq.veda.is> Subject: Re: cvs commit: src/usr.bin/top machine.c In-Reply-To: from "[______ ______]" at "Jul 14, 97 11:34:31 pm" To: ache@nagual.pp.ru (=?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?=) Date: Mon, 14 Jul 1997 23:15:13 +0000 (GMT) Cc: peter@spinner.dialix.com.au, peter@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > The only other sane alternative seems to be a config file, where the field > > length is specified. Once a config file is there of course, it could specify > > dynamic behaviour or (old) fixed length. But which behaviour should be the > > default? > > Why config file is ever needed? True dynamic behaviour (not at startup > only but each time displayed) will be enough. Fixed width is less overhead, some people might prefer that display. It is possible for sysadmin to determine in advance which field width to use, and change it without having to hack and/or recompile. -- Adam David From owner-cvs-usrbin Mon Jul 14 18:00:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA25382 for cvs-usrbin-outgoing; Mon, 14 Jul 1997 18:00:28 -0700 (PDT) Received: from spinner.dialix.com.au (spinner.dialix.com.au [192.203.228.67]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA25293; Mon, 14 Jul 1997 17:59:53 -0700 (PDT) Received: from spinner.dialix.com.au (localhost.dialix.com.au [127.0.0.1]) by spinner.dialix.com.au with ESMTP id IAA04464; Tue, 15 Jul 1997 08:58:59 +0800 (WST) Message-Id: <199707150058.IAA04464@spinner.dialix.com.au> X-Mailer: exmh version 2.0delta 6/3/97 To: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= cc: Adam David , peter@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: Re: cvs commit: src/usr.bin/top machine.c In-reply-to: Your message of "Tue, 15 Jul 1997 03:26:06 +0400." Date: Tue, 15 Jul 1997 08:58:59 +0800 From: Peter Wemm Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= wrote: > On Mon, 14 Jul 1997, Adam David wrote: > > > > Why config file is ever needed? True dynamic behaviour (not at startup > > > only but each time displayed) will be enough. > > > > Fixed width is less overhead, some people might prefer that display. > > It is possible for sysadmin to determine in advance which field width > > to use, and change it without having to hack and/or recompile. > > It is no overhead to count max over several hundreds of processes. ps > already does it and you not notice. Output time gives much more overhead. ps and top are completely different. In ps, it takes a snapshot of all the currently running processes and finds the largest username to determine the final output format. Top *cannot* do the same thing because the list of processes is not final. What if somebody else logs in? (Unix is multi-user after all). What top probably needs to do is implement runtime column resizing and start at 8 characters. When and if a process turns up with more than the current column size, then do a complete screen clear and redraw with the larger column size. This is painful because top is a simple termcap application. The result is that the screen will have several redraws as the field is expanded beyond 8 characters. There should probably also be some sort of shrink as well so that it will resize back to the largest name seen in (say) the last 60 seconds after a while. > -- > Andrey A. Chernov > > http://www.nagual.pp.ru/~ache/ > Cheers, -Peter From owner-cvs-usrbin Tue Jul 15 00:05:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA10736 for cvs-usrbin-outgoing; Tue, 15 Jul 1997 00:05:37 -0700 (PDT) Received: from news1.gtn.com (news1.gtn.com [194.77.0.15]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA10656; Tue, 15 Jul 1997 00:04:29 -0700 (PDT) Received: (from uucp@localhost) by news1.gtn.com (8.7.2/8.7.2) with UUCP id IAA20898; Tue, 15 Jul 1997 08:45:43 +0200 (MET DST) Received: (from andreas@localhost) by klemm.gtn.com (8.8.6/8.8.6) id HAA19303; Tue, 15 Jul 1997 07:57:49 +0200 (CEST) Message-ID: <19970715075749.39647@gtn.com> Date: Tue, 15 Jul 1997 07:57:49 +0200 From: Andreas Klemm To: Adam David Cc: =?iso-8859-1?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= , peter@spinner.dialix.com.au, peter@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-usrbin@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/top machine.c References: <199707141844.SAA21921@ubiq.veda.is> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.76 In-Reply-To: <199707141844.SAA21921@ubiq.veda.is>; from Adam David on Mon, Jul 14, 1997 at 06:44:14PM +0000 X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-cvs-usrbin@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Mon, Jul 14, 1997 at 06:44:14PM +0000, Adam David wrote: > > > > > It's not ideal but (I think) better than it was before. The width is > > > > > limited to within 8..16. > > > > Please back it out. We don't need hacks. If you try to improve situation, > > please implement run-time scanning through active names to be displayed > > (not at startup only, but each time) to compute max one. > > The only other sane alternative seems to be a config file, where the field > length is specified. Once a config file is there of course, it could specify > dynamic behaviour or (old) fixed length. But which behaviour should be the > default? dynamic, because 16 character wide display looks really ugly and leaves to few room for the running process itself. -- Andreas Klemm | klemm.gtn.com - powered by Symmetric MultiProcessor FreeBSD http://www.freebsd.org/~fsmp/SMP/SMP.html http://www.freebsd.org/~fsmp/SMP/benches.html From owner-cvs-usrbin Tue Jul 15 00:06:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA10817 for cvs-usrbin-outgoing; Tue, 15 Jul 1997 00:06:16 -0700 (PDT) Received: from news1.gtn.com (news1.gtn.com [194.77.0.15]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA10733; Tue, 15 Jul 1997 00:05:34 -0700 (PDT) Received: (from uucp@localhost) by news1.gtn.com (8.7.2/8.7.2) with UUCP id IAA20942; Tue, 15 Jul 1997 08:45:49 +0200 (MET DST) Received: (from andreas@localhost) by klemm.gtn.com (8.8.6/8.8.6) id HAA19312; Tue, 15 Jul 1997 07:59:44 +0200 (CEST) Message-ID: <19970715075944.38196@gtn.com> Date: Tue, 15 Jul 1997 07:59:44 +0200 From: Andreas Klemm To: =?iso-8859-1?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= Cc: Adam David , peter@spinner.dialix.com.au, peter@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-usrbin@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/top machine.c References: <199707141844.SAA21921@ubiq.veda.is> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.76 In-Reply-To: =?iso-8859-1?Q?=3CPine=2EBSF=2E3=2E96=2E970714233322=2E8069A-100000=40ls?= =?iso-8859-1?Q?d=2Erelcom=2Eeu=2Enet=3E=3B_from_=E1=CE=C4=D2=C5=CA_=FE?= =?iso-8859-1?Q?=C5=D2=CE=CF=D7_on_Mon=2C_Jul_14=2C_1997_at_11=3A34=3A31P?= =?iso-8859-1?Q?M_+0400?= X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-cvs-usrbin@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Mon, Jul 14, 1997 at 11:34:31PM +0400, Андрей Чернов wrote: > On Mon, 14 Jul 1997, Adam David wrote: > > > > > > > It's not ideal but (I think) better than it was before. The width is > > > > > > limited to within 8..16. > > > > > > Please back it out. We don't need hacks. If you try to improve situation, > > > please implement run-time scanning through active names to be displayed > > > (not at startup only, but each time) to compute max one. > > > > The only other sane alternative seems to be a config file, where the field > > length is specified. Once a config file is there of course, it could specify > > dynamic behaviour or (old) fixed length. But which behaviour should be the > > default? > > Why config file is ever needed? True dynamic behaviour (not at startup > only but each time displayed) will be enough. What about a command line switch or a command withing top, that allows to select it by the user. to much dynamic isn't wanted during runtime. Default to 8 and let the user decide, if he wants to see more of the UID and less of the process itself. -- Andreas Klemm | klemm.gtn.com - powered by Symmetric MultiProcessor FreeBSD http://www.freebsd.org/~fsmp/SMP/SMP.html http://www.freebsd.org/~fsmp/SMP/benches.html From owner-cvs-usrbin Tue Jul 15 00:11:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA11186 for cvs-usrbin-outgoing; Tue, 15 Jul 1997 00:11:57 -0700 (PDT) Received: from ghpc8.ihf.rwth-aachen.de (ghpc8.ihf.RWTH-Aachen.DE [134.130.90.8]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA11135; Tue, 15 Jul 1997 00:11:35 -0700 (PDT) Received: from ghpc6.ihf.rwth-aachen.de (ghpc6.ihf.rwth-aachen.de [134.130.90.6]) by ghpc8.ihf.rwth-aachen.de (8.8.5/8.8.5) with ESMTP id JAA06294; Tue, 15 Jul 1997 09:11:01 +0200 (CEST) Received: (from thomas@localhost) by ghpc6.ihf.rwth-aachen.de (8.8.6/8.8.5) id JAA00536; Tue, 15 Jul 1997 09:11:00 +0200 (CEST) To: Adam David Cc: ache@nagual.pp.ru (=?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?=), peter@spinner.dialix.com.au, peter@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: Re: cvs commit: src/usr.bin/top machine.c References: <199707141844.SAA21921@ubiq.veda.is> From: Thomas Gellekum Date: 15 Jul 1997 09:10:59 +0200 In-Reply-To: Adam David's message of Mon, 14 Jul 1997 18:44:14 +0000 (GMT) Message-ID: <87rad0u6ws.fsf@ghpc6.ihf.rwth-aachen.de> Lines: 12 X-Mailer: Gnus v5.4.37/XEmacs 19.15 Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Adam David writes: > > The only other sane alternative seems to be a config file, where the field > length is specified. Once a config file is there of course, it could specify > dynamic behaviour or (old) fixed length. But which behaviour should be the > default? Why don't you simply set the UID field to eight characters width and cut the rest off? Maybe you can add a command key to display the UID as a number in case of ambiguities. tg From owner-cvs-usrbin Tue Jul 15 01:05:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA13913 for cvs-usrbin-outgoing; Tue, 15 Jul 1997 01:05:56 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA13879; Tue, 15 Jul 1997 01:05:33 -0700 (PDT) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id BAA27305; Tue, 15 Jul 1997 01:04:43 -0700 (PDT) Date: Tue, 15 Jul 1997 01:04:43 -0700 (PDT) Message-Id: <199707150804.BAA27305@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/gprof arcs.c gprof.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/07/15 01:04:42 PDT Modified files: usr.bin/gprof arcs.c gprof.c Log: Revert to original style. Revision Changes Path 1.5 +5 -3 src/usr.bin/gprof/arcs.c 1.6 +3 -2 src/usr.bin/gprof/gprof.c From owner-cvs-usrbin Tue Jul 15 01:18:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA14461 for cvs-usrbin-outgoing; Tue, 15 Jul 1997 01:18:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA14423; Tue, 15 Jul 1997 01:17:31 -0700 (PDT) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id BAA27400; Tue, 15 Jul 1997 01:16:40 -0700 (PDT) Date: Tue, 15 Jul 1997 01:16:40 -0700 (PDT) Message-Id: <199707150816.BAA27400@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/gprof arcs.c gprof.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/07/15 01:16:40 PDT Modified files: (Branch: RELENG_2_2) usr.bin/gprof arcs.c gprof.c Log: MFC: Revert to original style. Revision Changes Path 1.2.6.2 +5 -3 src/usr.bin/gprof/arcs.c 1.4.6.2 +3 -2 src/usr.bin/gprof/gprof.c From owner-cvs-usrbin Tue Jul 15 02:49:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA18207 for cvs-usrbin-outgoing; Tue, 15 Jul 1997 02:49:58 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA18184; Tue, 15 Jul 1997 02:49:41 -0700 (PDT) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id CAA27881; Tue, 15 Jul 1997 02:48:50 -0700 (PDT) Date: Tue, 15 Jul 1997 02:48:50 -0700 (PDT) Message-Id: <199707150948.CAA27881@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/id id.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/07/15 02:48:50 PDT Modified files: usr.bin/id id.c Log: Use err(3) instead of local redefinition. Silent -Wall. Revision Changes Path 1.5 +26 -51 src/usr.bin/id/id.c From owner-cvs-usrbin Tue Jul 15 02:52:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA18311 for cvs-usrbin-outgoing; Tue, 15 Jul 1997 02:52:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA18269; Tue, 15 Jul 1997 02:51:52 -0700 (PDT) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id CAA27974; Tue, 15 Jul 1997 02:51:01 -0700 (PDT) Date: Tue, 15 Jul 1997 02:51:01 -0700 (PDT) Message-Id: <199707150951.CAA27974@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/indent args.c indent.1 indent.c io.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/07/15 02:51:00 PDT Modified files: usr.bin/indent args.c indent.1 indent.c io.c Log: Use err(3) instead of local redefinition. Add usage(). Revision Changes Path 1.2 +10 -12 src/usr.bin/indent/args.c 1.5 +11 -11 src/usr.bin/indent/indent.1 1.2 +25 -24 src/usr.bin/indent/indent.c 1.3 +8 -4 src/usr.bin/indent/io.c From owner-cvs-usrbin Tue Jul 15 02:55:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA18504 for cvs-usrbin-outgoing; Tue, 15 Jul 1997 02:55:39 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA18466; Tue, 15 Jul 1997 02:55:26 -0700 (PDT) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id CAA28016; Tue, 15 Jul 1997 02:54:35 -0700 (PDT) Date: Tue, 15 Jul 1997 02:54:35 -0700 (PDT) Message-Id: <199707150954.CAA28016@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/ipcrm ipcrm.1 ipcrm.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/07/15 02:54:35 PDT Modified files: usr.bin/ipcrm ipcrm.1 ipcrm.c Log: Add rcsid. Cosmetic in usage string. Typo in man page. Revision Changes Path 1.5 +3 -3 src/usr.bin/ipcrm/ipcrm.1 1.5 +11 -6 src/usr.bin/ipcrm/ipcrm.c From owner-cvs-usrbin Tue Jul 15 02:57:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA18602 for cvs-usrbin-outgoing; Tue, 15 Jul 1997 02:57:01 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA18573; Tue, 15 Jul 1997 02:56:50 -0700 (PDT) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id CAA28062; Tue, 15 Jul 1997 02:55:59 -0700 (PDT) Date: Tue, 15 Jul 1997 02:55:59 -0700 (PDT) Message-Id: <199707150955.CAA28062@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/ipcs ipcs.1 ipcs.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/07/15 02:55:59 PDT Modified files: usr.bin/ipcs ipcs.1 ipcs.c Log: Add rcsid, Remove unused vars. Revision Changes Path 1.7 +5 -5 src/usr.bin/ipcs/ipcs.1 1.10 +11 -10 src/usr.bin/ipcs/ipcs.c From owner-cvs-usrbin Tue Jul 15 02:58:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA18703 for cvs-usrbin-outgoing; Tue, 15 Jul 1997 02:58:37 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA18656; Tue, 15 Jul 1997 02:58:20 -0700 (PDT) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id CAA28107; Tue, 15 Jul 1997 02:57:29 -0700 (PDT) Date: Tue, 15 Jul 1997 02:57:29 -0700 (PDT) Message-Id: <199707150957.CAA28107@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/join join.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/07/15 02:57:29 PDT Modified files: usr.bin/join join.c Log: Cosmetic in usage string. Revision Changes Path 1.7 +9 -4 src/usr.bin/join/join.c From owner-cvs-usrbin Tue Jul 15 02:58:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA18729 for cvs-usrbin-outgoing; Tue, 15 Jul 1997 02:58:44 -0700 (PDT) Received: from veda.is (veda.is [193.4.230.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA18654; Tue, 15 Jul 1997 02:58:20 -0700 (PDT) Received: from ubiq.veda.is (ubiq.veda.is [193.4.230.60]) by veda.is (8.8.5/8.8.5) with ESMTP id JAA14148; Tue, 15 Jul 1997 09:58:17 GMT From: Adam David Received: (from adam@localhost) by ubiq.veda.is (8.8.6/8.8.5) id JAA23164; Tue, 15 Jul 1997 09:58:14 GMT Message-Id: <199707150958.JAA23164@ubiq.veda.is> Subject: Re: cvs commit: src/usr.bin/top machine.c In-Reply-To: <19970715075749.39647@gtn.com> from Andreas Klemm at "Jul 15, 97 07:57:49 am" To: andreas@klemm.gtn.com (Andreas Klemm) Date: Tue, 15 Jul 1997 09:58:13 +0000 (GMT) Cc: ache@nagual.pp.ru, peter@spinner.dialix.com.au, peter@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-usrbin@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrbin@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > The only other sane alternative seems to be a config file, where the field > > length is specified. Once a config file is there of course, it could specify > > dynamic behaviour or (old) fixed length. But which behaviour should be the > > default? > > dynamic, because 16 character wide display looks really ugly and > leaves to few room for the running process itself. The opinion is valid, but the logic flawed. One could equally well say... static, because 8 character wide proportions well on the typical screen. or... dynamic, because 8 character wide is highly likely to truncate. Principle of least surprise (disturbance?) would also suggest to make the previous established behaviour default, unless a compelling reason exists to have it replaced. -- Adam David From owner-cvs-usrbin Tue Jul 15 03:00:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA18829 for cvs-usrbin-outgoing; Tue, 15 Jul 1997 03:00:39 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA18807; Tue, 15 Jul 1997 03:00:23 -0700 (PDT) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id CAA28142; Tue, 15 Jul 1997 02:59:31 -0700 (PDT) Date: Tue, 15 Jul 1997 02:59:31 -0700 (PDT) Message-Id: <199707150959.CAA28142@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/jot jot.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/07/15 02:59:31 PDT Modified files: usr.bin/jot jot.c Log: Use err(3) instead of local redefinition. Add usage(). Revision Changes Path 1.7 +28 -35 src/usr.bin/jot/jot.c From owner-cvs-usrbin Tue Jul 15 16:21:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA00893 for cvs-usrbin-outgoing; Tue, 15 Jul 1997 16:21:44 -0700 (PDT) Received: from bsd.fs.bauing.th-darmstadt.de (bsd.fs.bauing.th-darmstadt.de [130.83.63.241]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA00866; Tue, 15 Jul 1997 16:21:19 -0700 (PDT) Received: from panke.panke.de (anonymous215.ppp.cs.tu-berlin.de [130.149.17.215]) by bsd.fs.bauing.th-darmstadt.de (8.8.5/8.8.5) with ESMTP id BAA24223; Wed, 16 Jul 1997 01:20:34 +0200 (MET DST) Received: (from wosch@localhost) by panke.panke.de (8.8.5/8.6.12) id AAA00839; Wed, 16 Jul 1997 00:52:44 +0200 (MET DST) To: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= Cc: Adam David , peter@spinner.dialix.com.au, peter@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: Re: cvs commit: src/usr.bin/top machine.c References: From: Wolfram Schneider Date: 16 Jul 1997 00:52:43 +0200 In-Reply-To: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?='s message of Mon, 14 Jul 1997 23:34:31 +0400 (MSD) Message-ID: Lines: 9 Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= writes: > Why config file is ever needed? True dynamic behaviour (not at startup > only but each time displayed) will be enough. "True dynamic behaviour" will break the internal output optimization of top. No. No. No. -- Wolfram Schneider http://www.apfel.de/~wosch/ From owner-cvs-usrbin Tue Jul 15 16:21:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA00904 for cvs-usrbin-outgoing; Tue, 15 Jul 1997 16:21:46 -0700 (PDT) Received: from bsd.fs.bauing.th-darmstadt.de (bsd.fs.bauing.th-darmstadt.de [130.83.63.241]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA00870; Tue, 15 Jul 1997 16:21:22 -0700 (PDT) Received: from panke.panke.de (anonymous215.ppp.cs.tu-berlin.de [130.149.17.215]) by bsd.fs.bauing.th-darmstadt.de (8.8.5/8.8.5) with ESMTP id BAA24226; Wed, 16 Jul 1997 01:20:39 +0200 (MET DST) Received: (from wosch@localhost) by panke.panke.de (8.8.5/8.6.12) id AAA00832; Wed, 16 Jul 1997 00:47:51 +0200 (MET DST) To: Andreas Klemm Cc: =?iso-8859-1?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= , Adam David , peter@spinner.dialix.com.au, peter@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: Re: cvs commit: src/usr.bin/top machine.c References: <199707141844.SAA21921@ubiq.veda.is> <19970715075944.38196@gtn.com> From: Wolfram Schneider Date: 16 Jul 1997 00:47:49 +0200 In-Reply-To: Andreas Klemm's message of Tue, 15 Jul 1997 07:59:44 +0200 Message-ID: Lines: 10 Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Andreas Klemm writes: > What about a command line switch or a command withing top, > that allows to select it by the user. to much dynamic isn't > wanted during runtime. Default to 8 and let the user decide, > if he wants to see more of the UID and less of the process itself. Good idea. -- Wolfram Schneider http://www.apfel.de/~wosch/ From owner-cvs-usrbin Thu Jul 17 23:41:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA03510 for cvs-usrbin-outgoing; Thu, 17 Jul 1997 23:41:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA03110; Thu, 17 Jul 1997 23:37:31 -0700 (PDT) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA27052; Thu, 17 Jul 1997 23:36:16 -0700 (PDT) Date: Thu, 17 Jul 1997 23:36:16 -0700 (PDT) Message-Id: <199707180636.XAA27052@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/keyinit keyinit.1 skeyinit.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/07/17 23:36:16 PDT Modified files: (Branch: RELENG_2_2) usr.bin/keyinit keyinit.1 skeyinit.c Log: MFC: Use err(3). Mdoc'ify man page. Revision Changes Path 1.3.2.1 +61 -43 src/usr.bin/keyinit/keyinit.1 1.6.2.1 +7 -8 src/usr.bin/keyinit/skeyinit.c From owner-cvs-usrbin Thu Jul 17 23:42:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA03600 for cvs-usrbin-outgoing; Thu, 17 Jul 1997 23:42:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA03250; Thu, 17 Jul 1997 23:38:35 -0700 (PDT) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA27087; Thu, 17 Jul 1997 23:37:21 -0700 (PDT) Date: Thu, 17 Jul 1997 23:37:21 -0700 (PDT) Message-Id: <199707180637.XAA27087@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/ktrace ktrace.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/07/17 23:37:21 PDT Modified files: (Branch: RELENG_2_2) usr.bin/ktrace ktrace.c Log: MFC: Cosmetic in usage string. Revision Changes Path 1.6.2.2 +4 -3 src/usr.bin/ktrace/ktrace.c From owner-cvs-usrbin Thu Jul 17 23:45:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA03812 for cvs-usrbin-outgoing; Thu, 17 Jul 1997 23:45:38 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA03579; Thu, 17 Jul 1997 23:42:02 -0700 (PDT) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA27185; Thu, 17 Jul 1997 23:40:47 -0700 (PDT) Date: Thu, 17 Jul 1997 23:40:47 -0700 (PDT) Message-Id: <199707180640.XAA27185@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/kzip kzip.8 kzip.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/07/17 23:40:47 PDT Modified files: usr.bin/kzip kzip.8 kzip.c Log: Use err(3). Mdoc'ify man page. Revision Changes Path 1.4 +2 -2 src/usr.bin/kzip/kzip.8 1.10 +42 -56 src/usr.bin/kzip/kzip.c From owner-cvs-usrbin Thu Jul 17 23:47:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA03938 for cvs-usrbin-outgoing; Thu, 17 Jul 1997 23:47:50 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA03745; Thu, 17 Jul 1997 23:44:31 -0700 (PDT) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA27244; Thu, 17 Jul 1997 23:43:17 -0700 (PDT) Date: Thu, 17 Jul 1997 23:43:17 -0700 (PDT) Message-Id: <199707180643.XAA27244@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/lam lam.1 lam.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/07/17 23:43:17 PDT Modified files: usr.bin/lam lam.1 lam.c Log: Use err(3) instead of local redefintion. Add usage() as a separate function. Rewrote man page in mdoc format. Revision Changes Path 1.2 +56 -55 src/usr.bin/lam/lam.1 1.2 +19 -24 src/usr.bin/lam/lam.c From owner-cvs-usrbin Fri Jul 18 06:56:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA21662 for cvs-usrbin-outgoing; Fri, 18 Jul 1997 06:56:56 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA21495; Fri, 18 Jul 1997 06:53:15 -0700 (PDT) From: Wolfram Schneider Received: (from wosch@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id GAA29869; Fri, 18 Jul 1997 06:51:58 -0700 (PDT) Date: Fri, 18 Jul 1997 06:51:58 -0700 (PDT) Message-Id: <199707181351.GAA29869@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/ee ee.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 1997/07/18 06:51:58 PDT Modified files: usr.bin/ee ee.c Log: A not initialized variable forced malloc to abort if the user press ^Z (undelete line). Detected by: /etc/malloc.conf -> AJ Revision Changes Path 1.8 +3 -2 src/usr.bin/ee/ee.c From owner-cvs-usrbin Sat Jul 19 08:22:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA29395 for cvs-usrbin-outgoing; Sat, 19 Jul 1997 08:22:38 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA29311; Sat, 19 Jul 1997 08:20:34 -0700 (PDT) From: John Fieber Received: (from jfieber@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id IAA08625; Sat, 19 Jul 1997 08:19:09 -0700 (PDT) Date: Sat, 19 Jul 1997 08:19:09 -0700 (PDT) Message-Id: <199707191519.IAA08625@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-share@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/share Makefile src/share/sgml CATALOG Makefile Makefile.inc src/share/sgml/FreeBSD Makefile linuxdoc.dcl linuxdoc.dtd linuxdoc.sty src/share/sgml/ISO ISOamsa ISOamsb ISOamsc ISOamsn ISOamso ISOamsr ISObox ISOcyr1 ISOcyr2 ISOdia ... Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jfieber 1997/07/19 08:19:08 PDT Modified files: share Makefile usr.bin Makefile Removed files: share/sgml CATALOG Makefile Makefile.inc share/sgml/FreeBSD Makefile linuxdoc.dcl linuxdoc.dtd linuxdoc.sty share/sgml/ISO ISOamsa ISOamsb ISOamsc ISOamsn ISOamso ISOamsr ISObox ISOcyr1 ISOcyr2 ISOdia ISOgrk1 ISOgrk2 ISOgrk3 ISOgrk4 ISOlat1 ISOlat2 ISOnum ISOpub ISOtech Makefile share/sgml/docbook Makefile cals-tbl.dtd dbgenent.mod dbhier.mod dbpool.mod docbook.dcl docbook.dtd share/sgml/transpec Makefile docbook-html.ts html.cmap html.sdata linuxdoc-html.ts linuxdoc-roff.ts roff.cmap roff.sdata transpec.dtd usr.bin/sgmlfmt Makefile sgmlfmt.1 sgmlfmt.pl usr.bin/sgmls LICENSE Makefile Makefile.inc README configure sgmls.pl unix.cfg usr.bin/sgmls/instant Makefile README browse.c general.h hyper.c info.c instant.1 main.c tables.c traninit.c translate.c translate.h transpec.5 tranvar.c util.c usr.bin/sgmls/libsgmls Makefile sgmls.c sgmls.h usr.bin/sgmls/sgmls Makefile action.h adl.h alloc.h ambig.c appl.h catalog.c catalog.h config.h context.c context.h dosproc.c ebcdic.c ebcdic.h entgen.c entity.h error.h etype.h exclude.c genlex.c getopt.c getopt.h keyword.h latin1.h lexcode.h lexrf.c lextaba.c lextabe.c lextoke.h lineout.c lineout.h main.c md1.c md2.c msg.h msgcat.c msgcat.h pars1.c pars2.c pcbrf.c portproc.c serv.c sgml1.c sgml2.c sgmlaux.h sgmldecl.c sgmldecl.h sgmlfnsm.h sgmlincl.h sgmlio.c sgmlmain.h sgmlmsg.c sgmls.1 sgmlxtrn.c sgmlxtrn.h source.h std.h stklen.c strerror.c synrf.c synxtrn.h tools.h trace.h traceset.c unix.cfg unixproc.c version.c xfprintf.c Log: Remove SGML tools from -current. Revision Changes Path 1.14 +1 -1 src/share/Makefile 1.87 +2 -2 src/usr.bin/Makefile From owner-cvs-usrbin Sat Jul 19 08:35:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA29811 for cvs-usrbin-outgoing; Sat, 19 Jul 1997 08:35:34 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA29707; Sat, 19 Jul 1997 08:33:32 -0700 (PDT) From: John Fieber Received: (from jfieber@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id IAA09517; Sat, 19 Jul 1997 08:32:06 -0700 (PDT) Date: Sat, 19 Jul 1997 08:32:06 -0700 (PDT) Message-Id: <199707191532.IAA09517@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG, cvs-share@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/etc/mtree BSD.usr.dist src/share Makefile src/share/sgml CATALOG Makefile Makefile.inc src/share/sgml/FreeBSD Makefile linuxdoc.dcl linuxdoc.dtd linuxdoc.sty src/share/sgml/ISO ISOamsa ISOamsb ISOamsc ISOamsn ... Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jfieber 1997/07/19 08:32:06 PDT Modified files: (Branch: RELENG_2_2) etc/mtree BSD.usr.dist share Makefile usr.bin Makefile Removed files: (Branch: RELENG_2_2) share/sgml CATALOG Makefile Makefile.inc share/sgml/FreeBSD Makefile linuxdoc.dcl linuxdoc.dtd linuxdoc.sty share/sgml/ISO ISOamsa ISOamsb ISOamsc ISOamsn ISOamso ISOamsr ISObox ISOcyr1 ISOcyr2 ISOdia ISOgrk1 ISOgrk2 ISOgrk3 ISOgrk4 ISOlat1 ISOlat2 ISOnum ISOpub ISOtech Makefile share/sgml/docbook Makefile cals-tbl.dtd dbgenent.mod dbhier.mod dbpool.mod docbook.dcl docbook.dtd share/sgml/transpec Makefile docbook-html.ts html.cmap html.sdata linuxdoc-html.ts linuxdoc-roff.ts roff.cmap roff.sdata transpec.dtd usr.bin/sgmlfmt Makefile sgmlfmt.1 sgmlfmt.pl usr.bin/sgmls LICENSE Makefile Makefile.inc README configure sgmls.pl unix.cfg usr.bin/sgmls/instant Makefile README browse.c general.h hyper.c info.c instant.1 main.c tables.c traninit.c translate.c translate.h transpec.5 tranvar.c util.c usr.bin/sgmls/libsgmls Makefile sgmls.c sgmls.h usr.bin/sgmls/sgmls Makefile action.h adl.h alloc.h ambig.c appl.h catalog.c catalog.h config.h context.c context.h dosproc.c ebcdic.c ebcdic.h entgen.c entity.h error.h etype.h exclude.c genlex.c getopt.c getopt.h keyword.h latin1.h lexcode.h lexrf.c lextaba.c lextabe.c lextoke.h lineout.c lineout.h main.c md1.c md2.c msg.h msgcat.c msgcat.h pars1.c pars2.c pcbrf.c portproc.c serv.c sgml1.c sgml2.c sgmlaux.h sgmldecl.c sgmldecl.h sgmlfnsm.h sgmlincl.h sgmlio.c sgmlmain.h sgmlmsg.c sgmls.1 sgmlxtrn.c sgmlxtrn.h source.h std.h stklen.c strerror.c synrf.c synxtrn.h tools.h trace.h traceset.c unix.cfg unixproc.c version.c xfprintf.c Log: Remove SGML stuff from RELENG_2_2. Revision Changes Path 1.74.2.10 +1 -19 src/etc/mtree/BSD.usr.dist 1.12.2.2 +1 -1 src/share/Makefile 1.73.2.8 +2 -2 src/usr.bin/Makefile