#46660 most: needs to trap SIGPIPE

Package:
most
Source:
most
Description:
Pager program similar to more and less
Submitter:
Date:
2015-02-09 05:03:05 UTC
Severity:
normal
#46660#5
Date:
1999-10-05 07:10:33 UTC
From:
To:
So stuff like the following doesn't happen:

most /usr/share/doc/libpam0g/changelog.Debian.gz

gzip: stdout: Broken pipe

Probably for upstream...

#46660#20
Date:
2004-05-20 20:28:27 UTC
From:
To:
I have this ancient most bug sitting around that I'm pretty confident
is fixed because the way that most handles gziped files has changed.

If you still use most and can remember, can you confirm whether this
bug is fixed and, if not, give me a little more info?

It's bug 46660.

Regards,
Mako

#46660#25
Date:
2004-05-24 17:28:30 UTC
From:
To:
Well, I still get the same error message from gzip when I (Q)uit viewing
the file.

#46660#32
Date:
2011-03-10 13:24:56 UTC
From:
To:
	Apparently, the issue manifests itself only on sufficiently big
	files (the buffering is obviously involved.)  Consider, e. g.:

$ most /usr/share/doc/libdirectfb-1.2-9/changelog.gz

	Should one quit without scrolling, a “Broken pipe” message will
	be produced (as per 5.0.0a-2.)

	Of the following commands, the first will result in the message
	on quit (once again, without scrolling), while the second won't.

$ most +$((32 * 1024)) /usr/share/doc/libdirectfb-1.2-9/changelog.gz
$ most +$((35 * 1024)) /usr/share/doc/libdirectfb-1.2-9/changelog.gz

	Still, please note that it's actually Gzip that produces the
	message.  And I'm not that certain that it should be inhibited.

#46660#37
Date:
2011-12-31 16:17:54 UTC
From:
To:
Dear Maintainer,

I am having the same problem reading /usr/share/doc/cups/changelog.Debian.gz
with most. I pushed a little further research to decompress the file and then
cutting it with "split -b" to test different file sizes.

By dichotomy, I found that files whose size is strictly greater than 77284
octets before compression cause a "Broken pipe" error, indifferently from the
compression method.

View the uncompressed file or decompressing on the fly does not cause error:

bzip2-dc /usr/share/doc/cups/changelog.Debian.gz | most

Hope this helps.

Regards,

#46660#42
Date:
2015-02-09 05:01:23 UTC
From:
To:
Sehr geehrte/r Interessent/in,

unser Kunde ist ein führendes europäisches Unternehmen und sucht gerade neue Arbeitskollegen zur Vervollständigung des Teams europaweit

Die Dienste werden europaweit gebraucht, und Sie haben die Gelegenheit unabhängig von Ihrem Wohnort zu beginnen. Wir bieten Stellen für jedermann. Die Stelle kann sowohl von Rentnern, Hausfrauen als auch nebenberuflich besetzt werden.
Übersetzungen, Sekretärservice, Bewerter, und vieles mehr wird aktuell angeboten.

Es werden Ihnen vorhandene Arbeitsaufträge und die jeweilige Bezahlung mitgeteilt und Sie treffen die Auswahl. Jede Aufgabe wird verschieden belohnt, normalerweise bekommen Sie bei 3-5 Stunden am Tag 1500 bis 1900 Euro Brutto im Monat.
Sie haben keine Ausgaben und können sofort bei uns starten.

Kennummer BKKZ-7458-440 Es sind 11 offene Positionen zu besetzen.

Die nötige technische Ausrüstung wird von uns frei zur Verfügung gestellt. Die Arbeitsstelle kann gerne von Rentnern, Hausfrauen und auch nebenberuflich ausgeführt werden.
Ihre Voraussetzungen wären Gewissenhaftigkeit, Pünktlichkeit und Diskretion, Ehrlichkeit, Zielstrebigkeit, Motivation, Leistungsbereitschaft
Wenn wir Ihr Interesse geweckt haben, schicken Sie uns Ihre vollständigen Bewerbungsunterlagen noch heute, gerne per E-Mail an: fabachothyto@pacificwest.com Sie erhalten umgehend weitere Einzelheiten zugeschickt.


Ihre persönlichen Daten behandeln wir vertraulich.

In Erwartung Ihrer Antwort Ihre

Lang EURL
Rue d’Alger 17
Chamoniex 3531