diff --git a/usr.sbin/sicontrol/sicontrol.8 b/usr.sbin/sicontrol/sicontrol.8 new file mode 100644 index 000000000000..05c79e89f0cd --- /dev/null +++ b/usr.sbin/sicontrol/sicontrol.8 @@ -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 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.. :-) diff --git a/usr.sbin/sicontrol/sicontrol.c b/usr.sbin/sicontrol/sicontrol.c index ff6bdd410134..a09a4e963fe5 100644 --- a/usr.sbin/sicontrol/sicontrol.c +++ b/usr.sbin/sicontrol/sicontrol.c @@ -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 @@ -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;