From mboxrd@z Thu Jan 1 00:00:00 1970 From: Celia McInnis To: sourcenav@sourceware.cygnus.com Subject: Re: feeding make window Date: Tue, 20 Mar 2001 13:22:00 -0000 Message-id: <3AB7C9F7.978679B2@super.org> References: <3AB63701.93F44B0@super.org> X-SW-Source: 2001-q1/msg00238.html Celia McInnis wrote: > How do I feed info (eg., command and directory name) automatically (ie., > from another program) to a make window? (Right now I have no problem > getting my application to open up a SN make window, but I have not been > able to change the command and directory listed in the window). I managed to answer my own question on this one. In case anyone else wants to do this, here's how - put the following somewhere in your .sn/rc.tcl file to have the make window execute "cat $MyFileName": set appname [winfo name .] send $appname {set make [sn_make]; $make.make setmakecommand "cat $MyFileName"; $make.make ExecMake} Note that "sn_make.make" seems to fail - whereas $make.make succeeds when $make is sn_make - I'm not sure why... If someone can tell me why, I'd be grateful! Celia McInnis