From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Daffer Newsgroups: gmane.emacs.help Subject: Re: help with M-x term Date: Thu, 13 Jul 2006 08:16:10 -0700 Message-ID: References: <1152734523.744338.154800@m79g2000cwm.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1152805272 25439 80.91.229.2 (13 Jul 2006 15:41:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Jul 2006 15:41:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 13 17:41:11 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 1G13JC-00087x-Sc for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Jul 2006 17:40:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G13JC-0003ib-EV for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Jul 2006 11:40:58 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Thu, 13 Jul 2006 10:15:43 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (darwin) Original-Lines: 52 Original-X-Trace: sv3-1l9laMIjlidR1CGy8O8O+CFh3pymw3cmRElf90ecWPbKMfe0efQsU97dQFRRfUltJSGreQkNQ2/kjlK!jnwIaUoWgnj8vR3egxJh/gDa611hFAtsWKdnQmKjFR6zFLA4Pts+guCNebt767PPMhf04PZmPsg= Original-X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Original-Xref: shelby.stanford.edu gnu.emacs.help:140317 Original-To: help-gnu-emacs@gnu.org 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:35944 Archived-At: op132650c@mail.telepac.pt writes: >> Is there some reason why you aren't using M-x shell? > > I don't want to detour the attention about the question of William > Daffer, but i also prefer M-x term instead of M-x shell, because the > output of M-x shell is not well formatted compared to M-x term. > > Now i put the following question: > > What's the difference between M-x shell and M-x term? M-x term actually does terminal emulation where M-x shell doesn't. At least that's the only difference I see from 'info emacs shell' > > How can i configure M-x shell to be well formatted? > > One example of the bad formatation of the output of M-x shell, is > when i do ls -la. I get the following: > > ]]] file1 ]]] file3^]]] ]]] file5^]]] > ]]] file2 ]]] file4^]]] ]]] file6^]]] > > > With the M-x term i get well formatted: > > file1 file3 file5 > file2 file4 file6 > I think that's the point of M-x term, or at least one of them. Me, I don't care about formatting when I'm using a shell inside emacs. I do it so infrequently and for such small things I just live with bad formatting. But that may change. [snip] whd -- RESPLENDENT, adj. Like a simple American citizen beduking himself in his lodge, or affirming his consequence in the Scheme of Things as an elemental unit of a parade. The Knights of Dominion were so resplendent in their velvet- and-gold that their masters would hardly have known them. "Chronicles of the Classes" -- Ambrose Bierce: _The Devil's Dictionary_