Subject: Re: Bluetooth update
To: Christos Zoulas <christos@astron.com>
From: Rui Paulo <rpaulo@fnop.net>
List: tech-userlevel
Date: 12/18/2005 19:47:37
--wq9mPyueHGvFACwf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2005.12.17 23:17:02 +0000, Christos Zoulas wrote:
| In article <20051217210150.GA8187@panix.com>,
| Thor Lancelot Simon  <tls@rek.tjls.com> wrote:
| >On Sat, Dec 17, 2005 at 08:54:33PM +0000, Iain Hibbert wrote:
| >>=20
| >> 3. reading the style guide, it says use getopt (and presumably
| >> getopt_long) - I didnt in btconfig, because I had it in mind to use
| >>=20
| >> btconfig <device> pscan		(enable pscan)
| >> btconfig <device> -pscan	(disable pscan)
| >>=20
| >> but I am wavering on that...
| >>=20
| >> btconfig --device <device> --pscan  (enable pscan)
| >> btconfig -d <device> --pscan=3Doff (disable pscan)
| >>=20
| >> might be preferable and is not difficult though not as easy to type (u=
sing
| >> --pscan to enable seems counter intuitive to me :)
| >
| >Please do *not* use long options in new code for NetBSD.
| >
| >Can't you use getopt by skipping over the interface name by hand?
| >
| >Thor
|=20
| I think that btconfig should follow the syntax of ifconfig like
|=20
| btconfig bt0 pscan
| btconfig bt0 -pscan

I seconded.

		-- Rui Paulo

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQFDpbzZZPqyxs9FH4QRAiiFAKCvxVEgUb6XW7GR5c2nOBo+ic/5RQCcDTP6
V+S5Kbs1nI+5ajFVbi4omcA=
=ykVs
-----END PGP SIGNATURE-----

--wq9mPyueHGvFACwf--