unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Marco Baringer <e.baringer@studenti.to.it>
Subject: Re: How to get a read-only prompt in emacs shell
Date: 14 Jun 2002 09:32:22 +0200	[thread overview]
Message-ID: <m2znxy9uyh.fsf@studenti.to.it> (raw)
In-Reply-To: <A63F0CBBC06FD51198FC00805F654BFEBB155B@ntxchangerend.micron.com>

vnsingh <vnsingh@micron.com> writes:

> Hi,
> 
> I extensively invoke a Unix shell within emacs to execute any Unix commands
> or run a script.
> But I notice when I press backspace the prompt also gets edited or if enter
> C-a which I expect 
> to get to beginning of cmd, it goes to beginning of prompt.
> Is there any way emacs can know the prompt is read-only and that it is a
> prompt.
> That is, can it behave like a shell where the prompt is a prompt and not
> just some text.
> 

eshell.

on emacs 21 M-x eshell, on earlier emacsen you'll have to get the
elisp files from somewhere.

-- 
-Marco
Ring the bells that still can ring.
Forget the perfect offering.
There's a crack in everything.
It's how the light gets in.
     -Isonard Cohen

  reply	other threads:[~2002-06-14  7:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-14  1:06 How to get a read-only prompt in emacs shell vnsingh
2002-06-14  7:32 ` Marco Baringer [this message]
     [not found]   ` <m3y9dhsymd.fsf@latakia.dyndns.org>
2002-06-14 15:57     ` Marco Baringer

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=m2znxy9uyh.fsf@studenti.to.it \
    --to=e.baringer@studenti.to.it \
    /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).