From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Q on using shell mode remotely Date: Fri, 28 Jul 2006 15:56:52 -0700 Message-ID: References: <8564hhqu6g.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1154127531 18366 80.91.229.2 (28 Jul 2006 22:58:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Jul 2006 22:58:51 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 29 00:58:49 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G6bI5-0005Sn-Ib for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Jul 2006 00:58:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G6bI5-0004eE-7s for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Jul 2006 18:58:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G6bHu-0004dh-9I for help-gnu-emacs@gnu.org; Fri, 28 Jul 2006 18:58:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G6bHt-0004d3-ND for help-gnu-emacs@gnu.org; Fri, 28 Jul 2006 18:58:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G6bHt-0004cp-Io for help-gnu-emacs@gnu.org; Fri, 28 Jul 2006 18:58:33 -0400 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1G6bJy-0004Sy-Io for help-gnu-emacs@gnu.org; Fri, 28 Jul 2006 19:00:42 -0400 Original-Received: from rcsmt250.oracle.com (rcsmt250.oracle.com [148.87.90.195]) by agminet01.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id k6R3kdQm009942 for ; Fri, 28 Jul 2006 17:58:31 -0500 Original-Received: from dhcp-amer-csvpn-gw1-141-144-64-116.vpn.oracle.com by rcsmt251.oracle.com with ESMTP id 1667025861154127416; Fri, 28 Jul 2006 16:56:56 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: <8564hhqu6g.fsf@lola.goethe.zz> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Whitelist: TRUE X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36356 Archived-At: > And, I couldn't cd to a remote directory within the > *shell* buffer, even using the syntax > /host-address:/home/my-home... That would be rather silly to expect. After all, the cd has to be interpreted by the shell. Why? I did `M-x shell' within a Dired of a remote directory. The problem, I imagine, would be to let the shell executing locally know that the directory and files are remote. If Emacs can see the remote files, then Emacs (and ftp) could interface them to the local shell. I'm not saying it should work that way; I'm saying it seems like it could. My question was just whether Emacs did anything like that. Try using M-x eshell RET and you'll find things work better. Try doing something like M-! in a remote file buffer. I know about those. I was asking about shell mode (see the Subject line). I guess the answer is "you can't", so at least I'm no longer wondering.