svn commit: r235209 - head/games/fortune/datfiles

John Baldwin jhb at FreeBSD.org
Thu May 10 11:12:39 UTC 2012


On 5/9/12 6:13 PM, Eitan Adler wrote:
> Author: eadler
> Date: Wed May  9 22:13:56 2012
> New Revision: 235209
> URL: http://svn.freebsd.org/changeset/base/235209
> 
> Log:
>   Add a few new tips and update some old ones to more modern commands
>   
>   MFC after:	1 week
> 
> Modified:
>   head/games/fortune/datfiles/freebsd-tips
> 
> Modified: head/games/fortune/datfiles/freebsd-tips
> ==============================================================================
> --- head/games/fortune/datfiles/freebsd-tips	Wed May  9 21:56:10 2012	(r235208)
> +++ head/games/fortune/datfiles/freebsd-tips	Wed May  9 22:13:56 2012	(r235209)
> @@ -73,8 +73,7 @@ If you need to ask a question on the Fre
>  
>  contains lots of useful advice to help you get the best results.
>  %
> -If you `set filec' (file completion) in tcsh and write a part of the
> -filename, pressing TAB will show you the available choices when there
> +pressing TAB will show you the available choices when there
>  is more than one, or complete the filename if there's only one match.

The new version starts off in the middle of a sentence now.  I think you
need to put some of this back ("If you write part of a filename in tcsh,
pressing TAB...").

> @@ -192,13 +188,6 @@ flag is your gateway.
>  Nice bash prompt: PS1='(\[$(tput md)\]\t <\w>\[$(tput me)\]) $(echo $?) \$ '
>  		-- Mathieu <mathieu at hal.interactionvirtuelle.com>
>  %
> -Nice tcsh prompts:
> -	set prompt = '[%B%m%b] %B%~%b%# '
> -	set prompt = '%m %# '
> -	set prompt = '%n@%m%# '
> -	set prompt = '%n@%m:%/%# '
> -	set prompt = '%n@%m:%~%# '
> -%

Not sure why you removed this?  Even if we changed tcsh's default prompt
recently this lists multiple possible prompts.

> @@ -322,12 +311,12 @@ been replaced with other messages, look 
>  Want colour in your directory listings?  Use "ls -G".  "ls -F" is also useful,
>  and they can be combined as "ls -FG".
>  %
> -Want to find a specific port, just type the following under /usr/ports,
> +Want to find a specific port, just type the following
>  or one its subdirectories:
>  
> -	"make search name=<port-name>"
> +	"make -C /usr/ports search name=<port-name>"
>      or
> -	"make search key=<keyword>"
> +	"make -C /usr/ports search key=<keyword>"
>  %

Eh, I think you should revert this.  The make -C thing is more clunky
for a newbie (if you want to do multiple searches, then doing one cd is
less typing than specifying -C each time).  Also, the first sentence
about subdirectories is rather broken in the new version.  You would
need to make it clear that you replace the argument to -C with a
subdirectory.  I think it's not worth it though to add enough detail to
explain it, and that reverting this is probably simpler for a newbie.

-- 
John Baldwin


More information about the svn-src-all mailing list