[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quite a few emacs questions

From: mowgli
Subject: Re: Quite a few emacs questions
Date: 17 May 2007 17:27:13 -0700
User-agent: G2/1.0

On May 18, 5:08 am, Tyler Smith <address@hidden> wrote:

> I'm not sure what you mean - when you're running a straight console
> how do you avoid having ls scroll off the screen? Other than piping it
> into less, I don't know how you'd do it.

Well, I think you did not quite understand what I meant in my last
post. Or the problem itself.

When you do an ls -l in the real console, you get 25 lines of output
and it scrolls off t he screen only if the output is more than 25
lines right?

In eshell, the output scrolls off the screen even if it is 15 lines or
more. THIS is the problem.

term and shell are better and ls -l works normally as it would on
console. What's the difference between the three and which is better


> In emacs you have all kinds of ways to deal with long output. If you
> don't like scrolling backwards through the output, you can type C-c
> C-p, which will move you back to the last prompt, so you can scroll
> forwards through the output. But if the output is longer than the
> length of the screen you will have to scroll to see it all. Emacs
> can't make 100 lines of output fit on a 40 line screen.

> Something else you could try is C-x d, which will prompt you for the
> directory you want to see. The contents of the directory are put into
> a window that you can scroll up and down in, open, rename, delete,
> move files, all kinds of stuff. There's a whole suite of commands
> available from within this buffer, called dired-mode. You'll need to
> read the manual to find out all the details.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]