From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 4 Mar 2009 13:21:49 +0100 Message-ID: From: yy To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] acme Put doesn't save Topicbox-Message-UUID: afc16dd0-ead4-11e9-9d60-3106f5b1d025 2009/3/4 Rudolf Sykora : > Hello > > I am running p9p acme. I open a directory, so in the tag line I have > sth. ending with '/' and in the window I have the list of files in > that directory. Now I go to the tag line and append a name, say 'a', > to the existing path, i.e. now I have there e.g. '/home/ruda/a'. Then > I write Put somewhere and try to middle click it thinking the window > contents gets saved to '/home/ruda/a'. But it does not. Why? > > Thanks > Ruda > Because at the beginning of the put function in exec.c you have: if(et==nil || et->w==nil || et->w->isdir) return; and et->w->isdir is true. But there are workarounds if you want to save the contents of the window. -- - yiyus || JGL .