LANG=am_ET causes funny collating order

2007-10-05 Thread Bernardo Innocenti
Hello Ulrich and Jakub, sorry for bothering you for what seems to be an OLPC specific bug, but I guess you can help me understand the issue here. If I set LANG=am_ET, strcoll() acts as if strlen() was a sorting criteria! For example, ls outputs file names sorted by their lengths first, and alpha

Re: Fixed memory address

2007-10-05 Thread Bernardo Innocenti
Chris Ball wrote: >> I think we could run prelink on the OLPC images from within >> pilgrim, just before converting it to jffs2. > >> It will result in a slight speedup in startup time, but nothing >> compared to importing modules that dominates startup time of the >> Python a

Re: Fixed memory address

2007-10-05 Thread Bert Freudenberg
On Oct 5, 2007, at 23:36 , Bernardo Innocenti wrote: > > The base address of processes are randomized for > security on several Linux distributions, including > Fedora. > > You can disable it globally by doing this: > > echo 0 >/proc/sys/kernel/randomize_va_space > > > But this, of course, it not a

Re: Changing Sugar system font?

2007-10-05 Thread Wilhelm Fitzpatrick
Thank you, Antoine and Bert. Things now look much better. -wilhelm ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel

Re: Fixed memory address

2007-10-05 Thread Chris Ball
Hi, > I think we could run prelink on the OLPC images from within > pilgrim, just before converting it to jffs2. > It will result in a slight speedup in startup time, but nothing > compared to importing modules that dominates startup time of the > Python activities. Actually, I di

Re: Fixed memory address

2007-10-05 Thread Bernardo Innocenti
On 10/05/2007 03:28 AM, Bert Freudenberg wrote: > Would that be possible with the virtualization containers? I don't think vservers messes around with the virtual address space of processes. > Btw, if I'm not mistaken, the Linux loader does something similar, so > if the relocating step could

Re: olpc password?

2007-10-05 Thread Bernardo Innocenti
On 10/05/2007 05:04 PM, Victor Lazzarini wrote: > Is there a password for user olpc? As for root, the default password is "!!", which is an invalid hash that makes any password fail. > I set one for it to be able to ssh to the XO, but > it seems to have upset the X server and on > reboot I could

olpc password?

2007-10-05 Thread Victor Lazzarini
Is there a password for user olpc? I set one for it to be able to ssh to the XO, but it seems to have upset the X server and on reboot I could not get the graphics (flashed in and then failed). Thanks Victor ___ Devel mailing list Devel@lists.laptop.org

Re: font size when running under emulation?

2007-10-05 Thread Bert Freudenberg
On Oct 5, 2007, at 21:12 , David Feldman wrote: > I just installed the OLPC software in VMWare and Qemu, but the font > size > is so small that I have trouble reading it. My understanding is that > this is an emulation (screen resolution) issue and it'll be a lot > larger > on the actual OLPC

Re: Changing Sugar system font?

2007-10-05 Thread Bert Freudenberg
On Oct 5, 2007, at 20:13 , Wilhelm Fitzpatrick wrote: > I've begun to experiment with OPLC images under VMware and Qemu. So > far, with all the images I've tried, (546, 609, 613), the system font > being used in Sugar is insanely small, to the point of near > unreadability. > > Via googling, I wa

font size when running under emulation?

2007-10-05 Thread David Feldman
I just installed the OLPC software in VMWare and Qemu, but the font size is so small that I have trouble reading it. My understanding is that this is an emulation (screen resolution) issue and it'll be a lot larger on the actual OLPC? Is there some way to configure the screen resolution on the

Re: [PATCH] GEODE: decouple sleep/resume from powerdown/powerup

2007-10-05 Thread Bernardo Innocenti
On 10/05/2007 09:15 AM, Pavel Machek wrote: >> This patch merges the fb_powerup and fb_powerdown hooks in a single >> operation fb_power with an additional "state" parameter ranging >> from 0 (running) to 3 (poweroff). > > No, please don't. Having int with 0/3 being valid specifying what to > do

Re: Changing Sugar system font?

2007-10-05 Thread Antoine van Gelder
Here are replacements for the /boot/grub/grub.conf and /etc/X11/xorg.conf files I use when working under vmware. Sets screen resolution to 1280x1024 and X to 200dpi which makes for more readable fonts. - a Wilhelm Fitzpatrick wrote: I've begun to experiment with OPLC images under VMware

Changing Sugar system font?

2007-10-05 Thread Wilhelm Fitzpatrick
I've begun to experiment with OPLC images under VMware and Qemu. So far, with all the images I've tried, (546, 609, 613), the system font being used in Sugar is insanely small, to the point of near unreadability. Via googling, I was able to find a hint on how to change the developer conso

Re: [PATCH] GEODE: decouple sleep/resume from powerdown/powerup

2007-10-05 Thread Pavel Machek
Hi! > This patch merges the fb_powerup and fb_powerdown hooks in a single > operation fb_power with an additional "state" parameter ranging > from 0 (running) to 3 (poweroff). No, please don't. Having int with 0/3 being valid specifying what to do is evil. enum is less evil, but what's wrong abo

Re: Abstract Console, LinuxConsole

2007-10-05 Thread James Cameron
I ask that the list administrators suspend this person's posting rights, on the grounds that they are not listening, and apparently not understanding the project's goals and existing design. I'd be happy to provide moderation if it is needed. -- James Cameronmailto:[EMAIL PROTECTED] http

Re: funny behaviour gtk+python

2007-10-05 Thread Simon McVittie
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 04 Oct 2007 at 21:43:07 -1000, Mitch Bradley wrote: > Victor Lazzarini wrote: > > yes, it's true, but at the moment, I can't > > see a substitute for strtod(), and we can't > > put a dependency on gtk or Python in the Csound > > engine. I can't

Re: where are the activity scripts

2007-10-05 Thread Simon Schamijer
Hi Victor, /usr/share/activities for the base activities and /home/olpc/Activities for the custom installed ones. best, Simon Victor Lazzarini wrote: > Hello everyone, > > would anyone be able to tell me where the activity python > scripts are located in the filesystem? I want to have a >

where are the activity scripts

2007-10-05 Thread Victor Lazzarini
Hello everyone, would anyone be able to tell me where the activity python scripts are located in the filesystem? I want to have a look at how a finished activity script looks like (after being setup). Thanks again Victor Victor Lazzarini Music Technology Laboratory Music Department National Univ

Abstract Console, LinuxConsole

2007-10-05 Thread big one
There was an "Abstract Console" project on Linux Kernel 2.0 from Netherlands. This project enable device without VGA to run text only Linux, using frame buffer (Amiga, Atari etc). LinuxConsole is a project to create non vga-centric text console for Linux. http://linuxconsole.sourceforge.net I

Re: funny behaviour gtk+python

2007-10-05 Thread Mitch Bradley
Victor Lazzarini wrote: > yes, it's true, but at the moment, I can't > see a substitute for strtod(), and we can't > put a dependency on gtk or Python in the Csound > engine. I can't find an ascii_strtod(). Would > it work if we added a call to setlocale() just > before the call to strtod()? > P

Re: funny behaviour gtk+python

2007-10-05 Thread Victor Lazzarini
yes, it's true, but at the moment, I can't see a substitute for strtod(), and we can't put a dependency on gtk or Python in the Csound engine. I can't find an ascii_strtod(). Would it work if we added a call to setlocale() just before the call to strtod()? Victor > > This really needs to be fixed

Fixed memory address

2007-10-05 Thread Bert Freudenberg
Hi folks, once security containers are enabled, each activity basically "owns" the box, right? It will basically feel alone in both the file system as in memory, appearing as a single task. This might make some optimizations possible that otherwise aren't in a generic multi- tasking OS. On