From owner-freebsd-current@FreeBSD.ORG Fri Feb 10 17:54:07 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A57D7106566B for ; Fri, 10 Feb 2012 17:54:07 +0000 (UTC) (envelope-from se@freebsd.org) Received: from nm22.bullet.mail.ne1.yahoo.com (nm22.bullet.mail.ne1.yahoo.com [98.138.90.85]) by mx1.freebsd.org (Postfix) with SMTP id 691AF8FC14 for ; Fri, 10 Feb 2012 17:54:07 +0000 (UTC) Received: from [98.138.90.48] by nm22.bullet.mail.ne1.yahoo.com with NNFMP; 10 Feb 2012 17:40:17 -0000 Received: from [98.138.226.57] by tm1.bullet.mail.ne1.yahoo.com with NNFMP; 10 Feb 2012 17:40:17 -0000 Received: from [127.0.0.1] by smtp208.mail.ne1.yahoo.com with NNFMP; 10 Feb 2012 17:40:17 -0000 X-Yahoo-Newman-Id: 648274.16942.bm@smtp208.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: COb9NfcVM1lEstkCEK1GgQCq5nG7izgxnO7avg2w.vUgjIk PpIVETrPJxFf9L1TfqpfEPMRyLm2l3Jb1fdQtKoOdGJez6Pf40_okgP7Cl4Y NHX5eR.YdkV9QXKE.tUFXtZtxAivIH88oG7UjqmmlN4JFxMSD3Qb23T7b3Ni lgsHEaWJ_n6P9TTPwiWtUZ3fmBGrJ8dAo0dlG2aQTlbOzvB_5duCesosIDel LiZ.bQpVz4b5pB2fQjmOwTl5qAqZVDs96IXQvOfkLNhoiriLCHDu4f6WC7yX Q7Y0pWhLkSjorJW_oNda7qXB.G_QoKNAIX7TEdll.NVOVah92kDar84jD2Zg BaUKpdRcdKbvjdT13dCNvQUG5BHoOU9QPvSKzx5rdBSUc2FZglLUZVHcnL8A 9OWq.hJRhcivx.mK6VlKcAZFhaVjUeQ-- X-Yahoo-SMTP: iDf2N9.swBDAhYEh7VHfpgq0lnq. Received: from [192.168.119.22] (se@81.173.156.108 with plain) by smtp208.mail.ne1.yahoo.com with SMTP; 10 Feb 2012 09:40:17 -0800 PST Message-ID: <4F355682.7050504@freebsd.org> Date: Fri, 10 Feb 2012 18:40:18 +0100 From: Stefan Esser User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0 MIME-Version: 1.0 To: "freebsd-current@freebsd.org >> FreeBSD Current" References: <1328887627.38277.68.camel@buffy.york.ac.uk> <1328892101.38277.88.camel@buffy.york.ac.uk> In-Reply-To: <1328892101.38277.88.camel@buffy.york.ac.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Enhancing the user experience with tcsh X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2012 17:54:07 -0000 Am 10.02.2012 17:41, schrieb Gavin Atkinson: > On Fri, 2012-02-10 at 11:25 -0500, Eitan Adler wrote: >> Picking a random email to reply to. >> >> My goal with this email is to reduce the amount of "controversial" changes. > > I applaud this. I've often considered doing the same but avoided it > because it was easier than fighting the bikeshed :) > >> commit 3ea4ea3a59d14cb060244618dd89d7dd0170bee1 >> diff --git a/etc/root/dot.cshrc b/etc/root/dot.cshrc >> --- a/etc/root/dot.cshrc >> +++ b/etc/root/dot.cshrc >> @@ -7,9 +7,10 @@ >> >> alias h history 25 >> alias j jobs -l >> -alias la ls -a >> +alias la ls -aF >> alias lf ls -FA >> -alias ll ls -lA >> +alias ll ls -lAF >> +alias ls ls -F >> >> Two people didn't like these changes but didn't explain why. This is >> incredibly helpful, especially for a new user. If you dislike the >> alias change please explain what bothers you about it? > > I don't use the first two aliases, so I don't care about them at all. I > do however disagree strongly with changing the default options on such a > widely used command. Those aliases are only meant for interactive use and should be hidden in batch shells, IMO. > This change is disruptive, and it can affect use of ls(1) in scripts. > For example, it even sticks the extra characters in the output of > "ls -1" (the number 1), which is specifically designed to be used when > piping the output elsewhere. Please do not break this. It is also > distracting - If I want to see what type of file a particular entry is, > why not just run "ls -l"? Yes, having -F modify the output of "ls -1" is bad ... But "ls -l" is no replacement for "ls -F", in general. > It's like the tendency some Linux distributions have of > "alias mv mv -i", although that can at least be overridden on the > command line with "-f". The "ls -F" change cannot be overridden without > unaliasing. Well, it can ... There is no need to unalias a command: > alias ls ls -F > ls -d /etc /etc/ > \ls -d /etc /etc Just put a back-slash before the command to use the "pure" version ... Regards, STefan