From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: page-at-a-time output for M-x shell Date: Mon, 13 Jul 2009 12:43:02 +0200 Message-ID: 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 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1247481950 6663 80.91.229.12 (13 Jul 2009 10:45:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jul 2009 10:45:50 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Francis Moreau Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 13 12:45:43 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 1MQJ2Q-0006y2-Ew for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jul 2009 12:45:38 +0200 Original-Received: from localhost ([127.0.0.1]:51546 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQJ2P-00020B-U6 for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jul 2009 06:45:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQJ07-0001Jh-FT for help-gnu-emacs@gnu.org; Mon, 13 Jul 2009 06:43:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQJ02-0001GH-FR for help-gnu-emacs@gnu.org; Mon, 13 Jul 2009 06:43:15 -0400 Original-Received: from [199.232.76.173] (port=55416 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQJ02-0001G8-8J for help-gnu-emacs@gnu.org; Mon, 13 Jul 2009 06:43:10 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]:37295) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MQJ00-0001Dy-Rt for help-gnu-emacs@gnu.org; Mon, 13 Jul 2009 06:43:09 -0400 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate02.web.de (Postfix) with ESMTP id 289FC109D2F71; Mon, 13 Jul 2009 12:43:07 +0200 (CEST) Original-Received: from [91.35.230.166] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (WEB.DE 4.110 #277) id 1MQIzy-0000Wl-00; Mon, 13 Jul 2009 12:43:07 +0200 In-Reply-To: <0eab476b-cd5f-444d-b2af-d82ac076e73b@r34g2000vba.googlegroups.com> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1+QWlSE+X8Rr08EkL0xeatA9QAlCv2puPaQQDJV r/oQ6x8FJsTAeGwyUKOaR8N8JfWgAflz8ecEiCh6WXMuEnLPEh MTUQo6010+HJUfHEEIQA== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:66020 Archived-At: Am 13.07.2009 um 11:38 schrieb Francis Moreau: > OK, so what am I supposed to run in this shell interpreter ? Everything but pagers and other programmes or utilities that control =20 the cursor. Some ANSI compliance is achieved, to support gls' =20 colourful output or bash colourising the prompt. > > 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, You're wrong: pagers take full cursor control over the terminal. =20 They're no simple filters (source code is available), because then =20 they would have been implemented as simple shell scripts. Like, for =20 example, which. > it's just a goodies to make life easier when reading the _text_ =20 > output of any commands I start from this shell > interpreter. Write some simple Lua, Ruby, Python, Perl, Shell, or whatever script =20 which counts lines and echoes a (fixed or not) number of them to =20 stdout. Or, much simpler, change your mind and bethink yourself of =20 the task or the aim you want to reach. Is it using a pager? Then take =20= *term* buffer or xterm, or aterm, or=85 Probably the *very* best is to take one week holidays. At least. -- Greetings Pete Sending unsolicited commercial eMail to this account incurs a fee of =20 =80 500 per message and acknowledges the legality of this contract.