Commit Graph

13 Commits

Author SHA1 Message Date
Warner Losh
1c8af87873 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Peter Wemm
df3f5d9dd5 Merge from Lite2 1997-03-11 13:43:33 +00:00
Mike Pritchard
85cf659a76 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
Joerg Wunsch
9408e822a5 . cast the error and status registers properly to (unsigned short),
to avoid misinterpreting the 0x8000 bit as a negative sign,

. use the <machine/wtio.h> register def's to print them.
1996-02-22 00:33:35 +00:00
Joerg Wunsch
1637891abd Forgot to update the man page for the `retension' command. 1996-01-13 09:46:26 +00:00
Joerg Wunsch
a7710e485b Rename the retens' command into retension', to follow existing de-facto
standards.
1996-01-12 15:36:28 +00:00
Joerg Wunsch
8348d96afc Add `retens', the user frontend for MTRETENS. 1996-01-08 12:29:26 +00:00
Bruce Evans
49f544b572 Return early in printreg() when the pointer is NULL. For FreeBSD, the
strings describing the drive status and error bits are so deficient
that the pointer is always NULL.

Reported by:	Philippe Charnier <charnier@lirmm.fr>
1995-10-21 08:51:01 +00:00
Joerg Wunsch
a471a8c32e Remove the dangerous "eof" command that used to be an alias for "weof"
but usually got confused with "eom".  It didn't ring the warning bell
saying: "You are probably going to mark your whole tape as deleted
right now."

A warning message pointing to "weof" and "eom" is issued instead.
1995-07-16 10:16:26 +00:00
Joerg Wunsch
77023b92da Make mt(1) orthogonal: now that we print the densities as strings
instead of hex, make it accept density names for input, too.
1995-04-18 22:27:43 +00:00
Joerg Wunsch
1146dede84 Round #1 of my st(1) -> mt(1) merge. All the commands should be
covered now, and i've attempted to give textual representations
instead of magic numbers.

The st(4) driver still misses some pieces; i'm going to implement the
EOM functionality RSN.

Any takers for the MTCOMP command?  Seems to have never been implemented.
1995-04-17 21:55:11 +00:00
Jordan K. Hubbard
2461956095 Andreas Klemm's tape erase patches from 1.1.5.1.
Submitted by:	andreas
1994-10-28 13:21:57 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00