From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: eshell clear Date: Wed, 24 Jun 2015 20:17:52 -0600 Message-ID: <20150624201139174309322@bob.proulx.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1435198691 10749 80.91.229.3 (25 Jun 2015 02:18:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Jun 2015 02:18:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 25 04:18:11 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z7wjy-0002Ow-Fh for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Jun 2015 04:18:10 +0200 Original-Received: from localhost ([::1]:53602 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7wjx-0004aN-Fw for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Jun 2015 22:18:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7wjn-0004aI-Kh for help-gnu-emacs@gnu.org; Wed, 24 Jun 2015 22:18:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7wji-0001rV-IW for help-gnu-emacs@gnu.org; Wed, 24 Jun 2015 22:17:59 -0400 Original-Received: from joseki.proulx.com ([216.17.153.58]:49046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7wji-0001rR-Bm for help-gnu-emacs@gnu.org; Wed, 24 Jun 2015 22:17:54 -0400 Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 323AF2183C for ; Wed, 24 Jun 2015 20:17:53 -0600 (MDT) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id 122D12DC42; Wed, 24 Jun 2015 20:17:52 -0600 (MDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 216.17.153.58 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105138 Archived-At: Luca Ferrari wrote: > this should be trivial, but how can I clear an eshell buffer > (something similar to 'clear' command in many shells)? There is C-c C-o eshell-kill-output which clears the output of the last command. Not perfect but it has been standard for a long time. [I don't usually use eshell but I use the regular shell mode all of the time. In the regular shell if I want to clear the buffer I run C-x h to mark the entire buffer and C-w to cut all of it and then Enter to get a prompt back again.] Bob