From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <6.0.0.22.0.20040426154148.0ad1ca70@pop.noos.fr> To: 9fans@cse.psu.edu From: Philippe Anel Subject: Re: [9fans] Get the message number (aux/vmware fix ?) In-Reply-To: References: <6.0.0.22.0.20040426121423.0ac5d010@pop.noos.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Date: Mon, 26 Apr 2004 16:28:10 +0200 Topicbox-Message-UUID: 6da5b714-eacd-11e9-9e20-41e7f4b1d025 At 13:00 26/04/04, you wrote: >On Mon Apr 26 10:34:58 GMT 2004, philippe.anel@noos.fr wrote: > > I don't understand. I'm using plan9, vmware and aux/vmware and I haven't > > problem with the snarf buffer. > > Could you start aux/vmware again and try the following commands ? > >term% aux/vmware >term% echo -n 'hello' > /dev/snarf >term% cat /dev/snarf >term% cat /mnt/vmware/snarf >term% echo -n 'world' > /mnt/vmware/snarf >term% cat /dev/snarf >term% cat /mnt/vmware/snarf >term% ps ax | grep vmware >mtg 480 0:00 0:00 136K Pread vmwarefs Ok, it seems you disabled Cut and Paste from and to the virtual machine. Right ? I suspect a bug from aux/vmwarefs which fails to back copy to /dev/snarf, the value written to /mnt/vmware/snarf, when Cut and Paste is disabled from and to the virtual machine. Could you try the following aux/vmware script : -------------------------------------------------------cut----- #!/bin/rc if(aux/isvmware -s){ if(test -f '#P/pge'){ echo -n on >'#P/pge' # default, but set anyway. echo -n off >'#P/i8253timerset' } if(test -f /dev/archctl){ echo pge on >/dev/archctl echo coherence nop >/dev/archctl echo i8253set off >/dev/archctl } for(i in '#S'/sd??) if(test -f $i/ctl) echo dma on >$i/ctl echo 'starting vmwarefs' aux/vmwarefs if(test -f '/mnt/vmware/gui') { x=`{ grep copypaste /mnt/vmware/gui } if(~ $x(2) on){ if(! test -f /dev/snarf) aux/stub /dev/snarf echo 'binding /mnt/vmware/snarf over /dev/snarf' bind /mnt/vmware/snarf /dev/snarf } } echo 'starting vmmousepoll' aux/vmmousepoll & } -------------------------------------------------------cut----- Regards, Philippe.