summaryrefslogtreecommitdiff
path: root/usr.bin/fortune
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2017-10-29 04:53:33 +0000
committerEitan Adler <eadler@FreeBSD.org>2017-10-29 04:53:33 +0000
commitff744dbd858cddf2793a4aa2425fd5beb53d0cb2 (patch)
tree641763a256a5cec00164e5c852b322eb5932b685 /usr.bin/fortune
parent7e3f9a344074a96cc031adc54e21269b5c9f6b8b (diff)
downloadsrc-test-ff744dbd858cddf2793a4aa2425fd5beb53d0cb2.tar.gz
src-test-ff744dbd858cddf2793a4aa2425fd5beb53d0cb2.zip
Modernize freebsd-tips a bit
- Prefer UTF-8 over ISO-8859-1 - Remove some references to printing man pages - Combine duplicate '!!' tips - 'rehash' is no longer needed
Notes
Notes: svn path=/head/; revision=325092
Diffstat (limited to 'usr.bin/fortune')
-rw-r--r--usr.bin/fortune/datfiles/freebsd-tips16
1 files changed, 2 insertions, 14 deletions
diff --git a/usr.bin/fortune/datfiles/freebsd-tips b/usr.bin/fortune/datfiles/freebsd-tips
index cdf20a7ba6b18..0607a2262e7cb 100644
--- a/usr.bin/fortune/datfiles/freebsd-tips
+++ b/usr.bin/fortune/datfiles/freebsd-tips
@@ -47,10 +47,6 @@ reinstall it with gpart(8). See
If you accidentally end up inside vi, you can quit it by pressing Escape, colon
(:), q (q), bang (!) and pressing return.
%
-If you are in the C shell and have just installed a new program, you won't
-be able to run it unless you first type "rehash".
- -- Dru <genesis@istar.ca>
-%
If you do not want to get beeps in X11 (X Windows), you can turn them off with
xset b off
@@ -115,7 +111,7 @@ also do a lot more advanced searches - type 'man grep' for details.
%
In order to support national characters for European languages in tools like
less without creating other nationalisation aspects, set the environment
-variable LC_ALL to 'en_US.ISO8859-1'.
+variable LC_ALL to 'en_US.UTF-8'.
%
"man firewall" will give advice for building a FreeBSD firewall using ipfw(8).
-- David Scheidt <dscheidt@tumbolia.com>
@@ -154,11 +150,6 @@ Use "lock -p". When you return, use your password as the key to unlock the
terminal.
-- Dru <genesis@istar.ca>
%
-Need to print a manpage? Use
-
- man name_of_manpage | col -bx | lpr
- -- Dru <genesis@istar.ca>
-%
Need to quickly empty a file? Use ": > filename".
-- Dru <genesis@istar.ca>
%
@@ -256,9 +247,6 @@ To read a compressed file without having to first uncompress it, use
and "xzless".
-- Dru <genesis@istar.ca>
%
-To repeat the last command in the C shell, type "!!".
- -- Dru <genesis@istar.ca>
-%
To save disk space in your home directory, compress files you rarely
use with "gzip filename".
-- Dru <genesis@istar.ca>
@@ -467,7 +455,7 @@ Try "whereis firefox" and "whereis whereis".
-- Konstantinos Konstantinidis <kkonstan@duth.gr>
%
Want to run the same command again?
-In tcsh you can type "!!".
+Type "!!".
%
Want to go the directory you were just in?
Type "cd -"