Home Overview FAQ Documentation Download Mailing List Geomview For Windows? Support Users Development Bug Reporting Contributing Contact Us Sponsors
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Closed REQ 5266]: Geomview: (interest( pick world))
If geomview appears not to be responding, it's probably really sending responses somewhere you don't expect! Commands like "(interest ...)" and "(echo ...)" send replies to what's deemed to be an appropriate place -- not necessarily standard output. For commands read from .geomview, the responses aren't sent anywhere. Some ways to set up bidirectional communication with geomview, assuming you're starting geomview as a subprocess: 1) Use geomview's standard input and standard output: geomview -c - ... The "-c -" option causes commands to be read from input; their responses go to geomview's standard output. 2) Use a pair of named pipes which you create before calling geomview: /etc/mknod inpipe p /etc/mknod outpipe p geomview -c '(command inpipe outpipe)' ... Then you'd write commands to inpipe and await responses on outpipe. In either case, you need to supply the "(interest ...)" commands via the corresponding pipe (piped to geomview's standard input or to "inpipe"). 3) If you have just a few commands which will need responses, you could place them on geomview's command line: geomview -c '(interest (pick world))' ... Responses in this case go to geomview's standard output. Hope this is some help... Stuart
|
||
Home | Overview | FAQ | Documentation | Support | Download | Mailing List Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors |
|||
site hosted by |