summaryrefslogtreecommitdiff
path: root/bin/mt
AgeCommit message (Collapse)Author
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
2015-12-30rename a few variables/functions to avoid shadowingTed Unangst
2015-12-06Use __progname instead of manually handling argv[0].Tobias Stoeckmann
ok deraadt, mmcc, tedu
2013-11-21add unsigned char casts for specific calls to ctype.h macros.Theo de Raadt
ok guenther step
2013-11-12add a variety of missing prototypesTheo de Raadt
2012-12-04replace sys/param.h with sys/types.h (and sometimes add limits.h if needed)Theo de Raadt
ok guenther
2012-12-04remove sunos backwards compatTheo de Raadt
2011-05-05Oops. Put back OPENDEV_PART so 'eject cd0' works again. Pointed outKenneth R Westerback
by miod@.
2011-04-24No point in attempting to open the 'c' partition on devices that haveKenneth R Westerback
no 'c' partition. So don't call opendev(3) with OPENDEV_PART. ok deraadt@
2010-09-03add EXIT STATUS (these two were hiding...);Jason McIntyre
2009-11-09simplify the sub-ioctl functionTheo de Raadt
2009-11-07repair local operations after the -DRMT changes; from Matthew ClarkeTheo de Raadt
2009-10-28Add a compile option (-DRMT) which decides if remote tape support (via rcmd)Theo de Raadt
is supported. If not, disable it. ok guenther
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
2007-11-03- standard EXAMPLESJason McIntyre
- tidy up SEE ALSO
2007-11-02+.Xr chio 1 ,Jason McIntyre
ok beck
2007-05-31convert to new .Dd format;Jason McIntyre
2006-06-14Nuke only two uses of OPENDEV_DRCT in tree. Nuke OPENDEV_DRCT. LongKenneth R Westerback
marked obsolete since the opendev() behaviour it turned on is now the default. 'it can go' deraadt@ 'no API of mine has ever made it into a standard' downsj@
2006-06-01We do not create st devices with different density modes. i.e. with deviceKenneth R Westerback
minor numbers having bits 2 or 3 set. Eliminate the quirks, etc. used to store info on these non-existant modes. Also eliminate a couple of 'unimplemented' fields in the ioctl request structure. ok beck@ deraadt@
2006-05-27The last time these were relevant I had a mullet.Bob Beck
no binary change, ok dlg@
2006-04-11Check for strdup() failure.Ray Lai
OK jaredy@
2006-03-23use strdup() instead; adobriyan@gmailTheo de Raadt
2005-12-22if in eject mode, do not include command name in error output; bug spotted ↵Theo de Raadt
by drahn
2005-11-25BINOWN and BINMODE is not needed hereTheo de Raadt
2005-05-02tweaks;Jason McIntyre
2005-05-01add eject -t option: permits tray to be closed (ie. insert a CD).Theo de Raadt
this uses the MTRETEN option split out getopt options for mt & eject, fix usage as well. ok krw (who is about to commit the back end changes for scsi..)
2005-04-26- do not list -f option for eject, as it is not necessaryJason McIntyre
- tidy up the options list somewhat to avoid confusion - sync usage() started by a diff from tom@ and ok'd by him;
2004-09-16ARGSUSED on signal handlerTheo de Raadt
2003-07-31typo;Jason McIntyre
2003-07-30clarify use of eject on an empty cdrom drive. (eject /dev/rcd0c)Ted Unangst
ok jmc@
2003-06-11ansification, art okTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-03-14document the -f flagJason McIntyre
remove the -t flag (it was an alias to -f) document that eject ignores $TAPE doc suggestion from Ross Richardson -t removal suggested by millert@ fixes PR 3143 ok millert@
2003-02-26clarify that eject works on other mediaTed Unangst
ok millert@
2002-07-04ansiTheo de Raadt
2002-05-27strlcpyTheo de Raadt
2002-03-14kill more registers.Mike Pechkin
millert@ ok
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
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.
2002-01-24fix the history refsMichael Shalayeff
2002-01-16missed some registers, kill'em!Mike Pechkin
millert@ ok
2001-11-14in a signal handler, change errx() to warnx() + _exit; millert okTheo de Raadt
2000-03-17Remove hard sentence breaks.Aaron Campbell
1999-08-17consistencyAaron Campbell
1999-05-28more .El madnessAaron 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-23alphabetize SEE ALSO entries and numerically order according to sectionAaron Campbell
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.