Ziggy | 10 Feb 09:09 2005
Picon

Shell crashes when command 'cd ..' is executed in /

	Hello.

	Last night I tried UUU using VMware. So far it seems that it takes more
than that to impress me, but I understand since you're in early stages.

	The bug that I noticed was pretty simple -
		% pwd
		/
		% cd ..
		(The shell crashes and I'm thrown into the python shell)
		>>> 

	It's probably not a bug with the cd implementation, since I already
managed to cd into other directories.
	My knowledge in python (right now) is fairly limited, but I managed to
come up with a workaround for this problem (which works only for the cd
command):

def cd( *args ):
    '''cd DIR

Change the current working directory to DIR.
'''
    if len(args) != 1:
        print 'usage: cd DIR'
        return
    if  args[0] == '..' and uuu.root_vfs.cwd == '/':		  
        print 'cd: can\'t go backwards from current directory'   
        return
    dir = args[0]
(Continue reading)

Phil Frost | 11 Feb 03:37 2005

Re: Shell crashes when command 'cd ..' is executed in /

On Thu, Feb 10, 2005 at 09:09:35AM +0100, Ziggy wrote:
> 	Hello.
> 
> 	Last night I tried UUU using VMware. So far it seems that it takes more
> than that to impress me, but I understand since you're in early stages.
> 
> 	The bug that I noticed was pretty simple -
> 		% pwd
> 		/
> 		% cd ..
> 		(The shell crashes and I'm thrown into the python shell)
> 		>>> 
> 
> 	It's probably not a bug with the cd implementation, since I already
> managed to cd into other directories.
> 	My knowledge in python (right now) is fairly limited, but I managed to
> come up with a workaround for this problem (which works only for the cd
> command):
> 
> def cd( *args ):
>     '''cd DIR
> 
> Change the current working directory to DIR.
> '''
>     if len(args) != 1:
>         print 'usage: cd DIR'
>         return
>     if  args[0] == '..' and uuu.root_vfs.cwd == '/':		  
>         print 'cd: can\'t go backwards from current directory'   
>         return
(Continue reading)

Phil Frost | 14 Feb 04:24 2005

snapshot release real soon now

I had said to a few people I would try to do a snapshot release today.
However, I was sick so didn't get it done. I'll be doing it soon now.
Jacques Mony | 14 Feb 21:05 2005

step by step guide

Hi everyone!
 
  If you are like me and didn't have the courage to build unununium before, you
  have no more reasons now. Here is a quick guide on how to build and install
  unununium on your computer.
  
    It is a step by step guide I did while I installed my development environment
    on my Debian/Unstable box. Of course, if you don't have Debian/Unstable Linux,
    you might have to install your tools in a different manner. But the parts
    reffering to oskit hacks and configuration file changes will still apply.
    
      Send me your updates if any... I don't have a lot of free time, but I will
      try to keep this document up to date.
      
        Have fun!
 
  Jacques Mony

Getting, Building and Installing Unununium

Step by Step, Version 0.1 by Jacques Mony (jmony)

jmony <at> jmony.com February 14, 2005

Notes: The following instructions apply to a Debian/Unstable Linux distribution. It might require changes for other environments.

Prepare your environment

First of all, you will need some tools that are probably not already installed. So take a moment to install these tools. You will need nasm, pyrex, scons, darcs and cvs.

The following command will install those:
apt-get install python2.3-pyrex darcs scons nasm cvs

Build OSKIT

First thing is go get the sources from savannah.
export CVS_RSH=ssh cvs -z3 -d:ext:anoncvs <at> savannah.gnu.org:/cvsroot/oskit co oskit
Then, enter oskit directory and edit the modules.x86.pc file. You will need to uncomment the line "#rtld" (just remove the #).
Next, building OSKIT. It might take a while.
./configure make make install make clean
I recommend the make clean because oskit gets really big and takes a lot of space... but if you don't care about disk space, don't do it ;-)
Now, you should have OSKIT installed in /usr/local.
LET'S FIX IT
We need to fix the resulting oskit to make it work for uuu. ar -d /usr/local/lib/liboskit_linux_fs.a floppy.o

Build Unununium

Get in your working directory and type the magic command:
darcs get http://unununium.org/darcs/uuu
This will create a uuu directory. Get into it now :-)

You need to edit the file SConscript and look for a reference to /usr... you need to change this to /usr/local so scons can find your oskit build.

Next... build uuu using the scons command.
scons
The script will fetch python and snap trees from the server and build everything for you.
You should now have a file called unununium which you can use in qemu or burn on CD (I only tried qemu yet). To find out how to use the image in qemu, check the qemu-instructions.txt file in your uuu directory.

_______________________________________________
Uuu-devel mailing list
Uuu-devel <at> unununium.org
http://unununium.org/cgi-bin/mailman/listinfo/uuu-devel
Jacques Mony | 14 Feb 21:55 2005

Re: step by step guide

I would be happy if other people can make adaptations for other 
distributions... so anyone could build it.

What we need now, IMHO, is a guide on how to code python applications for 
uuu... where to put the code, how to make it
build, how to run it from inside the shell, etc. This probably is quite 
easy... but I dont know how.

Jacques Mony

----- Original Message ----- 
From: "Chris Farber" <ephex <at> perfectspiral.dyndns.org>
To: "Jacques Mony" <jmony <at> jmony.com>
Sent: Monday, February 14, 2005 3:21 PM
Subject: Re: [Uuu-devel] step by step guide

> good job jmony. we needed this ;)
>
> On Feb 14, 2005, at 3:05 PM, Jacques Mony wrote:
>
>> <step-by-step.html>
>
> 
Phil Frost | 14 Feb 22:21 2005

Re: step by step guide

On Mon, Feb 14, 2005 at 03:05:36PM -0500, Jacques Mony wrote:
> Hi everyone! 
>  
>   If you are like me and didn't have the courage to build unununium before, you 
>   have no more reasons now. Here is a quick guide on how to build and install 
>   unununium on your computer. 
>    
>     It is a step by step guide I did while I installed my development environment 
>     on my Debian/Unstable box. Of course, if you don't have Debian/Unstable Linux, 
>     you might have to install your tools in a different manner. But the parts 
>     reffering to oskit hacks and configuration file changes will still apply. 
>      
>       Send me your updates if any... I don't have a lot of free time, but I will 
>       try to keep this document up to date. 
>        
>         Have fun! 
>   
>   Jacques Mony 

Published with some modifications at <http://unununium.org/articles/building>.
Phil Frost | 14 Feb 22:23 2005

Re: step by step guide

On Mon, Feb 14, 2005 at 03:55:09PM -0500, Jacques Mony wrote:
> I would be happy if other people can make adaptations for other 
> distributions... so anyone could build it.
> 
> What we need now, IMHO, is a guide on how to code python applications for 
> uuu... where to put the code, how to make it
> build, how to run it from inside the shell, etc. This probably is quite 
> easy... but I dont know how.
> 
> Jacques Mony

Just write some module, put it in /lib/python2.3 on unununium's drive,
import it, and run it.
Chris Farber | 14 Feb 22:31 2005
Picon

Compiling on OS X

Is this possible? Perhaps now that I have my powerbook I could actually 
start developing for uuu because I wouldn't have to reboot my dev 
system to test out uuu.
Richard Fillion | 14 Feb 22:33 2005

Re: Compiling on OS X

Have fun, if you manage, let me know.  But when I had tried it didn't look good.

Richard Fillion
rfillion <at> cs.und.edu

Quoting Chris Farber <ephex <at> perfectspiral.dyndns.org>:

> Is this possible? Perhaps now that I have my powerbook I could actually 
> start developing for uuu because I wouldn't have to reboot my dev 
> system to test out uuu.
> 
> 
> _______________________________________________
> Uuu-devel mailing list
> Uuu-devel <at> unununium.org
> http://unununium.org/cgi-bin/mailman/listinfo/uuu-devel
> 
Phil Frost | 14 Feb 23:19 2005

Re: Compiling on OS X

On Mon, Feb 14, 2005 at 04:31:07PM -0500, Chris Farber wrote:
> Is this possible? Perhaps now that I have my powerbook I could actually 
> start developing for uuu because I wouldn't have to reboot my dev 
> system to test out uuu.

Probably. You would of course need to build a cross compiler. Give it a
try.

Gmane