Puppy 4.4 CE - Phase 1: pet tests

This is where threads concerning the development of the next version of Puppy live.
Message
Author
Caneri
Posts: 1513
Joined: Tue 04 Sep 2007, 13:23
Location: Canada

#21 Post 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
[color=darkred][i]Be not afraid to grow slowly, only be afraid of standing still.[/i]
Chinese Proverb[/color]

Caneri
Posts: 1513
Joined: Tue 04 Sep 2007, 13:23
Location: Canada

#22 Post 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
[color=darkred][i]Be not afraid to grow slowly, only be afraid of standing still.[/i]
Chinese Proverb[/color]

User avatar
T_Hobbit
Posts: 400
Joined: Sat 27 May 2006, 10:50
Location: Portugal - Lisbon

#23 Post by T_Hobbit »

Hi

whislist: subtitles support from video player!
Portuguese translation here, if necessary.
T_Hobbit
:idea: Rebuilding old DOS Machine for Wing Commander Privateer and Puppy :!: Old spare parts to give away - anyone interested :?:

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

sfs mounting

#24 Post by raffy »

Some discussion about sfs mounting here. Rexterd has been rejoicing about sfs mounting on the fly with aufs.
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#25 Post 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)
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#26 Post 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?
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Sonsum
Posts: 14
Joined: Thu 16 Jul 2009, 03:51

#27 Post 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...

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#28 Post 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
Attachments
petget2.tar.gz
(110.22 KiB) Downloaded 1575 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#29 Post 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
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Sonsum
Posts: 14
Joined: Thu 16 Jul 2009, 03:51

#30 Post 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!

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#31 Post 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
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
esmourguit
Posts: 1410
Joined: Fri 17 Nov 2006, 14:45
Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie

#32 Post 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 ;)
[url=http://moulinier.net/][color=blue][b]Toutou Linux[/b][/color][/url] - [url=http://toutoulinux.free.fr/pet.php][color=blue][b]Paquets français[/b][/color][/url]

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#33 Post 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 :)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#34 Post 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
Attachments
text.jpg
(66.39 KiB) Downloaded 1392 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#35 Post 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.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

mcalex
Posts: 78
Joined: Sun 23 Apr 2006, 14:52
Location: Perth, WA

#36 Post by mcalex »

where at least one of the '@'s is probably & # 6 4 ; (without the spaces)
:)

davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#37 Post 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

panzerpuppy
Posts: 632
Joined: Tue 02 Oct 2007, 07:39

#38 Post 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 :)

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#39 Post 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.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

puppyite

OT: Unicode & JavaScript email addresses

#40 Post 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.
Last edited by puppyite on Sat 26 Sep 2009, 11:59, edited 1 time in total.

Post Reply