Dear Seppo,

> I spent a whole day trying to get xcircuit 3.6.94 compiled on a new
> installation of Ubuntu Edgy. To maybe spare someone else the 'why won't
> it compile'-headache, here is what you have to do:

 > Install:
 >      tcl8.4
 >      tcl8.4-dev
 >      tk8.4
 >      tk8.4-dev
 >      libxp6
 >      gcc
 >      g++             (this is not the same as gpp)
 >      automake1.9     (make is installed by default)
 >      nasm
 >      m4

Thanks for your report.  I attempted to respond to your previous email,
but your ISP rejected my email.  I'm CC'ing this one to xcircuit-dev
so that you should get it one way or another.

Your list of dependencies is interesting, because there are a number
of items that shouldn't be there.  g++ should not be required (there
is no C++ code in the distribution, only plain C).  m4 should not be
required (I got rid of all the m4 processing and replaced it with "sed"),
although m4 may be linked somehow to gnu automake and the "aclocal" file.
I don't know what "nasm" and "libxp6" (typo?) are doing in the list.

 From your original email:

 > p.s. it would be nice to enter a value for a component by pressing v
 > with the mouse above the component or with a selected component.

Try this (simple version):

    xcircuit::keybind <Key-v> {xcircuit::promptchangeparam index ""}

To implement the "select or use current selection":

    xcircuit::keybind <Key-v> {if {[select] == 0} {select here}; \
        xcircuit::promptchangeparam index ""}

To get the current value of the index parameter into the window makes
the expression even more complicated:

    xcircuit::keybind <Key-v> {if {[select] == 0} {select here}; \
        xcircuit::promptchangeparam index [eval xcircuit::printstring \
        [parameter get index -forw]]}

By the way, the above expression only works for the more recent libraries
where I use the parameter name "index" for the component value instead
of the more obscure "idx".

                                        Regards,
                                        Tim

+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim)   | email: [EMAIL PROTECTED]     |
| MultiGiG, Inc.                 | web:   http://www.multigig.com      |
| 100 Enterprise Way, Suite A-3  | phone: (831) 621-3283               |
| Scotts Valley, CA 95066        | cell:  (240) 401-0616               |
+--------------------------------+-------------------------------------+
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to