From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Water Lin Newsgroups: gmane.emacs.help Subject: Re: How can I use ansi-term under Windows XP? Date: Fri, 21 Aug 2009 14:15:25 +0800 Organization: A poorly-installed InterNetNews site Message-ID: <83ocq9bsle.fsf@ymail.com> References: <83d46qoso3.fsf@ymail.com> <87my5trdj3.fsf@iki.fi> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250836910 18896 80.91.229.12 (21 Aug 2009 06:41:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Aug 2009 06:41:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 21 08:41:43 2009 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 1MeNol-0006wK-2O for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Aug 2009 08:41:43 +0200 Original-Received: from localhost ([127.0.0.1]:58744 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeNok-00040y-5n for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Aug 2009 02:41:42 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!fu-berlin.de!install.bitcomm.cn!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: 59.37.5.24 Original-X-Trace: install.bitcomm.cn 1250835325 728 59.37.5.24 (21 Aug 2009 06:15:25 GMT) Original-X-Complaints-To: news@install.bitcomm.cn Original-NNTP-Posting-Date: Fri, 21 Aug 2009 06:15:25 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) Cancel-Lock: sha1:vn/8FU90SzVSdk73bbTphz7+MSw= Original-Xref: news.stanford.edu gnu.emacs.help:172173 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:67320 Archived-At: Teemu Likonen writes: > On 2009-08-21 09:35 (+0800), Water Lin wrote: > >> I want to use ansi-term under Windows XP. But while I use command M-x >> ansi-term, Emacs will prompt "Run program:". What should I do to fill >> this prompt? > > First some theory (which you might be already familiar with). Emacs > ansi-term is a text terminal which means that it's a kind of > input/output device. Text terminal can run any kind of program so the > question would be, what program do you want to run in the terminal? > > Often the first program to run in a terminal is a some kind of > command-line interpreter (aka shell) which can then be used to run other > programs. I don't know much about Windows but is there a separate > command-line interpreter program in the system? I think you could try > "cmd.exe". But I'm not sure if Windows programs works in a Unix-like > terminal. Ok. I got you now. Thanks, I can try it. -- Water Lin's blog: http://blog.waterlin.org