From owner-cvs-usrsbin Wed Jan 4 17:10:18 1995 Return-Path: cvs-usrsbin-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id RAA06371 for cvs-usrsbin-outgoing; Wed, 4 Jan 1995 17:10:18 -0800 Received: (from swallace@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id RAA06359; Wed, 4 Jan 1995 17:10:15 -0800 Date: Wed, 4 Jan 1995 17:10:15 -0800 From: Steven Wallace Message-Id: <199501050110.RAA06359@freefall.cdrom.com> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pkg_install/info info.h perform.c show.c Sender: cvs-usrsbin-owner@FreeBSD.org Precedence: bulk swallace 95/01/04 17:10:14 Modified: usr.sbin/pkg_install/info info.h perform.c show.c Log: Added new function show_index() which does a 'smart' display of the index file. Index descriptions are limited to MAXINDEXSIZE (60) chars. Any description beyond that is truncated. Also, only the first line is displayed as well. This allows pkg_info -a -I to be formated in two columns with one line per package for easy reading. Reviewed by: jkh