From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: "more", "ls -l", and column 80 in shell Date: Sun, 25 Jun 2006 17:30:19 +0200 Message-ID: References: <1150411474.595005.130180@p79g2000cwp.googlegroups.com> <1150468947.138065.135840@f6g2000cwb.googlegroups.com> <8764ip4lm7.fsf@tiger.rapttech.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1151249443 2926 80.91.229.2 (25 Jun 2006 15:30:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Jun 2006 15:30:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 25 17:30:42 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 1FuWZK-000064-U9 for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Jun 2006 17:30:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FuWZK-0007Mr-8v for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Jun 2006 11:30:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FuWZ9-0007MN-V5 for help-gnu-emacs@gnu.org; Sun, 25 Jun 2006 11:30:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FuWZ7-0007Ly-0G for help-gnu-emacs@gnu.org; Sun, 25 Jun 2006 11:30:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FuWZ6-0007Lt-Sa for help-gnu-emacs@gnu.org; Sun, 25 Jun 2006 11:30:24 -0400 Original-Received: from [217.72.192.227] (helo=fmmailgate02.web.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FuWkm-0002to-MZ for help-gnu-emacs@gnu.org; Sun, 25 Jun 2006 11:42:28 -0400 Original-Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate02.web.de (Postfix) with ESMTP id 4FC3B3918AC for ; Sun, 25 Jun 2006 17:30:22 +0200 (CEST) Original-Received: from [87.193.30.37] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.107 #114) id 1FuWZ4-0005yM-00 for help-gnu-emacs@gnu.org; Sun, 25 Jun 2006 17:30:22 +0200 In-Reply-To: <8764ip4lm7.fsf@tiger.rapttech.com.au> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: emacs mailing list X-Mailer: Apple Mail (2.750) X-Sender: Peter_Dyballa@web.de 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:35649 Archived-At: Am 25.06.2006 um 11:42 schrieb Tim X: > I have also noticed there seems to be quite a few systems which have > the ls --color= option set "oddly" - the gnu version of lis has a > number of options for preventing colour escape codes being used if the > output is either a dumb terminal or it is being redirected to some > other device/file - this makes it easy to pipe ls output into other > programs and avoid issues from weird escape sequences etc. I think the ls command in Apple's Mac OS X 10.4 (Tiger) is even better: it "knows" which terminals can set colours! Until Panther (Mac OS X 10.3) I had to prevent the colourising feature, now I actually have to turn it on actively! GNU's ls is not that careful -- and it cannot display UTF-8 characters! GNU ls cannot be recommended. (ansi-color-for-comint-mode-on) should be OK for modern Emacsen to allow the translation of ANSI codes into "SGR control sequences of comint output into text-properties" -- I think only the CVS versions offer this feature, for stable GNU Emacs 21.4 it was not included. -- Greetings Pete _o o o o _<< \\_/\_, \\_ \\_/\_, (*)/(*) (*) (*) (*) `- (*)