9fans archive / 2006 / 05 / 252 prev next
From: Gabriel Ivanes <gab@pla...>
Subject: inferno on plan9
Date: Tue, 30 May 2006 00:35:06 +0200
On 5/29/06, quanstro@qua... <quanstro@qua...> wrote:
> assuming that the message fits the problem, x8r8g8b8 is not a depth specifier.
> 8, 16, 18i, 24, 32 are. see vga(1).
>
> - erik
>
> On Mon May 29 13:47:37 CDT 2006, mattmobile@pro... wrote:
> >
> > A fresh install of inferno on a fairly recent plan9
> >
> > term% emu
> > ; wm/wm
> > attachwindow: cannot handle window depth specifier x8r8g8b8
> > wmlib: can't allocate Display: initdisplay: /dev/draw/new: '/usr/maht/inferno/dev/draw/new' does not exist
> > ;
> >
> >
> > I've tried various binds (though I can't remember which ones =) to no avail
> >
> > matt
>
I have the same error. So i tried this (in the tip o' the day) for charon :
#!/bin/rc
rfork n
if(! test -f /dev/draw/new){
bind -a '#i' /dev
}
exec /usr/inferno/Plan9/$objtype/bin/emu -G -I -c1 /dis/sh.dis -c '
mount -bc {mntgen} /mnt
bind -c ''#U*'' /n/local
bind -c ''#âª'' /srv
rioimport {
charon -buttons plain -framework all,exit $* > /dev/null >[2=1]
echo halt > /dev/sysctl
} $*
' $*
Substitute wm/wm to charon for inferno. I know it's just a workaround,
wihout explaining it more thant that, but it's work.
Gab
--
"I know no way of judging the future but by the past."
Patrick Henry
"You can never plan the future by the past."
Edmund Burke