Re: Cool trick: gmc and Debs

2000-08-11 Thread Christian Lynbech on satellite
 Greg == Greg Strockbine [EMAIL PROTECTED] writes:

 You can also browse tarballs, gzips, bzips, gzipped tarballs, bzipped
 tarballs, and zips as well, providing that the attendant gzip, bzip, tar,

Greg well, gee, its starting to sound like emacs  :-)

Just to make the note: emacs is able to browse tar files, even if
compressed, and I believe there is also support for .debs somewhere.


---+--
Christian Lynbech  | Ericsson Telebit, Fabrikvej 11, DK-8260 Viby J  
Fax:   +45 8675 6881   | email: [EMAIL PROTECTED]
Phone: +45 8675 6828   | web:   www.ericssontelebit.com
---+--
Hit the philistines three times over the head with the Elisp reference manual.
- [EMAIL PROTECTED] (Michael A. Petonic)



Re: Cool trick: gmc and Debs

2000-08-11 Thread Rick Macdonald
On 11 Aug 2000, Christian Lynbech on satellite wrote:

  Greg == Greg Strockbine [EMAIL PROTECTED] writes:
 
  You can also browse tarballs, gzips, bzips, gzipped tarballs, bzipped
  tarballs, and zips as well, providing that the attendant gzip, bzip, tar,
 
 Greg well, gee, its starting to sound like emacs  :-)
 
 Just to make the note: emacs is able to browse tar files, even if
 compressed, and I believe there is also support for .debs somewhere.

Yes, in the editors/debview package.

It was reported once that it didn't work with emacs v20, but I (the
debview author) just tried and it seems to work fine.

...RickM...




Re: Cool trick: gmc and Debs

2000-08-06 Thread kmself
On Sun, Aug 06, 2000 at 12:35:07AM +0200, Paul Seelig wrote:
 kmself@ix.netcom.com writes:
 
  And that GNU Midnight Commander (aka mc
  aka gmc) had a similar functionality.  This is a tool which, as I
  understand, was adapted from Novell's Midnight Commander file browsing
  utility.  
 
 It escapes me why you seem to be associating the GNU MC with Novell?
 GNU MC, which i know and use since some five years, IMHO never had any
 relations with Novell.  It's look and feel were based on the Norton
 Commander of DOS fame, but has surpassed it in functionality since
 years now.

Bad memory chips.  Organic.  Hard to replace.

I was remembering the LAN admins at a shop I worked at many moons ago
who used a tool which looked a lot like gmc.  I associated it with
Novell (we were a Novell network), though it may have been the Norton
tool.  Not sure.  Thanks for the clarification.

-- 
Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of Gestalt don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgp2MjZY9T9Fv.pgp
Description: PGP signature


Re: Cool trick: gmc and Debs

2000-08-06 Thread Preben Randhol
Patrick Dahiroc [EMAIL PROTECTED] wrote on 05/08/2000 (23:57) :
 first make sure you lesspipe on your system run 'which lesspipe'.  then
 put eval $(lesspipe) in your .bash_profile or in the appropriate login
 script for your shell.

I found out (to my surprise) that /etc/profile is not read. I had to add
source /etc/profile in ~/.bash_profile. It might be my fault though. I
cannot remember if I copied my old bash files or not.

-- 
Preben Randhol - [EMAIL PROTECTED] - http://www.pvv.org/~randhol/
Violence is the last refuge of the incompetent,  Isaac Asimov



Re: Cool trick: gmc and Debs

2000-08-05 Thread Preben Randhol
[EMAIL PROTECTED] wrote on 05/08/2000 (03:58) :
 add this to /etc/profile:  eval `/usr/bin/lesspipe` , source it, 
 and then  less whateveryouwant.deb. Cool, isn't it? Works with .rpm,
 .tar.gz, .zip too. 

Doesn't work for me. Odd.

-- 
Preben Randhol - [EMAIL PROTECTED] - http://www.pvv.org/~randhol/
Violence is the last refuge of the incompetent,  Isaac Asimov



Re: Cool trick: gmc and Debs

2000-08-05 Thread Patrick Dahiroc
first make sure you lesspipe on your system run 'which lesspipe'.  then
put eval $(lesspipe) in your .bash_profile or in the appropriate login
script for your shell.


On Sat, Aug 05, 2000 at 09:19:05PM +0200, Preben Randhol wrote:
 [EMAIL PROTECTED] wrote on 05/08/2000 (03:58) :
  add this to /etc/profile:  eval `/usr/bin/lesspipe` , source it, 
  and then  less whateveryouwant.deb. Cool, isn't it? Works with .rpm,
  .tar.gz, .zip too. 
 
 Doesn't work for me. Odd.
 
 -- 
 Preben Randhol - [EMAIL PROTECTED] - http://www.pvv.org/~randhol/
 Violence is the last refuge of the incompetent,  Isaac Asimov
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 

-- 
As a general rule, if you have trouble 
 with the binary system, then probably it 
 is because you do not really understand 
 the decimal system ...
R.W. Hamming



Re: Cool trick: gmc and Debs

2000-08-05 Thread Ed Cogburn
Paul Seelig wrote:
 
 kmself@ix.netcom.com writes:
 
  And that GNU Midnight Commander (aka mc
  aka gmc) had a similar functionality.  This is a tool which, as I
  understand, was adapted from Novell's Midnight Commander file browsing
  utility.
 
 It escapes me why you seem to be associating the GNU MC with Novell?
 GNU MC, which i know and use since some five years, IMHO never had any
 relations with Novell.  It's look and feel were based on the Norton
 Commander of DOS fame, but has surpassed it in functionality since
 years now.
 
  It's a file manager on steroids, as a console tool.
 
 The Midnight Commander console version for me is the most
 imprescindible tool on any *NIX.  The GNOME offspring is a far cry
 from it regarding functionality.  The console MC can be considered the
 Swiss Linux Army Chainsaw. ;-)


gmc is on the way out anyway, the console version will continue on
though.  For GNOME, Eazel's Nautilus file manager will replace gmc. 
I thought from the beginning that trying to make mc into a graphical
file manager while simultaneously continuing with the console version
was a mistake.  For one thing, it has led to a fork in (console) mc
development, something which I hope is temporary.


-- 
It is dangerous to be right when the government is wrong. - Voltaire

Ed C.



Cool trick: gmc and Debs

2000-08-04 Thread kmself
Color me clueless, but I just found something way cool.  I guess I
*should* have spent more time with Novell.

Last night's SVLUG presentation featured a couple of guys from Eazel
showing off a number of Nautalis features, including the ability to
browse RPMs as if they were a mounted filesystem.  Pretty slick.
Talking to folks, I understood that this was supported through the GVFS
-- Gnome Virtual Filesystem.  And that GNU Midnight Commander (aka mc
aka gmc) had a similar functionality.  This is a tool which, as I
understand, was adapted from Novell's Midnight Commander file browsing
utility.  It's a file manager on steroids, as a console tool.

My question to the Eazel folks was whether or not Deb browsing was also
supported.

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.

This is pretty damned sweet.  Thought I'd share.

If you already knew this, laugh at me.  If you didn't -- well, now you
do.

-- 
Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of Gestalt don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpW6Eav3yrEO.pgp
Description: PGP signature


Re: Cool trick: gmc and Debs

2000-08-04 Thread Russ Pitman
Well-- The oportunity to comment here is too good to pass. I believe that
mc should also be known as LSAK ( Linux Swiss Army Knife). Been an addict
for years and still don't know all its tricks-:))


On Thu, Aug 03, 2000 at 10:51:54PM -0700, kmself@ix.netcom.com wrote:
 Color me clueless, but I just found something way cool.  I guess I
 *should* have spent more time with Novell.
 
 Last night's SVLUG presentation featured a couple of guys from Eazel
 showing off a number of Nautalis features, including the ability to
 browse RPMs as if they were a mounted filesystem.  Pretty slick.
 Talking to folks, I understood that this was supported through the GVFS
 -- Gnome Virtual Filesystem.  And that GNU Midnight Commander (aka mc
 aka gmc) had a similar functionality.  This is a tool which, as I
 understand, was adapted from Novell's Midnight Commander file browsing
 utility.  It's a file manager on steroids, as a console tool.
 
 My question to the Eazel folks was whether or not Deb browsing was also
 supported.
 
 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.
 
 This is pretty damned sweet.  Thought I'd share.
 
 If you already knew this, laugh at me.  If you didn't -- well, now you
 do.
 
 -- 
 Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself
  Evangelist, Opensales, Inc.http://www.opensales.org
   What part of Gestalt don't you understand?   Debian GNU/Linux rocks!
http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
 GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0



-- 



Re: Cool trick: gmc and Debs

2000-08-04 Thread Mike Werner
kmself@ix.netcom.com wrote:
 Color me clueless, but I just found something way cool.  I guess I
 *should* have spent more time with Novell.
snip
 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.

You can also browse tarballs, gzips, bzips, gzipped tarballs, bzipped
tarballs, and zips as well, providing that the attendant gzip, bzip, tar,
and zip programs are all installed.  Select the archive in question, and you
can either:
Hit F3 to view a listing of the files contained in the archive
or
Hit Enter to browse the archive as if it were a directory

Altogether a most usefull little program.
-- 
Mike Werner  KA8YSD   | He that is slow to believe anything and
  | everything is of great understanding,
'91 GS500E| for belief in one false principle is the
Morgantown WV | beginning of all unwisdom.



Re: Cool trick: gmc and Debs

2000-08-04 Thread Greg Strockbine.
 You can also browse tarballs, gzips, bzips, gzipped tarballs, bzipped
 tarballs, and zips as well, providing that the attendant gzip, bzip, tar,

well, gee, its starting to sound like emacs  :-)

greg s.



Re: Cool trick: gmc and Debs

2000-08-04 Thread Carl Fink
On Fri, Aug 04, 2000 at 12:16:33PM -0400, Mike Werner wrote:
 
 You can also browse tarballs, gzips, bzips, gzipped tarballs, bzipped
 tarballs, and zips as well, providing that the attendant gzip, bzip, tar,
 and zip programs are all installed.

Interestingly, though, it can't browse cpio archives.
-- 
Carl Fink   [EMAIL PROTECTED]
Manager, Dueling Modems Computer Forum
http://dm.net



Re: Cool trick: gmc and Debs

2000-08-04 Thread Peter S Galbraith

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 [EMAIL PROTECTED]
 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



Re: Cool trick: gmc and Debs

2000-08-04 Thread Lehel Bernadt

On 04-Aug-2000 Carl Fink wrote:
 On Fri, Aug 04, 2000 at 12:16:33PM -0400, Mike Werner wrote:
  
 You can also browse tarballs, gzips, bzips, gzipped tarballs, bzipped
 tarballs, and zips as well, providing that the attendant gzip, bzip, tar,
 and zip programs are all installed.
 
 Interestingly, though, it can't browse cpio archives.

mc's vfs uses the scripts in /usr/lib/mc/extfs, so it can be easily
extended to handle other formats too.



Re: Cool trick: gmc and Debs

2000-08-04 Thread David Reviejo
* Lehel Bernadt [EMAIL PROTECTED] [000804 21:30]:
 
 On 04-Aug-2000 Carl Fink wrote:
  On Fri, Aug 04, 2000 at 12:16:33PM -0400, Mike Werner wrote:
   
  You can also browse tarballs, gzips, bzips, gzipped tarballs, bzipped
  tarballs, and zips as well, providing that the attendant gzip, bzip, tar,
  and zip programs are all installed.
  
  Interestingly, though, it can't browse cpio archives.
 
 mc's vfs uses the scripts in /usr/lib/mc/extfs, so it can be easily
 extended to handle other formats too.
 

Yes, but I think mc support cpio archives right now (see
/usr/lib/mc/extfs/ucpio). 

Anyway, I'm having some anoying messages from mc like this
Direntry warning
Super ino_usage is 2, memory leak
when browsing/extracting from gziped tar balls. 

Anyone know what is this?
-- 
David



Re: Cool trick: gmc and Debs

2000-08-04 Thread benalb
 Cuando: jue, 03 de ago de 2000, a las 10:51:54 -0700
 Quien: kmself@ix.netcom.com
 Que: Cool trick:  gmc and Debs


 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.
 
 This is pretty damned sweet.  Thought I'd share.
 
 If you already knew this, laugh at me.  If you didn't -- well, now you
 do.

This must be my second or thir mail to the list, again sorry for my
poor english. Well, mc (or gmc) is really cool, but you can browse a
.deb file with less:

add this to /etc/profile:  eval `/usr/bin/lesspipe` , source it, 
and then  less whateveryouwant.deb. Cool, isn't it? Works with .rpm,
.tar.gz, .zip too. 

-- 
Benjamín Albiñana Pérez
Linux User Nº78177
Clave pública: wget http://personal1.iddeo.es/benalb/benjamin-gpg.asc 
Usar emacs es como tirarse una licuadora. Electrizante al principio,
pero no te quedan ganas de repetir.




pgpiRKsIeBavZ.pgp
Description: PGP signature