[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cool trick: gmc and Debs



kmself@ix.netcom.com wrote:

> The cool hat trick:  You can browse through the contents of a Deb
> package *.deb file) with gmc as if it were a locally mounted fileystem,
> without having to unarchive and untar all the constituent components.

See also the debview package:

Description: Emacs mode for viewing Debian packages
 After installing, you can use C-D in dired mode to view the .deb file
 on the current line.  Allows both the structure and contents of a .deb
 archive to be examined.

----------

Also, /usr/bin/lesspipe (which can be used to enhance `less') has
support for deb packages, listing package description and then
content, e.g.

$ less xless_1.7-11.deb
 new debian package, version 2.0.
 size 17326 bytes: control archive= 1168 bytes.
     439 bytes,    12 lines      control              
     593 bytes,     9 lines      md5sums              
     644 bytes,    19 lines   *  postinst             #!/bin/sh
     299 bytes,     9 lines   *  postrm               #!/bin/sh
     356 bytes,    12 lines   *  prerm                #!/bin/sh
 Package: xless
 Version: 1.7-11
 Section: text
 Priority: extra
 Architecture: i386
 Depends: xaw-wrappers, libc6 (>= 2.1), xlib6g (>= 3.3.5-1)
 Installed-Size: 56
 Maintainer: Randolph Chung <tausq@debian.org>
 Description: A file browsing tool for the X Window System
  xless allows you to view information in an X window. It allows
  filename(s) arguments, or input via STDIN. It can print the
  current buffer and do regular expression searches.

*** Contents:
drwxr-xr-x root/root         0 1999-10-16 13:32:15 ./
drwxr-xr-x root/root         0 1999-10-16 13:32:13 usr/
drwxr-xr-x root/root         0 1999-10-16 13:32:14 usr/bin/
-rwxr-xr-x root/root     24432 1999-10-16 13:32:14 usr/bin/xless.real
drwxr-xr-x root/root         0 1999-10-16 13:32:12 usr/X11R6/
drwxr-xr-x root/root         0 1999-10-16 13:32:12 usr/X11R6/lib/
[cut]


Peter



Reply to: