Re: Midnight Commander 4.8.16 released

2016-03-13 Thread Mike
Compiled fine over here, Arch 4.3.3. Lotsa unreachable code (maintenance release). No issues yet. The find dialog looks good, simpler can always be better. The find dialog results box still needs that title-content patch. https://www.midnight-commander.org/attachment/ticket/3453/patch01-find.c

Re: panel behaviour on rhel7

2016-03-13 Thread Mike
If you enable save on exit I think it remembers the last panels. or, check your bash aliases and stuff, sometimes mc has startup thing that forces home directory in startup panel. There's the -P option to save the last directory you were in. On 2016-03-13 11:41, solarflow99 wrote: Has anyone e

Re: Midnight Commander 4.8.16 released

2016-03-14 Thread Mike
On 2016-03-13 23:42, Yury V. Zaytsev wrote: On Sun, 13 Mar 2016, Mike wrote: Compiled fine over here, Arch 4.3.3. Lotsa unreachable code (maintenance release). No issues yet. Sounds like you still have GCC 4.5 or even earlier (surprising, given that you're running Arch). It is kno

Re: Midnight Commander 4.8.17 released

2016-05-08 Thread Mike
Thank you very much. IMHO, the way things are going at this point are perfect for this time and place: slowly working out bugs and making minor tweaks and improvements. Until something changes and the move to 5.0.0 series becomes clear (likely some major change in an underlying dependency, or

Re: MC with Tabs

2016-08-21 Thread Mike
I tried the tabs patch, thought it was good. Still needs a few tweaks. I just found I didn't use it. I use multiple desktops with multiple MC instances, *shrug*. As a feature, I would endorse it, maybe as configure time option, ./configure --enable-tabs ? On 2016-08-21 12:01, Russell Urquhart

Re: Why does one have to "Press any key to continue" after running a command?

2016-08-23 Thread Mike
F9 -> Options -> Configuration... -> Pause after run -> set to Never. On 2016-08-23 10:38, Theodore Kilgore wrote: For example: Running Midnight Commander, with the panels turned on, I do a command such as latex Cntl-Enter (using the Cntl-Enter seqiemce tp bring a filename down to the com

Re: mplayer keyboard control

2016-08-31 Thread Mike
mplayer must be running in the foreground in order to receive your keyboard events. I've found the best way to use mc for music control is to modify your menu file (F9 -> Command -> Edit menu file) and add entries with slave commands for xmms/deadbeef/whatever running elsewhere. eg: =+ t r

auto save panels setup broken

2016-10-07 Thread Mike
Isn't that what F9 -> Options -> panel options -> auto save panels setup is for? I believe OP is correct: mc forgets the active directory if you do have "auto save panels setup" selected. $HOME/.config/mc/panels.ini: [Dirs] other_dir=/some/dir/somewhere current_is_left=false I think this fi

Re: auto save panels setup broken

2016-10-07 Thread Mike
you like. Minor modifications to 4 files. On 2016-10-07 07:03, Mike wrote: Isn't that what F9 -> Options -> panel options -> auto save panels setup is for? I believe OP is correct: mc forgets the active directory if you do have "auto save panels setup" s

Re: auto save panels setup broken

2016-10-07 Thread Mike
Here's the patch for {setup.[ch], main.c, midnight.c} to fix the restoring of the directory contents of the active panel on startup when "Auto Save Panel Setup" option is enabled. See attached 1341 byte gzip: patch01-setup.ch-main.c-midnight.c-auto-save-restore-panel.161007.diff.gz It works f

Re: mc Digest, Vol 146, Issue 10

2016-10-15 Thread Mike
Thank you for the feedback. I am familiar with being annoyed when your distro of choice has a crap version of something and doesn't seem to care. Use the source, Luke. I wonder what Peter Norton's file manager of choice these days is. I've never met Peter Norton. I think I installed some Norto

Re: Suppress directory not empty message

2013-09-09 Thread Mike Smithson
On Mon, 09 Sep 2013 05:00:03 -0700, wrote: Message: 1 Date: Wed, 4 Sep 2013 17:32:33 +0200 From: Marco To: mc@gnome.org Subject: Re: Suppress directory not empty message Message-ID: <20130904153233.GC27101@homerow> Content-Type: text/plain; charset="utf-8" On 2013?08?05 Marco wrote: When d

Re: directory in wrong panel (Michael Panteleit)

2013-11-24 Thread Mike Smithson
On Sun, 24 Nov 2013 04:00:04 -0800, wrote: Message: 1 Date: Sat, 23 Nov 2013 13:27:48 +0100 From: Michael Panteleit To: mc@gnome.org Subject: Re: directory in wrong panel Message-ID: <87bo1be20r@derry.pan> Content-Type: text/plain I found, if I revert this patch diff --git a/src/setup.c

Re: mc Digest, Vol 116, Issue 5

2013-12-18 Thread Mike Smithson
On Tue, 17 Dec 2013 04:00:03 -0800, wrote: Message: 1 Date: Mon, 16 Dec 2013 14:05:48 + From: James Wonnacott To: mc@gnome.org Subject: Changed behaviour of clicking at the top. Message-ID: <52af08bc.5020...@tregillis.eclipse.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flo

Re: mc Digest, Vol 116, Issue 6

2013-12-19 Thread Mike Smithson
On Thu, 19 Dec 2013 04:00:03 -0800, wrote: Message: 1 Date: Thu, 19 Dec 2013 00:02:38 +0100 From: Konrad Vrba To: mc@gnome.org Subject: disk usage status in right bottom corner Message-ID: Content-Type: text/plain; charset="iso-8859-1" hello, I would like to ask whether it is possib

Re: Subject Lines

2013-12-20 Thread Mike Smithson
On Fri, 20 Dec 2013 04:00:03 -0800, wrote: Message: 1 Date: Thu, 19 Dec 2013 08:11:18 -0600 From: /dev/rob0 To: mc@gnome.org Subject: Re: mc Digest, Vol 116, Issue 5 Message-ID: <20131219141118.gf16...@harrier.slackbuilds.org> Content-Type: text/plain; charset=us-ascii Mike, when re

panel scrolling

2013-12-23 Thread Mike Smithson
I just post this here because it's a personal itch of mine. I have many programs that are essentially list managers. mc is one. xmms another. xmms I've abandoned for my own music player, but mc I keep using. It's so *effective* at getting shit done. That said, I have peeve that's been going on

Compile from git clone fails.

2013-12-26 Thread Mike Smithson
Normally I compile from tarball. git clone git://github.com/MidnightCommander/mc.git I used standard process: autogen.sh, ./configure, make, and everything goes fine until the very end. I get this: gcc -std=gnu99 -Wcomment -Wdeclaration-after-statement -Wfloat-equal -Wformat -Wformat-securit

Re: Compile from git clone fails (SOLVED).

2013-12-27 Thread Mike Smithson
Problem solved: I just now upgraded m4, autoconf, and automake to the freshest from http://ftp.gnu.org/gnu, and then it couldn't even get through autogen.sh. I upgraded libtool, and now everything works. Strange thing too, because I remembered upgrading these within the last year, but when I lo

Incorrect behavior in Hotlist -> Insert

2013-12-31 Thread Mike Smithson
I use directory hotlist a lot. Often I have project that I work heavily on for a few days or a week, then it's finished. I like my new hotlist entries to appear at (or near) the top of the list so I can just go C-\ ENTER and I'm there. Then when project is done, I remove the entry, or move it down

Re: Compile from git clone fails.

2014-01-09 Thread Mike Smithson
On Thu, 26 Dec 2013 22:38:24 -0800, Andrew Borodin wrote: Could you please show config.log and full make log: make V=1 > make.log 2>&1 && tar cjf mc-log.tar.bz2 config.log make.log Certainly. See attached. -- Peace and Cheer mc-log.tar.bz2 Description: Unix tar archive __

Re: file size format displayed in mc

2014-04-10 Thread Mike Smithson
On Wed, 09 Apr 2014 14:43:24 -0700, Konrad Vrba wrote: Hello, I am wondering whether it is possible to display the file size in midnight commander (in the size column) with a thousand separator (i.e. 1,234,567). This works for ls BLOCK_SIZE="'1" ls -lAF and I find it very convenie

Re: colored bash prompt

2014-06-18 Thread Mike Smithson
On Tue, 17 Jun 2014 23:48:55 -0700, Eugene M. Zheganin wrote: Is it possible to have a colored prompt in mc when both panels are on ? It's colored in a subshell when panels are off (after a couple of Enters) but not when panels are on. I tried that once. I wanted my root login prompt to be

Re: Trailing type field (instead of leading)

2014-08-26 Thread Mike Smithson
On Fri, 22 Aug 2014 06:27:55 -0700, wrote: I want type fields to trail (instead of lead) each file or folder name. Example: folder/ instead of /folder, link@ instead of @link like 'ls -F' does. How can I change the default behavior ? In F9->listing mode select 'User defined' and type name

Select/Unselect Files cannot mark directories only

2014-08-26 Thread Mike Smithson
I can no longer select *only* directories in the Select File dialog. I used to be able to do it by typing / before the pattern. Now that does nothing. In cmd.c:select_unselect_cmd():260 we have the line: [code] if (S_ISDIR (current_panel->dir.list[i].st.st_mode) && files_only != 0)

Re: mc 4.8.13 compile error

2014-10-06 Thread Mike Smithson
On Thu, 18 Sep 2014 06:18:15 -0700, John Kennerson wrote: mc 4.8.13 compile error slackware 13.0 with: glib-1.2.10-i486-3 glib2-2.18.4-i486-1 glibc-2.9-i486-6_slack13.0 Trying to compile mc 4.8.13 results in the following error: (mc 4.8.12 compiled fine on the same system) Making all i

Re: move/copy file by extension preserving directories hierarchy.

2014-10-22 Thread Mike Smithson
On Wed, 22 Oct 2014 15:25:27 -0700, tizio incognito wrote: I don't know if it has benn already asked, but it could be a nice feature the possibility to move/copy files recursively by extension preserving the directory structure. I'll better explain by an example: src dir | +- sub dir 1

How to know when mc is running in a terminal

2014-11-09 Thread Mike Smithson
I have a specialized F4 script ($EDITOR) that I need to know whether my editor is being called from mc or not. The MC_ env vars don't seem to exist when F4 is hit. Question: how can a script know whether it is being called from F4 in mc or just a terminal? Thanks in advance. -- Peace and Chee

Re: How to know when mc is running in a terminal

2014-11-10 Thread Mike Smithson
14 02:06:26 -0800, frank wrote: On 10/11/2014 01:25, Mike Smithson wrote: how can a script know whether it is being called from F4 in mc or just a terminal? Try the shell command 'tty'. In the Linux console it will reply e.g. /dev/tty1. In a graphic terminal

Re: External editor with parameters not working?

2015-01-12 Thread Mike Smithson
On Sat, 06 Dec 2014 03:14:38 -0800, Stevko wrote: Hello. I tried the following thing: 1) export EDITOR="emacs -nw" 2) mc 3) (with internal editor disabled) go to some file and press F4 This opens emacs with the file, however it does not open it in terminal (which should be done with -nw switc

Re: mc on high resolution monitor with konsole

2015-01-12 Thread Mike Smithson
On Sat, 27 Dec 2014 16:11:34 -0800, Outback Dingo wrote: ive got a samsung 4k, running kde in the proper mode, however in konsole when i launch mc it only fills 1/3 of the screen... how can i get it to be full screen? ive attached an image How many $COLUMNS in that window? 500 or someth

Re: Screen List (M-`)

2015-01-20 Thread Mike Smithson
I completely agree. It is useless, but could be *very* useful. It has the look of something that once was useful, but kinda got left behind in the transition from one thing to another. What was it supposed to do? I guess we need to figure out *exactly* what it should do. I very often have many m

Re: Idea for new feature - discuss

2015-03-29 Thread Mike Smithson
I agree. What I did was check "Never" on "Pause after run" and put reads in the menu/ext files where I knew I would want the pause. Something like this: + t r & ! t t @ Do something on the current file CMD=%{Enter command} $CMD ./%0f read -e -

Re: mc problem in recent versions of fedora/rhel

2015-04-05 Thread Mike Smithson
I'm assuming this happens when you ssh into other box and then run mc? Not when you do a shell link in mc from your box? What does your $TERM var say when you ssh into the other box, before you run mc? Also, what does it look like when you sit down at the other box and run mc? On Sat, 04 Apr

Re: "mc is over!?"

2015-05-28 Thread Mike Smithson
Bah. Mc is not "over". Things change, that's all. I've been into mc since I don't know when. The first time I used it. Mid/late 90s I'm guessing. I saw how it floundered in the 4.6 series. I shrugged and kept tweaking and hacking my version. A few years went by and I looked it up again, purely o

Mailing lists vs forums

2015-06-16 Thread Mike Smithson
Why don't we have general Midnight Commander discussion on some site like http://www.linuxquestions.org/questions/linux-software-2/ Put a link to forum on http://www.midnight-commander.org/ It would be cheap to implement. Would anyone else use this feature? -- Peace and Cheer __

Re: Connect via ADB

2015-07-19 Thread Mike Smithson
On Fri, 17 Jul 2015 06:04:26 -0700, Jon M wrote: Is there a stable implementation to connect to and Android device via ADB from MC on a desktop? I used libmtp and rolled my own cli program to talk to my android phone. Frankly, I was surprised I couldn't find one out there already. It's not th