9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] can't find mouse: device or object already in use
@ 2007-08-03 15:46 Sergio de Mingo
  2007-08-03 15:58 ` nemo
  0 siblings, 1 reply; 3+ messages in thread
From: Sergio de Mingo @ 2007-08-03 15:46 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 463 bytes --]

Hi,

I have a problem when I try to connect drawterm with a cpu server. Drawterm
shows the error when executes the last line of my lib/profile (exec rio)

......
if ( ! test -e /mnt/term/mnt/wsys) {
              #cpu call from drawterm
             plumber
             auth/factotum
             exec rio
}
......
rio: can't find mouse: device or object already in use.


Anyone can help me? Thanks
-- 

                             Sergio.

[-- Attachment #2: Type: text/html, Size: 1321 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] can't find mouse: device or object already in use
  2007-08-03 15:46 [9fans] can't find mouse: device or object already in use Sergio de Mingo
@ 2007-08-03 15:58 ` nemo
  0 siblings, 0 replies; 3+ messages in thread
From: nemo @ 2007-08-03 15:58 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Someone is using your mouse.
run ns to see what you got bound to /dev/mouse.
Also, see fd for your procs after cpu, that might  tell you which one has it
open.


On 8/3/07, Sergio de Mingo <sdemingo@gmail.com> wrote:
> Hi,
>
> I have a problem when I try to connect drawterm with a cpu server. Drawterm
> shows the error when executes the last line of my lib/profile (exec rio)
>
> ......
> if ( ! test -e /mnt/term/mnt/wsys) {
>               #cpu call from drawterm
>              plumber
>              auth/factotum
>              exec rio
> }
> ......
> rio: can't find mouse: device or object already in use.
>
>
> Anyone can help me? Thanks
> --
>
>                              Sergio.
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] can't find mouse: device or object already in use
@ 2007-08-03 16:00 erik quanstrom
  0 siblings, 0 replies; 3+ messages in thread
From: erik quanstrom @ 2007-08-03 16:00 UTC (permalink / raw)
  To: sdemingo, 9fans

	switch($service){
	case cpu
		if (test -e /mnt/term/mnt/wsys) {
			# rio already running
			wsys = /mnt/term^`{cat /mnt/term/env/wsys}
			bind -a /mnt/term/mnt/wsys /dev
			if(test -f /mnt/term/dev/label)
				echo -n $sysname > /mnt/term/dev/label
			prompt=($sysname^'; ') ; fn $sysname {}
		}
		bind /mnt/term/dev/cons /dev/cons
		bind /mnt/term/dev/consctl /dev/consctl
		bind -a /mnt/term/dev /dev
		news
		if (! test -e /mnt/term/mnt/wsys) {
			# cpu call from drawterm
			plumber
			auth/factotum
			exec rio
		}
	case terminal
		[....]

- erik


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-03 16:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-03 15:46 [9fans] can't find mouse: device or object already in use Sergio de Mingo
2007-08-03 15:58 ` nemo
2007-08-03 16:00 erik quanstrom

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).