Kio fish

From ThorstensHome
Revision as of 22:42, 13 February 2009 by WikiSysop (Talk)

Jump to: navigation, search

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

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

< #open(DEBUG,">/tmp/kio_fish.debug.$$.log");
> open(DEBUG,">/tmp/kio_fish.debug.$$.log");
> print DEBUG "hallo2";
> print DEBUG "the command is $_";
> print DEBUG "entering write_loop";

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

killall kio_fish 

before changes to 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:~ #