> > How do you execute a particular go script from the > > unix command line? Not within the ferret command > > line, but the unix prompt. > > That is, he would like to hand FERRET a particular go script > to execute, possibly by using a shell command such as > > % ferret ferret_script.jnl > > To be precise, he wants to > > > fire off my ferret go script from my gui. I don't want the > > user to have to worry about knowing which one of the many > > go scripts to execute. > > I have tried loading commands into a file, and then executing > FERRET using redirection: > > % ferret < ferret_commands > > When I do this, FERRET executes all the commands in the file, > generates any displays, and then immediately terminates, and > all displays go bye-bye. Is there a way to get FERRET to > leave the displays up and wait for additional commands? > > Are there any other ways to run FERRET with a specific set > of commands?
! just once do this (create the named pipe in your filesystem) mknod ferret_commands p ! to start ferret cat >> ferret_commands & ferret < ferret_commands& ! to execute a script cat my_script.jnl >> ferret_commands
Last modified: Apr 9 1997