Kio fish

From ThorstensHome
Revision as of 21:32, 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 ~/.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://.