Subject: Re: pledit was Re: proplib changes
To: Adam Hamsik <haaaad@gmail.com>
From: Bill Stouder-Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 06/27/2007 10:00:06
--nYySOmuH/HDX6pKp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Jun 27, 2007 at 11:04:46AM +0200, Adam Hamsik wrote:
>=20
> On Jun 27, 2007, at 2:09 AM, Bill Stouder-Studenmund wrote:
>=20
> Ok I think that we need pledit to edit and use plist's in /etc.
> How we can do pledit. I see 2 way's.
>=20
> 1) improve vi to understand plist's and use it for plain text files =20
> and for plist's.(we can also generate two copies of vi one for plain =20
> text and another for plist's)
>=20
> 2) write plist editor from scratch :(.
Jason indicated this is under way.
> 3) write converter from pro human file to plist. I think that we can =20
> use sh for this.
I think this would be a mistake. While it certainly would be better than=20
editing binary data, we still leave the human responsible for maintaining=
=20
structure. That's the biggest pain with XML. Note: I think editing XML=20
isn't bad. However if we have a "tool" to do it, I expect it to balance=20
openings and closings for me, and to help me out. Like when I add=20
something to a dictionary, I want it to help me with the key and the=20
value.
Take care,
Bill
--nYySOmuH/HDX6pKp
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
iD8DBQFGgpeWWz+3JHUci9cRAt0IAJ4pinzeJ24AbbscughtegdfLjJdVwCeOxIC
TZNuAlCLgbfpAGxySVT0Lak=
=vf0+
-----END PGP SIGNATURE-----
--nYySOmuH/HDX6pKp--