From nobody@FreeBSD.org  Mon Sep 12 22:44:27 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 637C5106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Sep 2011 22:44:27 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 5380B8FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Sep 2011 22:44:27 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p8CMiRGh086459
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Sep 2011 22:44:27 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p8CMiRhl086458;
	Mon, 12 Sep 2011 22:44:27 GMT
	(envelope-from nobody)
Message-Id: <201109122244.p8CMiRhl086458@red.freebsd.org>
Date: Mon, 12 Sep 2011 22:44:27 GMT
From: "Wojciech A. Koszek" <wkoszek@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FreeBSD should have .cshrc updated for modern hardware and useful aliases installed by default
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: crees@FreeBSD.org

>Number:         160689
>Category:       conf
>Synopsis:       FreeBSD should have .cshrc updated for modern hardware and useful aliases installed by default
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    eadler
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 12 22:50:05 UTC 2011
>Closed-Date:    Fri May 04 04:20:55 UTC 2012
>Last-Modified:  Fri May 04 04:20:55 UTC 2012
>Originator:     Wojciech A. Koszek
>Release:        9.0-BETA2
>Organization:
FreeBSD project
>Environment:
BETA2 CD
>Description:
.cshrc should be updated for modern hardware. It means large scrollback, large history. Old/advanced users should have 0 problem with modifying it, but new users may have problems with trimming new parameters (since most modern systems
come with bash and not csh).

In my private opinion shipping with useful aliases and setting would be beneficial. In general my proposal is regarding sourcing 'simplification' settings in the form of some additional script:

[~/.cshrc]

source /usr/share/..../misc.csh

[misc.csh]

setenv autolist   # new users may not know how to enable command completion
alias poweroff  echo "On FreeBSD use shutdown -p now to power down the system"

And probably others. I believe we should also ship with colored 'ls' by default,
since everybody does that.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Class-Changed-From-To: sw-bug->change-request 
Class-Changed-By: jh 
Class-Changed-When: Mon Sep 19 14:43:19 UTC 2011 
Class-Changed-Why:  
Change request rather than a bug. Also, please note that poweroff(8) 
already exists in 9.0. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160689 

From: Martin Tournoij <martin@arp242.net>
To: bug-followup@FreeBSD.org, wkoszek@FreeBSD.org
Cc: tcsh@mx.gw.com
Subject: Re: bin/160689: FreeBSD should have .cshrc updated for modern
 hardware and useful aliases installed by default
Date: Mon, 26 Sep 2011 19:38:44 +0200

 Incidentally, I was thinking of the same thing yesterday. Too many times I've
 heard people complain about the "backward" tcsh shell, and everyone's heard
 about (but few have actually read) "csh programming considered harmful" and
 just assume tcsh is an old relic from the dark ages...  Well, in part it is of
 course, but then again, one might argue half of UNIX is, in any case, it's an
 excellent interactive shell which works quite well IMHO.
 
 My two cents however:
 
 - Aliases are user specific. I don't think the default config should set a lot
   of complicated aliases (or completions).
 
 - Colors do not always work, the default tcsh/ls colors assume a white
   background and don't work too well on a black one. Good ol' grey/white
   *always* works.
   Linux, for example, almost always assumes a black background, as a white
   background user this can be *very* annoying if yellow or bright green text
   flashes across your screen).
   And white and black are only two choices ...  Using the default monochrome
   is the only "safe" default.
 
 - A few options can be turned on by default, a quick look at my tcshrc:
   # Show options when autocompleting
   set autolist
 
   # Basic corrections when completing
   set autocorrect
 
   # Use history to aid expansion (Best hidden tcsh feature IMHO)
   set autoexpand
 
   # file completion
   set filec
 
   And maybe a few others such as rmstar or printexitval ...
 
 - Sourcing from /usr/share/tcs/misc.csh *by default* seems like a bad idea.
   Either make the changes to /etc/csh.cshrc or change the defaults upstream
 
 - There is already an advanced completion example in /usr/share/examples/tcsh/
   ... More examples (aliases, options) can always be added ... A pointer in
 	the login message or default cshrc might be a good idea ...
 
 
 ... Maybe it's a good idea to discus these changed upstream? tcsh has an
 active(-ish) mailing list with a few developers.
 I've CC-ed this email to the tcsh discussion list (tcsh@mx.gw.com)...
 
 Link to FreeBSD PR for tcsh people:
 http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/160689
 
 
 -- 
 Martin Tournoij <martin@arp242.net>
 http://arp242.net | http://aragorn.nl | http://daemonforums.org
 
 QOTD:
 These activities have their own rules and methods of concealment which
 seek to mislead and obscure.
 		-- Dwight D. Eisenhower, 1960
Responsible-Changed-From-To: freebsd-bugs->eadler 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Fri Jan 6 04:09:27 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160689 

From: Chris Rees <utisoft@gmail.com>
To: bug-followup@freebsd.org, Martin Tournoij <martin@arp242.net>
Cc:  
Subject: Re: bin/160689: FreeBSD should have .cshrc updated for modern
 hardware and useful aliases installed by default
Date: Sun, 5 Feb 2012 15:28:00 +0000

 Hey Wojciech, Martin,
 
 I recognise a bikeshed starting here... but I think that as default,
 ls -F is much more sensible.  I would be extremely unhappy if we
 started using ls -G by default-- I for one *HATE* coloured ls, and
 find ls -F more readable. (agreeing with Martin here)
 
 Adding a poweroff alias looks interesting, but IMO people a) will try
 shutdown next anyway and b) why are we adding it for just one command?
 Why not alias other stuff like lspci, insmod etc? ;) (agreeing with
 Martin here).
 
 Autolist is a great default, better than the current ^D default that
 is unintuitive and largely unknown (I think this is the biggest reason
 new users are scared off by tcsh) (agreeing with Martin and Wojciech
 here)
 
 autoexpand is also a good idea, but filec is unnecessary for tcsh,
 suppose we could leave it in for csh (see manpage).
 
 I disagree with sourcing a global file for defaults, I think that some
 users may find it annoying that defaults change; perhaps I'm thinking
 of the libdialog changes that confused everyone with port OPTIONS 8-9.
 
 rmstar??
 
 How about a nicer prompt?  Huge opinion spread here, but I'd like
 something like my prompt:
 
 [crees@pegasus]~% cd /usr/ports/databases/postgresql84-server/files/
 [crees@pegasus]/<1>ports/databases/postgresql84-server/files%
 
 Looks OK, right?
 
 tl;dr:
 
 - We are not Linux, most aliases are unnecessary
 - Coloured ls sucks
 - Look at the patch at [1]
 
 Chris
 
 [1] http://www.bayofrum.net/~crees/patches/dot-cshrc-patch

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/160689: commit references a PR
Date: Sat, 24 Mar 2012 18:43:33 +0000 (UTC)

 Author: eadler
 Date: Sat Mar 24 18:43:18 2012
 New Revision: 233429
 URL: http://svn.freebsd.org/changeset/base/233429
 
 Log:
   - Make the default values for tcsh more user friendly
   - Add an examples file with many of the not accepted suggestions from the discussion
   
   PR:		conf/160689
   Reviewed by:	many
   Discussed on:	current
   Approved by:	cperciva
 
 Added:
   head/share/examples/csh/
   head/share/examples/csh/dot.cshrc   (contents, props changed)
 Modified:
   head/etc/root/dot.cshrc
   head/share/examples/Makefile
 
 Modified: head/etc/root/dot.cshrc
 ==============================================================================
 --- head/etc/root/dot.cshrc	Sat Mar 24 18:25:16 2012	(r233428)
 +++ head/etc/root/dot.cshrc	Sat Mar 24 18:43:18 2012	(r233429)
 @@ -3,13 +3,14 @@
  # .cshrc - csh resource script, read at beginning of execution by each shell
  #
  # see also csh(1), environ(7).
 +# more examples available at /usr/share/examples/csh/
  #
  
  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
  
  # A righteous umask
  umask 22
 @@ -17,19 +18,30 @@ umask 22
  set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
  
  setenv	EDITOR	vi
 -setenv	PAGER	more
 +setenv	PAGER	less
  setenv	BLOCKSIZE	K
  
  if ($?prompt) then
  	# An interactive shell -- set some stuff up
 -	set prompt = "`/bin/hostname -s`# "
 +	set prompt = "%n@%m:%c04%# "
 +	set promptchars = "%#"
 +
  	set filec
 -	set history = 100
 -	set savehist = 100
 +	set history = 1000
 +	set savehist = 1000
 +	set autolist = ambiguous
 +	# Use history to aid expansion
 +	set autoexpand
 +	set autorehash
  	set mail = (/var/mail/$USER)
  	if ( $?tcsh ) then
  		bindkey "^W" backward-delete-word
  		bindkey -k up history-search-backward
  		bindkey -k down history-search-forward
 +
 +		bindkey "\e[1~" beginning-of-line #make Home key work;
 +		bindkey "\e[3~" delete-char #make Delete key work;
 +		bindkey "\e[4~" end-of-line #make End key work;
  	endif
 +
  endif
 
 Modified: head/share/examples/Makefile
 ==============================================================================
 --- head/share/examples/Makefile	Sat Mar 24 18:25:16 2012	(r233428)
 +++ head/share/examples/Makefile	Sat Mar 24 18:43:18 2012	(r233429)
 @@ -8,6 +8,7 @@ LDIRS=	BSD_daemon \
  	FreeBSD_version \
  	IPv6 \
  	bootforth \
 +	csh \
  	cvsup \
  	diskless \
  	drivers \
 @@ -49,6 +50,7 @@ XFILES=	BSD_daemon/FreeBSD.pfa \
  	bootforth/menu.4th \
  	bootforth/menuconf.4th \
  	bootforth/screen.4th \
 +	csh/dot.cshrc \
  	cvsup/README \
  	cvsup/cvs-supfile \
  	cvsup/doc-supfile \
 
 Added: head/share/examples/csh/dot.cshrc
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/share/examples/csh/dot.cshrc	Sat Mar 24 18:43:18 2012	(r233429)
 @@ -0,0 +1,60 @@
 +# Here are some example (t)csh options and configurations that you may find interesting
 +#
 +# $FreeBSD$
 +#
 +
 +# Sets SSH_AUTH_SOCK to the user's ssh-agent socket path if running
 +if (${?SSH_AUTH_SOCK} != "1") then
 +	setenv SSH_AUTH_SOCK `sockstat | grep "${USER}" | cut -d ' ' -f 6` 
 +endif
 +
 +# Change only root's prompt
 +if (`id -g` == 0)
 +	set prompt="root@%m# "
 +endif
 +
 +# This maps the "Delete" key to do the right thing
 +# Pressing CTRL-v followed by the key of interest will print the shell's
 +# mapping for the key
 +bindkey "^[[3~" delete-char-or-list-or-eof
 +
 +# Make the Ins key work
 +bindkey "\e[2~" overwrite-mode 
 +
 +# Some common completions
 +complete chown          'p/1/u/'
 +complete man            'C/*/c/'
 +complete service        'n/*/`service -l`/'
 +complete service  	'c/-/(e l r v)/' 'p/1/`service -l`/' 'n/*/(start stop reload restart status rcvar onestart onestop)/'
 +complete kldunload	'n@*@`kldstat | awk \{sub\(\/\.ko\/,\"\",\$NF\)\;print\ \$NF\} | grep -v Name` @'
 +complete make           'n@*@`make -pn | sed -n -E "/^[#_.\/[:blank:]]+/d; /=/d; s/[[:blank:]]*:.*//gp;"`@'
 +complete pkg_delete     'c/-/(i v D n p d f G x X r)/' 'n@*@`ls /var/db/pkg`@'
 +complete pkg_info       'c/-/(a b v p q Q c d D f g i I j k K r R m L s o G O x X e E l t V P)/' 'n@*@`\ls -1 /var/db/pkg | sed svar/db/pkg/%%`@"
 +complete kill		'c/-/S/' 'c/%/j/' 'n/*/`ps -ax | awk '"'"'{print $1}'"'"'`/'
 +complete killall	'c/-/S/' 'c/%/j/' 'n/*/`ps -ax | awk '"'"'{print $5}'"'"'`/'
 +alias _PKGS_PkGs_PoRtS_ 'awk -F\| \{sub\(\"\/usr\/ports\/\"\,\"\"\,\$2\)\;print\ \$2\} /usr/ports/INDEX-name -r | cut -d . -f 1A
 +alias _PKGS_PkGs_PoRtS_ 'awk -F\| \{sub\(\"\/usr\/ports\/\"\,\"\"\,\$2\)\;print\ \$2\} /usr/ports/INDEX-`uname -r | cut -d . -f 1`&& pkg_info -E \*'
 +complete portmaster   'c/--/(always-fetch check-depends check-port-dbdir clean-distfiles \
 +    clean-packages delete-build-only delete-packages force-config help \
 +    index index-first index-only list-origins local-packagedir no-confirm \
 +    no-index-fetch no-term-title packages packages-build packages-if-newer \
 +    packages-local packages-only show-work update-if-newer version)/' \
 +    'c/-/(a b B C d D e f F g G h H i l L m n o p r R s t u v w x)/' \
 +    'n@*@`_PKGS_PkGs_PoRtS_`@'
 +
 +# Alternate prompts
 +set prompt = '#'
 +set prompt = '%B%m%b%# '
 +set prompt = '%B%m%b:%c03:%# '
 +set prompt = '%{\033]0;%n@%m:%/\007%}%B%m%b:%c03:%# '
 +set prompt = "%n@%m %c04%m%# "
 +set prompt = "%n@%m:%c04 %# "
 +set prompt = "[%n@%m]%c04%# "
 +set ellipsis
 +
 +# Color ls
 +alias ll	ls -lAhG
 +alias ls	ls -G
 +
 +# other autolist options
 +set		autolist = TAB
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->patched 
State-Changed-By: eadler 
State-Changed-When: Sat Mar 24 18:57:57 UTC 2012 
State-Changed-Why:  
committed in r233429; 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160689 

From: =?ISO-8859-1?Q?Micka=EBl_Maillot?= <mickael.maillot@gmail.com>
To: bug-followup@FreeBSD.org, eadler@FreeBSD.org
Cc:  
Subject: Re: conf/160689: FreeBSD should have .cshrc updated for modern
 hardware and useful aliases installed by default
Date: Fri, 6 Apr 2012 12:03:31 +0200

 --00248c6a7a8ed6140b04bcffc462
 Content-Type: text/plain; charset=ISO-8859-1
 
 Committed with two little mistakes
 i attached a patch
 
 --00248c6a7a8ed6140b04bcffc462
 Content-Type: text/plain; charset=US-ASCII; name="dot.cshrc.diff.txt"
 Content-Disposition: attachment; filename="dot.cshrc.diff.txt"
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_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6a7a8ed6140b04bcffc462--

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/160689: commit references a PR
Date: Tue, 10 Apr 2012 01:49:56 +0000 (UTC)

 Author: eadler
 Date: Tue Apr 10 01:49:31 2012
 New Revision: 234077
 URL: http://svn.freebsd.org/changeset/base/234077
 
 Log:
   Update examples with corrections from the author
   
   PR:		ports/160689
   Submitted by:	mickael.maillot@gmail.com
   Approved by:	cperciva (implicit)
   MFC after:	1 days (with r233429)
 
 Modified:
   head/share/examples/csh/dot.cshrc
 
 Modified: head/share/examples/csh/dot.cshrc
 ==============================================================================
 --- head/share/examples/csh/dot.cshrc	Tue Apr 10 01:26:58 2012	(r234076)
 +++ head/share/examples/csh/dot.cshrc	Tue Apr 10 01:49:31 2012	(r234077)
 @@ -29,11 +29,11 @@ complete service  	'c/-/(e l r v)/' 'p/1
  complete kldunload	'n@*@`kldstat | awk \{sub\(\/\.ko\/,\"\",\$NF\)\;print\ \$NF\} | grep -v Name` @'
  complete make           'n@*@`make -pn | sed -n -E "/^[#_.\/[:blank:]]+/d; /=/d; s/[[:blank:]]*:.*//gp;"`@'
  complete pkg_delete     'c/-/(i v D n p d f G x X r)/' 'n@*@`ls /var/db/pkg`@'
 -complete pkg_info       'c/-/(a b v p q Q c d D f g i I j k K r R m L s o G O x X e E l t V P)/' 'n@*@`\ls -1 /var/db/pkg | sed svar/db/pkg/%%`@"
 +complete pkg_info       'c/-/(a b v p q Q c d D f g i I j k K r R m L s o G O x X e E l t V P)/' 'n@*@`\ls -1 /var/db/pkg | sed svar/db/pkg/%%`@'
  complete kill		'c/-/S/' 'c/%/j/' 'n/*/`ps -ax | awk '"'"'{print $1}'"'"'`/'
  complete killall	'c/-/S/' 'c/%/j/' 'n/*/`ps -ax | awk '"'"'{print $5}'"'"'`/'
  complete dd		'c/[io]f=/f/ n/*/"(if of ibs obs bs skip seek count)"/='
 -alias _PKGS_PkGs_PoRtS_ 'awk -F\| \{sub\(\"\/usr\/ports\/\"\,\"\"\,\$2\)\;print\ \$2\} /usr/ports/INDEX-name -r | cut -d . -f 1A
 +alias _PKGS_PkGs_PoRtS_ 'awk -F\| \{sub\(\"\/usr\/ports\/\"\,\"\"\,\$2\)\;print\ \$2\} /usr/ports/INDEX-name -r | cut -d . -f 1'
  alias _PKGS_PkGs_PoRtS_ 'awk -F\| \{sub\(\"\/usr\/ports\/\"\,\"\"\,\$2\)\;print\ \$2\} /usr/ports/INDEX-`uname -r | cut -d . -f 1`&& pkg_info -E \*'
  complete portmaster   'c/--/(always-fetch check-depends check-port-dbdir clean-distfiles \
      clean-packages delete-build-only delete-packages force-config help \
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: eadler 
State-Changed-When: Fri May 4 04:20:54 UTC 2012 
State-Changed-Why:  
MFCed to {7,8,9} 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160689 
>Unformatted:
