Re: mc.ext is problematic by nature

2012-04-21 Thread Hartmut Figge
László Monda:
2012/4/8 Szabó Gergely s...@subogero.com:

 What would you do on a text-only Debian Squeeze server?

I'd check whether the shared-mime-info package (which implements the
above standards) is installed and not try to read system level
defaults if it's not.

On my Gentoo shared-mime-info is installed because of some dependencies,
but there is no desktop at all. Only icewm. There are no system level
defaults. ;)

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)



___
mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: Problem with renaming a file

2011-10-06 Thread Hartmut Figge
Andrew Borodin:
On Thu, 06 Oct 2011 16:39:15 +0200 Hartmut Figge wrote:

 Steps to reproduce:
 mkdir mc-test
 cd mc-test
 touch attachment.cgi?id=564208
 mc
 Point to this file, press F6, type the letter a then ESC then TAB, press
 Home, then patch_ and then the button OK.

Yes, I confirm this bug. Special chars like ? should be escaped while
autocompletion file names. Would you create a ticket in midnight-commander.org?
Shift-F6 works as expected.

Hm, the PM arrived earlier and was already answered. I will copy my
reply below.

---
Too complicated. I do not see an explanation how to file a bug there and
searching the wiki leads to

| Creating a custom report requires a comfortable knowledge of SQL.

Well, i do know nothing about SQL. *g* It would be nice if you could
open a ticket by yourself.

P.S.
Accessing https://www.midnight-commander.org/ gives
http://www.triffids.de/pub/screenshot/mc111006.png
---

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)

___
mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Problem with question mark in the filename

2010-07-29 Thread Hartmut Figge
Greetings,

i know that this is not the right place to open a bug, but i do miss a
guide 'how to submit bugs for mc' on
http://www.midnight-commander.org/wiki. ;)

Often i download patches for SeaMonkey and get files with a question
mark. One example is
https://bug579736.bugzilla.mozilla.org/attachment.cgi?id=458928. Using
wget to fetch this patch gives a file with the name
attachment.cgi?id=458928.

My build script for SM will automatically apply this patch. If i wish to
disable a patch for the next build a convenient way is to rename the
file by prefixing the filename with an x.

mc should be able to do this. But. *g*

Here is a testcase.

Create a new temp dir and change to it. Then issue
touch a1?b2
mc
Navigate to a1?b2 and press F6
a ESC TAB Home x gives xa1?b2 as intended
The filename changes to xa1a1?b2b2 after confirmation.

This result isn't really that one which was wanted. I am using

h...@e675 ~ $ mc --version
GNU Midnight Commander 4.7.3
[...]

Hartmut

___
mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: Problem with question mark in the filename

2010-07-29 Thread Hartmut Figge
Slava Zanko:

Bugfix already in 'master' branch (in our git-repo) and this bugfix
awaiting for next release.

:)

Hartmut

___
mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: Problem with question mark in the filename

2010-07-29 Thread Hartmut Figge
Yury V. Zaytsev:
On Thu, 2010-07-29 at 14:19 +0200, Hartmut Figge wrote:

 a ESC TAB Home x gives xa1?b2 as intended
 The filename changes to xa1a1?b2b2 after confirmation.

I can't reproduce this, because after Esc Tab I don't get the filename
filled in on 4.7.0.7, [...]

Perhaps i was not clear enough. Before pressing ESC you have to press
the key a which is the beginning of the filename.

Hartmut

___
mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


4.7.0-pre4: Copying multiple lines into the editor is broken

2009-11-18 Thread Hartmut Figge
Greetings,

select more than one line e.g. in an xterm, in the viewer of mc or in
emacs and try to paste them with a middle-cklick of the mouse into the
editor of mc.

Well, even in old versions it was necessary to hold down the Shift-Key
while pressing the middlemouse button. This continues, unfortunately.
But now the Linefeeds at the end of the lines are suppressed and as a
result all lines are are connected to a single line.

This makes the copy a block of code into the mc editor quite useless.

Hartmut

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: 4.7.0-pre4: Copying multiple lines into the editor is broken

2009-11-18 Thread Hartmut Figge
Hartmut Figge:

select more than one line e.g. in an xterm, in the viewer of mc or in
emacs [...]

Perhaps i should have mentioned 'select with the mouse'.

Hartmut

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: 4.7.0-pre4: Copying multiple lines into the editor is broken

2009-11-18 Thread Hartmut Figge
Sergei Trofimovich:

http://www.midnight-commander.org/ticket/1710

Thanks. This pointed me to http://www.midnight-commander.org/wiki which
i wasn't aware of. Because of 'mc -help' mentioned mc-devel@gnome.org i
had simply searched in news.gmane.org. *g*

Hartmut

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: 4.7.0-pre4: Copying multiple lines into the editor is broken

2009-11-18 Thread Hartmut Figge
Hartmut Figge:

i wasn't aware of. Because of 'mc -help' mentioned mc-devel@gnome.org i


Hm, how did this happen? my Sent Folder shows
http://www.triffids.de/pub/screenshot/mc091118.png (6 KB)

Interesting. :)

But this has nothing to do with mc, so forget ist.

Hartmut

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: Viewer in 4.7.0-pre4

2009-11-16 Thread Hartmut Figge
Slava Zanko:

Hmm... looks like no have permissions for change your ~/.mc/history file.

And you are right with this. 'root root 0600' for history.

Do you use Ubuntu? Or is you run mc as 'sudo mc' instread of 'sudo su -l
- -c mc'?

I'm using Gentoo which offers only the 4.7.0* at the moment for mc. And
yes, sometimes i use 'sudo mc' to edit e.g. something in /etc.

try to change owner of your 'history' file and try again.

I have deleted history and also filepos which had 'root root 0644'. As
far i can see at the moment all seems to work well now.

And even 'sudo mc' doesn't change the ownership of history or filepos. :)

P.S. 4.7.0-pre4 don't change owner of ~/.mc files. But if owner was
changed before this release, then this situation may be raised. In
opposite, if ~/.mc/* files will have proper owner, then 4.7.0-pre4 will
not change owner of these files.

It's likely that i have had all previous versions of 4.7.0* on my
machine. One of them may have caused the behavior.

Hartmut, happy again

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Viewer in 4.7.0-pre4

2009-11-13 Thread Hartmut Figge
Greetings,

in 4.7.0-pre4 when searching a file in the viewer the search term is
forgotten when trying to find the next occurrence of a match.

Furthermore, in older releases of mc the search term was remembered at
the next file. The search box was was filled out beforehand with the old
term.

Very convenient and i miss it.

Hartmut

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel