Bug#592208: [Pkg-mc-devel] Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-10 Thread Yury V. Zaytsev
On Tue, 2010-08-10 at 14:37 +0200, Slavko wrote:

> our triumph was premature :-(

See the other fork of this thread for an explanation. If you what to get
rid of the wrappers you need a Debian-specific patch so that mc knows
that it should launch "mcedit" when evoked as "editor", which I already
committed to the package source.
 
-- 
Sincerely yours,
Yury V. Zaytsev




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#592208: Bug#592208: Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-10 Thread Yury V. Zaytsev
Hi!

On Tue, 2010-08-10 at 13:29 +0200, Michelle Konzack wrote:
> Am 2010-08-09 17:58:17, schrieb Yury V. Zaytsev:
> > It seems that I have found the reason. mc does not know that it should
> > launch mcedit when evoked as /usr/bin/editor.
> 
> Why does it not know?
> 
> The EXEC command in the Source should execute even a symlink.

Because it's the way it works:

http://svn.debian.org/wsvn/pkg-mc/trunk/debian/patches/debian/99_detect_alt_editor.patch

> However, since dist-upgrades over  two  versions  is  not  supported  by
> Debian, you could include a small code into  "mc.postinst"  which  check
> for old stuff laying around before it call "update-alternatives"...

Uhmmm?

I don't see what I can do in this regard. When mc is uninstalled, the
alternatives it provides are removed (and the alternatives are reset to
a best possible match). 

So I am not sure whether there is a way of checking that the alternative
for editor was previously manually set to mcedit-debian and force it to
become mcedit instead.

If this is indeed possible a patch would be welcome.
 
-- 
Sincerely yours,
Yury V. Zaytsev




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#592208: [Pkg-mc-devel] Bug#592208: Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-10 Thread Michelle Konzack
Hello Slavko,

Am 2010-08-09 16:03:59, schrieb Slavko:
> > It seems, that "mcedit-debian" should be removed since it is useless.
> 
> OK, i did this and now it now works :-)

Perfectly, then Yury, know how to solv it for the future.

Maybe we can get it into Squeeze even if it is frozen?

> thank you

Nothing to thanks, because "mc" is a tool I use daily and very heavy...
So I have to care about it.  ;-)

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

  
 

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


Bug#592208: Bug#592208: Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-10 Thread Michelle Konzack
Am 2010-08-09 17:58:17, schrieb Yury V. Zaytsev:
> It seems that I have found the reason. mc does not know that it should
> launch mcedit when evoked as /usr/bin/editor.

Why does it not know?

The EXEC command in the Source should execute even a symlink.

> I think that probably a Debian-specific patch is better than installing
> piles of problematic wrapper junk.

I agree with this.

> Only downside is that this change
> will mess up already set-up alternatives. 
> 
> Probably this is not too much of an issue as the sysadmin will notice it
> anyway during the update process.

Of course..

However, since dist-upgrades over  two  versions  is  not  supported  by
Debian, you could include a small code into  "mc.postinst"  which  check
for old stuff laying around before it call "update-alternatives"...

So, even Sysadmins have not to care about it.

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

  
 

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


Bug#592208: Bug#592208: Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-09 Thread Yury V. Zaytsev
On Mon, 2010-08-09 at 15:09 +0200, Michelle Konzack wrote:

> I have changed the "mc.postinst" file and re-runed "dpkg-reconfigure mc"
> but please can you rebuild toe package with this changement,  maybe  the
> buildsystem complain about it.
> 
> Or maybe Adam has used it du to an ancien bug in "mc"?

It seems that I have found the reason. mc does not know that it should
launch mcedit when evoked as /usr/bin/editor.

I think that probably a Debian-specific patch is better than installing
piles of problematic wrapper junk. Only downside is that this change
will mess up already set-up alternatives. 

Probably this is not too much of an issue as the sysadmin will notice it
anyway during the update process.
 
-- 
Sincerely yours,
Yury V. Zaytsev




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#592208: [Pkg-mc-devel] Bug#592208: Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-09 Thread Slavko
Ahoj,

Dňa Mon, 9 Aug 2010 14:57:18 +0200 Michelle Konzack
 napísal:

> It seems, that "mcedit-debian" should be removed since it is useless.

OK, i did this and now it now works :-)

thank you

-- 
s pozdravom

Slavko
http://slavino.sk


signature.asc
Description: PGP signature


Bug#592208: Bug#592208: Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-09 Thread Michelle Konzack
Am 2010-08-09 14:53:52, schrieb Yury V. Zaytsev:
> That's cool. Probably Adam was no better with the alternatives system
> than I am. I will try this fix out on Ubuntu kidos and then will
> struggle to get it uploaded into Debian.

I have changed the "mc.postinst" file and re-runed "dpkg-reconfigure mc"
but please can you rebuild toe package with this changement,  maybe  the
buildsystem complain about it.

Or maybe Adam has used it du to an ancien bug in "mc"?

Thanks, Greetings and nice Day/Evening
Michelle Konzack

--
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

  
 

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


Bug#592208: [Pkg-mc-devel] Bug#592208: Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-09 Thread Michelle Konzack
Am 2010-08-09 11:14:17, schrieb Slavko:
>   SelectionPathPriority   Status
> 
>   0/bin/nano40auto mode
>   1/bin/ed -100   manual mode
>   2/bin/nano40manual mode
> * 3/usr/bin/mcedit-debian   25manual mode
>   4/usr/bin/vim.tiny10manual mode
> 
> I tested change it to nano and vim too and both works fain with space
> in filename. If i use debian.mcedit as alternative, then space is used
> as separator...

OK, can you try following:

Open the file /var/lib/dpkg/info/mc.prostinst end change any references
from
mcedit-debian
to
mcedit

and then run

dpkg-reconfigure mc

then after this, retry the issue with  Midnight  Commander  and  editing
files and report it back.

It seems, that "mcedit-debian" should be removed since it is useless.

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

  
 

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


Bug#592208: Bug#592208: Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-09 Thread Yury V. Zaytsev
On Mon, 2010-08-09 at 14:50 +0200, Michelle Konzack wrote:
> > 
> > Whether it's true or not and if it is still needed or not I have no
> > clue. This would be a subject of an investigation on its own...
> 
> I have now tried it by changing the configs of "mc"
> from "mcedit-debian" to "mcedit" and it just works...

Hey!

That's cool. Probably Adam was no better with the alternatives system
than I am. I will try this fix out on Ubuntu kidos and then will
struggle to get it uploaded into Debian.

Thanks!!!
 
-- 
Sincerely yours,
Yury V. Zaytsev




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#592208: Bug#592208: Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-09 Thread Michelle Konzack
Hello Yury V. Zaytsev,

Am 2010-08-09 13:53:51, hacktest Du folgendes herunter:
> Hi!
> 
> On Mon, 2010-08-09 at 11:57 +0200, Michelle Konzack wrote:
> 
> > Maybe Debian should drop the thing with "mcedit-debian"?
> 
> This is actually something I don't understand either. 
> 
> It was added by Adam Byrtek  sometime at the beginning
> of the century (even before the package source got into a source control
> system) and until now, nobody run into this bug.
> 
> My guess is that maybe the alternatives system at that time didn't
> accept symlinks as valid editors, so he decided to create a wrapper
> instead to work around this problem.
> 
> Whether it's true or not and if it is still needed or not I have no
> clue. This would be a subject of an investigation on its own...

I have now tried it by changing the configs of "mc"
from "mcedit-debian" to "mcedit" and it just works...

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

  
 

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#592208: [Pkg-mc-devel] Bug#592208: Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-09 Thread Yury V. Zaytsev
Hi!

On Mon, 2010-08-09 at 11:57 +0200, Michelle Konzack wrote:

> Maybe Debian should drop the thing with "mcedit-debian"?

This is actually something I don't understand either. 

It was added by Adam Byrtek  sometime at the beginning
of the century (even before the package source got into a source control
system) and until now, nobody run into this bug.

My guess is that maybe the alternatives system at that time didn't
accept symlinks as valid editors, so he decided to create a wrapper
instead to work around this problem.

Whether it's true or not and if it is still needed or not I have no
clue. This would be a subject of an investigation on its own...
 
-- 
Sincerely yours,
Yury V. Zaytsev




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#592208: [Pkg-mc-devel] Bug#592208: Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-09 Thread Michelle Konzack
Am 2010-08-09 11:47:08, schrieb Yury V. Zaytsev:
> Try it out by circumventing sensible-editor: "EDITOR=mcedit mc".
> 
> I guess it's an issue with /usr/bin/mcedit-debian that we ship. It
> probably should have "$@" instead of just $...@. 
> 
> I'm not a big fan of this solution, but it appears that sensbile-editor
> only expects one argument (that is a file name), so we can live with it.
> 
> Ideas?

Hmmm, I am wondering WHY we have "mcedit-debian", if there is a symlink

lrwxrwxrwx 1 root root 2 19. Apr 2009  /usr/bin/mcedit -> mc

which works fine without the need for "mcedit-debian".
Even "mcedit-debian" is only calling

mcedit $@

and I am puzzeling why.

Maybe Debian should drop the thing with "mcedit-debian"?

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

  
 

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


Bug#592208: [Pkg-mc-devel] Bug#592208: Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-09 Thread Yury V. Zaytsev
Hi!

On Mon, 2010-08-09 at 11:03 +0200, Michelle Konzack wrote:

> Here too...
> 
> Does quoting depend on the shell used?

Good point, I have no idea. I have bash, OP has dash. I can't test dash
though, as I am not using Debian anyways :-)

What I can observe in the source code of do_edit_at_line 

fn = vfs_canon_and_translate (filename);
do_execute (command, fn, EXECUTE_INTERNAL);

is that it does not appear to do any quoting explicitly.

However, it launches the process with the arguments as it has, so the
process knows that it's a file name with a space in between.

Try it out by circumventing sensible-editor: "EDITOR=mcedit mc".

I guess it's an issue with /usr/bin/mcedit-debian that we ship. It
probably should have "$@" instead of just $...@. 

I'm not a big fan of this solution, but it appears that sensbile-editor
only expects one argument (that is a file name), so we can live with it.

Ideas?

Best,
 
-- 
Sincerely yours,
Yury V. Zaytsev




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#592208: [Pkg-mc-devel] Bug#592208: Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-09 Thread Slavko
Ahoj,

Dňa Mon, 09 Aug 2010 10:46:46 +0200 "Yury V. Zaytsev" 
napísal:

> On Mon, 2010-08-09 at 10:42 +0200, Yury V. Zaytsev wrote:
> 
> > I guess that if you configure mcedit as sensible-editor and turn on
> > "use external editor" switch in mc it might not quote the name
> > correctly. I didn't check this out though...
> 
> Hmmm... just tested my assumption. Seems to work fine. 
> I can't reproduce this bug.
>  

I have configured mcedit as editor, by alternatives:

There are 4 choices for the alternative editor (providing /usr/bin/editor).

  SelectionPathPriority   Status

  0/bin/nano40auto mode
  1/bin/ed -100   manual mode
  2/bin/nano40manual mode
* 3/usr/bin/mcedit-debian   25manual mode
  4/usr/bin/vim.tiny10manual mode

I tested change it to nano and vim too and both works fain with space
in filename. If i use debian.mcedit as alternative, then space is used
as separator...

-- 
s pozdravom

Slavko
http://slavino.sk


signature.asc
Description: PGP signature


Bug#592208: [Pkg-mc-devel] Bug#592208: Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-09 Thread Michelle Konzack
Am 2010-08-09 10:46:46, schrieb Yury V. Zaytsev:
> On Mon, 2010-08-09 at 10:42 +0200, Yury V. Zaytsev wrote:
> 
> > I guess that if you configure mcedit as sensible-editor and turn on "use
> > external editor" switch in mc it might not quote the name correctly. I
> > didn't check this out though...
> 
> Hmmm... just tested my assumption. Seems to work fine. 
> I can't reproduce this bug.

Here too...

Does quoting depend on the shell used?

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

  
 

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


Bug#592208: [Pkg-mc-devel] Bug#592208: Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-09 Thread Yury V. Zaytsev
On Mon, 2010-08-09 at 10:42 +0200, Yury V. Zaytsev wrote:

> I guess that if you configure mcedit as sensible-editor and turn on "use
> external editor" switch in mc it might not quote the name correctly. I
> didn't check this out though...

Hmmm... just tested my assumption. Seems to work fine. 
I can't reproduce this bug.
 
-- 
Sincerely yours,
Yury V. Zaytsev




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#592208: [Pkg-mc-devel] Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-09 Thread Yury V. Zaytsev
On Mon, 2010-08-09 at 10:34 +0200, Michelle Konzack wrote:

> In this case you are right.  However, here it has never used an external
> editor for viewing or editing.
> 
> How do you have configred mc?

I suspect that he is using it for sensible-editor and our
sensible-editor script contains the following:

mcedit $@

I guess that if you configure mcedit as sensible-editor and turn on "use
external editor" switch in mc it might not quote the name correctly. I
didn't check this out though...
 
-- 
Sincerely yours,
Yury V. Zaytsev




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-09 Thread Michelle Konzack
Am 2010-08-08 16:58:34, schrieb Slavko:
> and it works. But when i send filename to editor by pressing F4, this
> quoting must by done by mc.

In this case you are right.  However, here it has never used an external
editor for viewing or editing.

How do you have configred mc?

I have tried it (I use "mc" minutely since I write my  E-Mails  with  it
from mutt) and it does never use ${EDITOR} (set to "mcedit") or "editor"

I realy can not reproduce the problem.

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

  
 

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-08 Thread Slavko
Hi,

Dňa Sun, 8 Aug 2010 11:57:35 +0200 Michelle Konzack 
 napísal:

> HOW should "mc" know, you want to edit a singel file with  spaces
> or  a bunch of files?


I found in one traball file named "Read Me". I extract archive, open extracted 
dir in mc and by cursor keys i highligh this file and then i press F4 to edit 
it. IMHO, in this time, the mc sends highlighted name to editor, no mater if it 
is mcedit or other. And mc must know, that there is only one highlighted file.

If I want to open this file from shell, then i must quote it:

mcedit "Read me"

or by

mcedit Read\ Me

and it works. But when i send filename to editor by pressing F4, this quoting 
must by done by mc.


-- 
s pozdravom

Slavko
http://slavino.sk


signature.asc
Description: PGP signature


Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-08 Thread Michelle Konzack
Am 2010-08-08 09:40:39, schrieb Slavko:
> The mc can't open files with space(s) in names for editation by mcedit as
> external editor. When i press F4 on such file, the new empty file is opened 
> and
> named only by first part of the  real name -> "Mark read" is opened as empty
> "Mark" file. But editing such files by mcedit as internal editor is still
> posiible without any problems.

Ehm, if you use "mcedit" as external editor it is your job to quote  the
Filename or escape it.

HOW should "mc" know, you want to edit a singel file with  spaces  or  a
bunch of files?

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

  
 

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


Bug#592208: mc: Can't open files for edit (F4) with space in filenames

2010-08-08 Thread Slavko
Package: mc
Version: 3:4.7.0.6-1
Severity: important

The mc can't open files with space(s) in names for editation by mcedit as
external editor. When i press F4 on such file, the new empty file is opened and
named only by first part of the  real name -> "Mark read" is opened as empty
"Mark" file. But editing such files by mcedit as internal editor is still
posiible without any problems.



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=sk_SK.UTF-8, LC_CTYPE=sk_SK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mc depends on:
ii  libc6 2.11.2-2   Embedded GNU C Library: Shared lib
ii  libglib2.0-0  2.24.1-1   The GLib library of C routines
ii  libgpm2   1.20.4-3.3 General Purpose Mouse - shared lib
ii  libslang2 2.2.2-4The S-Lang programming library - r

Versions of packages mc recommends:
ii  mime-support  3.48-1 MIME files 'mime.types' & 'mailcap

Versions of packages mc suggests:
pn  arj(no description available)
ii  bzip21.0.5-4 high-quality block-sorting file co
pn  catdvi (no description available)
pn  dbview (no description available)
pn  djvulibre-bin  (no description available)
ii  evince [pdf-viewer]  2.30.3-1Document (postscript, pdf) viewer
ii  file 5.04-4  Determines file type using "magic"
pn  gv (no description available)
ii  imagemagick  7:6.6.0.4-2 image manipulation programs
pn  odt2txt(no description available)
ii  okular [pdf-viewer]  4:4.4.5-1   document viewer for KDE
ii  perl 5.10.1-13   Larry Wall's Practical Extraction 
ii  python   2.6.5-11interactive high-level object-orie
pn  python-boto(no description available)
pn  python-tz  (no description available)
ii  unzip6.0-4   De-archiver for .zip files
ii  w3m  0.5.2-7 WWW browsable pager with excellent
ii  zip  3.0-3   Archiver for .zip files

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org