From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: amd@gnu.org: eshell and external commands Date: Sat, 04 Aug 2007 23:05:56 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1186283154 22255 80.91.229.12 (5 Aug 2007 03:05:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Aug 2007 03:05:54 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 05 05:05:52 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IHWQx-0005z4-GR for ged-emacs-devel@m.gmane.org; Sun, 05 Aug 2007 05:05:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IHWQs-00011x-Pq for ged-emacs-devel@m.gmane.org; Sat, 04 Aug 2007 23:05:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IHWOv-0008P9-Hl for emacs-devel@gnu.org; Sat, 04 Aug 2007 23:03:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IHWOu-0008OM-3v for emacs-devel@gnu.org; Sat, 04 Aug 2007 23:03:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IHWOt-0008OE-O2 for emacs-devel@gnu.org; Sat, 04 Aug 2007 23:03:27 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IHWOq-0003lb-Km for emacs-devel@gnu.org; Sat, 04 Aug 2007 23:03:26 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IHWRI-0004VP-Qi; Sat, 04 Aug 2007 23:05:56 -0400 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:76041 Archived-At: Would someone please debug this, and ack? From: "Alfred M. Szmidt" To: emacs-devel@gnu.org Message-Id: <20070709182148.E2DD8301EB@Psilocybe.Update.UU.SE> Date: Mon, 9 Jul 2007 20:21:48 +0200 (CEST) X-detected-kernel: Linux 2.6 (newer, 1) Subject: eshell and external commands X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ams@gnu.org List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-devel-bounces+rms=gnu.org@gnu.org Errors-To: emacs-devel-bounces+rms=gnu.org@gnu.org X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) Often when executing a external command, eshell gets a bit confused. For example, when doing `ls -B' (-B will cause eshell to call the external ls): ~ $ ls -lB ~ $ total 169316 drwxr-xr-x 5 ams ams 4096 2007-06-14 22:42 Backup drwxr-xr-x 26 ams ams 8192 2007-07-04 13:04 Backup.tmp drwxr-xr-x 2 ams ams 4096 2007-06-04 20:41 bin drwxr-xr-x 2 ams ams 4096 2007-07-02 08:48 Desktop -rw------- 1 ams ams 2120 2007-06-28 14:31 diary drwxr-xr-x 12 ams ams 4096 2007-05-18 00:44 docs drwxr-xr-x 3 ams ams 4096 2007-07-08 13:19 elisp lrwxrwxrwx 1 ams ams 11 2007-05-23 23:12 emacs -> s/vcs/emacs -rw-r--r-- 1 ams ams 173896 2007-07-07 22:47 emms lrwxrwxrwx 1 ams ams 15 2007-05-23 23:12 inetutils -> s/vcs/inetutils drwxr-xr-x 5 ams ams 4096 2007-05-24 20:09 info -rw-r--r-- 1 ams ams 313 2007-07-08 13:20 #*mail*#9338FhM# -rw-r--r-- 1 ams ams 17749 2007-06-16 01:41 multi-mode.el drwxr-xr-x 11 ams ams 4096 2007-06-23 15:03 Music drwxr-xr-x 3 ams ams 4096 2007-06-15 03:06 Music.tmp drwxr-xr-x 4 ams ams 4096 2007-06-16 01:00 News drwxr-xr-x 5 ams ams 4096 2007-07-01 23:54 notes -rw-r--r-- 1 ams ams 5051 2007-07-08 13:18 resume -rw------- 1 ams ams 6198546 2007-07-02 23:38 RMAIL -r-------- 1 ams ams 81400163 2006-07-13 12:19 RMAIL-2005.tar.bz2 -r-------- 1 ams ams 27744447 2007-05-23 19:09 RMAIL-2007.tar.bz2 -rw------- 1 ams ams 183 2007-03-28 03:48 RMAIL.empty -rw------- 1 ams ams 9037761 2007-07-02 21:00 RMAIL.inbox -rw------- 1 ams ams 436632 2007-07-02 21:00 RMAIL.inbox-kemisten -rw------- 1 ams ams 21201 2007-06-30 00:23 RMAIL.inbox-update -rw------- 1 ams ams 0 2007-05-23 19:09 RMAIL.inbox-uu -r-------- 1 ams ams 47801466 2006-07-13 11:49 RMAIL-kemisten.tar.bz2 -rw------- 1 ams ams 183 2007-06-13 20:38 RMAIL.local -rw------- 1 ams ams 68149 2007-06-09 00:21 RMAIL.outbox -rw------- 1 ams ams 0 2007-05-23 19:09 RMAIL.outbox-kemisten -rw------- 1 ams ams 0 2007-05-23 19:09 RMAIL.spam drwxr-xr-x 5 ams ams 4096 2007-07-01 22:07 s -rw------- 1 ams ams 99929 2007-07-08 12:36 sketch drwxr-xr-x 2 ams ams 4096 2007-07-01 21:53 t -rw-r--r-- 1 ams ams 1441 2007-07-08 13:14 todo -rw-r--r-- 1 ams ams 18204 2007-07-08 13:16 tunes _!_ [point is here now] But, when inovoking the external command directly, /bin/ls -lB, it works as it should, ~ $ /bin/ls -lB total 169316 drwxr-xr-x 5 ams ams 4096 2007-06-14 22:42 Backup drwxr-xr-x 26 ams ams 8192 2007-07-04 13:04 Backup.tmp drwxr-xr-x 2 ams ams 4096 2007-06-04 20:41 bin drwxr-xr-x 2 ams ams 4096 2007-07-02 08:48 Desktop -rw------- 1 ams ams 2120 2007-06-28 14:31 diary drwxr-xr-x 12 ams ams 4096 2007-05-18 00:44 docs drwxr-xr-x 3 ams ams 4096 2007-07-08 13:19 elisp lrwxrwxrwx 1 ams ams 11 2007-05-23 23:12 emacs -> s/vcs/emacs -rw-r--r-- 1 ams ams 173896 2007-07-07 22:47 emms lrwxrwxrwx 1 ams ams 15 2007-05-23 23:12 inetutils -> s/vcs/inetutils drwxr-xr-x 5 ams ams 4096 2007-05-24 20:09 info -rw-r--r-- 1 ams ams 2596 2007-07-08 13:23 #*mail*#9338FhM# -rw-r--r-- 1 ams ams 17749 2007-06-16 01:41 multi-mode.el drwxr-xr-x 11 ams ams 4096 2007-06-23 15:03 Music drwxr-xr-x 3 ams ams 4096 2007-06-15 03:06 Music.tmp drwxr-xr-x 4 ams ams 4096 2007-06-16 01:00 News drwxr-xr-x 5 ams ams 4096 2007-07-01 23:54 notes -rw-r--r-- 1 ams ams 5051 2007-07-08 13:18 resume -rw------- 1 ams ams 6198546 2007-07-02 23:38 RMAIL -r-------- 1 ams ams 81400163 2006-07-13 12:19 RMAIL-2005.tar.bz2 -r-------- 1 ams ams 27744447 2007-05-23 19:09 RMAIL-2007.tar.bz2 -rw------- 1 ams ams 183 2007-03-28 03:48 RMAIL.empty -rw------- 1 ams ams 9037761 2007-07-02 21:00 RMAIL.inbox -rw------- 1 ams ams 436632 2007-07-02 21:00 RMAIL.inbox-kemisten -rw------- 1 ams ams 21201 2007-06-30 00:23 RMAIL.inbox-update -rw------- 1 ams ams 0 2007-05-23 19:09 RMAIL.inbox-uu -r-------- 1 ams ams 47801466 2006-07-13 11:49 RMAIL-kemisten.tar.bz2 -rw------- 1 ams ams 183 2007-06-13 20:38 RMAIL.local -rw------- 1 ams ams 68149 2007-06-09 00:21 RMAIL.outbox -rw------- 1 ams ams 0 2007-05-23 19:09 RMAIL.outbox-kemisten -rw------- 1 ams ams 0 2007-05-23 19:09 RMAIL.spam drwxr-xr-x 5 ams ams 4096 2007-07-01 22:07 s -rw------- 1 ams ams 99929 2007-07-08 12:36 sketch drwxr-xr-x 2 ams ams 4096 2007-07-01 21:53 t -rw-r--r-- 1 ams ams 1441 2007-07-08 13:14 todo -rw-r--r-- 1 ams ams 18204 2007-07-08 13:16 tunes ~ $ _!_