[Pkg-mc-devel] [Bug 31757] Re: mc external editor does not write changes on remote file systems

Samuel 31757 at bugs.launchpad.net
Thu Sep 16 05:29:06 UTC 2010


16/09/10 - can be rperoduced  in MC  version:

GNU Midnight Commander 4.7.0.9
Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish, undelfs
With builtin Editor
Using system-installed S-Lang library with terminfo database
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
Data types: char 8 int 32 long 32 void * 32 off_t 64 ecs_char 8

-- 
mc external editor does not write changes on remote file systems
https://bugs.launchpad.net/bugs/31757
You received this bug notification because you are a member of Debian MC
Packaging Group, which is subscribed to Midnight Commander.

Status in Midnight Commander - text-mode file manager: New
Status in “mc” package in Ubuntu: Confirmed

Bug description:
Editing text files on remote file systems using the system editor (vim), not the built in one, does not work as expected. 

The buffer with a temporary file is opened and changed, but not written to target leaving with ":wq" . This is tested on my box for ftp and fish.

to get the effect do the following steps:

if not already done prepare mc not to use built in editor.
On an sshd running system establish a conection with:

1. cd #sh:localhost:
2. browse to an known file and open editor by pressing <F4>
3. do some edit
4. save an leave (use ":wq" on vim)

Editor is quitting without error - now the file should be changed

5. refresh window (ctrl+r)

use <F3> to prove ==> file is _not_ changed an no error was given.

This Bug was confirmed on german user Mailinglist
http://thread.gmane.org/gmane.linux.ubuntu.user.german/3618

"can reproduce on breezy"

GNU Midnight Commander 4.6.1
Version: 1:4.6.1-1ubuntu2~breezy1

VIM - Vi IMproved 6.3 (2004 June 7, compiled Aug 22 2005 17:27:07)
Version: 1:6.3-078+1ubuntu3

Friedrich

-------------------------------------------------------------------------------------------------
07/09/10 - 10:52
Bug reproduced on Ubuntu 10.04 LTS.
External editor: "gedit"
Connection: SSH
Editor only edits and saves tmp file, that MC downloads from remote server. No changes are made to actual remote file.






More information about the Pkg-mc-devel mailing list