Puppy Linux Newsletter

Promote Puppy !
Message
Author
User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#31 Post by smokey01 »

Calling for articles for the April edition.

User avatar
6502coder
Posts: 677
Joined: Mon 23 Mar 2009, 18:07
Location: Western United States

#32 Post by 6502coder »

Okay, here's a dialog/Xdialog version of the Puppy Newsletter Index Sorter. I tested this on my Puppy 412 Retro system so it should run on pretty much any Puppy. My Xdialog version there is 2.3.1; my dialog version is 1.0-20060221. You can switch from Xdialog to dialog with a simple edit.

Download.
Put it in the folder where you have the PNI.txt file.
Rename to remove the fake ".zip" extension.
Make executable with

Code: Select all

    chmod  +x   dspni.sh
Run with

Code: Select all

    ./dspni.sh
Attachments
dspni.sh.zip
See instructions in post
(2.81 KiB) Downloaded 411 times

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#33 Post by mcewanw »

This is great. These newletters are a great boost for the Puppy Community and that index creator is very helpful and useful.

Good to see.

William
github mcewanw

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#34 Post by bigpup »

As small as the dspni.sh and the PNI.txt are.
You should be able to make it into a pet package.
As long as it is not larger than 256K.
The forum should allow posting it here.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
6502coder
Posts: 677
Joined: Mon 23 Mar 2009, 18:07
Location: Western United States

Submission for April Newsletter

#35 Post by 6502coder »

smokey01 wrote:Calling for articles for the April edition.
Just sent you my article via email.

User avatar
6502coder
Posts: 677
Joined: Mon 23 Mar 2009, 18:07
Location: Western United States

#36 Post by 6502coder »

bigpup wrote:As small as the dspni.sh and the PNI.txt are.
You should be able to make it into a pet package.
As long as it is not larger than 256K.
The forum should allow posting it here.
The PNI.txt will be updated every month, so it would be awkward to distribute it in a PET. The plan is for me to post the new PNI.txt to smokey01 each month and he will provide a place for it, probably right there with the newsletter notecase files, where people can download it.

As for the app, I've got it packaged as a PET but I'm waiting a little longer to make it more newbie-proof and to see if any suggestions for improvements come in. Then I'll post the PET here sometime next week. BTW I'm going forward with the dialog/Xdialog version and dropping the YAD version.

Meanwhile, I have two questions for anyone who wants to chime in:

1) I'm going to have the app assume the PNI.txt file is in ~/my-documents/
Of course it will check, and scream if it can't find the file. I assume that anyone who can't live with the PNI.txt file being in my-documents will at least be OK with either making a symlink or editing the script. Any objections? I really don't want to add the complication of a file selector dialog.

2) I'm having trouble deciding what category this app falls in, for purposes of adding a menu entry. I'm leaning towards Utilities just because it's the least bad fit. Any other ideas?

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#37 Post by bigpup »

1) I'm going to have the app assume the PNI.txt file is in ~/my-documents/
I have my browser set to download to ~/Downloads

Makes it easy to find what I download.

Not sure if others do the same, but that is what the ~/Downloads is for.

That is going to be the issue. Where the person downloads to. Their choice in a browser.
2) I'm having trouble deciding what category this app falls in
menu->Document

There are some document readers located here.
PNI.txt is a document file.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#38 Post by bigpup »

Tahrpup 6.0.6

Using the newest dialog/Xdialog version of dspni.sh

After selecting the options.
Nothing happens.

Get this error after selecting OK.
Attachments
capture28657.png
(5.89 KiB) Downloaded 826 times
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
6502coder
Posts: 677
Joined: Mon 23 Mar 2009, 18:07
Location: Western United States

#39 Post by 6502coder »

Thanks for the feedback, bigpup

1) Puppy 412, where I do the development work on this app, does not have a ~/Downloads directory (I just checked booting from a virgin 412 LiveCD -- no such directory). However, I see that Wary has a ~/Downloads directory and I take your point. If nobody else objects, I'm fine with making ~/Downloads the assumed location of the PNI.txt file.

Edit: skip to "LATE NEWS" below:


2) The "bad KeyA" error is puzzling. Around line 64 or so in the script, you should see this:

Code: Select all

#echo "KeyA: " $keyA " KeyB: " $keyB
#echo "addDesc: " $addDesc " formatOutput: " $formatOutput
#exit
Could you un-comment those 3 lines by removing the leading "#" and let me know what you see?

Also, could you tell me what selections you made in the sort-order and "options" dialogs?

3) It looks like you've set the script to use "dialog" instead of "Xdialog", correct? Not that it should matter. Do you get the same error if you use "Xdialog" instead of "dialog"?

Thanks for the help.

@bigpup: LATE NEWS:

I just burned a CD of TahrPup 6.0.6 and booted up a LiveCD session. I immediately copied over PNI.txt and the version of the dspni.sh attached below. It's possible this is slightly later than the version you have. At any rate, I was unable to reproduce your bug. It worked fine using either dialog or Xdialog. I also ran it from from an xterm -- because that hideous blue console was driving me blind -- and again no problems. Very strange.
Attachments
dspni.sh.zip
You know the drill. Edit to point it to where you have placed PNI.txt
(2.81 KiB) Downloaded 397 times

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#40 Post by bigpup »

Ok, I tried the dspni.sh (from above) in a clean install of Tahrpup 6.0.6

dspni.sh Xdialog is working OK.
I did not try dialog.

I broke something in my Tahrpup 6.0.6 using the save.
I have got to stop trying to use program packages made for other Linux.
We are Puppy.
We are different.
You will assimilate.

Well, I can confirm that the Xdialog version of dspni should work in most/all Puppies.
They all come with Xdialog
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

kb8amz
Posts: 42
Joined: Fri 11 Jul 2008, 21:31
Location: Kent, Ohio, USA

Read smokey01's 3 newsletters

#41 Post by kb8amz »

I've been having problems with one of PC's (its running Linux Mint 18) and old (really old) Dell Optiplex from a 2001 build. It had been running so slow that it reminded me of days with the 2 MHz 8 bit machine with the single sided floppy drive. Anyway I replaced that with a duo core Dell Laptop N5050 and Linux Mint 18 64 bit. I used to do telephone PC support for the No Child Left Behind Program. One day my supervisor lead me to a cart with many PC's in disarray and said take as many as you like. I took 2, a GX150 and GX520. The 520 seemed newer but I never checked the internals or ran a list of the hardware; I just assumed it was a 32 bit PC like the GX150. I had been running Ubuntu 16.04 on the 520 with no problem but since I was junking out the 150 replacing it with the laptop I wanted the remainder of my PC's desktop, laptops, and netbook's to run some version of Puppy. I discovered that the 520 is a 64 bit and I've been running it as a 32 bit. I thought I had accidentally inserted a tahr64-5.0.3.iso in the ROM drive and it booted much to my surprise. Been running on this PC for about the past week now and really enjoy it. When I opened the browser it opened to a page where I was notified about the newsletter. The what I said to self. I clicked on the link and found smokey01 had written a newsletter. Super swell. I had a 6.0.5 nonPAE iso on hand and thought I'd give it a try. The PC's drive didn't recognize this disc. I've downloaded a more recent version and will try it out, but I found 2 more newsletters by smokey01 and read them both. I learned that smokey01 is a, retired, firefighter or a 'hoser' as we call them here in the USA. I'm a retired police officer. Don't know what the firefighters call us but I've noticed as I've read many of the posts on here that many of the really smart people that have helped Barry K develop these versions of Puppy and applications are my age. Swell. I have enjoyed the newsletters smokey01 and wanted to give you my two cents worth of compliments.

Whoa, 0200 EDT, -5 GMT. Need to get off the PC and get to bed. Later, everyone.

User avatar
Burn_IT
Posts: 3650
Joined: Sat 12 Aug 2006, 19:25
Location: Tamworth UK

#42 Post by Burn_IT »

You need to format your text a bit.

It is extremely difficult to read as it is.

But welcome to the doghouse anyway.

64 bit capable machines will run 32 bit software quite happily - indeed there is very little ALL 64 bit software around as much of it uses library routines that are still 32bit.
Veryy few people are going to support two parallel versions of software whilst the single one still works. Don't forget that an awful ot of Linux is written and supported by private individuals who are doing it for the love of it in their spare time.
"Just think of it as leaving early to avoid the rush" - T Pratchett

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#43 Post by smokey01 »

The deadline for April is tomorrow'ish.

In the past the newsletter .html file was a single file with base64 graphics embedded. Apparently this was as issue for apple devices so I have separated the graphics. For most readers this should not be noticable.

Cheers

redandwhitestripes
Posts: 179
Joined: Fri 02 Jan 2009, 06:49

#44 Post by redandwhitestripes »

Just wanted to say thank you for the latest newsletter. Good read!

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

#45 Post by drunkjedi »

Was making a 'how to make sfs using PPM' for submitting to Newsletter.

I thought pictorial guide would be nice. Then thought about combining pics to make gif.
After making gif, I inserted it in a node, notecase isn't showing it as a gif but as normal pic.
Can anyone suggest something.

I am worried about size too.
I reduced scaled down the gif to 300x200 so it's around 1mb.

I thought uploading it to imgur site and linking it on the howto.
It would work for html version, does it work for notecase too?

I am at work now, will experiment tomorrow.
Anyway learned to make gif from command line.

Thanks in advance for any help.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#46 Post by bigpup »

I suggest you make the main, full topic, in the "How to" section of the forum.
Make an article in the newsletter, about it.
Give a link to the "How to topic".

In the newsletter give information about it.
What it is.
What it can do.
Why you would want to use it.
Why it is better.
Give example of using it.
A review.
Etc....

This is a newsletter not a forum.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#47 Post by bigpup »

I was thinking of doing a section about the lost Puppy programs.

Something like lost treasurers.
Forgotten Puppy programs.
etc...

Go see what I could find, that was specific programs written for Puppy, but have not usually been in a Puppy version.
I know some really good stuff was written just for Puppy and the Puppy way of operating.
We are Puppy. 8)
Resistance is futile. :shock:
You will be assimilated. :D

What do you think?
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#48 Post by smokey01 »

bigpup wrote:I was thinking of doing a section about the lost Puppy programs.

Something like lost treasurers.
Forgotten Puppy programs.
etc...

Go see what I could find, that was specific programs written for Puppy, but have not usually been in a Puppy version.
I know some really good stuff was written just for Puppy and the Puppy way of operating.
We are Puppy. 8)
Resistance is futile. :shock:
You will be assimilated. :D

What do you think?
@bigpup: lost treasures sounds like a good idea.

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

#49 Post by drunkjedi »

bigpup wrote:I suggest you make the main, full topic, in the "How to" section of the forum.
Make an article in the newsletter, about it.Give a link to the "How to topic".
Yes I was gonna make a howto thread on forum anyway. Thanks.
bigpup wrote:I was thinking of doing a section about the lost Puppy programs.

Something like lost treasurers.
Forgotten Puppy programs.
etc...
That is a wonderful Idea.

May I suggest sending a PM to our beloved Pelo.
That man's archeological skills are legendary.
I wonder how he finds those old stuff.
He may even have a list.

Pelo

many things don't work , perhaps more now than before

#50 Post by Pelo »

"Notecase is very easy to learn and use."
I will help if i had something to inform that can be helpfull about 'old' stuff perhaps, but i am not so much an user of old apps. My purpose when i came to Puppy was to change from Windows, which was the OS provided by the airline boss, to all employees.
Second purpose : keep my english alive.
Third purpose : run an OS fast and with apps free of charge to allow me practicing my hobbies.
Programs and makings Puppies are not included in my goals. Only to help myself as i would do with my car, for light breakdowns.
My rule was using yet existing apps of Puppy, and learn how to do with them. That is the reason why i browse the forum to test apps and check which one please me and still work. Because many things don't work , perhaps more now than before.
That is a more featured answer to a PM Received.
Notecase : i tried it, very fast.. Need some practice.

Post Reply