Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 23 Nov 2014, 06:25
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
pProcess 2.3.2 - Process manager
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 5 [64 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
playdayz


Joined: 25 Apr 2008
Posts: 3789

PostPosted: 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
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7082
Location: Perth, Western Australia

PostPosted: 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/news/
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5785
Location: Valåmoen, Norway

PostPosted: 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. Embarassed Some idiot has uploaded wrong code. Smile 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
View user's profile Send private message Visit poster's website 
tubby

Joined: 24 Jan 2009
Posts: 317

PostPosted: 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
View user's profile Send private message 
wow

Joined: 29 Jun 2006
Posts: 988
Location: Peru

PostPosted: 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
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5785
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
wow

Joined: 29 Jun 2006
Posts: 988
Location: Peru

PostPosted: Wed 18 Aug 2010, 13:10    Post subject:  

No problem.
Back to top
View user's profile Send private message 
wow

Joined: 29 Jun 2006
Posts: 988
Location: Peru

PostPosted: 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 Embarassed

_________________

Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5785
Location: Valåmoen, Norway

PostPosted: Sun 29 Aug 2010, 03:18    Post subject:  

Fixed! Smile
_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5785
Location: Valåmoen, Norway

PostPosted: Sun 29 Aug 2010, 12:25    Post subject:  

bump
_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4376

PostPosted: 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

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
eastler_dart

Joined: 11 Feb 2009
Posts: 32

PostPosted: 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 Sad

Also go direct to http://www.meownplanet.net/zigbert/ does not show an NLS-Pet for pprocess Sad

Do you have one? Please, can you put it online?

Thanks a lot

Eastler
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5785
Location: Valåmoen, Norway

PostPosted: 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 Sad
NLS-file is uploaded Smile


Thank you
Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
eastler_dart

Joined: 11 Feb 2009
Posts: 32

PostPosted: 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 Wink

thanks again

Eastler
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5785
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 3 of 5 [64 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Jump to:  

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


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0758s ][ Queries: 13 (0.0059s) ][ GZIP on ]