From: Uwe Klein on
CKL wrote:
> Uwe, I will perhaps change my opinion in some days, but for now,
> please let me the "hope" to find another solution
>
> Again, I really really appreciate your help

If you want to stay in pure tcl you would have to
emulate [exp_background] with [filevent].
(i.e. assembling an input stream from successive reads
and interpret the content )

uwe
From: CKL on
On 10 déc, 10:40, Uwe Klein <uwe_klein_habertw...(a)t-online.de> wrote:
> CKL wrote:
> > Uwe, I will perhaps change my opinion in some days, but for now,
> > please let me the "hope" to find another solution
>
> > Again, I really really appreciate your help
>
> If you want to stay in pure tcl you would have to
> emulate [exp_background] with [filevent].
> (i.e. assembling an input stream from successive reads
>     and interpret the content )
>
> uwe

I think that in all the cases, it will be a hard job.
* Pass to expect --> compile the source code, learn the language,
adapt it to my requirements, hope that it will work with freewrap,
hope that it will do what I want, and hope that I will find the
solution
* Stay in tcl, rearrange completely my code, and expect a solution

It's damage that my code that I have written cannot be easily re-
arranged
I hopped, that relative to my code, there were only a little
adaptation to full fill my requirements..

Nevertheless I think it is not the case, and I'm little disappointed
to trash all my work :-(

Christian
From: Uwe Klein on
CKL wrote:
> On 10 d�c, 10:40, Uwe Klein <uwe_klein_habertw...(a)t-online.de> wrote:
>
>>CKL wrote:
>>
>>>Uwe, I will perhaps change my opinion in some days, but for now,
>>>please let me the "hope" to find another solution
>>
>>>Again, I really really appreciate your help
>>
>>If you want to stay in pure tcl you would have to
>>emulate [exp_background] with [filevent].
>>(i.e. assembling an input stream from successive reads
>> and interpret the content )
>>
>>uwe
>
>
> I think that in all the cases, it will be a hard job.
> * Pass to expect --> compile the source code, learn the language,
expect is a tcl extension.

> adapt it to my requirements, hope that it will work with freewrap,
does freewrap work in the ActiveState installation? ( never used tcl2bin wrappers)
> hope that it will do what I want, and hope that I will find the
> solution
> * Stay in tcl, rearrange completely my code, and expect a solution
>
> It's damage that my code that I have written cannot be easily re-
> arranged
> I hopped, that relative to my code, there were only a little
> adaptation to full fill my requirements..
>
> Nevertheless I think it is not the case, and I'm little disappointed
> to trash all my work :-(

My "driver" for a Precisa ( http://www.precisa.ch/ ) Scale
is about 800lines/ 5kbyte tcl code.

uwe
From: CKL on
On 10 déc, 18:01, Uwe Klein <uwe_klein_habertw...(a)t-online.de> wrote:
> CKL wrote:
> > On 10 déc, 10:40, Uwe Klein <uwe_klein_habertw...(a)t-online.de> wrote:
>
> >>CKL wrote:
>
> >>>Uwe, I will perhaps change my opinion in some days, but for now,
> >>>please let me the "hope" to find another solution
>
> >>>Again, I really really appreciate your help
>
> >>If you want to stay in pure tcl you would have to
> >>emulate [exp_background] with [filevent].
> >>(i.e. assembling an input stream from successive reads
> >>    and interpret the content )
>
> >>uwe
>
> > I think that in all the cases, it will be a hard job.
> > * Pass to expect --> compile the source code, learn the language,
>
> expect is a tcl extension.
>
> > adapt it to my requirements, hope that it will work with freewrap,
>
> does freewrap work in the ActiveState installation? ( never used tcl2bin wrappers)
>
> > hope that it will do what I want, and hope that I will find the
> > solution
> > * Stay in tcl, rearrange completely my code, and expect a solution
>
> > It's damage that my code that I have written cannot be easily re-
> > arranged
> > I hopped, that relative to my code, there were only a little
> > adaptation to full fill my requirements..
>
> > Nevertheless I think it is not the case, and I'm little disappointed
> > to trash all my work :-(
>
> My "driver" for a Precisa (http://www.precisa.ch/) Scale
> is about 800lines/ 5kbyte tcl code.
>
> uwe

I use tcl in the mingw environment: http://wiki.tcl.tk/14828 so I have
to compile also expect.
Then, there will be no problem to wrap it with freewrapper

An overview of my project: http://papsi.origo.ethz.ch/wiki/screenshots

IS-Papsi is written in tcl, and will only be used to configure the
dspic, and to move the stepper in case CNC controller is not used.


Christian
From: CKL on
On 10 déc, 21:40, CKL <christian.klugesh...(a)gmail.com> wrote:
> On 10 déc, 18:01, Uwe Klein <uwe_klein_habertw...(a)t-online.de> wrote:
>
>
>
> > CKL wrote:
> > > On 10 déc, 10:40, Uwe Klein <uwe_klein_habertw...(a)t-online.de> wrote:
>
> > >>CKL wrote:
>
> > >>>Uwe, I will perhaps change my opinion in some days, but for now,
> > >>>please let me the "hope" to find another solution
>
> > >>>Again, I really really appreciate your help
>
> > >>If you want to stay in pure tcl you would have to
> > >>emulate [exp_background] with [filevent].
> > >>(i.e. assembling an input stream from successive reads
> > >>    and interpret the content )
>
> > >>uwe
>
> > > I think that in all the cases, it will be a hard job.
> > > * Pass to expect --> compile the source code, learn the language,
>
> > expect is a tcl extension.
>
> > > adapt it to my requirements, hope that it will work with freewrap,
>
> > does freewrap work in the ActiveState installation? ( never used tcl2bin wrappers)
>
> > > hope that it will do what I want, and hope that I will find the
> > > solution
> > > * Stay in tcl, rearrange completely my code, and expect a solution
>
> > > It's damage that my code that I have written cannot be easily re-
> > > arranged
> > > I hopped, that relative to my code, there were only a little
> > > adaptation to full fill my requirements..
>
> > > Nevertheless I think it is not the case, and I'm little disappointed
> > > to trash all my work :-(
>
> > My "driver" for a Precisa (http://www.precisa.ch/) Scale
> > is about 800lines/ 5kbyte tcl code.
>
> > uwe
>
> I use tcl in the mingw environment:http://wiki.tcl.tk/14828so I have
> to compile also expect.
> Then, there will be  no problem to wrap it with freewrapper
>
> An overview of my project:http://papsi.origo.ethz.ch/wiki/screenshots
>
> IS-Papsi is written in tcl, and will only be used to configure the
> dspic, and to move the stepper in case CNC controller is not used.
>
> Christian

Uwe,

There is perhaps another solution to me to use freewrap and expect
The only thing that I need is a compiled version of expect:
Respectively following files.
/Tcl/lib/expect/expect.tap
/Tcl/lib/expect/expect.tcl
/Tcl/lib/expect/injector.dll
/Tcl/lib/expect/pkgIndex.tcl
/Tcl/lib/expect/expect543.dll

I tried to find these files, but I didn't find them

Have you perhaps a way how to recover these files

Thanks

Christian




to get expect:
I find that
First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5
Prev: ANNOUNCE: Jeszra ZERO-ONE
Next: PureTkGUI v0.9.0 is out