From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: vnsingh Newsgroups: gmane.emacs.help Subject: How to get a read-only prompt in emacs shell Date: Thu, 13 Jun 2002 19:06:28 -0600 Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: main.gmane.org 1024016979 21270 127.0.0.1 (14 Jun 2002 01:09:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 14 Jun 2002 01:09:39 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Ifas-0005Wr-00 for ; Fri, 14 Jun 2002 03:09:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17IfaM-00081Y-00; Thu, 13 Jun 2002 21:09:06 -0400 Original-Received: from masquerade.micron.com ([137.201.242.130] helo=mail-srv1.micron.com) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17IfXs-0007w1-00 for ; Thu, 13 Jun 2002 21:06:32 -0400 Original-Received: from mail-srv1.micron.com (localhost [127.0.0.1]) by mail-srv1.micron.com (8.11.1/8.11.1) with ESMTP id g5E16VF12190 for ; Thu, 13 Jun 2002 19:06:31 -0600 (MDT) Original-Received: from ntexchange01.micron.com (ntexchange01.micron.com [137.201.128.223]) by mail-srv1.micron.com (8.11.1/8.11.1) with ESMTP id g5E16U912186 for ; Thu, 13 Jun 2002 19:06:30 -0600 (MDT) Original-Received: by ntexchange01.micron.com with Internet Mail Service (5.5.2653.19) id ; Thu, 13 Jun 2002 19:06:29 -0600 Original-To: "'help-gnu-emacs@gnu.org'" X-Mailer: Internet Mail Service (5.5.2653.19) X-MTHubFilter-1.6: mail-srv1 Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:469 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:469 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