From owner-freebsd-current@FreeBSD.ORG Sun Feb 12 07:13:13 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 8C2C3106564A for ; Sun, 12 Feb 2012 07:13:13 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5700C8FC19 for ; Sun, 12 Feb 2012 07:13:13 +0000 (UTC) Received: by pbcxa7 with SMTP id xa7so3100596pbc.13 for ; Sat, 11 Feb 2012 23:13:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=98GzhI0hrWp+13UNgIoGdxp27ibc974JTUNAjCnJI0w=; b=iEYiOxrT3/pVRXlOFFRVDGSa0fu9MIru2AUVPpM4fD3tKIyWjoJiXrCLF5lTpEPR1j GL5GgNK8Hxo6OnQZCRm25z1DaLRDO2zMA8yzgSlvOYI9IxfuXKZgqmVwPB/y+iWERPla goZbYF9RShukJYmf/SVl39h3RaslHXXctyoY8= MIME-Version: 1.0 Received: by 10.68.232.202 with SMTP id tq10mr34107915pbc.68.1329030314556; Sat, 11 Feb 2012 23:05:14 -0800 (PST) Received: by 10.143.154.1 with HTTP; Sat, 11 Feb 2012 23:05:14 -0800 (PST) In-Reply-To: <20120211080731.GD85504@goofy01.vnodelab.local> References: <4F34FA17.7080000@quip.cz> <20120210133629.Horde.uDX6B5jmRSRPNQ9NDdkRUI4@webmail.leidinger.net> <201202102037.30996.erichfreebsdlist@ovitrap.com> <20120211080731.GD85504@goofy01.vnodelab.local> Date: Sun, 12 Feb 2012 04:05:14 -0300 Message-ID: From: Gonzalo Nemmi To: Joel Dahl Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Sun, 12 Feb 2012 12:16:07 +0000 Cc: Warren Block , Colin Percival , Miroslav Lachman <000.fbsd@quip.cz>, Chris Rees , Eitan Adler , freebsd-current@freebsd.org, "Wojciech A. Koszek" , Erich Dollansky , Alexander Leidinger 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: Sun, 12 Feb 2012 07:13:13 -0000 On Sat, Feb 11, 2012 at 5:07 AM, Joel Dahl wrote: > On 10-02-2012 =A09:03, Eitan Adler wrote: >> Picking a random person to reply to. >> >> There are a lot of good suggestions in this thread, but can we please >> remember a few things: >> >> - Users can always add their own ~/.cshrc >> - Many users will get annoyed by what is someone else's amazing setup > > With the above in mind, I suggest we change as little as possible from wh= at > we have today (for now) and that we do improvements in small steps. > > I believe 99.99% of all users would find the change below to be a definit= e > improvement over the current default values in .cshrc: > > Index: dot.cshrc > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- dot.cshrc =A0 (revision 231507) > +++ dot.cshrc =A0 (working copy) > @@ -24,8 +24,10 @@ > =A0 =A0 =A0 =A0# An interactive shell -- set some stuff up > =A0 =A0 =A0 =A0set prompt =3D "`/bin/hostname -s`# " > =A0 =A0 =A0 =A0set filec > - =A0 =A0 =A0 set history =3D 100 > - =A0 =A0 =A0 set savehist =3D 100 > + =A0 =A0 =A0 set history =3D 1000 > + =A0 =A0 =A0 set savehist =3D (1000 merge) > + =A0 =A0 =A0 set autolist > + =A0 =A0 =A0 set autoexpand > =A0 =A0 =A0 =A0set mail =3D (/var/mail/$USER) > =A0 =A0 =A0 =A0if ( $?tcsh ) then > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0bindkey "^W" backward-delete-word > > Also, a comment pointing to /usr/share/examples/tcsh/complete.tcsh would > be a nice addition to the default .cshrc. > > -- > Joel Joel, with all due respect, do you really think that 99.9% of all users will not find the _non_intrusive_ additions below useful? bindkey "\e[1~" beginning-of-line #make Home key work; bindkey "\e[2~" overwrite-mode #make Ins key work; bindkey "\e[3~" delete-char #make Delete key work; bindkey "\e[4~" end-of-line #make End key work; ... I mean, after all, setting those keys do not change the behaviour nor the output of any given command, they are present in 99.9% of the keyboards we all get to see everyday and they do not work under the current .cshrc config. Im not talking about an "improvement", "making things easier for new users" or "experience improvement" of any kind ... Im talking about including them so all users get to have a fully functional keyboard by default. Gonzalo