From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anselm Helbig Newsgroups: gmane.emacs.help Subject: Re: page-at-a-time output for M-x shell Date: Mon, 13 Jul 2009 16:48:09 +0200 Organization: Freie Universitaet Berlin Message-ID: <873a90d4gm.wl%anselm.helbig+news2009@googlemail.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> <87fxd1iy86.fsf@iki.fi> <6a088d78-bfa1-46aa-bf87-6efe4d875739@n30g2000vba.googlegroups.com> <874oth3se0.fsf@iki.fi> <76036640-c499-482c-81c0-9e0cb325e96a@k26g2000vbp.googlegroups.com> <87r5wk3o87.fsf@iki.fi> <87vdlwloau.fsf@mundaneum.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1247500043 1287 80.91.229.12 (13 Jul 2009 15:47:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jul 2009 15:47:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 13 17:47:16 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 1MQNkK-0003Um-5x for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jul 2009 17:47:16 +0200 Original-Received: from localhost ([127.0.0.1]:41219 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQNkJ-0001eL-Ds for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jul 2009 11:47:15 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-X-Trace: news.uni-berlin.de UOW02VTtoPlPFbY7+NNSiwtoTagRBdcVZ8aOR1nhhwJ0nC812g04GEtPTw Cancel-Lock: sha1:ts1ruA2mE/ekvUfURqKNe08NYFA= In-Reply-To: <87vdlwloau.fsf@mundaneum.com> Mail-Followup-To: anselm.helbig+news2009@googlemail.com Original-Xref: news.stanford.edu gnu.emacs.help:170833 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:66035 Archived-At: At Mon, 13 Jul 2009 15:12:25 +0200, Sébastien Vauban wrote: > > Francis Moreau wrote: > > On Jul 13, 11:51 am, Teemu Likonen wrote: > >> On 2009-07-13 02:16 (-0700), Francis Moreau wrote: > >>> On Jul 13, 10:21 am, Teemu Likonen wrote: > >>>> OK, then it's probably me who fails to understand why do you keep talking > >>>> about "M-x shell" when you need a terminal. This "page-at-a-time" feature > >>>> comes with terminal emulation. There's no need to make "M-x shell" a real > >>>> terminal because there already is one: "M-x term". > > > > Damn, I repeat one more time: I don't want "| less" or less(1) work in "M-x > > shell" (hope this is clear now) > > Just one (real) question: what's the advantage of `M-x shell'? I understand > `M-x term' allows for full-blown terminal emulation, but can we use it every > time we were going to use `M-x shell'? > > Or are there some things `M-x term' can't do while `M-x shell' can? M-x term is a terminal emulation, so things work more or less like they do in an xterm, gnome-terminal or putty. With M-x shell you're using emacs to construct the command to pass to the shell. This is an advantage if you shell doesn't keep a history or offers no completion mechanism. Also, you can use isearch to search through the command output, copy stuff into the kill ring or use the rectangle functions. Or you might just prefer the emacs keybindings over the one's your shell offers. 8-) HTH, Anselm -- Anselm Helbig mailto:anselm.helbig+news2009@googlemail.com