| Author |
Message |
playdayz

Joined: 25 Apr 2008 Posts: 3705
|
Posted: Thu 08 Jul 2010, 17:54 Post subject:
|
|
Hey Zigbert, I am full of good news today. Pprocess 2.1 causes a problem in luci-210 testing. When I click Pprocess from the menu, it does not open and the keyboard is dead. I use CTRL-ALT-BS to exit x and restart X and then the keyboard is back. Pprocess does not do this--I just checked on the same luci. Thanks.
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6867 Location: Perth, Western Australia
|
Posted: Thu 08 Jul 2010, 22:02 Post subject:
|
|
dead keyboard and mouse have also been reported in Spup 0.3, as soon as Pprocess is started -- reported by edoc.
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5245 Location: Valåmoen, Norway
|
Posted: Fri 09 Jul 2010, 01:48 Post subject:
|
|
Version 2.1.1
See main post
Pprocess 2.1 in luci was not the same Pprocess 2.1 that shows up on my daily system. Some idiot has uploaded wrong code. Still, I could not reproduce the bug in luci...... Please confirm the bug with Pprocess 2.1.1. - I would not be surprised if it all works ok now, since 2.1.1 uses 'ps' instead of 'top' as its backend.
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
tubby
Joined: 24 Jan 2009 Posts: 317
|
Posted: Fri 09 Jul 2010, 02:06 Post subject:
|
|
I see you have removed the locals from your compile, i was wondering if it was those lines of code that broke the one in spup. In my spup i changed the en-us to en-gb in the locals folder.
|
|
Back to top
|
|
 |
wow
Joined: 29 Jun 2006 Posts: 950
|
Posted: Tue 17 Aug 2010, 23:59 Post subject:
Subject description: pprocess 2.2.0 |
|
Bug:
| Code: | #set language
TMP="`ls -1 $PROGPATH/locals/ | grep $LANG`"
. $PROGPATH/locals/en_US:english #always run to fill gaps in translation
[ "$TMP" != "en_US:english" ] && . $PROGPATH/locals/$TMP 2> /dev/null |
Auto language selection(pprocess, pmusic, pfind and others) will not work with a format different than xx_XX, locales like mine (es_PE.uft8) won't load automatically because of extra characters (.utf8).
Workaround: something like this:
| Code: | #set language
TMP="`ls -1 $PROGPATH/locals/ | grep ${LANG%.*}`"
. $PROGPATH/locals/en_US:english #always run to fill gaps in translation
#fallback to macrolanguage if available (ISO 639-1 two letter code: en, es, fr, etc.)
[ -z $TMP ] && TMP="`ls -1 $PROGPATH/locals/ | grep ${LANG%_*}:`" && echo $TMP
[ "$TMP" != "en_US:english" ] && . $PROGPATH/locals/$TMP 2> /dev/null
|
Ok, so now it will work with linguistically distinct variants like pt_PT and pt_BR and also work with "es" for "spanish", "us" for english, etc. when needed instead of trying to load es_AR, es_PE, es_ES, en_AU, en_GB, en_US.
_________________

|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5245 Location: Valåmoen, Norway
|
Posted: Wed 18 Aug 2010, 03:35 Post subject:
|
|
Much better code. I have included it in Pburn, Pmusic, Pfind, Pfilesearch, Pprocess. If you don't have any immediate need of updated packages, I will ship them next time I take a look at their todo-list and fixes some issues. Right now it is Pmusic 1.3.0 on my screen.......
Thank you
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
wow
Joined: 29 Jun 2006 Posts: 950
|
Posted: Wed 18 Aug 2010, 13:10 Post subject:
|
|
No problem.
|
|
Back to top
|
|
 |
wow
Joined: 29 Jun 2006 Posts: 950
|
Posted: Fri 27 Aug 2010, 12:33 Post subject:
|
|
Please remove && echo $TMP from this line (set language code):
| Code: | | [ -z $TMP ] && TMP="`ls -1 $PROGPATH/locals/ | grep ${LANG%_*}:`" && echo $TMP |
It might give some problems...
My fault, sorry
_________________

|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5245 Location: Valåmoen, Norway
|
Posted: Sun 29 Aug 2010, 03:18 Post subject:
|
|
Fixed!
_________________ Stardust resources
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5245 Location: Valåmoen, Norway
|
Posted: Sun 29 Aug 2010, 12:25 Post subject:
|
|
bump
_________________ Stardust resources
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Tue 12 Oct 2010, 00:17 Post subject:
|
|
I added pprocess to my bashbox script - it went fairly smoothly & I even added a couple of parameters for different formatting, but still need to add the locales. (I am trying to consolidate as many functions as possible into a single script to ease development) Once we get everything together we can probably do some significant code reduction through code reuse (another bonus would be a unified look and feel).
Let me know what you think....or any other goodies you'd like to see added. Is there a reason you have separate files for your functions?
bashbox thread
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
eastler_dart
Joined: 11 Feb 2009 Posts: 32
|
Posted: Sun 12 Dec 2010, 07:39 Post subject:
|
|
hi all, hi zigbert,
I have tried to download the NLS-pet for pprocess, I didn't sucess
Also go direct to http://www.meownplanet.net/zigbert/ does not show an NLS-Pet for pprocess
Do you have one? Please, can you put it online?
Thanks a lot
Eastler
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5245 Location: Valåmoen, Norway
|
Posted: Sun 12 Dec 2010, 11:39 Post subject:
|
|
| eastler_dart wrote: | I have tried to download the NLS-pet for pprocess, I didn't sucess  | NLS-file is uploaded
Thank you
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
eastler_dart
Joined: 11 Feb 2009 Posts: 32
|
Posted: Sun 12 Dec 2010, 17:53 Post subject:
|
|
hi all, hi zigbert,
thanks a lot, works fine.
But the languagefile misses some entries.
So I have added them, you get it via pm.
I think, this was not the last proggy from you
i will use
thanks again
Eastler
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5245 Location: Valåmoen, Norway
|
Posted: Mon 13 Dec 2010, 16:25 Post subject:
|
|
eastler_dart
Thank you for your effort!
wow has already made another attempt to improve the LANG detection (like in Pmusic, Pburn.....)
I will upload soon
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
|