From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7624df5e57d09688 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-09 18:33:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.socal.rr.com!cyclone3.kc.rr.com!news3.kc.rr.com!twister.socal.rr.com.POSTED!not-for-mail Message-ID: <3D03E1AD.80EB805D@san.rr.com> From: Darren New X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: config files proposal References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 10 Jun 2002 01:33:29 GMT NNTP-Posting-Host: 66.75.151.160 X-Complaints-To: abuse@rr.com X-Trace: twister.socal.rr.com 1023672809 66.75.151.160 (Sun, 09 Jun 2002 18:33:29 PDT) NNTP-Posting-Date: Sun, 09 Jun 2002 18:33:29 PDT Organization: RoadRunner - West Xref: archiver1.google.com comp.lang.ada:25643 Date: 2002-06-10T01:33:29+00:00 List-Id: Stephen Leake wrote: > > Configuration tasks are simpler if the config file is commented and > > handling comments is difficult if you use an API call to write to > > the file. > > Good point; I hadn't thought of that. > > I think this makes XML a better idea; we can allow for a "comment" tag > that is saved in the memory image, and written back out. Or simply allow an association of a comment string with each config value. It gets filled in when read, or left out when written. It doesn't take XML to do this. -- This is comment one key1=value1 -- This is comment two key2=value2 -- Darren New San Diego, CA, USA (PST). Cryptokeys on demand. ** http://home.san.rr.com/dnew/DNResume.html ** ** http://images.fbrtech.com/dnew/ ** My brain needs a "back" button so I can remember where I left my coffee mug.