* Re: Re: [9fans] First attempts
@ 2006-08-23 20:26 Mr. Norm S
2006-08-24 3:13 ` Micah Stetson
0 siblings, 1 reply; 15+ messages in thread
From: Mr. Norm S @ 2006-08-23 20:26 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 514 bytes --]
2006/8/22, Dave Eckhardt <davide+p9@cs.cmu.edu>:
> > Personally I'd like to see a "Maze War" clone
Not a bad idea but I'm somewhat of a pixel artist and platformer
enthusiast. That lends itself to certain kinds of games. I'm definitely
thinking the player is going to controlling Glenda but this won't just be
any side scroller, there'll definitely be a twist on the gameplay.
As for whoever mentioned the SDL port, thanks. I'll look into that.
--
Jared
"We have your mind now. It is over."
[-- Attachment #2: Type: text/html, Size: 702 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: [9fans] First attempts
2006-08-23 20:26 Re: [9fans] First attempts Mr. Norm S
@ 2006-08-24 3:13 ` Micah Stetson
0 siblings, 0 replies; 15+ messages in thread
From: Micah Stetson @ 2006-08-24 3:13 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> As for whoever mentioned the SDL port, thanks. I'll look into that.
Be sure you look at the native draw(3) stuff as well. In certain
ways, it's much like SDL, only with Image* instead of SDL_Surface* and
Rect instead of SDL_Rect*. Of course there are differences
(especially with keyboard and mouse handing) but the leap from
SDL_BlitSurface() to draw() really isn't that big.
Micah
^ permalink raw reply [flat|nested] 15+ messages in thread
* [9fans] First attempts
@ 2006-08-22 16:26 Jared Norman
2006-08-22 16:33 ` erik quanstrom
0 siblings, 1 reply; 15+ messages in thread
From: Jared Norman @ 2006-08-22 16:26 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 1133 bytes --]
Hello all,
I just got started with plan9. I discovered purely by accident and was
quite intrigued. I'm a programmer (C, C++, Python) and I'm thinking of
deving a small game for plan9. I'm a highschool and University student at
the moment (a product of my local university's accelerated entry and program
and my programming knowledge). In both highschool and university m course
load, starting this September, will be relatively low. On top of this I
will still be taking the grade 12 programmer course. This gives me a bunch
of time to dev whatever I want and I was thinking of doing another game. I
have a couple of questions.
Are the current libraries sufficient for making an action game on plan9?
I've been using SDL/Pygame for ages and haven't gone as low level as I may
have to here. Also, where should I be looking for documentation?
How do I shutdown? I tried my usual too linux commands (halt, shutdown) but
to no avail. I also noticed reboot did reboot the computer but rebooting
and then cutting the power mid memory check doesn't seem like the best
solution.
Thanks all!
Mr. Norm S
[-- Attachment #2: Type: text/html, Size: 1386 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [9fans] First attempts
2006-08-22 16:26 Jared Norman
@ 2006-08-22 16:33 ` erik quanstrom
2006-08-22 16:37 ` andrey mirtchovski
0 siblings, 1 reply; 15+ messages in thread
From: erik quanstrom @ 2006-08-22 16:33 UTC (permalink / raw)
To: 9fans
check out /sys/src/games. the drawing functions you need are mostly in graphics(2).
you can use either threads(2) or event(2) for concurency. the event library is for simple
programs; threads are pretty powerful but you'll need to do more programming before
you get something working.
fshalt will shutdown your filesystems. then reboot via vulcan nerve pinch or power switch.
- erik
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: [9fans] First attempts
2006-08-22 16:33 ` erik quanstrom
@ 2006-08-22 16:37 ` andrey mirtchovski
2006-08-22 16:54 ` John Floren
0 siblings, 1 reply; 15+ messages in thread
From: andrey mirtchovski @ 2006-08-22 16:37 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Subject: How do I reboot my system?
The system can be rebooted by typing ^T^Tr (two control-T's followed by
'r'). Cpu servers can be rebooted by typing ^P on the console. See the
cons(3) manual for more details.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: [9fans] First attempts
2006-08-22 16:37 ` andrey mirtchovski
@ 2006-08-22 16:54 ` John Floren
2006-08-22 16:59 ` jmk
0 siblings, 1 reply; 15+ messages in thread
From: John Floren @ 2006-08-22 16:54 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On 8/22/06, andrey mirtchovski <mirtchovski@gmail.com> wrote:
> Subject: How do I reboot my system?
>
> The system can be rebooted by typing ^T^Tr (two control-T's followed by
> 'r'). Cpu servers can be rebooted by typing ^P on the console. See the
> cons(3) manual for more details.
>
I've got a question--does "reboot" or ^T^Tr shut down file systems, or
does it just simply reboot? Is it the equivalent of hitting the reset
switch (generally considered a Bad Thing for a running machine)? I'd
like to know so I can minimize the risk of lost data on my file
server.
John
--
"The first thing we do, let's kill all the lawyers" -- Shakespeare, Henry VI
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: [9fans] First attempts
2006-08-22 16:54 ` John Floren
@ 2006-08-22 16:59 ` jmk
2006-08-22 17:03 ` John Floren
0 siblings, 1 reply; 15+ messages in thread
From: jmk @ 2006-08-22 16:59 UTC (permalink / raw)
To: 9fans
if you use plan9 in the way it was intended then you can
just turn off your terminal, hit the reset switch or type ^t^tr
because your terminal has no rotating parts.
however, if you have corrupted it into being a diskfull operating
system then you should make sure your data is saved and the appropriate
shutdowns of local filesystems has happened first.
On Tue Aug 22 12:55:09 EDT 2006, slawmaster@gmail.com wrote:
> On 8/22/06, andrey mirtchovski <mirtchovski@gmail.com> wrote:
> > Subject: How do I reboot my system?
> >
> > The system can be rebooted by typing ^T^Tr (two control-T's followed by
> > 'r'). Cpu servers can be rebooted by typing ^P on the console. See the
> > cons(3) manual for more details.
> >
>
> I've got a question--does "reboot" or ^T^Tr shut down file systems, or
> does it just simply reboot? Is it the equivalent of hitting the reset
> switch (generally considered a Bad Thing for a running machine)? I'd
> like to know so I can minimize the risk of lost data on my file
> server.
>
> John
> --
> "The first thing we do, let's kill all the lawyers" -- Shakespeare, Henry VI
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: [9fans] First attempts
2006-08-22 16:59 ` jmk
@ 2006-08-22 17:03 ` John Floren
2006-08-22 17:07 ` jmk
0 siblings, 1 reply; 15+ messages in thread
From: John Floren @ 2006-08-22 17:03 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On 8/22/06, jmk@plan9.bell-labs.com <jmk@plan9.bell-labs.com> wrote:
> if you use plan9 in the way it was intended then you can
> just turn off your terminal, hit the reset switch or type ^t^tr
> because your terminal has no rotating parts.
>
> however, if you have corrupted it into being a diskfull operating
> system then you should make sure your data is saved and the appropriate
> shutdowns of local filesystems has happened first.
>
Well, you have to have disks /somewhere/, and that machine is the one
I was worried about.
John
--
"The first thing we do, let's kill all the lawyers" -- Shakespeare, Henry VI
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: [9fans] First attempts
2006-08-22 17:03 ` John Floren
@ 2006-08-22 17:07 ` jmk
2006-08-22 17:09 ` John Floren
2006-08-22 17:11 ` Sape Mullender
0 siblings, 2 replies; 15+ messages in thread
From: jmk @ 2006-08-22 17:07 UTC (permalink / raw)
To: 9fans
On Tue Aug 22 13:04:09 EDT 2006, slawmaster@gmail.com wrote:
> ...
> Well, you have to have disks /somewhere/, and that machine is the one
> I was worried about.
> ...
/somewhere/ is not somewhere you can type ^t^tr.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: [9fans] First attempts
2006-08-22 17:07 ` jmk
@ 2006-08-22 17:09 ` John Floren
2006-08-22 17:16 ` erik quanstrom
2006-08-22 17:22 ` jmk
2006-08-22 17:11 ` Sape Mullender
1 sibling, 2 replies; 15+ messages in thread
From: John Floren @ 2006-08-22 17:09 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On 8/22/06, jmk@plan9.bell-labs.com <jmk@plan9.bell-labs.com> wrote:
> On Tue Aug 22 13:04:09 EDT 2006, slawmaster@gmail.com wrote:
> > ...
> > Well, you have to have disks /somewhere/, and that machine is the one
> > I was worried about.
> > ...
>
> /somewhere/ is not somewhere you can type ^t^tr.
>
Oh? Does the combo not work on file servers? Or are you saying that I
shouldn't have access to the console?
John
--
"The first thing we do, let's kill all the lawyers" -- Shakespeare, Henry VI
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: [9fans] First attempts
2006-08-22 17:09 ` John Floren
@ 2006-08-22 17:16 ` erik quanstrom
2006-08-22 17:22 ` jmk
1 sibling, 0 replies; 15+ messages in thread
From: erik quanstrom @ 2006-08-22 17:16 UTC (permalink / raw)
To: 9fans
it will work on a fileserver (with a 9pccpu* kernel) but is not advised
unless you first do fshalt. you don't want to give fossil or venti heartburn.
- erik
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: [9fans] First attempts
2006-08-22 17:09 ` John Floren
2006-08-22 17:16 ` erik quanstrom
@ 2006-08-22 17:22 ` jmk
2006-08-22 17:32 ` elbing
` (2 more replies)
1 sibling, 3 replies; 15+ messages in thread
From: jmk @ 2006-08-22 17:22 UTC (permalink / raw)
To: 9fans
whether ^t^tr works on a fileserver depends on the fileserver.
i'd forgotten ^t^tr worked on cpuservers too so if you have created
a fileserver using a cpuserver then it will reboot it. my bad.
probably ^t^tr should be disallowed on cpuservers in the same way
that ^p can be.
a fileserver is best located in an air-conditioned room with good
power and the console should rarely be accessed.
On Tue Aug 22 13:10:28 EDT 2006, slawmaster@gmail.com wrote:
> On 8/22/06, jmk@plan9.bell-labs.com <jmk@plan9.bell-labs.com> wrote:
> > On Tue Aug 22 13:04:09 EDT 2006, slawmaster@gmail.com wrote:
> > > ...
> > > Well, you have to have disks /somewhere/, and that machine is the one
> > > I was worried about.
> > > ...
> >
> > /somewhere/ is not somewhere you can type ^t^tr.
> >
>
> Oh? Does the combo not work on file servers? Or are you saying that I
> shouldn't have access to the console?
>
> John
> --
> "The first thing we do, let's kill all the lawyers" -- Shakespeare, Henry VI
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: [9fans] First attempts
2006-08-22 17:22 ` jmk
@ 2006-08-22 17:32 ` elbing
2006-08-22 17:36 ` John Floren
2006-08-22 17:42 ` erik quanstrom
2 siblings, 0 replies; 15+ messages in thread
From: elbing @ 2006-08-22 17:32 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 287 bytes --]
>Are the current libraries sufficient for making an action game on plan9?
>I've been using SDL/Pygame for ages and haven't gone as low level as I >may
have to here. Also, where should I be looking for documentation?
There's a test port of SDL in /sources/contrib/uriel.
elbing
[-- Attachment #2: Type: text/html, Size: 324 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: [9fans] First attempts
2006-08-22 17:22 ` jmk
2006-08-22 17:32 ` elbing
@ 2006-08-22 17:36 ` John Floren
2006-08-22 17:42 ` erik quanstrom
2 siblings, 0 replies; 15+ messages in thread
From: John Floren @ 2006-08-22 17:36 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On 8/22/06, jmk@plan9.bell-labs.com <jmk@plan9.bell-labs.com> wrote:
> whether ^t^tr works on a fileserver depends on the fileserver.
> i'd forgotten ^t^tr worked on cpuservers too so if you have created
> a fileserver using a cpuserver then it will reboot it. my bad.
>
> probably ^t^tr should be disallowed on cpuservers in the same way
> that ^p can be.
>
> a fileserver is best located in an air-conditioned room with good
> power and the console should rarely be accessed.
>
I wish I had an air-conditioned room with good power and a lock on the
door. Instead, my server currently lives on a table in an uncooled
garage. Most of the week, it is powered down. Hopefully I can set up
something better when I get back to school. :-)
John
--
"The first thing we do, let's kill all the lawyers" -- Shakespeare, Henry VI
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: [9fans] First attempts
2006-08-22 17:22 ` jmk
2006-08-22 17:32 ` elbing
2006-08-22 17:36 ` John Floren
@ 2006-08-22 17:42 ` erik quanstrom
2 siblings, 0 replies; 15+ messages in thread
From: erik quanstrom @ 2006-08-22 17:42 UTC (permalink / raw)
To: 9fans
could i suggest this be a plan9.ini (or wherever) option? not everyone
has a server room, and not every server is equally critical.
/dev/reboot will also do it.
- erik
On Tue Aug 22 12:23:07 CDT 2006, jmk@plan9.bell-labs.com wrote:
> whether ^t^tr works on a fileserver depends on the fileserver.
> i'd forgotten ^t^tr worked on cpuservers too so if you have created
> a fileserver using a cpuserver then it will reboot it. my bad.
>
> probably ^t^tr should be disallowed on cpuservers in the same way
> that ^p can be.
>
> a fileserver is best located in an air-conditioned room with good
> power and the console should rarely be accessed.
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: [9fans] First attempts
2006-08-22 17:07 ` jmk
2006-08-22 17:09 ` John Floren
@ 2006-08-22 17:11 ` Sape Mullender
2006-08-22 17:13 ` Lyndon Nerenberg
1 sibling, 1 reply; 15+ messages in thread
From: Sape Mullender @ 2006-08-22 17:11 UTC (permalink / raw)
To: 9fans
> On Tue Aug 22 13:04:09 EDT 2006, slawmaster@gmail.com wrote:
>> ...
>> Well, you have to have disks /somewhere/, and that machine is the one
>> I was worried about.
>> ...
>
> /somewhere/ is not somewhere you can type ^t^tr.
A few of us, unfortunately, have only one machine to run Plan 9 on.
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2006-08-24 3:13 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-23 20:26 Re: [9fans] First attempts Mr. Norm S
2006-08-24 3:13 ` Micah Stetson
-- strict thread matches above, loose matches on Subject: below --
2006-08-22 16:26 Jared Norman
2006-08-22 16:33 ` erik quanstrom
2006-08-22 16:37 ` andrey mirtchovski
2006-08-22 16:54 ` John Floren
2006-08-22 16:59 ` jmk
2006-08-22 17:03 ` John Floren
2006-08-22 17:07 ` jmk
2006-08-22 17:09 ` John Floren
2006-08-22 17:16 ` erik quanstrom
2006-08-22 17:22 ` jmk
2006-08-22 17:32 ` elbing
2006-08-22 17:36 ` John Floren
2006-08-22 17:42 ` erik quanstrom
2006-08-22 17:11 ` Sape Mullender
2006-08-22 17:13 ` Lyndon Nerenberg
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).