From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert D. Crawford" Newsgroups: gmane.emacs.help Subject: Re: shell problem in emacs Date: Tue, 12 Dec 2006 10:11:28 -0600 Message-ID: <87vekh8573.fsf@comcast.net> References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165941701 16086 80.91.229.10 (12 Dec 2006 16:41:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2006 16:41:41 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 12 17:41:39 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GuAhE-0007OJ-CV for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Dec 2006 17:41:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuAhD-00070a-V4 for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Dec 2006 11:41:35 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Tue, 12 Dec 2006 10:11:12 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) Cancel-Lock: sha1:bMbyAtK9UbT3AgvEKT8kevZRyZU= Original-Lines: 27 Original-NNTP-Posting-Host: 68.52.51.66 Original-X-Trace: sv3-EQkrflJXUeL+/TkJZTGLHI/pjm//2KVBcMw9rfNneumlWJO5HHv2bIhpH1NlexwSxuSBgNhLGLQFYBD!M1dl9+e4bk/04iyQTpIMIr9QlcfMcSHr0QhpG8p24VebcH19eWd6leWrxBM= Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Original-Xref: shelby.stanford.edu gnu.emacs.help:143866 Original-To: help-gnu-emacs@gnu.org 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:39469 Archived-At: Ronald writes: > I'm using a eshell in emacs. > Can I use ``clear"? No, it will not work. One possible solution is to use recenter with an argument of 0, then issue end-of-line. One could get creative and create a function that does the same thing. (defun eshell-clear () "Mimics the behavior of clear" (interactive) (recenter 0) (end-of-line)) > My .bashrc file doesn't work here, how to apply it to eshell? That is a good question. I tried to run 'source' at the eshell prompt, but that did not work. Have you looked in the manual? rdc -- Robert D. Crawford rdc1x@comcast.net FLASH! Intelligence of mankind decreasing. Details at ... uh, when the little hand is on the ....