Subject: Re: tcl/tk 9.0 - remove the warts! (?) - DN [1]


Nat Pryce <np2@doc.ic.ac.uk> - 11 May 1999 - comp.lang.tcl

 "Bruce S. O. Adams" wrote:
 > Christopher Nelson wrote:
 > > Thinking of the backward compatibility concerns raised on this thread, I think
 > > option suffers from (and is limited by) it's X heritage.  What I'd like would be
 > > a cross-platform way to store options that wasn't so limited.  Maybe a protocol
 > > for Tk to access the Windoze registry (that is, a defined set of keys that
 > > widget .foo would look for and get options from) and a UNIX implementation of
 > > the [registry] command.
 >
 > That's a little sick.  A system 'registry' in principle is a good thing but the M$
 > implementation leaves a lot to be desired.  If you are going to use any kind of
 > 'registry' it should be a distinct entity, stored perhaps in the relevant
 > installation
 > directory for each platform.

 Actually, I've been thinking about this recently.  It would
 be great if Tcl had a standard package for storing and
 retrieving installation-wide and per-user options for
 applications that mapped onto the most appropriate mechanisms
 for the platform.

 On Unix it could map onto rc files in /usr/local/etc and in
 each user's home directory, and maybe onto X resources.
 On Windows it would map onto registry settings stored under the
 \HKEY_LOCAL_MACHINE\Software and \HKEY_CURRENT_USER\Software keys.
 A Mac user will have to tell us where options go on that platform.

 Cheers,
     Nat.

 --
 +------------------------------------------+---------------------+
 | Name:   Nat Pryce MEng ACGI              | Dept. of Computing, |
 | Email:  np2@doc.ic.ac.uk                 | Imperial College,   |
 | Tel:    +44 (0)171 594 8394              | 180 Queen's Gate,   |
 | Fax:    +44 (0)171 581 8024              | London SW7 2BZ,     |
 | WWW:    http://www-dse.doc.ic.ac.uk/~np2 | United Kingdom      |
 +------------------------------------------+---------------------+

Last modified
1999-09-27

(195.108.246.50)

Note: you are looking at
the snapshot of an old wiki
- much of this information
is likely to be very outdated