Hello,
I posted some months ago this problem :
When I want to modify some files with Konqueror and kedit, from a remote computer server on my local computer (sftp), the file is downloaded in a tmp trinity directory. When it is saved, I have to upload it to the server. This is a waste of time, if I must modify many files.
If I use "kate" (instead kedit), I dont'have this problem.
Strange, on my laptop, with * strictly * the same configuration than my workplace computer, kedit saves directly the files on the remote server.
Not so important, kate is good, it's just to understand.
Happy day,
André
On 02/19/2019 05:43 AM, andre_debian@numericable.fr wrote:
I posted some months ago this problem :
When I want to modify some files with Konqueror and kedit,
kedit does not use the katepart backend and is fundamentally different from kwrite/kate. I've not looked, but it will likely use a default sftp_kio instead of one that is integrated within the editor.
I suspect this is the cause of the tmpfile, and upload behavior. If you want a single document interface use kwrite. If you want a multi-document iterface, use kate. Look on kedit as the blacksheep of the editor family.
On Tuesday 19 February 2019 20:59:07 David C. Rankin wrote:
On 02/19/2019 05:43 AM, andre_debian@numericable.fr wrote:
I posted some months ago this problem : When I want to modify some files with Konqueror and kedit,
kedit does not use the katepart backend and is fundamentally different from kwrite/kate. I've not looked, but it will likely use a default sftp_kio instead of one that is integrated within the editor. I suspect this is the cause of the tmpfile, and upload behavior. If you want a single document interface use kwrite. If you want a multi-document interface, use kate. Look on kedit as the blacksheep of the editor family.
Kwrite has the same bevahior as Kedit. Kate has the right behavior, no upload necessary, direct modification on the remote computer.
Strange than some txt files needs an upload, and others as .php with Kwrite and Kedit, not.
André
On 02/21/2019 01:45 PM, andre_debian@numericable.fr wrote:
Kwrite has the same bevahior as Kedit. Kate has the right behavior, no upload necessary, direct modification on the remote computer.
Strange than some txt files needs an upload, and others as .php with Kwrite and Kedit, not.
André
When I was building trinity for arch, I would use kate and have about 110 PKGBUILD files opened via sftp. It worked really well. No slowness issues, etc. I never noticed a different behavior with kwrite at the time, but never really checked that closely with kwrite.
Checking with kwrite, I do get a temp file in /tmp/kde-david. Good to know, but for the size of the files I generally work with, I never noticed that behavior before.
Since kwrite uses the kpart backend, I'm surprised there is the difference. I guess for a single file, it probably didn't make sense to do something different than the default.