Thanks much, aragon.
I guess pekwm users will be spoiled... Because, meanwhile...
Since stu's perl script was not working for me, I went back to work. Backtracking to the work I had done on pekwm for dpup-4.84, I re-discovered some ideas that I've put together here in a different manner.
So I came up with a pekwm menu generator based on the jwm menu, through jwm2pekwm, that was available at the time. (It still is.)
Basically, beforehand, I cut the pekwm menu in its essential pieces, and store them away safely. (This gives you also more freedom to edit/customize them.)
I then update my jwm menu with amigo & technosaurus' jwm menu utility.
You need this !
http://murga-linux.com/puppy/viewtopic. ... 26&t=70804 (It's not included in my pekwm menu-generation pet.)
I then run jwm2pekwm.
I then save the "SESSION" part of the resulting "jwm menu" separately, to reappend it at the end of the process/pekwm menu.
The more, tail and head utilties are most useful in this recreation.
You can see how it is done in more detail if you read the main script, "generate-pekwm-menu", and the "menugen" script.
I've included some illustrations.
It took me a while to refine the integration of the parts, but it works well now. Only problem: expect a delay of a little over a minute for the processing. Some messages will tell you when the new menu is ready.
To activate your updated menu, you use your existing pekwm menu (which has not gone out of memory). Click on to the "reload" menu item in the pekwm submenu and wait 2 seconds. Then, right-click on an empty part of the desktop, and there you go! You've updated your pekwm menu!
A summary of pekwm key combinations and a help file are included. They will show up when you hit the "Keys" and "Help" menu items in the "pekwm" area.
Enjoy!