Bug in mc

2012-10-01 Thread Jakusev, Alexandr
Hi all,

I have a problem running mc on Solaris :

$ mc --version
GNU Midnight Commander 4.8.5
Built with GLib 2.8.1
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm
With support for X11 events
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, fish
Data types: char: 8; int: 32; long: 32; void *: 32; size_t: 32; off_t: 64;

Our system has an old version of diff that does not support -a flag. When mc 
invokes it for file comparison purposes, it returns error saying that such flag 
is not recognised. Upon such event, mc crashes happily. While there are many 
ways to work around this issue, I don't think that mc should crash.

Kind regards

Alex


___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: Creating Symlinks with defaul relative path

2012-10-01 Thread Jobst Hoffmann
Am Freitag, den 28.09.2012, 15:37 +0200 schrieb Carsten Richter:
 Hi there,
 
 When I am creating Symlinks in MC (using Ctrl-x s) i am spending quite
 some time for replacing the absolute by the relative one and I was
 wondering if it is possible to have the default path in the address line
 to be the relative one.
 
 Is there such an option or can it be implemented?

I think Ctrl-x v does the job

 
 Cheers,
 
 Carsten
 
 ___
 mc mailing list
 https://mail.gnome.org/mailman/listinfo/mc

Jobst

___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: Remapping keyboard shortcuts

2012-10-01 Thread Marco
 I am a very new to MC and have problems assigning the keyboard
 shortcuts. I'd like to map Up and Down to CTRL-j and CTRL-k. I
 thought the following settings in mc.keymap would do the job
 
 [panel]
 Down = ctrl-j; down
 Up = ctrl-k; up
 
 But unfortunately CTRL-j prints the file name on the console and
 CTRL-k does nothing. How can remap the keys?  

Any thoughts on this? Or is it that obvious that no one dares to
respond? Any help appreciated. Thanks


Marco

___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: Remapping keyboard shortcuts

2012-10-01 Thread Jan Synacek
On 10/01/2012 01:55 PM, Marco wrote:
 I am a very new to MC and have problems assigning the keyboard
 shortcuts. I'd like to map Up and Down to CTRL-j and CTRL-k. I
 thought the following settings in mc.keymap would do the job

 [panel]
 Down = ctrl-j; down
 Up = ctrl-k; up

 But unfortunately CTRL-j prints the file name on the console and
 CTRL-k does nothing. How can remap the keys?  
 
 Any thoughts on this? Or is it that obvious that no one dares to
 respond? Any help appreciated. Thanks
 

Does starting mc with '-K your keymap' help?


-- 
Jan Synacek
Software Engineer, BaseOS team Brno, Red Hat
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: Remapping keyboard shortcuts

2012-10-01 Thread Marco
2012-10-01 Jan Synacek jsyna...@redhat.com:

Hi Jan

 Does starting mc with '-K your keymap' help?

Unfortunately not, I get the same behaviour


Marco

___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: Remapping keyboard shortcuts

2012-10-01 Thread Marco
2012-10-01 Jan Synacek jsyna...@redhat.com:

 It seems as if mc didn't properly interpret keybinds that are not already in 
 the
 mc.keymap file (swapping keybinds that are already present in the file works).
 Looks like a bug to me.

Do I understand you right that it fails for you, too? If not, could
you please provide the simplest working configuration? e.g. the
terminal you use and the diff to the default mc.keymap


Marco

___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: Bug in mc

2012-10-01 Thread Andrew Borodin
On Thu, 27 Sep 2012 11:39:54 +0200 Jakusev, Alexandr wrote:
 Our system has an old version of diff that does not support -a flag. When mc
 invokes it for file comparison purposes, it returns error saying that such 
 flag
 is not recognised. Upon such event, mc crashes happily. While there are many
 ways to work around this issue, I don't think that mc should crash.

Update mc to recent 4.8.6 release. This bug is fixed as part of
https://www.midnight-commander.org/ticket/2873

-- 
Andrew
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc