From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tyler Smith Newsgroups: gmane.emacs.help Subject: Re: Quite a few emacs questions Date: 18 May 2007 00:08:31 GMT Organization: Sedgeboy Inc. Message-ID: References: <1179276142.234222.189970@p77g2000hsh.googlegroups.com> <1179430428.737521.121530@p77g2000hsh.googlegroups.com> <1179438643.818287.167270@w5g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1179448329 30709 80.91.229.12 (18 May 2007 00:32:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 18 May 2007 00:32:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 18 02:32:08 2007 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 1HoqO8-00041N-Cq for geh-help-gnu-emacs@m.gmane.org; Fri, 18 May 2007 02:32:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HoqWH-0000Xm-AM for geh-help-gnu-emacs@m.gmane.org; Thu, 17 May 2007 20:40:33 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!nx01.iad01.newshosting.com!newshosting.com!post01.iad01!news.aliant.net!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.8.1pl1 (Debian) Original-Lines: 29 Original-X-Complaints-To: abuse@aliant.net Original-Xref: shelby.stanford.edu gnu.emacs.help:148522 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:44114 Archived-At: On 2007-05-17, mowgli 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. HTH, Tyler