Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 2003 01:10:09 +0200
From:      "Simon L. Nielsen" <simon@FreeBSD.org>
To:        Ceri Davies <ceri@FreeBSD.org>, Sergey Zaikov <Sergey_Zaikov@p66.f5.klax.tsu.tula.ru>, Doc@freebsd.Org
Subject:   Re: errata at FreeBSD HandBook
Message-ID:  <20030828231007.GC390@FreeBSD.org>
In-Reply-To: <20030828191949.GE77721@submonkey.net>
References:  <1062096786@p66.f5.n5022.z2.fidonet> <20030828191949.GE77721@submonkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--w7PDEPdKQumQfZlR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2003.08.28 20:19:49 +0100, Ceri Davies wrote:
> On Thu, Aug 28, 2003 at 05:52:10PM +0400, Sergey Zaikov wrote:
> >                      Hello, Doc@freebsd.Org!!!
> >=20
> > FreeBSD Handbook called /dev/cuaiaN as /dev/cuai0N.
> >=20
> > Or I'm wrong?
>=20
> No, you're right.  There's also one instance of "cual0N".
> The attached patch should fix it; could someone confirm that Sergey
> and I haven't gone insane?

I checked of the sio(4) manual page, the sio(4) source code, and /dev on
a 4.8 and a 5.1 system.  All confirm the that 'cua[il]a' are the correct
names, so I'm rather sure the change is correct.

> Index: serialcomms/chapter.sgml
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> RCS file: /home/dcvs/doc/en_US.ISO8859-1/books/handbook/serialcomms/chapt=
er.sgml,v
> retrieving revision 1.80
> diff -u -r1.80 chapter.sgml
> --- serialcomms/chapter.sgml	13 Jul 2003 20:36:53 -0000	1.80
> +++ serialcomms/chapter.sgml	28 Aug 2003 19:18:24 -0000
> @@ -387,10 +387,10 @@
>  	and <filename>/dev/cuaa<replaceable>N</replaceable></filename>
>  	(call-out) devices.  FreeBSD also provides initialization devices
>  	(<filename>/dev/ttyid<replaceable>N</replaceable></filename> and
> -	<filename>/dev/cuai0<replaceable>N</replaceable></filename>) and
> +	<filename>/dev/cuaia<replaceable>N</replaceable></filename>) and
>  	locking devices
>  	(<filename>/dev/ttyld<replaceable>N</replaceable></filename> and
> -	<filename>/dev/cual0<replaceable>N</replaceable></filename>).  The
> +	<filename>/dev/cuala<replaceable>N</replaceable></filename>).  The
>  	initialization devices are used to initialize communications port
>  	parameters each time a port is opened, such as
>  	<literal>crtscts</literal> for modems which use
> @@ -1334,7 +1334,7 @@
>  	  <filename>/etc/rc.serial</filename>:</para>
>  	<programlisting># Serial port initial configuration
>  stty -f /dev/ttyid1 crtscts
> -stty -f /dev/cuai01 crtscts</programlisting>
> +stty -f /dev/cuaia1 crtscts</programlisting>
>  	    	   =20
>        </sect3>
>      </sect2>

--=20
Simon L. Nielsen
FreeBSD Documentation Team

--w7PDEPdKQumQfZlR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/TovPh9pcDSc1mlERAjMmAKCGL2cT6PPbOtiPVlDsFoBRZUdJFQCfaykO
ea68sCmWEZqQq4gmAzqquLo=
=qrYl
-----END PGP SIGNATURE-----

--w7PDEPdKQumQfZlR--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030828231007.GC390>