summaryrefslogtreecommitdiff
path: root/bin/hostname
AgeCommit message (Collapse)Author
2024-08-25Since netstart r1.208 (2020), it no longer applies /etc/mynameTheo Buehler
Change Xr from netstart to rc. From Christian Schulte, ok florian
2016-02-01- make usage() static and __deadGleydson Soares
- while here switch main to return instead of exit(3) OK tedu@
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
2011-01-24gethostname.3 and sethostname.3 are one and the same, so don;t list themJason McIntyre
both in SEE ALSO;
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-09-10improve DESCRIPTION: note that hostname(1) can actually set the hostname,Jason McIntyre
like its description says it can;
2007-05-31convert to new .Dd format;Jason McIntyre
2003-12-03.Xr myname(5) in SEE ALSO; suggested by Michael W. Burden;Jason McIntyre
2003-06-30Xr hostname 7; tedu@Todd C. Miller
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-07-04ansiTheo de Raadt
2002-06-11typoMatthieu Herrb
2002-05-16Xref netstart(8) instead of rc(8) now, PR #2657Miod Vallat
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-09-06o) __progname aria;Mike Pechkin
millert@ ok.
2001-05-28Various fixes; mpech@prosoft.org.lvAaron Campbell
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-04-12Trailing whitespace begone!Aaron Campbell
2000-03-17Remove hard sentence breaks.Aaron Campbell
1999-10-05mention /etc/mynameEric Jackson
1999-08-17consistencyAaron Campbell
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-11-28start killing redundant .Nm macro arguments (mandoc ``remembers'' the first oneAaron Campbell
it's given)
1998-09-14First complete sweep of man pages, bin/. Command/function names previouslyAaron Campbell
(incorrectly) capatilized are fixed. Comma splices, hyphenations, SYNOPSIS cleanups, other miscellaneous typos.
1997-09-21$OpenBSD$Theo de Raadt
1997-05-30xref correctionsTheo de Raadt
1996-08-02zap getopt() case of -?, come on, it is the default!Theo de Raadt
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt