From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mahesh Padmanabhan Newsgroups: gmane.emacs.help Subject: emacs within ansi-term ( is it possible ?) Date: Mon, 04 Nov 2002 18:05:04 GMT Organization: No News Is Good News Sender: help-gnu-emacs-admin@gnu.org Message-ID: <873cqh1a9o.fsf@nospam.eml.cc> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036434684 20688 80.91.224.249 (4 Nov 2002 18:31:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 4 Nov 2002 18:31:24 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 188m0M-0005Mx-00 for ; Mon, 04 Nov 2002 19:31:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 188lym-0005Nu-00; Mon, 04 Nov 2002 13:29:40 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-debian-linux-gnu) Cancel-Lock: sha1:KBnpdk3JYX0f8XIzJDbVu1Hlbog= Original-NNTP-Posting-Host: 66.245.27.208 Original-X-Complaints-To: abuse@earthlink.net Original-X-Trace: newsread2.prod.itd.earthlink.net 1036433104 66.245.27.208 (Mon, 04 Nov 2002 10:05:04 PST) Original-NNTP-Posting-Date: Mon, 04 Nov 2002 10:05:04 PST Original-Xref: shelby.stanford.edu gnu.emacs.help:106730 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 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:3284 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3284 Problem: I am trying to use emacs exclusively for all shell related activities. For this, eshell works quite well. But, when I want to log in as root from eshell to modify something as root, eshell kind of washes its hands off. This is apparently a known problem and people suggested using the visual-command variable in eshell so that whenever I type in "su", it hands off control to ansi-term. That works fine except when I have to edit something as root. If I bring up emacs within ansi-term, all keystrokes (especially ^X ) seem to be grabbed by the "enclosing" emacs. Is it possible to run emacs within ansi-term which is within emacs or should I use jed or some other editor within ansi-term (I would prefer not to do that) ? TIA, -- Mahesh Padmanabhan ------- Replace nospam with prana to email me.