Add skeleton manpage, so that make world works......

Correct the naming of the thing.. it's sicontrol, not siconfig as I'm used
to..
This commit is contained in:
Peter Wemm 1995-08-14 01:56:17 +00:00
parent 150e023bc9
commit b0b86ca14f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10052
2 changed files with 49 additions and 8 deletions

View File

@ -0,0 +1,40 @@
.\" $Id$
.\"
.Dd August 14, 1995
.Dt SICONTROL 8
.Sh NAME
.Nm sicontrol
.Nd Specialix SI/XIO driver controller
.Sh SYNOPSIS
.Nm sicontrol
device_name
.Ar argument Op Cm Ar parameter ...
.Sh DESCRIPTION
.Nm Sicontrol
is used to manage the SI/XIO driver .
.sp
Ask Peter Wemm <peter@haywire.dialix.com> for details.
.Sh FILES
.Bl -tag -width /dev/si_control -compact
.It Pa /dev/si_control
driver control interface - used by
.Xr sicontrol 8
.It Pa /dev/ttyA*
ports
.It Pa /dev/cuaA*
callout ports
.It Pa /dev/ttyiA*
initial termios flags device
.It Pa /dev/ttylA*
locked termios flags device
.Sh SEE ALSO
.Xr tty 4 ,
.Xr termios 4 ,
.Xr comcontrol 8 ,
.Xr stty 1 ,
.Xr si 4 ,
(to be written)
.Sh DIAGNOSTICS
Many and various.
.Sh BUGS
I'd say this manpage is one.. :-)

View File

@ -30,7 +30,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
* $Id$
* $Id: sicontrol.c,v 1.1 1995/08/13 15:24:23 peter Exp $
*/
#include <stdio.h>
@ -200,15 +200,16 @@ prusage(strn, eflag)
char **cp;
if (strn == U_ALL) {
fprintf(stderr, "Usage: siconfig - %s", usage[1]);
fprintf(stderr, " siconfig devname %s", usage[2]);
for (cp = &usage[3]; *cp; cp++)
fprintf(stderr, " %s", *cp);
fprintf(stderr, "Usage: sicontrol - %s", usage[1]);
fprintf(stderr, " sicontrol - %s", usage[2]);
fprintf(stderr, " sicontrol devname %s", usage[3]);
for (cp = &usage[4]; *cp; cp++)
fprintf(stderr, " %s", *cp);
}
else if (strn >= 0 && strn <= U_MAX)
fprintf(stderr, "Usage: siconfig devname %s", usage[strn]);
fprintf(stderr, "Usage: sicontrol devname %s", usage[strn]);
else
fprintf(stderr, "siconfig: usage ???\n");
fprintf(stderr, "sicontrol: usage ???\n");
exit(eflag);
}
@ -514,7 +515,7 @@ lvls2bits(str)
if (strcmp(token, "all") == 0)
return(0xffffffff);
if ((i = islevel(token)) == 0) {
fprintf(stderr, "siconfig: unknown token '%s'\n", token);
fprintf(stderr, "sicontrol: unknown token '%s'\n", token);
errflag++;
} else
bits |= i;