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

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._________________I have found, in trying to help people, that 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

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?

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.

Quote:

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._________________I have found, in trying to help people, that 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

_________________I have found, in trying to help people, that 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

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:

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.

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_________________I have found, in trying to help people, that 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

I've been having problems with one of PC's (its running Linux Mint 1 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.

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

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.

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.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum