From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Optimal emacs shell for coding Date: Tue, 12 Aug 2008 18:06:59 +1000 Organization: Rapt Technologies Message-ID: <87skta4py4.fsf@lion.rapttech.com.au> References: <577bf477-6877-4cab-b4c3-fb72b995a095@i20g2000prf.googlegroups.com> <66bf7b7c-8e2b-4266-812a-6531c93f9399@v1g2000pra.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1218530549 11963 80.91.229.12 (12 Aug 2008 08:42:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Aug 2008 08:42:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 12 10:43:20 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KSpTK-0001fl-Lg for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Aug 2008 10:43:19 +0200 Original-Received: from localhost ([127.0.0.1]:44568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSpSO-0005yS-7g for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Aug 2008 04:42:20 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news.astraweb.com!border1.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:t5V9YTCKggbbBG5ZbV49i3d4UlM= Original-Lines: 52 Original-NNTP-Posting-Host: 7fecbd33.news.astraweb.com Original-X-Trace: DXC=d2Y`74`gZZiNIa8EGN3lWcL?0kYOcDh@jVVMa5?T>]ma6THGRV1fCZdVnN^9`j1TFecIf[Pg4]4hk Original-Xref: news.stanford.edu gnu.emacs.help:161158 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:56503 Archived-At: "Lennart Borgman (gmail)" writes: > Xah wrote: >> On Aug 11, 8:24 am, "Lennart Borgman (gmail)" >> wrote: >>> Xahwrote: >>>> In general, the shell-command and shell is most useful. Run eshell if >>>> you are in Windows and don't have cygwin installed and want to run >>>> unix commands such as ls, cd, mkdir, etc. If you need to run telnet, >>> Have you tried for example "grep" from within eshell? Quite nice. >> >> Let me see... >> >> ----------------------------- >> >> Welcome to the Emacs shell >> >> >> ~/web/emacs $ which grep >> eshell/grep is a compiled Lisp function in `em-unix.el' >> ~/web/emacs $ ls | grep lin >> elisp_link_report.el modernization.html >> elisp_link_report.el~ >> modernization_html_mail.html >> elisp_link_report.html >> modernization_meta_key.html >> elisp_make_link.html ms_keyboard >> emacs_installing_packages.html wrap-url2.html.gz >> emacs_manual_problem.html xah_emacs_linkify.el >> emacs_n_unicode.html xah_emacs_linkify.el~ >> ~/web/emacs $ >> >> ----------------------------- >> >> LOL. >> >> Get back to work Len. > > > Why do you think predictable behaviour is nice? ;-) > > Ok, you discovered the bug so it is your turn to file a bug report again ... don't think its a bug. This is eshell not handling redirection correclty and is something that cannot be easily fixed. Bottom line, don't use redirection in eshell. Tim -- tcross (at) rapttech dot com dot au