Difference between revisions of "Kio fish"

From ThorstensHome
Jump to: navigation, search
Line 23: Line 23:
 
I had to learn this only works if you copy from fish:// to fish://. As soon as you copy from file:// to fish://, .fishsrv gets created freshly and all the work gets wiped out.
 
I had to learn this only works if you copy from fish:// to fish://. As soon as you copy from file:// to fish://, .fishsrv gets created freshly and all the work gets wiped out.
 
Now as I write this the work even gets wiped if you copy from fish:// to fish://.
 
Now as I write this the work even gets wiped if you copy from fish:// to fish://.
 +
 +
I also have to do a killall perl:
 +
tweedleburg:~ # ps -A | grep perl
 +
26286 pts/2    00:00:00 perl
 +
tweedleburg:~ # ps -ef | grep perl
 +
root    26286 26279  0 21:46 pts/2    00:00:00 perl -e $|=1; print "### 100 transfer fish server\n"; while(<STDIN>) { last if /^__END__/; $code.=$_; } exit(eval($code));
 +
root    26296 24860  0 21:47 pts/4    00:00:00 grep perl
 +
tweedleburg:~ #

Revision as of 21:42, 13 February 2009

This is a "blog" from me how I try to understand kio_fish.

I go and edit ~/.fishsrv.pl. There I add a little debugging output:

diff .fishsrv.pl .fishsrv2.pl
10c10,12
< #open(DEBUG,">/tmp/kio_fish.debug.$$.log");
---
>
> open(DEBUG,">/tmp/kio_fish.debug.$$.log");
> print DEBUG "hallo2";
90a93
> print DEBUG "the command is $_";
264a268
> print DEBUG "entering write_loop";

The file /tmp/kio_fish.debug... gets written. I change .fishsrv.pl again - no effect. I have to

killall kio_fish 

before changes to .fishsrv.pl get active.

When deleting a file and pasting it afterwards, the debugging output looks like this:

hallo2the command is DELE /root/bin/bandit.zipthe command is STAT /root/binthe command is STAT /root/bandit.zipthe command is LIST /root/bin/bandit.zipthe command is CHMOD 644 /root/bin bandit.zipthe command is LIST /root/bin

I had to learn this only works if you copy from fish:// to fish://. As soon as you copy from file:// to fish://, .fishsrv gets created freshly and all the work gets wiped out. Now as I write this the work even gets wiped if you copy from fish:// to fish://.

I also have to do a killall perl:

tweedleburg:~ # ps -A | grep perl
26286 pts/2    00:00:00 perl
tweedleburg:~ # ps -ef | grep perl
root     26286 26279  0 21:46 pts/2    00:00:00 perl -e $|=1; print "### 100 transfer fish server\n"; while(<STDIN>) { last if /^__END__/; $code.=$_; } exit(eval($code));
root     26296 24860  0 21:47 pts/4    00:00:00 grep perl
tweedleburg:~ #