unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* amd@gnu.org: eshell and external commands
@ 2007-08-05  3:05 Richard Stallman
  2007-08-08 22:55 ` Chong Yidong
  0 siblings, 1 reply; 10+ messages in thread
From: Richard Stallman @ 2007-08-05  3:05 UTC (permalink / raw)
  To: emacs-devel

Would someone please debug this, and ack?

From: "Alfred M. Szmidt" <ams@gnu.org>
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." <emacs-devel.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=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
~ $ _!_

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-10-17  2:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-05  3:05 amd@gnu.org: eshell and external commands Richard Stallman
2007-08-08 22:55 ` Chong Yidong
2007-08-09  6:23   ` John Wiegley
2007-08-09 15:58     ` Chong Yidong
2007-08-09 18:44       ` John Wiegley
2007-08-09 19:03         ` Chong Yidong
2007-08-09 19:18           ` John Wiegley
2007-10-16 15:38             ` Chong Yidong
2007-10-17  1:09               ` John Wiegley
2007-10-17  2:08                 ` Chong Yidong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).