From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 References: <351618734.2458204.1493931402128.ref@mail.yahoo.com> <351618734.2458204.1493931402128@mail.yahoo.com> In-Reply-To: From: Skip Tavakkolian Date: Fri, 5 May 2017 01:00:37 +0000 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>, G B Content-Type: multipart/alternative; boundary=94eb2c065ed482e7de054ebc6b5a Subject: Re: [9fans] Starting rio on combined CPU, file and auth Topicbox-Message-UUID: bbbcfa3c-ead9-11e9-9d60-3106f5b1d025 --94eb2c065ed482e7de054ebc6b5a Content-Type: text/plain; charset=UTF-8 A cpu server may not have a display (i.e. uses a serial console). rio runs fine on any cpu server; your draw device determines where the display is. On Thu, May 4, 2017 at 5:41 PM Alex Musolino wrote: > > Using 9front and set "service=cpu" but rio doesn't start. > > This is expected. CPU servers typically don't have any reason to run > rio. Mine don't even have monitors attached (usually). > > > > I've tried adding screenrc to /rc/bin/cpurc and /cfg/$sysname/cpustart > > but gives me errors on /dev/draw. > > If you compare /rc/bin/cpurc and /rc/bin/termrc you'll see that the > vga device (#v) is bound only in /rc/bin/termrc. You can arrange > this in /rc/bin/cpustart, before you include /rc/bin/screenrc, like so: > > bind -a '#v' /dev >/dev/null >[2=1] > > -- > Cheers, > Alex Musolino > > --94eb2c065ed482e7de054ebc6b5a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable A cpu server may not have a display (i.e. uses a serial console). rio runs = fine on any cpu server; your draw device determines where the display is.
On Thu, May 4, 2017 at 5:41 P= M Alex Musolino <musolinoa@gmail.= com> wrote:
> Using 9front and set "service=3Dcpu" but rio doesn't st= art.

This is expected.=C2=A0 CPU servers typi= cally don't have any reason to run
rio.=C2=A0 Mine don't even ha= ve monitors attached (usually).


> I've= tried adding screenrc to /rc/bin/cpurc and /cfg/$sysname/cpustart
> but gives me errors on /dev/draw.

If you compare /rc/bin/cpurc and /rc/bin/termrc you= 'll see that the
vga device (#v) is bound only in /rc/bin/termrc.=C2= =A0 You can arrange
this in /rc/bin/cpustart, before you include = /rc/bin/screenrc, like so:

bind -a '#v&#= 39; /dev >/dev/null >[2=3D1]

--
Cheers,
Alex Musol= ino

--94eb2c065ed482e7de054ebc6b5a--