CVS commit: src/bin/chio
Module Name:src Committed By: wiz Date: Sat Mar 17 11:09:29 UTC 2012 Modified Files: src/bin/chio: chio.1 Log Message: Use Lk. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/bin/chio/chio.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/bin/chio/chio.1 diff -u src/bin/chio/chio.1:1.15 src/bin/chio/chio.1:1.16 --- src/bin/chio/chio.1:1.15 Wed Apr 30 13:10:46 2008 +++ src/bin/chio/chio.1 Sat Mar 17 11:09:29 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: chio.1,v 1.15 2008/04/30 13:10:46 martin Exp $ +.\" $NetBSD: chio.1,v 1.16 2012/03/17 11:09:29 wiz Exp $ .\" .\" Copyright (c) 1996, 1998, 1999 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -250,7 +250,8 @@ Returns status of all elements in the se The .Nm program and SCSI changer driver were originally written by Jason R. Thorpe -for And Communications, http://www.and.com/. +for +.Lk http://www.and.com/ And Communications . Additional development was done by Jason R. Thorpe for the Numerical Aerospace Simulation Facility, NASA Ames Research Center.
CVS commit: src/bin/chio
Module Name:src Committed By: sevan Date: Wed Aug 10 23:54:20 UTC 2016 Modified Files: src/bin/chio: chio.1 Log Message: Mark Jason's name with An macro in AUTHORS section, warned about missing macro by mandoc lint. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/bin/chio/chio.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/bin/chio/chio.1 diff -u src/bin/chio/chio.1:1.16 src/bin/chio/chio.1:1.17 --- src/bin/chio/chio.1:1.16 Sat Mar 17 11:09:29 2012 +++ src/bin/chio/chio.1 Wed Aug 10 23:54:20 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: chio.1,v 1.16 2012/03/17 11:09:29 wiz Exp $ +.\" $NetBSD: chio.1,v 1.17 2016/08/10 23:54:20 sevan Exp $ .\" .\" Copyright (c) 1996, 1998, 1999 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -249,9 +249,12 @@ Returns status of all elements in the se .Sh AUTHORS The .Nm -program and SCSI changer driver were originally written by Jason R. Thorpe +program and SCSI changer driver were originally written by +.An Jason R. Thorpe for .Lk http://www.and.com/ And Communications . -Additional development was -done by Jason R. Thorpe for the Numerical Aerospace Simulation Facility, +Additional development was done by +.An -nosplit +.An Jason R. Thorpe +for the Numerical Aerospace Simulation Facility, NASA Ames Research Center.
CVS commit: src/bin/chio
Module Name:src Committed By: sevan Date: Wed Aug 10 23:58:16 UTC 2016 Modified Files: src/bin/chio: chio.1 Log Message: Document the first version chio appeared in. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/bin/chio/chio.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/bin/chio/chio.1 diff -u src/bin/chio/chio.1:1.17 src/bin/chio/chio.1:1.18 --- src/bin/chio/chio.1:1.17 Wed Aug 10 23:54:20 2016 +++ src/bin/chio/chio.1 Wed Aug 10 23:58:16 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: chio.1,v 1.17 2016/08/10 23:54:20 sevan Exp $ +.\" $NetBSD: chio.1,v 1.18 2016/08/10 23:58:16 sevan Exp $ .\" .\" Copyright (c) 1996, 1998, 1999 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd September 8, 1999 +.Dd August 11, 2016 .Dt CHIO 1 .Os .Sh NAME @@ -246,6 +246,11 @@ Returns status of all elements in the se .Sh SEE ALSO .Xr mt 1 , .Xr mount 8 +.Sh HISTORY +A +.Nm +utility appeared in +.Nx 1.3 . .Sh AUTHORS The .Nm
CVS commit: src/bin/chio
Module Name:src Committed By: sevan Date: Tue Aug 23 21:07:40 UTC 2016 Modified Files: src/bin/chio: chio.c Log Message: Remove redundant main() prototype which survived a K&R to ANSI transition. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/bin/chio/chio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/bin/chio/chio.c diff -u src/bin/chio/chio.c:1.31 src/bin/chio/chio.c:1.32 --- src/bin/chio/chio.c:1.31 Mon Aug 29 14:51:17 2011 +++ src/bin/chio/chio.c Tue Aug 23 21:07:40 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: chio.c,v 1.31 2011/08/29 14:51:17 joerg Exp $ */ +/* $NetBSD: chio.c,v 1.32 2016/08/23 21:07:40 sevan Exp $ */ /*- * Copyright (c) 1996, 1998, 1999 The NetBSD Foundation, Inc. @@ -39,7 +39,7 @@ __COPYRIGHT( "@(#) Copyright (c) 1996, 1998, 1999\ The NetBSD Foundation, Inc. All rights reserved."); -__RCSID("$NetBSD: chio.c,v 1.31 2011/08/29 14:51:17 joerg Exp $"); +__RCSID("$NetBSD: chio.c,v 1.32 2016/08/23 21:07:40 sevan Exp $"); #endif #include @@ -60,7 +60,6 @@ __RCSID("$NetBSD: chio.c,v 1.31 2011/08/ #include "defs.h" #include "pathnames.h" -int main(int, char *[]); __dead static void usage(void); static void cleanup(void); static int parse_element_type(const char *);
CVS commit: src/bin/chio
Module Name:src Committed By: sevan Date: Thu Aug 25 18:16:10 UTC 2016 Modified Files: src/bin/chio: chio.1 Log Message: Move the description of CHANGER variable to ENVIRONMENT section Bump date. >From OpenBSD src/bin/chio/chio.1 r1.23 To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/bin/chio/chio.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/bin/chio/chio.1 diff -u src/bin/chio/chio.1:1.18 src/bin/chio/chio.1:1.19 --- src/bin/chio/chio.1:1.18 Wed Aug 10 23:58:16 2016 +++ src/bin/chio/chio.1 Thu Aug 25 18:16:10 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: chio.1,v 1.18 2016/08/10 23:58:16 sevan Exp $ +.\" $NetBSD: chio.1,v 1.19 2016/08/25 18:16:10 sevan Exp $ .\" .\" Copyright (c) 1996, 1998, 1999 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd August 11, 2016 +.Dd August 25, 2016 .Dt CHIO 1 .Os .Sh NAME @@ -58,10 +58,6 @@ rather than the default device .Pa /dev/ch0 . .El .Pp -The default changer may be overridden by setting the environment variable -.Ev CHANGER -to the desired changer device. -.Pp A medium changer apparatus is made up of .Pa elements . There are four element types: @@ -225,6 +221,12 @@ Unloads the media from the CD-ROM drive .It Nm abort Aborts any pending load or unload operation. .El +.Sh ENVIRONMENT +.Bl -tag -width CHANGER +.It Ev CHANGER +The default changer may be overridden by setting this environmental +variable to the desired changer device. +.El .Sh FILES /dev/ch0 - default changer device .Sh EXAMPLES
CVS commit: src/bin/chio
Module Name:src Committed By: jnemeth Date: Mon Oct 16 17:08:35 UTC 2017 Modified Files: src/bin/chio: chio.c Log Message: typo: unvalid -> invalid To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/bin/chio/chio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/bin/chio/chio.c diff -u src/bin/chio/chio.c:1.32 src/bin/chio/chio.c:1.33 --- src/bin/chio/chio.c:1.32 Tue Aug 23 21:07:40 2016 +++ src/bin/chio/chio.c Mon Oct 16 17:08:35 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: chio.c,v 1.32 2016/08/23 21:07:40 sevan Exp $ */ +/* $NetBSD: chio.c,v 1.33 2017/10/16 17:08:35 jnemeth Exp $ */ /*- * Copyright (c) 1996, 1998, 1999 The NetBSD Foundation, Inc. @@ -39,7 +39,7 @@ __COPYRIGHT( "@(#) Copyright (c) 1996, 1998, 1999\ The NetBSD Foundation, Inc. All rights reserved."); -__RCSID("$NetBSD: chio.c,v 1.32 2016/08/23 21:07:40 sevan Exp $"); +__RCSID("$NetBSD: chio.c,v 1.33 2017/10/16 17:08:35 jnemeth Exp $"); #endif #include @@ -620,7 +620,7 @@ do_status(const char *cname, int argc, c } if ((unit + ucount) > count) - errx(EXIT_FAILURE, "%s: unvalid unit/count %d/%d", + errx(EXIT_FAILURE, "%s: invalid unit/count %d/%d", cname, unit, ucount); /* NOTREACHED */