Debian bug report logs - #1776
zless missing

Package: gzip; Reported by: eckes <ecki@lina.inka.de>.

Message received at debian-bugs:


From lina.inka.de!ecki Sun Oct 29 00:06:52 1995
Return-Path: <ecki@lina.inka.de>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t9RpU-0002C7C; Sun, 29 Oct 95 00:06 PDT
Received: from sapa.inka.de by pixar.com with SMTP id AA26636
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sun, 29 Oct 1995 00:06:24 -0700
Received: from uu.inka.de (root@[193.197.84.8]) by sapa.inka.de
	 with smtp (S3.1.29.1) id <m0t9RpK-00000bC>; Sun, 29 Oct 95 08:06 MET
Received: from lina.inka.de (ecki@lina.inka.de) by uu.inka.de
	 with bsmtp (S3.1.29.1) id <m0t9RpH-001l6vC>; Sun, 29 Oct 95 08:06 MET
Received: from ecki@lina.inka.de (sendmail)
	(S3.1.29.1) id <m0t9Ros-0006UmC>; Sun, 29 Oct 95 08:06 MET
Message-Id: <m0t9Ros-0006UmC@lina.inka.de>
Subject: Re: Bug#1776: zless missing
To: debian-bugs@pixar.com
Date: Sun, 29 Oct 1995 08:06:14 +0100 (MET)
In-Reply-To: <Pine.SUN.3.91.951028215041.19012C-100000@bb29c>
From: eckes <ecki@lina.inka.de>
Organisation: private Linux Site, Karlsruhe, Germany
X-Mailer: ELM [version 2.4 PL23]
Content-Type: text
Content-Length: 761       

Hello,

> Someone else (Ian J?) pointed out earlier that zmore uses whatever
> file pager is specified by the PAGER environment variable.

of course, but i am used to type zless instead of zmore. The same way i am
used to type less and not more. Especially on an GNU System I expect zless
as i expect less. I dont think we should require millions of ppl to include
an alias into their .xxxx_profile if they want the usual behaviour.

Greetings
Bernd
__ 
Bernd Eckenfels  ++49 7257 3817 | 1024/E010B09D ______If privacy is outlawed
ecki@lina.inka.de     Karlsruhe |  *plush*   __/   only Outlaws have privacy
ecki@lina.ka.sub.org  eckes@irc |__inux_____/   http://home.pages.de/~eckes/
G21! d? H@ s+ p0 au+ a- w+ v c+++ UL++++$ P E? N++ t+ e* u@ h++! f !n y* Y^

Acknowledgement sent to eckes <ecki@lina.inka.de>:
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#1776; Package gzip. Full text available.

Message received at debian-bugs:


From bb29c.mdd.comm.mot.com!mitchell Sat Oct 28 21:58:02 1995
Return-Path: <mitchell@bb29c.mdd.comm.mot.com>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t9Poo-000DY9C; Sat, 28 Oct 95 21:58 PDT
Received: from motgate.mot.com by pixar.com with SMTP id AA19626
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sat, 28 Oct 1995 21:57:33 -0700
Received: from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate.mot.com (8.7.1/8.6.10/MOT-3.8) with ESMTP id XAA04531; Sat, 28 Oct 1995 23:57:59 -0500 (CDT)
Received: from bb29c.mdd.comm.mot.com (bb29c.mdd.comm.mot.com [138.242.72.29]) by pobox.mot.com (8.7.1/8.6.10/MOT-3.8) with ESMTP id XAA23632; Sat, 28 Oct 1995 23:57:27 -0500 (CDT)
Received: (from mitchell@localhost) by bb29c.mdd.comm.mot.com (8.7.1/8.7.1) id VAA19059; Sat, 28 Oct 1995 21:57:25 -0700 (PDT)
Date: Sat, 28 Oct 1995 21:57:25 -0700 (PDT)
From: Bill Mitchell <mitchell@mdd.comm.mot.com>
X-Sender: mitchell@bb29c
To: eckes <ecki@lina.inka.de>, debian-bugs@Pixar.com
Subject: Re: Bug#1776: zless missing
In-Reply-To: <m0t9MBl-0006UmC@lina.inka.de>
Message-Id: <Pine.SUN.3.91.951028215041.19012C-100000@bb29c>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Sun, 29 Oct 1995, eckes wrote:

> Package: gzip
> 
> I think a zless is as usefull as zmore. The Slackware-implementation of
> zless is:
> 
> ---
> #!/bin/sh
> for args
> do
>     zcat $args | less
> done

Someone else (Ian J?) pointed out earlier that zmore uses whatever
file pager is specified by the PAGER environment variable.

export PAGER=less            # in ~/.bash_profile, or other setup file
zmore file1 file2 file3      # this will use less, not more


Acknowledgement sent to Bill Mitchell <mitchell@mdd.comm.mot.com>:
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#1776; Package gzip. Full text available.

Message received at debian-bugs:


From chiark.chu.cam.ac.uk!ian Sat Oct 28 18:47:34 1995
Return-Path: <ian@chiark.chu.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t9MqU-000DDQC; Sat, 28 Oct 95 18:47 PDT
Received: from artemis.chu.cam.ac.uk by pixar.com with SMTP id AA08898
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sat, 28 Oct 1995 18:47:02 -0700
Received: from chiark.chu.cam.ac.uk by artemis.chu.cam.ac.uk with smtp
	(Smail3.1.29.1 #33) id m0t9MqE-0007uQC; Sun, 29 Oct 95 01:47 GMT
Received: by chiark.chu.cam.ac.uk
	id m0t9MqA-0002bdC
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Sun, 29 Oct 95 01:47 GMT
Message-Id: <m0t9MqA-0002bdC@chiark.chu.cam.ac.uk>
Date: Sun, 29 Oct 95 01:47 GMT
From: Ian Jackson <ian@chiark.chu.cam.ac.uk>
To: eckes <ecki@lina.inka.de>, debian-bugs@Pixar.com
Subject: Re: Bug#1776: zless missing

ecki@lina.inka.de writes ("Bug#1776: zless missing"):
> Package: gzip
> 
> I think a zless is as usefull as zmore. The Slackware-implementation of
> zless is:
> 
> ---
> #!/bin/sh
> for args
> do
>     zcat $args | less
> done
> ---

This is a bad implementation.  A better one would be:

#!/bin/sh -
PAGER=less
export PAGER
exec zmore "$@"

We've had this request twice now - can we put this script in
/usr/bin/zless ?

Ian.

Acknowledgement sent to Ian Jackson <ian@chiark.chu.cam.ac.uk>:
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#1776; Package gzip. Full text available.

Message received at debian-bugs:


From elo.ods.com!david Sat Oct 28 18:38:35 1995
Return-Path: <david@elo.ods.com>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t9Mhm-000DCQC; Sat, 28 Oct 95 18:38 PDT
Received: from elo.ods.com ([192.94.73.20]) by pixar.com with SMTP id AA08760
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sat, 28 Oct 1995 18:38:04 -0700
Received: by elo.ods.com
	id <m0t9Mem-000BlNC@elo.ods.com>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Sat, 28 Oct 95 20:35 CDT
Message-Id: <m0t9Mem-000BlNC@elo.ods.com>
From: david@elo.ods.com (David Engel)
Subject: Re: Bug#1776: zless missing
To: ecki@lina.inka.de
Date: Sat, 28 Oct 1995 20:35:28 -0500 (CDT)
Cc: debian-bugs@Pixar.com
In-Reply-To: <m0t9MBl-0006UmC@lina.inka.de> from "eckes" at Oct 29, 95 02:05:28 am
X-Mailer: ELM [version 2.4 PL24 PGP2]
Content-Type: text
Content-Length: 541       

> Package: gzip
> 
> I think a zless is as usefull as zmore. The Slackware-implementation of
> zless is:

Just set your PAGER environment variable to 'less' and use zmore.

Is anyone else getting tired of seeing this question asked every week
or so?  Perhaps the gzip package maintainer should just add a zless
script which does this and be done with it.

David
-- 
David Engel                        Optical Data Systems, Inc.
david@ods.com                      1101 E. Arapaho Road
(214) 234-6400                     Richardson, TX  75081

Acknowledgement sent to david@elo.ods.com (David Engel):
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#1776; Package gzip. Full text available.

Message received at debian-bugs:


From lina.inka.de!ecki Sat Oct 28 18:06:15 1995
Return-Path: <ecki@lina.inka.de>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t9MCU-000DieC; Sat, 28 Oct 95 18:06 PDT
Received: from sapa.inka.de by pixar.com with SMTP id AA07389
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sat, 28 Oct 1995 18:05:42 -0700
Received: from uu.inka.de (root@[193.197.84.8]) by sapa.inka.de
	 with smtp (S3.1.29.1) id <m0t9MCA-00001rC>; Sun, 29 Oct 95 02:05 MET
Received: from lina.inka.de (ecki@lina.inka.de) by uu.inka.de
	 with bsmtp (S3.1.29.1) id <m0t9MC5-001l5TC>; Sun, 29 Oct 95 02:05 MET
Received: from ecki@lina.inka.de (sendmail)
	(S3.1.29.1) id <m0t9MBl-0006UmC>; Sun, 29 Oct 95 02:05 MET
Message-Id: <m0t9MBl-0006UmC@lina.inka.de>
Subject: zless missing
To: debian-bugs@pixar.com
Date: Sun, 29 Oct 1995 02:05:28 +0100 (MET)
From: eckes <ecki@lina.inka.de>
Organisation: private Linux Site, Karlsruhe, Germany
X-Mailer: ELM [version 2.4 PL23]
Content-Type: text
Content-Length: 483       

Package: gzip

I think a zless is as usefull as zmore. The Slackware-implementation of
zless is:

---
#!/bin/sh
for args
do
    zcat $args | less
done
---

Greetings
Bernd
__ 
Bernd Eckenfels  ++49 7257 3817 | 1024/E010B09D ______If privacy is outlawed
ecki@lina.inka.de     Karlsruhe |  *plush*   __/   only Outlaws have privacy
ecki@lina.ka.sub.org  eckes@irc |__inux_____/   http://home.pages.de/~eckes/
G21! d? H@ s+ p0 au+ a- w+ v c+++ UL++++$ P E? N++ t+ e* u@ h++! f !n y* Y^

Acknowledgement sent to eckes <ecki@lina.inka.de>:
New bug report received and forwarded. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#1776; Package gzip. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov