Notices


Reply
Thread Tools
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#81
Nope.
But trying out it sometimes work but most often not.

Check this way (works):
mark one file on left pane, press tab, mark another file on right pane, press ctrl-x ctrl-d. Now the two files below the marked ones (those with the cursor highlight) will be compared. [did not check the way if there is only one file in dir, maybe select .. ?]

So yes really buggy.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#82
Originally Posted by chill View Post
Has anybody tried to Command->Compare Files? It pops up an error window, saying two files are needed to compare. I do select two files (using Crtl t) before trying to compare.
Via ssh I spotted the following, in amongst the mess of text that I get (the ncurses display gets somewhat corrupted it seems but will restore):

Code:
diff: unrecognised option '--old-group-format=%df%(f=l?:,%dl)d%dE'
Busybox version of diff is the issue: mc issues incorrectly formatted string. Is there a maemo diffutils?

Last edited by handaxe; 2014-04-22 at 18:24.
 

The Following 3 Users Say Thank You to handaxe For This Useful Post:
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#83
MC in maemo-extras seems to have broken dependencies, so doesn't install, is blocking installation via HAM of any previously existing working version, and it seems there are several severe bugs in it.
My *private* take on it: should get rolled back (I.E. demoted resp removed from maemo-extras), and tester team needs some refresh about what testing means and how it should get done, then author should provide a fixed version to maemo-extras-testing so testers can do a better job than done this time.
Until new approval by testing team the previous (working) MC version shall be available for regular users vie maemo-extras.

again, this is my private notion, not related to or backed up by maemo council.
Please comment.

/j
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
 

The Following 6 Users Say Thank You to joerg_rw For This Useful Post:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#84
Originally Posted by joerg_rw View Post
MC in maemo-extras seems to have broken dependencies, so doesn't install.... (much snipped)
I agree the last working version with standard installation steps should be available to users. The points about testing are also true but things will slip by particularly with an app as multifaceted as mc.

The update is also welcome if these issues can be solved quickly.

BTW, one more vote needed for libslang2. This should be ok to just vote on given that it comes from the sdk and thus is tested.
 
ginggs's Avatar
Posts: 306 | Thanked: 582 times | Joined on Mar 2012
#85
Originally Posted by handaxe View Post
Busybox version of diff is the issue: mc issues incorrectly formatted string. Is there a maemo diffutils?
There is diffutils-gnu. It may be possible to depend on that and use gdiff instead of diff.
Originally Posted by handaxe View Post
BTW, one more vote needed for libslang2. This should be ok to just vote on given that it comes from the sdk and thus is tested.
I don't get notified of votes, so if anyone casts the sixth vote, please post in this thread and I'll promote libslang2.
 

The Following 3 Users Say Thank You to ginggs For This Useful Post:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#86
Originally Posted by ginggs View Post
There is diffutils-gnu. It may be possible to depend on that and use gdiff instead of diff.
That will work, as I tested it with a symlink from /usr/bin/gdiff to /usr/bin/diff.

However, we must consider what else in mc is borked with busybox versions of standard 'nix utils.
 
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#87
Originally Posted by peterleinchen View Post
Nope.
But trying out it sometimes work but most often not.

Check this way (works):
mark one file on left pane, press tab, mark another file on right pane, press ctrl-x ctrl-d. Now the two files below the marked ones (those with the cursor highlight) will be compared. [did not check the way if there is only one file in dir, maybe select .. ?]

So yes really buggy.
MC will compare the two files which are currently under the cursor (selected, not tagged). This works, at least in my case, consistently fine.
 

The Following 2 Users Say Thank You to reinob For This Useful Post:
ginggs's Avatar
Posts: 306 | Thanked: 582 times | Joined on Mar 2012
#88
I've promoted libslang2 now. Thanks voters!
 

The Following 4 Users Say Thank You to ginggs For This Useful Post:
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#89
Originally Posted by handaxe View Post
That will work, as I tested it with a symlink from /usr/bin/gdiff to /usr/bin/diff.

However, we must consider what else in mc is borked with busybox versions of standard 'nix utils.
Please note that some users might want to get rid of the symlinks
/usr/bin/g* -> /usr/bin/gnu/\1
Please use the /usr/bin/gnu/* instead in mc. Even better: provide an env or config option to override the path where to look for binaries first, or do same for the FQN of all binaries you call.
Wait, maybe my coffee not yet kicked in...
Code:
PATH=/usr/bin/gnu:$PATH mc
(which might be the reason why I didn't notice the problem in previous mc?)

Code:
IroN900:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin/gnu:/usr/sbin:/usr/bin/gnu:/usr/bin:/sbin:/bin:/usr/bin/X11
IroN900:~# export PATH2=$PATH
IroN900:~# export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
IroN900:~# diff --version
bash: diff: command not found
IroN900:~# gdiff --version
diff (GNU diffutils-gnu) 2.8.1
Copyright (C) 2002 Free Software Foundation, Inc.

Dieses Programm wird ohne Gewährleistung geliefert, soweit dies
gesetzlich zulässig ist. Sie können es unter den Bedingungen der GNU
General Public License weitergeben. 
Details dazu enthält die Datei COPYING.

Geschrieben von Paul Eggert, Mike Haertel, David Hayes,
Richard Stallman und Len Tower.
IroN900:~# mc
#see picture / screenshot
IroN900:~# mc --version
GNU Midnight Commander 4.7.4
Virtuelles Dateisystem: cpiofs, tarfs, sfs, extfs, ftpfs, fish
Mit eingebautem Editor
Verwende die ncurses-Bibliothek
Mit standardmäßiger Subshell-Unterstützung: 
Mit Unterstützung für Hintergrundtätigkeiten
Mit Maus-Unterstützung für xterm
Mit Internationalisierungs-Unterstützung
Mit mehrfach Codepage-Unterstützung
Datentyp: char: 8; int: 32; long: 32; void *: 32; size_t: 32; off_t: 64;
IroN900:~#
http://wstaw.org/m/2014/04/23/plasma...opr31889_1.png

with my original resp PATH2: http://wstaw.org/m/2014/04/23/plasma-desktopL31889.png
/j
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2014-04-23 at 14:19.
 

The Following 3 Users Say Thank You to joerg_rw For This Useful Post:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#90
Originally Posted by joerg_rw View Post
with my original resp PATH2: ...(snip)
Was that path modified by the installation process of that mc version or by you? I ask because if the latter then mc never met the standard outlined (correctly) by you above.
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:15.