unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: vnsingh <vnsingh@micron.com>
Subject: How to get a read-only prompt in emacs shell
Date: Thu, 13 Jun 2002 19:06:28 -0600	[thread overview]
Message-ID: <A63F0CBBC06FD51198FC00805F654BFEBB155B@ntxchangerend.micron.com> (raw)

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.

Could you please help me on how to do this.
I am a novice user of emacs and I have beginning to love it.

Three cheers to your work. 

- Thanks,
  Vish

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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-14  1:06 vnsingh [this message]
2002-06-14  7:32 ` How to get a read-only prompt in emacs shell Marco Baringer
     [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=A63F0CBBC06FD51198FC00805F654BFEBB155B@ntxchangerend.micron.com \
    --to=vnsingh@micron.com \
    /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).