[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: page-at-a-time output for M-x shell
From: |
Francis Moreau |
Subject: |
Re: page-at-a-time output for M-x shell |
Date: |
Tue, 14 Jul 2009 08:10:45 -0700 (PDT) |
User-agent: |
G2/1.0 |
On 14 juil, 12:55, p...@informatimago.com (Pascal J. Bourguignon)
wrote:
> Teemu Likonen <tliko...@iki.fi> writes:
> > On 2009-07-13 13:42 (-0700), Samuel Wales wrote:
>
> >> I read the whole thread, and I am surprised at how thoroughly and
> >> repeatedly the OP was misunderstood.
>
> > Then I'm certainly one of those. Sorry about that, Francis.
>
> >> I think what he wants is shell mode (not term) but to have some sort
> >> of less-like solution (not less itself) for paging output. Page up and
> >> prompt search and term in line mode are all good ideas, but he
> >> probably tried them.
>
> > Hmm, speaking speculatively, would it be some code in shell.el (or much
> > likely comint.el) which stores shell commands' output in an intermediate
> > hidden buffer or some Lisp data type and then pages it to *shell* buffer
> > for user? I'm pretty sure that that would be possible to implement.
>
> Of course. It is ALREADY implemented. That data structure is called
> BUFFER, and the pages are called WINDOWS. There is a user interface
> to let the user scan the pages, they're the PgUp and PgDn keys (PAGE
> UP, PAGE DOWN).
No it's not.
What you propose with PgUp/PgDn is a _workaround_.
>
> How much silliness must we endure each day???
>
> But note however, that M-x term implements an automatic pager in
> emacs, so you don't even have to remember to type |less : as soon as
> the output is more than a window-long, the term emacs pager jumps in.
>
So why is it silly to implement the 'automatic pager emulation' in
shell mode and not in 'M-x term' ?
- Re: page-at-a-time output for M-x shell, (continued)
- Message not available
- Re: page-at-a-time output for M-x shell, Francis Moreau, 2009/07/13
- Re: page-at-a-time output for M-x shell, Peter Dyballa, 2009/07/13
- Message not available
- Re: page-at-a-time output for M-x shell, Francis Moreau, 2009/07/13
- Re: page-at-a-time output for M-x shell, Peter Dyballa, 2009/07/13
- Message not available
- Re: page-at-a-time output for M-x shell, Francis Moreau, 2009/07/13
- Re: page-at-a-time output for M-x shell, Samuel Wales, 2009/07/13
- Message not available
- Re: page-at-a-time output for M-x shell, Teemu Likonen, 2009/07/13
- Message not available
- Message not available
- Re: page-at-a-time output for M-x shell, Pascal J. Bourguignon, 2009/07/14
- Re: page-at-a-time output for M-x shell,
Francis Moreau <=
- Re: page-at-a-time output for M-x shell, Pascal J. Bourguignon, 2009/07/14
- Re: page-at-a-time output for M-x shell, tomas, 2009/07/14
- Message not available
- Re: page-at-a-time output for M-x shell, Francis Moreau, 2009/07/14
- Re: page-at-a-time output for M-x shell, Pascal J. Bourguignon, 2009/07/14
- Message not available
- Message not available
- Re: page-at-a-time output for M-x shell, Francis Moreau, 2009/07/14
- Re: page-at-a-time output for M-x shell, Barry Margolin, 2009/07/13
- Re: page-at-a-time output for M-x shell, Miles Bader, 2009/07/14
- Re: page-at-a-time output for M-x shell, Francis Moreau, 2009/07/14
- Re: page-at-a-time output for M-x shell, Pascal J. Bourguignon, 2009/07/14
- Re: page-at-a-time output for M-x shell, Barry Margolin, 2009/07/14