[Top][All Lists]

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

Re: Quite a few emacs questions

From: Tyler Smith
Subject: Re: Quite a few emacs questions
Date: 18 May 2007 00:08:31 GMT
User-agent: slrn/ (Debian)

On 2007-05-17, mowgli <address@hidden> wrote:
> Well, I had alerady have done it before posting any questions here. I
> forgot that even in the shell I have to use these keys to just list
> the directory contents. It's a bit tedious though, don't you think,
> when on the actual console, we need not do such things?
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.

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]