Page 3 of 4

Posted: Tue 14 Dec 2010, 20:07
by zigbert
version 2.2.2
- Bugfix: show value of $LOC_SERACHTEXT

Pprocess 2.2.2

Posted: Fri 21 Jan 2011, 15:45
by wuwei
In Wary 5.0 pprocess 2.2.2 behaves very unexpectedly.

When I try to run pprocess it opens for a split second and crashes immediately. Terminal gives me a reference to line 146.
This is a frugal install of Wary with a pupsave file.

When I install the tar.gz of version 0.3 from page 1 of this thread it runs fine.

Pprocess 2.2.2 works when I boot Wary with pfix=ram. So it is not a bug in pprocess.

Consequently I must have done something which causes this behavior and which is retained in the pupsave file.
Short of reinstalling and building a fresh pupsave file, do you have any idea for a possible remedy of this situation?

Re: Pprocess 2.2.2

Posted: Fri 21 Jan 2011, 19:43
by sc0ttman
Pprocess crashes for me using Puppy 4.2 (specifically puplite 3.0)

It appears for a second, and then disappears..

I checked the terminal. it reports many errors similar to this:

Code: Select all

gtkdialog:1941 **: gdk_pixmap_new: assertion [blah]
Although it did work when I updated libc, glib, and many others

Posted: Sun 23 Jan 2011, 05:57
by disciple
FWIW I booted 4.1.1 with pfix=ram and installed Pprocess 2.2.2 and it worked fine.

Posted: Sun 23 Jan 2011, 13:15
by zigbert
Version 2.2.3
See main post

Changelog
- Bugfix: While-loop kept running after pprocess was closed.

Posted: Sun 21 Aug 2011, 07:05
by zigbert
Version 2.2.4
See main post

Changelog
- Bugfix: End all pids after quit. (thanks to playdayz)
- Bugfix: Detect macrolanguage (fr, en..) when lang contains utf or similar post info.

Posted: Tue 24 Jul 2012, 09:21
by Makoto
Are there any archives of the previous versions of pprocess? I'm using Puppy 4.3.1, and the latest version doesn't work for me (I'm guessing, because of the updated gtkdialog requirement).

What would be the latest version that would work with Puppy 4.3.1, as I think I was also told, a while back, that updating gtkdialog on 4.3.1 wasn't an easy thing to do... :oops:

Posted: Tue 24 Jul 2012, 10:51
by zigbert
Makoto
Please try 2.1.1
I think that one should be good for you

Posted: Tue 24 Jul 2012, 14:26
by Makoto
Thanks!

I'll try to take a look at it later, today. :)

Posted: Wed 25 Jul 2012, 10:46
by Makoto
...Sorry for the late reply; spent nearly the entire day helping someone move. Argh. @_@

Actually, I found my archive of downloaded versions - I have 2.2.0, 2.2.2 and 2.2.4, the versions before 2.2.4 I was using with my previous Puppy 4.3.1 setup. :oops: 2.2.2 seems to be working fine. :)

(...well, I hope. I'm assuming that's the version I had been using, since my archive only has those three versions in it. I'd installed it some time ago on my previous setup, and it's since gone down for good, so I can't check. :( )

Posted: Fri 27 Jul 2012, 20:34
by zigbert
Version 2.2.5
See main post

Changelog
- Bugfix: Call for gtkdialog4
- Bugfix: Do not allow more than one detected langauge. (thanks to shinobar)

Posted: Mon 30 Jul 2012, 05:55
by zigbert
Version 2.3.0
See main post

Changelog
- Use gettext for NLS (thanks to rodin.s)

Posted: Mon 30 Jul 2012, 15:39
by zigbert
Version 2.3.1
See main post

Changelog
- Adjust gettext to work with updated MoManager (thanks to L18L)

Posted: Mon 30 Jul 2012, 23:33
by BarryK
zigbert wrote:Version 2.3.1
See main post

Changelog
- Adjust gettext to work with updated MoManager (thanks to L18L)
I may have been too hasty putting that solution into Woof, see discussion in my blog.
I will reconsider this again this evening.

Posted: Tue 31 Jul 2012, 07:12
by zigbert
No problem at all.
I'll keep an eye on it

Posted: Wed 01 Aug 2012, 09:23
by zigbert
Version 2.3.2
See main post

Changelog
- Adjust gettext to work with updated MoManager (thanks to BarryK)

Posted: Wed 08 May 2013, 13:06
by technosaurus
I was playing around with awk to learn how to store associative arrays and ended up coming up with a way to replace ps that is almost as fast but with better configurability option ... so in case it is useful:

Code: Select all

#usage: my_ps [Options]
#Options
#Name:State:Tgid:Pid:PPid:TracerPid:Uid:Gid:FDSize:Groups:VmPeak:VmSize:VmLck:VmPin:VmHWM:VmRSS:VmData:VmStk:VmExe:VmLib:
#VmPTE:VmSwap:Threads:SigQ:SigPnd:ShdPnd:SigBlk:SigIgn:SigCgt:CapInh:CapPrm:CapEff:CapBnd:Seccomp:Cpus_allowed:
#Cpus_allowed_list:voluntary_ctxt_switches:nonvoluntary_ctxt_switches
my_ps(){
echo $@ | awk 'BEGIN{FN=0}
	FNR==1{FN++}
	FN==1{
		argc=NF
		for(j=0;j<NF;j++){
			argv[j]=$(j+1)
			field[FN][$(j+1)]=$(j+1)
		}
	}
	FN>1{
		title=substr($1,0,length($1)-1)
		$1=""
		field[FN][title]=$0
	}
	END{
		for(i=1;i<FN;i++){
			for(j=0;j<argc;j++){
				printf "%-20s\t", field[i][argv[j]]
			}
			printf "\n"
		}
	}
' - /proc/*/status
}
for gtkdialog you'd probably want to change the formatting fron printf "%-20s\t", field[argv[j]] to printf "%s|", field[argv[j]]
and replace the last printf "\n" with printf "<something useful>\n"

Posted: Mon 13 May 2013, 15:58
by zigbert
technosaurus
Thank you.
your alternative ps is noted, and will be considered by a major upgrade.

Your awk-thread is very helpful, and I am getting some basic knowledge of awk. Used in the right places, awk is like speed-of-light compared to bash.
I am thankful


Sigmund

Posted: Mon 13 May 2013, 17:39
by technosaurus
zigbert wrote:Used in the right places, awk is like speed-of-light compared to bash.
Its not really faster per se, but its faster than using bash + all the extra utilities to get the same functionality as awk.

btw if you decide you want to use it let me know and I can rework it to play well with busybox awk (switch from using 2d arrays)