freebsd-skq/usr.bin
ru ac14eff506 When MANCOLOR environment variable is set, enable ANSI color escapes
in grotty(1).  This makes it possible to view colorized manpages in
color.

When MANPAGER environment variable is set, use it instead of PAGER.

Why another environment variable, one might ask?  With color output
enabled, both a terminal and a pager should support the ANSI color
escapes.  On a supporting terminal, less(1) with option -R would be
such a pager, while "more -s" (the current default pager for man(1))
will show garbage.  It means a different default pager is needed when
color output is enabled, but many people have PAGER set customary,
and it's unlikely to support ANSI color escapes, so introducing yet
another variable (MANPAGER) seemed like a good option to me:

- if MANPAGER is set, use that unconditionally;

- if you disable color support (it is by default), and don't set
  MANPAGER, you get an old behavior: -P pager, $PAGER, "more -s",
  in that order;

- if you enable color support (by setting MANCOLOR), and don't set
  MANPAGER, we ignore PAGER which is unlikely to support ANSI color
  escapes, and you get: -P pager, "less -Rs", in that order;

- you might have good reasons for different man(1) and general
  purpose pagers;

- later versions of GNU man(1) support MANPAGER.
2011-06-03 14:34:38 +00:00
..
alias
apply Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
ar Correct typos in comments, no functional changes. 2011-05-20 11:29:09 +00:00
asa
at Close file and directory descriptors 2010-11-19 10:15:29 +00:00
atm
awk
banner Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
basename Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
bc Move most of the remaining USD/PSD/SMM papers into share/doc 2010-12-04 10:11:20 +00:00
biff Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
bluetooth
brandelf
bsdiff
bzip2
bzip2recover
c89 Revert most of r210764, now that mdocml does the right 2010-12-28 10:08:50 +00:00
c99 Revert most of r210764, now that mdocml does the right 2010-12-28 10:08:50 +00:00
calendar Added myself as src committer. 2011-05-26 13:54:07 +00:00
cap_mkdb Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
catman
chat mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
checknr Remove duplicate "in". 2011-03-01 11:47:51 +00:00
chkey Fix fd leak 2010-11-19 10:18:58 +00:00
chpass Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
cksum Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
clang Minor updates to the clang and tblgen manpages. 2011-05-02 21:10:13 +00:00
cmp Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
col Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
colcrt Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
colldef Don't generate input() since it's not used. 2010-11-22 14:16:22 +00:00
colrm Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
column Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
comm Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
compile_et
compress Remove $Log$ keyword, which can cause annoyance in diffs in some cases. 2011-03-31 14:35:33 +00:00
cpio Fix typo in bsdcpio manual: 2010-09-06 20:40:38 +00:00
cpuset Add two more features to cpuset(1): 2011-01-14 19:57:28 +00:00
csplit
csup Remove dead code. 2011-01-25 22:21:05 +00:00
ctags Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
cut Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
dc Move most of the remaining USD/PSD/SMM papers into share/doc 2010-12-04 10:11:20 +00:00
dig
dirname Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
du Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
ee
elf2aout
elfdump Teach elfdump(1) about the SUNW_dof section. 2010-08-11 18:02:48 +00:00
enigma
env Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
expand Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
false Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
fetch
file
file2c
find find: If a part of an expression is unknown, do not call it an option. 2011-05-27 22:14:49 +00:00
finger Check return code of setuid() and setgid() in finger. 2011-04-23 14:19:26 +00:00
fmt Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
fold Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
from Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
fstat mdoc: reorder sections consistently 2011-06-02 09:56:53 +00:00
fsync
ftp
gcore Start sentences on a new line to ease life for translators. Tweak the 2010-12-28 18:58:15 +00:00
gencat mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
getconf
getent
getopt Fix typo in example getopt(1) script: $i vs $1 [1] 2011-01-26 18:43:15 +00:00
gprof Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
grep Build and install a BSD licensed grep. 2011-05-25 01:04:12 +00:00
gzip Fix a regression introduced with previous changeset: if output is stdout, 2011-05-25 18:04:11 +00:00
head Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
hesinfo
hexdump Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
host
iconv Add the BSD-licensed Citrus iconv to the base system with default off 2011-02-25 00:04:39 +00:00
id Add two new system calls, setloginclass(2) and getloginclass(2). This makes 2011-03-05 12:40:35 +00:00
indent
ipcrm
ipcs
join Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
jot Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
kdump kdump: Show code for signals where the default action was taken. 2011-04-17 21:11:55 +00:00
keylogin
keylogout
killall Simplify various code that allowed for sys_signame being lower case. 2011-03-06 19:50:47 +00:00
ktrace Teach kdump to understand sv_flags records in the trace files. 2011-02-25 22:07:23 +00:00
ktrdump Add -H flag to print thread id. 2011-01-26 06:36:14 +00:00
lam Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
last Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
lastcomm Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
ldd hdr.elf.e_ident[EI_OSABI] is not a bitmask so '==' should been used. 2010-11-22 20:18:46 +00:00
leave Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
less Regenerated with latest configure script. 2011-05-10 01:05:41 +00:00
lessecho
lesskey
lex Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00
limits Add link to rctl(8). 2011-04-10 10:17:01 +00:00
locale
locate Properly use SCHAR_MAX instead of CHAR_MAX for 0x7f. This fixes operation 2010-11-23 15:08:56 +00:00
lock Fix style bug introduced in r216696. 2010-12-27 15:05:15 +00:00
lockf
logger When specifying the -t option (send tag in front of message), this tag 2011-04-08 12:33:07 +00:00
login Call pam_setcred() before login_getpwclass to support home directories 2011-05-03 10:18:27 +00:00
logins
logname Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
look Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
lorder Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
lsvfs
lzmainfo
m4 Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00
mail o Fix -u flag description: it takes a username as an argument. 2010-12-25 17:35:30 +00:00
make Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00
makewhatis
man When MANCOLOR environment variable is set, enable ANSI color escapes 2011-06-03 14:34:38 +00:00
mesg Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
minigzip
ministat
mkcsmapper [mdoc] Fixed .Dt call. 2011-05-25 14:13:53 +00:00
mkcsmapper_static Add the BSD-licensed Citrus iconv to the base system with default off 2011-02-25 00:04:39 +00:00
mkdep Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
mkesdb [mdoc] Fixed .Dt call. 2011-05-25 14:13:53 +00:00
mkesdb_static Add the BSD-licensed Citrus iconv to the base system with default off 2011-02-25 00:04:39 +00:00
mkfifo Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
mklocale Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
mkstr Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
mktemp Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
mkuzip Fixed an embedded shell script. 2011-05-13 09:55:48 +00:00
msgs Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
mt Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
nc MFV: nc(1) from OpenBSD 4.8. 2010-10-19 00:01:53 +00:00
ncal Use basename(3) to determine the name of the program. 2010-08-30 22:24:26 +00:00
ncplist
ncplogin
netstat Teach netstat(1) about the new global netisr policy sysctl, 2011-05-24 12:38:00 +00:00
newgrp
newkey
nfsstat Change the sysctl naming for the old and new NFS clients 2011-05-15 20:52:43 +00:00
nice Not only had I included a syntax / style error, nice.3 is also 2011-02-26 11:20:51 +00:00
nl mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
nohup Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
nslookup
nsupdate
opieinfo
opiekey
opiepasswd
pagesize Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
passwd Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
paste Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
pathchk
perror
pr
printenv Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
printf printf(1): Document that %c and precision for %b/%s use bytes, not chars. 2011-05-28 14:32:47 +00:00
procstat - Commit work from libprocstat project. These patches add support for runtime 2011-05-12 10:11:39 +00:00
quota Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
rctl mdoc: fix markup 2011-06-02 09:56:42 +00:00
renice Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
rev Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
revoke
rlogin Raise rlogin back to a WARNS level of 6. 2011-04-27 17:36:37 +00:00
rpcgen Fix clang warnings. 2011-05-18 20:52:52 +00:00
rpcinfo Constify a few string variables. While I'm there, also convert usage() to 2011-05-13 22:35:06 +00:00
rs Document the input line length limit. 2011-02-25 19:10:19 +00:00
rsh Add __unused 2010-12-20 08:47:43 +00:00
rup Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
ruptime Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
rusers Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
rwall Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
rwho Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
script Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
sed sed: Try hard links to make -i target available continually. 2011-01-08 00:03:18 +00:00
seq Fix typos. 2010-11-09 10:59:09 +00:00
setchannel Apply style(9) and unbreak build. 2010-11-06 15:04:56 +00:00
shar Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
showmount Ensure there is a whitespace after a mount point. 2011-05-24 06:56:40 +00:00
smbutil
sockstat
split Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
stat Synthesize the change from NetBSD's 1.33: 2011-02-11 05:33:35 +00:00
su getpwnam(3) may return NULL. 2011-03-27 12:53:20 +00:00
systat Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
tabs
tail Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
talk Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
tar Revert most of r210764, now that mdocml does the right 2010-12-28 10:08:50 +00:00
tcopy Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
tee Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
telnet
tftp Fix a couple of spelling errors. 2011-05-31 16:59:14 +00:00
time Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
tip Flush the scriptfile whenever we see a non-graphical character to get 2011-05-10 10:58:57 +00:00
top - Document the -H option and 'H' key alongside other options and keys 2011-05-31 15:41:10 +00:00
touch Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
tput Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
tr Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
true Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
truncate
truss Fix typos in comments, no functional changes. 2011-05-19 20:35:40 +00:00
tset Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
tsort Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
tty Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
ul Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
uname Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
unexpand Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
unifdef Update to upstrea version 2.5.6. 2011-01-21 18:10:11 +00:00
uniq Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
units
unvis Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
unzip Fix typo in last commit. 2010-10-21 20:22:00 +00:00
usbhidaction For consistency, cast result of getpid() to long 2010-08-31 07:19:10 +00:00
usbhidctl
users Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
uudecode Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
uuencode Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
vacation
vgrind Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
vi
vis Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
vmstat Remove uptime validity check that hasn't been necessary since r151417 2011-03-17 01:05:54 +00:00
w Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
wall Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
wc Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
what Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
whereis
which
who Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
whois Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
write Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
wtmpcvt
xargs Discourage from using "cp -r". 2011-03-24 13:52:59 +00:00
xinstall Teach tools/install.sh the -d directory mode. 2011-02-22 08:07:17 +00:00
xlint Retire TARGET_ABI. 2011-01-07 20:26:33 +00:00
xstr Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
xz Upgrade xz to git snapshot as of 20101010 2010-10-11 21:16:50 +00:00
xzdec
yacc Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
yes Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
ypcat
ypmatch
ypwhich
Makefile Build and install a BSD licensed grep. 2011-05-25 01:04:12 +00:00
Makefile.amd64 Merge from tbemd: Move to using Makefile.arch to control what's build. 2010-09-13 02:23:03 +00:00
Makefile.arm Merge from tbemd: Move to using Makefile.arch to control what's build. 2010-09-13 02:23:03 +00:00
Makefile.i386 Merge from tbemd: Move to using Makefile.arch to control what's build. 2010-09-13 02:23:03 +00:00
Makefile.ia64 Merge from tbemd: Move to using Makefile.arch to control what's build. 2010-09-13 02:23:03 +00:00
Makefile.inc
Makefile.powerpc Merge from tbemd: Move to using Makefile.arch to control what's build. 2010-09-13 02:23:03 +00:00
Makefile.sparc64 Merge from tbemd: Move to using Makefile.arch to control what's build. 2010-09-13 02:23:03 +00:00