Page 2 of 13

Posted: Thu 24 Sep 2009, 21:31
by Caneri
I support Choicepup's point of using a small core with additional sfs of the users choice.

Modular is very good and long overdue.

Loop or union is of no matter to me but whatever works for new users...at least, just look at this for a very interesting and may I add a cool way to build a small fast and full featured fork/distro..Eric

Posted: Thu 24 Sep 2009, 21:43
by Caneri
to add, like jrb has done with his naming of the "ch" in front of his sfs files...

If sfs packages are built with a corresponding version number to a main core version number the package manager will be able to tell what package goes to the proper version of the modular core by default from any repo.

If it's not already built I would think there are enough coders that can make it a reality and work for us dumb guys...just a thought...Eric

Posted: Thu 24 Sep 2009, 22:16
by T_Hobbit
Hi

whislist: subtitles support from video player!
Portuguese translation here, if necessary.

sfs mounting

Posted: Thu 24 Sep 2009, 23:36
by raffy
Some discussion about sfs mounting here. Rexterd has been rejoicing about sfs mounting on the fly with aufs.

Posted: Fri 25 Sep 2009, 01:45
by technosaurus
I compiled vim and will be uploading it soon.

theses are the standard CFLAGS/CXXFLAGS that have been working for the majority of packages
-Os -combine -fbranch-target-load-optimize2 -fgcse-lm -fgcse-sm \
-fgcse-las -fgcse-after-reload -ffunction-sections -fdata-sections \
-pipe -momit-leaf-frame-pointer -fomit-frame-pointer \
-fmerge-all-constants -fmodulo-sched -mpreferred-stack-boundary=2 \
-march=i386 -mtune=i686

and LDFLAGS
-Wl,-O1,-relax,--gc-sections,--sort-common,--no-keep-memory,--as-needed,-s
(--as-needed doesn't always work but it can significantly improve startup times)

Posted: Fri 25 Sep 2009, 02:11
by technosaurus
As long as we are rewriting init...
zdrv.sfs as standard (does anyone know why Barry didn't use it?)
additionally load sfs files from same dir as the pupXXX
browser.sfs if found
pluspack.sfs if found
userdefined.sfs if found
also eliminate the crazy amount of time it takes to "search for puppy files"- only look in the the the dir specified in menu.lst entry by phome= which can be set automatically when you make your save file

add something like this to the save file script

Code: Select all

sed -i 's/\n#phome/ phome=$HOMEDIR /' /mnt/home/boot/grub/menu.lst
such that if grub was like this
  • <puppy's menu.lst entry here>
    #phome
it would then look like this after setting up a save file
  • <puppy's menu.lst entry here> phome=sdaX/mypuppyhome
just thinking out loud right now - wondering what else seems to take the most time during boot ... building the kernel module maps? copying to ram?

Posted: Fri 25 Sep 2009, 02:40
by Sonsum
Sorry technosaurus, I'm kind of a linux noob.

I can find my way around fine and do basic stuff, but can you maybe post an example of what this modified grub file would look like?

I'd love to reduce the amount of time puppy takes trying to find it's self on this old computer.

Thanks,
Sonsum.

*EDIT: Oh, and I tested the abiword-2.7.9-i486.pet package on the base 4.3 install. It installed lightning fast (almost too fast?) but abiword still works. Oddly, the about abiword section now doesn't list a version number.

Is there a PET-Be-Gone for 4.3 yet? Cause I think you may need to uninstall the original Abiword first...

Posted: Fri 25 Sep 2009, 04:17
by technosaurus
It is more likely that I got carried away with cutting abiword down to try and fit it on the forum - you shouldn't need to uninstall the original (2.7 has its own directories and the /usr/bin/abiword will overwrite the old one)

I have been playing with using xz compression in petget - had to recompile a later version of tar (bonus - it's smaller too). I am going to upload a tarball of the files I changed so someone can do an idiot check on me. This includes the scripts that make and convert pets - the new format will be .pxt

xz should reduce some bandwidth and server space requirements and allow for quicker downloads - install speed is basically unchanged

Posted: Fri 25 Sep 2009, 04:25
by technosaurus
here is my grub entry

Code: Select all

title pup43 frugal
rootnoverify (hd0,4)
kernel /pup43/vmlinuz pmedia=atahd psubdir=pup43
initrd /pup43/initrd.gz
most of the parameters already exist - we just have to use them

SLAX has an example of an init that can load multiple different user defined sfs (just a different extension) & here is the puppy thread for init hacks
http://www.murga-linux.com/puppy/viewtopic.php?t=40958

Posted: Fri 25 Sep 2009, 04:38
by Sonsum
technosaurus wrote:here is my grub entry

Code: Select all

title pup43 frugal
rootnoverify (hd0,4)
kernel /pup43/vmlinuz pmedia=atahd psubdir=pup43
initrd /pup43/initrd.gz
most of the parameters already exist - we just have to use them

SLAX has an example of an init that can load multiple different user defined sfs (just a different extension) & here is the puppy thread for init hacks
http://www.murga-linux.com/puppy/viewtopic.php?t=40958
Okay, thanks. Got my menu.lst up to snuff :)

If there's anything simple you'd like me to test, feel free to ask, I'd love to help in any way possible!

Posted: Fri 25 Sep 2009, 05:40
by technosaurus
for an easy/fun thing to test - the games on the Puppy Web Desktop need to be categorized

More here:
http://www.murga-linux.com/puppy/viewtopic.php?t=34921

Posted: Fri 25 Sep 2009, 06:16
by esmourguit
Bonjour à tous,
Bert wrote:
ttuuxxx wrote:
esmourguit wrote:What about localizing scripts like xorgwizard, chooselocale etc.?
That could be a good job for you :)
If you started with French, maybe others could follow your lead after and use your examples.
ttuuxxx

What's needed, yes I said it before, is a standardized, unified, teamwork-enabling localization system.

Thank you Bert for your support.
I hope that other translators will want to join to form a cohesive team to work with coders (whether this cooperation is of course desired).
Cordialement ;)

Posted: Fri 25 Sep 2009, 06:52
by Lobster
Image
Our growing list of support (please add yourself) http://puppylinux.org/wikka/Puppy44Team

Can one of our team add the phase 1 objectives here:
http://puppylinux.org/wikka/Puppy44

thank you :)

Posted: Fri 25 Sep 2009, 07:21
by ttuuxxx
Lobster wrote:Image
Our growing list of support (please add yourself) http://puppylinux.org/wikka/Puppy44Team

Can one of our team add the phase 1 objectives here:
http://puppylinux.org/wikka/Puppy44

thank you :)
Hi lobster, umm your displaying peoples emails, ummmmm not a good idea with spam, most spam bots look for things like that. the best way is just make a jpg image in mtpaint/gimp and do all the text on the image and save it as jpg, that way bots can't read what images say.
ttuuxxx

Posted: Fri 25 Sep 2009, 08:01
by Lobster
Thanks Ttuuxxx :)
Just added this - if someone wants to add graphic protection :)
for their email please do
mine can stay in a convenient format
Using HTML Entities

One trick is to replace the "@" symbol with the html character entity for it. Here are two email addresses: can you tell the difference?

* jqpublic@example.com
* jqpublic@example.com

Most people cannot, without looking at the source code. Here's what they really look like:


jqpublic@example.com
jqpublic@example.com

The "@" is another way of writing the "at" character - the "at" in an email address. This may fool some spambots, however, it is very easy for a spambot to "learn" this trick, so use it sparingly.

Posted: Fri 25 Sep 2009, 08:20
by mcalex
where at least one of the '@'s is probably & # 6 4 ; (without the spaces)
:)

Posted: Fri 25 Sep 2009, 08:35
by davesurrey
Hi technosaurus,
You seem to have got off to a really good start here. Thanks and congratulations.

Perhaps I have misunderstood but you say
additionally load sfs files from same dir as the pupXXX
My personal opinion, which may be shared by others, is that this isn't necessarily the best approach.

If one has several frugal installs in the same partition but under separate psubdirectories then at the moment I can just add, say, one openoffice.sfs to /mnt/home and all my frugals can pick it up. If I don't want any puppy to pick it up then Bootmanager gives me flexibility to change this.

But if the sfs file needs to be in the psubdirectory (where the pupXXX file resides) then would I not need one openoffice.sfs for each puppy?

Or does your wording
additionally
mean it would be an extra feature and it would still work if the sfs file where in /mnt/home??

If I have misunderstood could you kindly put me right.

Cheers
Dave

Posted: Fri 25 Sep 2009, 17:52
by panzerpuppy
Memtest86+ 4.00 is out.
Now it's a good time to include the latest release in Puppy 4.3.1 / 4.4 CE :)

Posted: Fri 25 Sep 2009, 18:28
by technosaurus
how's this:
boot manager (or user) sets SFSHOME as the default search location
boot parameter
LOADSFS=none #skips the sfs search all together
or
LOADSFS=all #(loads all sfs in $SFSHOME)
or
LOADSFS=zdrv,browser,openoffice,puppypack,devx,docx,nls #only loads list from $SFSHOME unless full path is provided

#set up some defaults
if $SFSHOME = ""
SFSHOME=$PHOME

The init script just spends way too much time looking around for this stuff. If users just keep pressing enter for defaults, those locations should be checked first and once found it should stop searching. You've heard the joke about finding something in the last place you looked... right now Puppy still keeps sniffing around to find another set of keys.

I don't have the luxury of being able to play around with init till early next week because of all the dependencies I have compiled while in pfix=ram mode - just bouncing some ideas around.

OT: Unicode & JavaScript email addresses

Posted: Fri 25 Sep 2009, 21:02
by puppyite
To view these two examples of John's email address copy and paste the following code into an HTML document (remove space before semicolon in unicode).

Code: Select all

John's email address in JavaScript:
<script language="JavaScript">
<!-- Begin
document.write('<a href=\"mailto:john'+ '@' + 'yahoo.com\">');
document.write('john'+ '@' +'yahoo.com</a>');
// End -->
</script>

John's email address in unicode:
&#106 ;&#111 ;&#104 ;&#110 ;&#64 ;&#121 ;&#97 ;&#104 ;&#111 ;&#111 ;.&#99 ;&#111 ;&#109 ;
Visit: http://www.alanwood.net/unicode/basic_latin.html for more unicode characters. Use the decimal codes on this page to display the character of your choice in an HTML document by doing the following: Place an ampersand, then a pound sign ahead of the decimal number and then follow with a semicolon to make your choice of character appear in an HTML document. Do not put spaces between the unicode characters.

NOTE: Placing JavaScript in the body of a XHTML document is not standards compliant.

PS: I said it was OT.