public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] pkgconf.tcl GUI mode
@ 2000-02-03 19:17 Dave Vogel
  2000-02-04  2:45 ` Hugo 'NOx' Tyson
  2000-02-04  4:54 ` [ECOS] " Bart Veer
  0 siblings, 2 replies; 3+ messages in thread
From: Dave Vogel @ 2000-02-03 19:17 UTC (permalink / raw)
  To: ecos-discuss

I was noticing that the pkgconf.tcl has GUI code for configuring the
eCos OS on a Unix box (by setting the variable gui_mode, and using
"wish" to run the script).  Is there a reason this is not documented (or
did I overlook something).  I was under the impression that the only gui
method to configure eCos was with the NT configtool.

On second look, maybe I know - it only has limited configuration
capability.

-- 
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
 Dave Vogel                             dave@lightsurf.com
 LightSurf Technologies, Inc.            www.lightsurf.com
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] pkgconf.tcl GUI mode
  2000-02-03 19:17 [ECOS] pkgconf.tcl GUI mode Dave Vogel
@ 2000-02-04  2:45 ` Hugo 'NOx' Tyson
  2000-02-04  4:54 ` [ECOS] " Bart Veer
  1 sibling, 0 replies; 3+ messages in thread
From: Hugo 'NOx' Tyson @ 2000-02-04  2:45 UTC (permalink / raw)
  To: ecos-discuss


Dave Vogel <dave@lightsurf.com> writes:
> I was noticing that the pkgconf.tcl has GUI code for configuring the
> eCos OS on a Unix box (by setting the variable gui_mode, and using
> "wish" to run the script).  Is there a reason this is not documented (or
> did I overlook something).  I was under the impression that the only gui
> method to configure eCos was with the NT configtool.

"He has discovered the SECRET!  He MUST be SILENCED!" ;-)

> On second look, maybe I know - it only has limited configuration
> capability.

Exactly; it was done as an experiment to see how such a thing might look,
it's not supported in the slightest, &c &c...

I sometimes use it just 'cos it's a quicker way to disable everything
except the kernel (and maybe uITRON) - when I'm working on those kinds of
pieces of work.  Saves buildtime I mean.

	- Huge

-- 
The 20th Century brought unprecedented increases in worldwide numeracy and
literacy and incredible advances in technology, science and mathematics.
It was also the only century in the past or in any reasonable predictable
future apparently to contain only 99 years.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ECOS] Re: pkgconf.tcl GUI mode
  2000-02-03 19:17 [ECOS] pkgconf.tcl GUI mode Dave Vogel
  2000-02-04  2:45 ` Hugo 'NOx' Tyson
@ 2000-02-04  4:54 ` Bart Veer
  1 sibling, 0 replies; 3+ messages in thread
From: Bart Veer @ 2000-02-04  4:54 UTC (permalink / raw)
  To: dave; +Cc: ecos-discuss

>>>>> "Dave" == Dave Vogel <dave@lightsurf.com> writes:

    Dave> I was noticing that the pkgconf.tcl has GUI code for
    Dave> configuring the eCos OS on a Unix box (by setting the
    Dave> variable gui_mode, and using "wish" to run the script). Is
    Dave> there a reason this is not documented (or did I overlook
    Dave> something). I was under the impression that the only gui
    Dave> method to configure eCos was with the NT configtool.

    Dave> On second look, maybe I know - it only has limited
    Dave> configuration capability.

As Huge has already pointed out the GUI code was added as an
experiment, during a Sunday afternoon if I remember correctly. It
provides very little functionality, basically just the ability to
select the target and the packages you want. The Windows tool provides
much more functionality, but of course implementing that took a bit
longer than an afternoon.

It was decided not to continue with the pkgconf GUI, thus saving us
from having to maintain and more importantly document it. In addition
it might have caused some confusion between the full configuration
tool and pkgconf.tcl, which we wanted to avoid. The code has been left
in because some people have found it useful on occasion, but there is
no guarantee it still works.

To actually enable the code, you would need to apply a small patch
to the released version of pkgconf.tcl. In addition you would need to
run pkgconf.tcl using the wish interpreter rather than tclsh. For the
current anonymous CVS sources the patch below should work. For the
release version the line numbers may be slightly out.

Bart Veer // eCos net maintainer

--- pkgconf.tcl
+++ pkgconf.tcl
***************
*** 5968,5973 ****
--- 5970,5978 ----
      # The GUI can be run if the necessary commands are available and
      # if the user did not pass -nw.
      if { $pkgconf::gui_possible && ! $pkgconf::no_windows_arg } {
+
+ 	set pkgconf::gui_mode 1
+
      } else {
  	set pkgconf::gui_mode 0
      }


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-02-04  4:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-03 19:17 [ECOS] pkgconf.tcl GUI mode Dave Vogel
2000-02-04  2:45 ` Hugo 'NOx' Tyson
2000-02-04  4:54 ` [ECOS] " Bart Veer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).