Add sections to some xrefs. Whitespace fixes while I'm here.

This commit is contained in:
wiz 2001-04-03 11:28:21 +00:00
parent b61a5aeb17
commit 4dea69431e
1 changed files with 11 additions and 11 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: rmt.8,v 1.8 1999/03/24 06:32:21 mycroft Exp $
.\" $NetBSD: rmt.8,v 1.9 2001/04/03 11:28:21 wiz Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -53,14 +53,14 @@ or
.Xr rcmd 3
call.
.Pp
The
The
.Nm
program accepts requests specific to the manipulation of
magnetic tapes, performs the commands, then responds with
a status indication. All responses are in
.Tn ASCII
and in
one of two forms.
one of two forms.
Successful commands have responses of:
.Bd -filled -offset indent
.Sm off
@ -101,7 +101,7 @@ indicates that a newline should be supplied:
.It Xo Sy \&O Ar device
.No \en Ar mode No \en
.Xc
Open the specified
Open the specified
.Ar device
using the indicated
.Ar mode .
@ -129,7 +129,7 @@ Perform an
.Xr lseek 2
operation using the specified parameters.
The response value is that returned from the
.Xr lseek
.Xr lseek 2
call.
.Sm off
.It Sy W Ar count No \en
@ -155,9 +155,9 @@ If
exceeds the size of the data buffer (10 kilobytes), it is
truncated to the data buffer size.
.Nm
then performs the requested
then performs the requested
.Xr read 2
and responds with
and responds with
.Sm off
.Sy A Ar count-read No \en
.Sm on
@ -177,12 +177,12 @@ command using the specified parameters.
The parameters are interpreted as the
.Tn ASCII
representations of the decimal values
to place in the
to place in the
.Ar mt_op
and
.Ar mt_count
fields of the structure used in the
.Xr ioctl
.Xr ioctl 2
call. The return value is the
.Ar count
parameter when the operation is successful.
@ -190,7 +190,7 @@ parameter when the operation is successful.
Return the status of the open device, as
obtained with a
.Dv MTIOCGET
.Xr ioctl
.Xr ioctl 2
call. If the operation was successful,
an ``ack'' is sent with the size of the
status buffer, then the status buffer is
@ -198,7 +198,7 @@ sent (in binary).
.El
.Sm on
.Pp
Any other command causes
Any other command causes
.Nm
to exit.
.Sh DIAGNOSTICS