freebsd-dev/usr.bin
Garrett Wollman e9cfb9ae3a Completely revamp the way getconf(1) works, for better adherence to the
intent of the Standard.

- Make getconf able to distinguish between configuration variables which
  are entirely unknown and those which are merely not defined in the
  compilation environment.  The latter now get a more appropriate
  "undefined\n" result rather than a diagnostic.  This may not be
  exactly right, but it's closer to the intent of the Standard than
  the previous behavior.

- Support ``programming environments'' by validating that the environment
  requested with the `-v' flag is the one-and-only execution environment.
  (If more environments are supported for some platforms in the future,
  multiple getconf(1) executables will be required, but a simple edit in
  progenv.gperf will enable automatic support for it.)  Document POSIX
  standard programming environments.

- Add all of the 1003.1-2001 configuration variables.  FreeBSD does not
  support all of these (including some that are mandatory); getconf will
  later be fixed to break the world should a required variable not be
  defined.

As a result of all these changes, gperf is no longer adequate.  Keep the
overall format and names of the files for now, to preserve revision history.
Use an awk script to process the .gperf files into C source, which does a
few things that gperf, as a more general tool, cannot do.  The keyword
recognition function is no longer a perfect hash function.

This may obviate the need for gperf in the source tree.

- Add a small compile-time regression test to break the build if any of the
  .gperf files declare conflicting token sets.  (gperf itself would have done
  this for the simple case of duplicate tokens in the same input file.)
2002-09-19 03:39:03 +00:00
..
alias
apply
ar
asa
at
awk
banner
basename ANSIify function definitions. 2002-09-04 23:29:10 +00:00
biff Bump document date for the 'beep only' change. 2002-08-16 03:08:25 +00:00
brandelf
bzip2
c89
calendar Add the 1109 incident. 2002-09-10 00:07:19 +00:00
cap_mkdb
catman No need to declare optind as an external int. 2002-09-04 21:16:51 +00:00
chat Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
checknr
chflags ANSIify function definitions. 2002-09-04 23:29:10 +00:00
chkey Use strchr() instead of index(). Use getopt(). Use err(). 2002-08-27 19:06:44 +00:00
chpass
cksum
cmp
col ANSIify function definitions. 2002-09-04 23:29:10 +00:00
colcrt ANSIify function definitions. 2002-09-04 23:29:10 +00:00
colldef Avoid a signedness warning by casting chain_index to a size_t. 2002-09-04 21:22:49 +00:00
colrm
column
comm
compile_et
compress
csplit mdoc(7) police: simplify. 2002-08-14 11:38:30 +00:00
ctags
cut ANSIify function definitions. 2002-09-04 23:29:10 +00:00
dig
dirname
dnskeygen
dnsquery
doscmd Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
du
ee
elf2aout
enigma ANSIify function definitions. 2002-09-04 23:29:10 +00:00
env ANSIify function definitions. 2002-09-04 23:29:10 +00:00
expand ANSIify function definitions. 2002-09-04 23:29:10 +00:00
false
fetch s/optarg/s/ (cut'n'paste braino) 2002-08-27 10:19:24 +00:00
file Update for version 3.39. 2002-09-16 06:31:49 +00:00
file2c
find Do not repeat the name of the flag in its description 2002-08-27 19:14:08 +00:00
finger ANSIify function definitions. 2002-09-04 23:29:10 +00:00
fmt
fold ANSIify function definitions. 2002-09-04 23:29:10 +00:00
from ANSIify function definitions. 2002-09-04 23:29:10 +00:00
fstat Userland changes to go with vnode->v_tag change. 2002-09-14 18:51:10 +00:00
fsync
ftp
gcore Add #include <sys/queue.h> for sparc64's benefit. The MD includes there 2002-09-13 18:24:59 +00:00
gencat
getconf Completely revamp the way getconf(1) works, for better adherence to the 2002-09-19 03:39:03 +00:00
getopt ANSIify function definitions. 2002-09-04 23:29:10 +00:00
gprof
head
hesinfo ANSIify function definitions. 2002-09-04 23:29:10 +00:00
hexdump ANSIify function definitions. 2002-09-04 23:29:10 +00:00
host
id ANSIify function definitions. 2002-09-04 23:29:10 +00:00
indent
ipcrm ANSIify function definitions. 2002-09-04 23:29:10 +00:00
ipcs
join ANSIify function definitions. 2002-09-04 23:29:10 +00:00
jot
kdump Backed out revs 1.32-1.33. The problem has been fixed better by 2002-09-16 10:06:02 +00:00
kenv
keylogin
keylogout
killall
ktrace
ktrdump
lam
last ANSIify function definitions. 2002-09-04 23:29:10 +00:00
lastcomm ANSIify function definitions. 2002-09-04 23:29:10 +00:00
ldd Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
leave ANSIify function definitions. 2002-09-04 23:29:10 +00:00
less
lessecho
lesskey
lex Catch up with the ISO-C++ standard. 2002-09-09 02:58:42 +00:00
limits Update the usage string in the limits(1) manpage to include -b for 2002-09-18 16:25:59 +00:00
locate
lock ANSIify function definitions. 2002-09-04 23:29:10 +00:00
lockf
logger ANSIify function definitions. 2002-09-04 23:29:10 +00:00
login When login tries to do the chmod/chflags on a read only file system, 2002-08-19 20:54:00 +00:00
logname ANSIify function definitions. 2002-09-04 23:29:10 +00:00
look ANSIify function definitions. 2002-09-04 23:29:10 +00:00
lorder
lsvfs
m4 Die on -D=foo, when parsing options - we can't let someone define (nil). 2002-09-04 01:12:39 +00:00
mail Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
make Make the DEBUGF() macro portable by (ugh) adding a Debug() function, which 2002-09-18 16:13:03 +00:00
makewhatis ANSIify function definitions. 2002-09-04 23:29:10 +00:00
mesg ANSIify function definitions. 2002-09-04 23:29:10 +00:00
minigzip
mkdep
mkfifo ANSIify function definitions. 2002-09-04 23:29:10 +00:00
mklocale Document SWIDTH* 2002-08-20 15:19:34 +00:00
mkstr
mktemp
msgs ANSIify function definitions. 2002-09-04 23:29:10 +00:00
mt
ncal
ncplist
ncplogin ANSIify function definitions. 2002-09-04 23:29:10 +00:00
netstat Warns cleanups for netstat: 2002-09-05 17:06:51 +00:00
newgrp
newkey
nfsstat
nice ANSIify function definitions. 2002-09-04 23:29:10 +00:00
nl Remove local prototypes for main(). 2002-08-19 03:07:56 +00:00
nm
nohup
objformat Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
opieinfo
opiekey
opiepasswd
pagesize
passwd
paste
pathchk
perl Prevent the wrapper from looping on itself forever, when there 2002-09-10 13:56:30 +00:00
pr ANSIify function definitions. 2002-09-04 23:29:10 +00:00
printenv ANSIify function definitions. 2002-09-04 23:29:10 +00:00
printf ANSIify function definitions. 2002-09-04 23:29:10 +00:00
quota
ranlib
renice
rev ANSIify function definitions. 2002-09-04 23:29:10 +00:00
rlogin
rpcgen
rpcinfo Remove local prototypes for main(). 2002-08-19 03:07:56 +00:00
rs
rsh Check for FD_SET overrun. 2002-09-09 16:14:03 +00:00
rup
ruptime
rusers
rwall ANSIify function definitions. 2002-09-04 23:29:10 +00:00
rwho
sasc
script ANSIify function definitions. 2002-09-04 23:29:10 +00:00
sed
shar
showmount
size
smbutil
sockstat
soelim ANSIify function definitions. 2002-09-04 23:29:10 +00:00
split
stat I was too conservative with my header changes, so restore some sanity 2002-08-15 04:58:46 +00:00
strings
strip
su
symorder
systat
tabs
tail
talk Remove local prototypes for main(). 2002-08-19 03:07:56 +00:00
tconv
tcopy
tee ANSIify function definitions. 2002-09-04 23:29:10 +00:00
telnet Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
tftp
time ANSIify function definitions. 2002-09-04 23:29:10 +00:00
tip
top Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
touch ANSIify function definitions. 2002-09-04 23:29:10 +00:00
tput ANSIify function definitions. 2002-09-04 23:29:10 +00:00
tr ANSIify function definitions. 2002-09-04 23:29:10 +00:00
true
truncate
truss
tset ANSIify function definitions. 2002-09-04 23:29:10 +00:00
tsort ANSIify function definitions. 2002-09-04 23:29:10 +00:00
tty
uac
ul ANSIify function definitions. 2002-09-04 23:29:10 +00:00
uname Mostly rewrite the flag handling of uname(1) to be overridable, such as: 2002-09-18 04:33:10 +00:00
unexpand ANSIify function definitions. 2002-09-04 23:29:10 +00:00
unifdef Remove local prototypes for main(). 2002-08-19 03:07:56 +00:00
uniq ANSIify function definitions. 2002-09-04 23:29:10 +00:00
units
unvis ANSIify function definitions. 2002-09-04 23:29:10 +00:00
usbhidctl
users ANSIify function definitions. 2002-09-04 23:29:10 +00:00
uudecode Some uses of the variable n needed to be int, others needed to be 2002-09-11 04:26:09 +00:00
uuencode Don't try (and fail) to fchmod /dev/stdout. Revert the manual page 2002-09-03 19:37:23 +00:00
uuidgen
vacation
vgrind
vi
vis ANSIify function definitions. 2002-09-04 23:29:10 +00:00
vmstat
w Fix warning when calling w(1) when logged in via xdm/kdm. This is 2002-08-23 04:31:58 +00:00
wall
wc
what ANSIify function definitions. 2002-09-04 23:29:10 +00:00
whereis Use correct document date for the -a option. 2002-08-22 01:54:18 +00:00
which
who
whois ARIN has annoyingly started using caps when referencing 2002-09-18 07:51:46 +00:00
window
write ANSIify function definitions. 2002-09-04 23:29:10 +00:00
xargs
xinstall ANSIify function definitions. 2002-09-04 23:29:10 +00:00
xlint Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
xstr ANSIify function definitions. 2002-09-04 23:29:10 +00:00
yacc Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
yes ANSIify function definitions. 2002-09-04 23:29:10 +00:00
ypcat
ypmatch
ypwhich
Makefile Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
Makefile.inc