9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Philippe Anel <philippe.anel@noos.fr>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Get the message number (aux/vmware fix ?)
Date: Mon, 26 Apr 2004 16:28:10 +0200	[thread overview]
Message-ID: <6.0.0.22.0.20040426154148.0ad1ca70@pop.noos.fr> (raw)
In-Reply-To: <bda47f82c5277341ef0b80d597f90d34@mteege.de>

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.



  reply	other threads:[~2004-04-26 14:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-26  8:11 [9fans] Get the message number Matthias Teege
2004-04-26  8:28 ` Philippe Anel
2004-04-26  9:48   ` Matthias Teege
2004-04-26 10:23     ` Philippe Anel
2004-04-26 11:00       ` Matthias Teege
2004-04-26 14:28         ` Philippe Anel [this message]
2004-04-26 15:15           ` [9fans] Get the message number (aux/vmware fix ?) Matthias Teege
2004-04-26 15:39             ` Philippe Anel
2004-04-26 16:45               ` Matthias Teege
2004-04-26 17:50                 ` Philippe Anel
2004-04-27  5:43                   ` Matthias Teege
2004-04-27  6:09                   ` Matthias Teege
2004-04-27  8:48                     ` Philippe Anel
2004-04-27 10:58                       ` Matthias Teege

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6.0.0.22.0.20040426154148.0ad1ca70@pop.noos.fr \
    --to=philippe.anel@noos.fr \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).