pFind 6.3

Filemanagers, partitioning tools, etc.
Message
Author
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#681 Post by don570 »

Bulldog finder http://murga-linux.com/puppy/viewtopic.php?t=78592
searches for text in a group of files differently than pfind.

First the files are found ---. for example the extension .txt

Then click the button for search for text inside.

__________________________________________

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#682 Post by Sailor Enceladus »

I also found this, it's working for me in Slacko 6.3:
https://sourceforge.net/projects/docx2txt/files/docx2txt/v1.4/

You just type ./docx2txt.sh yourfile.docx and it converts docx to txt.

No more programs needed to read docx. Now I can read these "saved in unfortunate cryptic format" files in leafpad. :D

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#683 Post by don570 »

I use the perl script and pipe it into leafpad

Code: Select all

./docx2txt.pl yourfile.docx  | leafpad 

phat7
Posts: 179
Joined: Fri 05 Jun 2015, 08:54

#684 Post by phat7 »

How does this help to find text in docx file with pfind?

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#685 Post by don570 »

Nothing. But I thought that Zigbert should know that piping text into
leafpad is possible. For instance the list of files and their paths could be
piped into leafpad. I find that list valuable sometimes.

__________________________________________________

phat7
Posts: 179
Joined: Fri 05 Jun 2015, 08:54

#686 Post by phat7 »

don570 wrote:Nothing. But I thought that Zigbert should know that piping text into
leafpad is possible. For instance the list of files and their paths could be
piped into leafpad. I find that list valuable sometimes.
OK, didn't notice that you opened a different topic. Do you use that in Bulldog finder?

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#687 Post by don570 »

No because I just learned about leafpad abilities :lol:

but it is an interest and useful feature.
Doesn't work properly with arm processor though.

Foreign characters aren't translated properly during the piping.
____________________________________________

phat7
Posts: 179
Joined: Fri 05 Jun 2015, 08:54

#688 Post by phat7 »

don570 wrote:Foreign characters aren't translated properly during the piping.
What is a foreign character? I have no problems with Vietnamese characters.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#689 Post by don570 »

What is a foreign character?
I mean accented characters like German and French.

When I was using barry K quirky arm distro

Code: Select all

./docx2txt.pl yourfile.docx  | leafpad
didn't pipe the accented characters so I made a temporary file instead
then opened with geany

Code: Select all

./docx2txt.pl yourfile.docx  >  temp.txt
geany  temp.txt
I don't think I had this problem in fatdogarm.
There's no problem in Intel 386 machines.

________________________________________

phat7
Posts: 179
Joined: Fri 05 Jun 2015, 08:54

#690 Post by phat7 »

don570 wrote: When I was using barry K quirky arm distro

Code: Select all

./docx2txt.pl yourfile.docx  | leafpad
didn't pipe the accented characters so I made a temporary file instead
then opened with geany

Code: Select all

./docx2txt.pl yourfile.docx  >  temp.txt
geany  temp.txt
I don't think I had this problem in fatdogarm.
There's no problem in Intel 386 machines.

________________________________________
Funny. Did you try leafpad's --codeset option?

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#691 Post by don570 »

I'll try that and see what happens.

________________________________

B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#692 Post by B.K. Johnson »

Hello Zigbert
I am using tahr-6.0.5 with pFind-6.1 OOTB.

When pFind is invoked via Menu>Filesystem, the searchbox is populated with "Search text", and changes to blank as the cursor gets there. The purpose I presume is to inform the user to enter the target text in the window. I think a combination of a static "Enter Search text" label below an empty window and code change will achieve the same objective but without the undesirable results described below.

For purposes of "copy/paste" text, I usually highlight the text and use the middle button of the mouse to paste. It is faster and uses fewer mouse clicks than right-click+Copy/Paste [Ctl-C/Ctl-V] which I use less often. If I hightlight a search target somewhere and invoke pFind, the highlighted text buffer is clobbered and replaced with "Search text" and the middle mouse button doesn't work. Would you please consider modifying the code to at least avoid the clobbering? You could retain the hiding "Search text" in the window and modify the code to avoid the clobbering or replace the hiding "Search text" with a static "Enter Search text" label as suggested above and code to not clobber the buffer. Your choice of course.

TIA
[color=blue]B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM[/color]

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#693 Post by zigbert »

B.K. Johnson
Thank you for the feedback.
I will consider your suggestion...

Sigmund

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#694 Post by disciple »

I had an idea you'd found a way to display it there but make it disappear when you click there... am I imagining it?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#695 Post by don570 »

A suggestion:

When there is more that 500 results, then automatically save a text file
of the paths in /root or $HOME folder and warn user .

Going to home is easier than /tmp

________________________________________

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#696 Post by zigbert »

disciple wrote:I had an idea you'd found a way to display it there but make it disappear when you click there... am I imagining it?
Yes, that is possible, but the textfield (entry) has the default focus to write your search strings without any clicking...

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#697 Post by don570 »

I made a right click utility (pfind plus) for the distros that don't have a right click available to search in folder.

http://murga-linux.com/puppy/viewtopic.php?t=110596

Pelo

Use pFind more !

#698 Post by Pelo »

I am surprised that people don't use pFind more, so efficient..
Files used in july 2017 (choose extension, personal or system, and date range)
atime = access time
ctime = change time
Users complain that not working with personal files ? here
Attachments
5.0.4.jpg
personal files version 5.0.4
(38.04 KiB) Downloaded 338 times
Last edited by Pelo on Mon 31 Jul 2017, 03:18, edited 1 time in total.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#699 Post by bigpup »

I am surprised that people don't use pFind more, so efficient..
We do use it!!
It just works, so not much to talk about.
Well, it does everything I want a file search program to do!
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Pelo

Bigpup, i agrrreee.

#700 Post by Pelo »

Bigpup, i agrrreee. No need to create scripts to do what Pfind does. Never mind..
What would be nice is to sort results by date, or other criteria. I fail with that.

Post Reply