From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 7 11:17:26 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71D711065670 for ; Thu, 7 Aug 2008 11:17:26 +0000 (UTC) (envelope-from andenore@freebsd.org) Received: from smtp.bluecom.no (smtp.bluecom.no [193.75.75.28]) by mx1.freebsd.org (Postfix) with ESMTP id 777858FC18 for ; Thu, 7 Aug 2008 11:17:25 +0000 (UTC) (envelope-from andenore@freebsd.org) Received: from duckjen.nextgentel.no (cFC4401C3.dhcp.bluecom.no [195.1.68.252]) by smtp.bluecom.no (Postfix) with ESMTP id 43CED16F68B for ; Thu, 7 Aug 2008 12:56:30 +0200 (CEST) Date: Thu, 07 Aug 2008 12:53:20 +0200 To: "freebsd-hackers@freebsd.org" From: "Anders Nore" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: User-Agent: Opera Mail/9.50 (FreeBSD) Subject: Suggestion for 'pkg_add -r' X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 11:17:26 -0000 Hi, In my pkg_improved GSoC project I've added a nice feature for 'pkg_add -r' which displays the size of the file being downloaded as well as progress status in % and bytes/kb/mb/... and download speed. If someone could test it and comment it would be perfect, below you can find the patches for RELENG_7 and -CURRENT. (As for now pkg_add does not have a -q/Q option (quiet), but this could perhaps be used to deprecate the output?). RELENG_7: http://home.no.net/andenore/patches/pkg_install_2008-08-06_RELENG_7.diff CURRENT: http://home.no.net/andenore/patches/pkg_install_2008-08-06_CURRENT.diff Thanks, Anders Nore