unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Robert D. Crawford" <rdc1x@comcast.net>
Subject: Re: shell problem in emacs
Date: Tue, 12 Dec 2006 10:11:28 -0600	[thread overview]
Message-ID: <87vekh8573.fsf@comcast.net> (raw)
In-Reply-To: elmik8$fqt$1@news.yaako.com

Ronald <followait@163.com> 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 ....

  reply	other threads:[~2006-12-12 16:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-12 15:41 shell problem in emacs Ronald
2006-12-12 16:11 ` Robert D. Crawford [this message]
2006-12-12 16:48 ` Holger Sparr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vekh8573.fsf@comcast.net \
    --to=rdc1x@comcast.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).