I would like to use a chess engine , such as Arion
http://transversale.fr/Arion/Arion.htm . I am writing a GUI to play chess
with J (using grid) and would like to add as an extra, such an engine. This
program is a windows application using stdin and stdout to read chess moves
and write possible solutions. I tried other similar engines without success.
I think I miss something in the use of pipes...or is it impossible to do it
?
----- Original Message -----
From: "Björn Helgason" <[EMAIL PROTECTED]>
To: "Programming forum" <[email protected]>
Sent: Thursday, March 29, 2007 4:10 PM
Subject: Re: [Jprogramming] stdin/stdout
Give us an example of what it is you are doing and/or trying to do
2007/3/29, JC Coez <[EMAIL PROTECTED]>:
Thanks Björn,
I did try the shell, fork and spawn, but it does not work in my case. I
tried to use the verbs createPipe and CreateProcess but without success.
Instead J is not responding...The createProcess is fine but when I want
to
Read or Write thru a Pipe, I have to close the process manually.
Any other track ?
Thanks for help
JC Coez
>
> ----- Original Message -----
> From: "Björn Helgason" <[EMAIL PROTECTED]>
> To: "Programming forum" <[email protected]>
> Sent: Wednesday, March 21, 2007 11:37 AM
> Subject: Re: [Jprogramming] stdin/stdout
>
>
>> Try out
>>
>> require'task'
>>
>> shell
>> fork
>> spawn
>>
>> 2007/3/21, JC Coez <[EMAIL PROTECTED]>:
>
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf, Þerneyjarsund 23, Box 127
801 Grímsnes ,t-póst: [EMAIL PROTECTED]
Skype: gosiminn, gsm: +3546985532
Landslags og skrúðgarðagerð, gröfuþjónusta
http://groups.google.com/group/J-Programming
Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
góður kennari getur stigið á tær án þess að glansinn fari af skónum
/|_ .-----------------------------------.
,' .\ / | Með léttri lund verður |
,--' _,' | Dagurinn í dag |
/ / | Enn betri en gærdagurinn |
( -. | `-----------------------------------'
| ) | (\_ _/)
(`-. '--.) (='.'=)
`. )----' (")_(")
--------------------------------------------------------------------------------
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
---------------------------------------------------------------------------------------
Orange vous informe que cet e-mail a ete controle par l'anti-virus mail.
Aucun virus connu a ce jour par nos services n'a ete detecte.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm