davids45 wrote:G'jour/G'day musher0,
(Trying to be bi-lingual for you, in an Australian way
)
I happened to be in a Frugal Vivid Pup when I logged on to see you'd replied (twice).
So I tried installing the two .pets in this VividPup but only got as far as a failure to install the less pet.
Does the screen shot from Vivid help?
I was concerned with no root/.package files showing for less in my first test in a Full Wheezy. Maybe pemasu's Dpup Wheezy didn't display the Vivid message but likewise it did not install less.
Is less the package that does the graphics after selecting the location?
In Wheezy, I'd seen the dialog boxes to pick a place but, as you suspected in your first reply today, I see no reports for Sydney, or anywhere (I had tried Auckland then Ottawa, with the same no-report).
David S.
Hello David.
Your bilingualism attempt is much appreciated!
And yes, your screen-shot from VividPup does help.
I just tried to download the less+lesspile pet from the forum and I also got the
substitution from the "+" character to the "%2B" expression. I'll have to ask our
moderator Flash why the forum does that.
The no-frills hands-on solution is to change back the "%2B" expression to a "+"
character once the file is downloaded on your machine, using the rename function
in the ROX-Filer or the mv utility in a terminal.
If you choose the terminal approach, it would be:
-- open a terminal in the directory where you downloaded the file
-- then type
Code: Select all
mv -f less-481%2Blesspipe.pet less-481+lesspipe.pet
(Make sure there is a "+" but no "upper-case B" in the second file name.)
I just tried it on my Puppy with good result. I also clicked on the pet to install it,
and it didn't moan or screech!
So that should do it. But as I said I have to ask Flash why the forum does that.
~~~~~~~
Less is not a graphic utility. It is a text reader with many features. Please see the
less
FAQ for more or type
The way I use it in the script is to show the weather report after some processing
has been done to the curl download (drunkjedi's post above has the original curl
command).
The post-processing was necessary to be able to translate the original report into
French. But then I sort of backtracked, and realized that it might be useful to do
some post-processing on the original English text as well, such as adding the date
and hour when the report was taken.
That is essential, isn't !? Nobody wants a stale weather report!
Finally, if we set aside any language processing, one advantage of showing the
weather report through less instead of having curl show it directly in a terminal is
that, in this way, the weather display becomes a quasi-GUI window.
It's almost seamless (IMO), it becomes pretty much like a regular program window.
To me that is a huge advantage over a regular terminal display -- the idea of which
is irritating and de-motivating for many users.
~~~~~~~
About the "no /root/.packages" for less, I don't really know why. My tentative
explanation would be that by default Puppy already has a stripped-down less utility
included in the busybox series of utilities. So it wouldn't be logging a less install in
the "packages registry" a 2nd time?
The "busybox less" was so stripped-down that it was next to useless for all but the
simplest purposes. I know some newer Puppies have dropped the busybox less
and are including an older version of the real less (v. 450, I think).
In any case, you can't go wrong downloading my suggested package: the less
utility shipping in it is the real one and also the latest (v. 481), from
greenwood software.
~~~~~~~
If you have any more snafus like this, please let me know?
Have a great day! BFN.