From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Francis Moreau Newsgroups: gmane.emacs.help Subject: Re: page-at-a-time output for M-x shell Date: Tue, 14 Jul 2009 08:20:46 -0700 (PDT) Organization: http://groups.google.com Message-ID: <19dfd9e3-c7ad-4680-bfb7-2d25f79fca91@o36g2000vbl.googlegroups.com> References: <30a09a22-cd05-44b6-9b82-8a7e6c1796d5@x3g2000yqa.googlegroups.com> <7bf1883b-3184-487c-a5a4-675f3e117342@l2g2000vba.googlegroups.com> <85269090-af0d-43fa-bd49-da265cbac558@p23g2000vbl.googlegroups.com> <3c2b0d8c-2d31-45f0-8eda-1af2320d8cf5@j9g2000vbp.googlegroups.com> <0eab476b-cd5f-444d-b2af-d82ac076e73b@r34g2000vba.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1247586216 2567 80.91.229.12 (14 Jul 2009 15:43:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jul 2009 15:43:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 14 17:43:30 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MQkAD-0004n2-IO for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jul 2009 17:43:29 +0200 Original-Received: from localhost ([127.0.0.1]:37783 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQkAD-0005iZ-2j for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jul 2009 11:43:29 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!o36g2000vbl.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 41 Original-NNTP-Posting-Host: 82.235.205.153 Original-X-Trace: posting.google.com 1247584846 32111 127.0.0.1 (14 Jul 2009 15:20:46 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 14 Jul 2009 15:20:46 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o36g2000vbl.googlegroups.com; posting-host=82.235.205.153; posting-account=ekTE0goAAADiVCThPmo4ph0C5bTUhQOx User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.11) Gecko/2009061118 Fedora/3.0.11-1.fc10 Firefox/3.0.11, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:170870 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:66067 Archived-At: On 14 juil, 05:12, Barry Margolin wrote: > In article > <0eab476b-cd5f-444d-b2af-d82ac076e...@r34g2000vba.googlegroups.com>, > =A0Francis Moreau wrote: > > > > > On Jul 13, 11:04=A0am, Peter Dyballa wrote: > > > Am 13.07.2009 um 10:03 schrieb Francis Moreau: > > > > > I never claim to have a splendid idea. I just found weird that this= is > > > > not offered by M-x shell, whereas it is by M-x term... > > > > The one offers an environment to run a shell interpreter =A0 > > > interactively in it, > > > OK, so what am I supposed to run in this shell interpreter ? > > > I can understand that I can't start mutt or any other appli that needs > > all term environment in M-x shell, but the feature I'm asking is not > > specific to term emulation, it's just a goodies to make life easier > > when reading the _text_ output of any commands I start from this shell > > interpreter. > > Why do you need a pager, when the Emacs shell buffer allows you to page > back and forward through the output, search it, etc.? Ok, let me ask you one question: why do anybody use ('| less') in all term emulation whereas they all have the PgUp/PgDw functionality ? because it's obviously not convenient. It's not convenient because a) you get the wanted result without any user interventions (search, key press...) b) the command which outputs the data is stopped as soon as the reader stops to read the produced data. Note: just to be sure I'm understood, I'm not asking for a pager in shell mode.