Re: customize columns in single panel view

2017-06-15 Thread Mooffie
On 6/12/17, Karel wrote: > Hello, > > Is it possible to customize the columns in the single panel view ? > > For my default (two panel) view, I have customized it using: > > -> Listing Mode >(*) User defined: > half type name | size:15 | mtime > > however, when I switch

Re: using "alt-t" to switch to single-panel mode

2017-06-11 Thread Mooffie
On 6/11/17, Karel <li...@vcomp.ch> wrote: >> On 2017-06-08 20:08, Mooffie wrote: >> >> Open src/filemanager/panel.c and search for " % ". > > did you mean this section of src/filemanager/panel.c ? > [...] No, I erred: open src/filemanager/cmd.c inst

Re: can omni.ja be viewed with MC?

2017-02-22 Thread Mooffie
On 2/14/17, Felix Miata wrote: > http://forums.mozillazine.org/viewtopic.php?f=18=2943023 mentions that mc > > cannot view these "optimized" .zip files named omni.ja used by Firefox and > SeaMonkey. When I try renaming to omni.zip, mc reports "inconsistent extfs > archive".

Re: Local-to-dir mcedit prefs or quick profiles?

2017-02-21 Thread Mooffie
comes with a modeline module (if you decide to use it just remember to require() it before the snippet above so it doesn't overwrite your settings). [1] http://www.typo.co.il/~mooffie/mc-lua/docs/html/classes/ui.Editbox.html#ui.Editbox.options ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc

Re: Help: meaning of the panelize command in left/right menus

2017-02-14 Thread Mooffie
On 2/15/17, c...@linux.it wrote: > Hi, I can't find any information in the internal help, or man page, or > wiki, > about the "Panelize" command in the "Left" or "Right" menu. > > I suspect it is related to the (well documented) "External panelize" > command, > but when I select

Re: copy/move live-update

2016-10-21 Thread Mooffie
iles already copied, so you could literally see how > your files float from one directory to another. Good news: MC already does this. But it doesn't repaint the panel, so you don't see anything happening there. I wrote little snippet for mc^2 to repaint the screen as files get unmarked: h

Re: Norton Commander's make-believe features

2016-10-21 Thread Mooffie
On 10/15/16, Rikishi 42 wrote: > On 14/10/16 15:35, chris glur wrote: >>> ..the presence of very basic defects in the file >>> management functions. >>> [...] >>> Peter Norton would not be happy. >> >> Please describe some of these. > > - copies are made in the disk

Re: heax search (was: Re: mc Digest, Vol 145, Issue 7)

2016-09-26 Thread Mooffie
On 9/21/16, chris glur wrote: >> you should tick the "All charsets" and "Case sensitive" >> checkboxes first. > > Previously I never succeeded. > With those 2 'ticks', it finds the first matching byte on the display only. > > Once the endianism is determined you can use: > ->

Re: display thousands separator in file size

2016-09-26 Thread Mooffie
ange "size" to "size:10" to give it 10 columns (or more). But, as I explained, you'll sooner or later find that it's not perfect. [1] http://www.midnight-commander.org/ticket/3666 [2] http://www.typo.co.il/~mooffie/mc-lua/docs/html/index.html ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc

Re: change "timeformat_old" from 6 months to 1 year

2016-09-26 Thread Mooffie
On 9/20/16, Fourhundred Thecat <400the...@gmx.ch> wrote: >> On 2016-09-19 05:11, Mooffie wrote: >> That expression (6 * 30 * 24 * 60 * 60) equals 0x00ed4e00. Use MC's >> viewer to edit /usr/bin/mc: press for hex view. Search for "00 4e >> ed 00" (assum

Re: change "timeformat_old" from 6 months to 1 year

2016-09-18 Thread Mooffie
On 9/19/16, Mooffie <moof...@gmail.com> wrote: > > One possibility is to modify MC's source code: > > https://source.midnight-commander.org/S/lib--timefmt.c.html#L133 > > Change the "6L" (six months) to "12L". Or you can edit the MC binary direc

Re: change "timeformat_old" from 6 months to 1 year

2016-09-18 Thread Mooffie
(Another possibility is to use mc^2 and describe the logic with Lua. This gives you more freedom than a fixed "1 year ago". For example, here's a snippet that shows your timeformat_recent only for files modified in 2016: https://gist.github.com/mooffie/de41af651f9383c3bd38f0f6259522a0 ) ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc

Re: mplayer keyboard control

2016-08-31 Thread Mooffie
On 8/31/16, benoit felix wrote: > Hiya > I managed to make mplayer the default video player in mc. It is all fine but > the keyboard control does not work anymore (eg. pause, stop, etc). How exactly are you launching mplayer? How did you configure mc to use it? And do you

Re: view .gnumeric files in mc (in console)

2016-08-31 Thread Mooffie
On 8/31/16, Mooffie <moof...@gmail.com> wrote: > On 8/31/16, Fourhundred Thecat <400the...@gmx.ch> wrote: >> >> when run on the commandline, ssconvert needs output file > > The manual page for ssconvert says you can use fd://1 for standard > output. Use this as

Re: view .gnumeric files in mc (in console)

2016-08-31 Thread Mooffie
On 8/31/16, Fourhundred Thecat <400the...@gmx.ch> wrote: >> On 2016-08-31 10:51, Slava Zanko wrote: >> >> Hi Fourhundred, >> >> Try to use this: >> >> View=%view{ascii} ssconvert %f || xls2csv %f || strings %f >> > > that obviously cannot work > > when run on the commandline, ssconvert needs

Re: Using trash on MacOS Homebrew

2016-08-25 Thread Mooffie
ctrl+x t` hangs MC. At least on my system.) > > I wish I could map F8 to a user supplied command. You can do this in mc^2. Here's a little snippet to make use 'trash': https://gist.github.com/mooffie/4111a39e18934e2b4e7001c1c0cd3213 (BTW, I know of a homebrew user who installed mc^2 b

Re: MC with Tabs

2016-08-23 Thread Mooffie
On 8/23/16, Mooffie <moof...@gmail.com> wrote: > On 8/21/16, Russell Urquhart <russurquha...@verizon.net> wrote: >> >> Hi, >> >> I was looking, and found this link: >> >> https://www.midnight-commander.org/ticket/1581 >> >> Has anyon

Re: MC with Tabs

2016-08-23 Thread Mooffie
On 8/21/16, Russell Urquhart wrote: > > Hi, > > I was looking, and found this link: > > https://www.midnight-commander.org/ticket/1581 > > Has anyone used this, and can this patch be folded into current releases? It's very easy to implement such things in mc^2. There's

Re: mc^2 news (august 2016)

2016-08-17 Thread Mooffie
On 8/17/16, Yury V. Zaytsev wrote: > I hope that my efforts in trying to find an employer > who would be ready to sponsor some work on mc at least > on the scale of several hours per week have now finally > borne fruit I very much hope so. It amazes me that the Linux ecosystem

mc^2 news (august 2016)

2016-08-17 Thread Mooffie
Hi folks! mc^2 is a Lua energized version of MC: http://www.typo.co.il/~mooffie/mc-lua/docs/html/ So, what's new since last month? -Two exciting modules: * "Folder Jumping" A feature borrowed from GitHub.com.[1] See screenshot[2] * Unwind Automatically convert Window

Re: Privacy option?

2016-07-14 Thread Mooffie
(Replying to a post in the mailing list archive, so apologies for lack of threading.) On May 20, 2016, Toby wrote: > I usually enable the privacy option on GUI desktop systems / file > managers, which prevents them from keeping a menu of recently accessed > files and directories, because I find

mc^2 news (july 2016)

2016-07-14 Thread Mooffie
Hi folks! A new release of mc^2 is out. It's mainly a maintenance release, so there aren't many exciting new features. http://www.typo.co.il/~mooffie/mc-lua/docs/html/ News: The C side: - The branch is rebased against mc 4.8.17. The Lua side: - A few minor bug fixes. - New module

Re: CGDB

2016-05-23 Thread Mooffie
On 5/23/16, Nicolas Rybkin wrote: > Is it possible to debug MC using GDB/CGDB? Sure. There are ways to make gdb and mc use two different terminals (as Slava mentioned, and see later), but, depending on what you want, this is often not needed. > > I can't debug it with pure

Re: Midnight Commander 4.8.16 released

2016-03-19 Thread Mooffie
On 3/15/16, Yury V. Zaytsev wrote: > On Tue, 2016-03-15 at 09:31 +0100, wwp wrote: >> >> I notice that when configuring with slang, the configure summary >> doesn't mention it, whereas for ncurses it explicitely mentions it. >> See for instance (w/ --with-screen=slang or no

Re: Browsing the source

2016-02-21 Thread Mooffie
On 2/19/16, Yury V. Zaytsev wrote: > [...] I've finished the integration > script and the results are available at the following URL: > > http://source.midnight-commander.org Superb! Thanks! minor comments: - GLOBAL ignores dot-files and dot-directories, so you can

Re: Browsing the source

2016-02-19 Thread Mooffie
On 2/18/16, Yury V. Zaytsev <y...@shurup.com> wrote: > I wonder whether you would mind giving `htagsfix` a more permanent home? [...] > Maybe you could "officially" release and maintain it in a GitHub repository Done: https://github.com/mooffie/htagsfix > > or even t

Re: Browsing the source

2016-02-16 Thread Mooffie
> On 2/16/16, Yury V. Zaytsev wrote: >> > Global doesn't seem to be available as a package on RHEL though?! :-( >> >> http://www.geocities.co.jp/keep_creating/sanaly/index.html BTW, you need to install just the "global" package. You don't need "pygments" and "sanaly". (I use

Re: Browsing the source

2016-02-16 Thread Mooffie
On 2/16/16, Yury V. Zaytsev <y...@shurup.com> wrote: > On 2/16/16, Mooffie <moof...@gmail.com> wrote: > > If I get write access to MC's wiki I can prepare a page listing the > > steps to generate this documentation > > Done. Ouch! I created a MarkDown instruct

mc^2 news (january 2016)

2016-01-11 Thread Mooffie
Hi folks! mc^2 is a Lua energized version of MC: http://www.typo.co.il/~mooffie/mc-lua/docs/html/ So, what's new in mc^2 since its announcement here in May 2015? Lots of minor things. Lots of non-minor things. But I won't bore you with lengthy lists. The highlights: * The git commit

Re: mc and me

2015-11-04 Thread Mooffie
On 11/4/15, Egmont Koblinger wrote: > Hi guys, > > I've been thinking about writing something like this for quite a long > time... Egmont, I feel for you! (I hope these are suitable words. I'm not an English speaker. At this moment I'm hungry and tired so I'm giving up

Re: Midnight Commander not compiles on Debian Squeeze

2015-10-20 Thread Mooffie
On 10/20/15, Andrey Tataranovich wrote: > Glib version check patch attached. You also need to update README, INSTALL, HACKING. ___ mc-devel mailing list https://mail.gnome.org/mailman/listinfo/mc-devel

Re: listbox hotkeys

2015-05-28 Thread Mooffie
the curly brackets (that's their laws).) Anyway, you can do all such tweakings in mc^2 without touching the C code. Here, I translated your code to Lua: https://github.com/mooffie/mc/blob/lua-4.8.14-port/src/lua/tests/snippets/listbox_AZ.lua I've also created a new module today that lets you

Re: mc is over!? - post by Ilia Maslakov on Russian-speaking IT site

2015-05-27 Thread Mooffie
On 5/27/15, Paul Sokolovsky pmis...@gmail.com wrote: happens within your team. Whatever it is, please show goodwill by adding Egmont Koblinger to the maintainer team, if he agrees I second that! ___ mc-devel mailing list

Re: [ANN] mc^2

2015-05-27 Thread Mooffie
On 5/8/15, Egmont Koblinger egm...@gmail.com wrote: Hi, How much work would it be to port your branch to 4.8.14 or git head? I'd really like to use your version for daily work Done. The 4.8.14 port has just been pushed to github. The Getting started (and Installation) chapter now has the

Re: mc is over!? - post by Ilia Maslakov on Russian-speaking IT site

2015-05-27 Thread Mooffie
On 5/27/15, Volodymyr Buell vbu...@gmail.com wrote: Please organise a pol to choose a right person. Personally my opinion - why not to give a steering wheel to Mooffie Hey, hold the horses. I'm not at all a programming hotshot, and being practically anonymous here so far, I should be treated

Re: [ANN] mc^2

2015-05-11 Thread Mooffie
On 5/11/15, Alexander Kriegisch alexan...@kriegisch.name wrote: And now there comes along Mooffie and donates something to the project. As I expected based on my experience with my own patches, people start discussing details and demanding smaller patches In case you're referring here

Re: [ANN] mc^2

2015-05-10 Thread Mooffie
On 5/10/15, Paul Sokolovsky pmis...@gmail.com wrote: ... and the conversation is focused around priority of things to do [...] is exciting new is the only thing you're after, then Paul, Nowhere did I market mc^2 as bringing exciting new stuff. If you'd checked out mc^2 site, you'd have

Re: [ANN] mc^2

2015-05-09 Thread Mooffie
On 5/8/15, Andrew Borodin aboro...@vmail.ru wrote: It would be great if you split first huge commit of branch in several small commits. It will make the review easier. I'll take notice of that. ___ mc-devel mailing list

Re: [ANN] mc^2

2015-05-09 Thread Mooffie
On 5/9/15, Yury V. Zaytsev wrote: Anyways, how do we move from there on? I'll be doing two things: - I'll prepare a document explaining to reviewers the overall structure of the code and the modifications to existing files. - I'll look into porting the code to 4.8.14. The thing I'll

Re: [ANN] mc^2

2015-05-08 Thread Mooffie
On 5/8/15, Egmont Koblinger egm...@gmail.com wrote: [...] a complete rewrite [...] would require at least 100x (but rather 1000x) the work Mooffie has probably already spent. There are no engineering resources for that. [...] Successful redesigns almost always happen in small steps

Re: [ANN] mc^2

2015-05-08 Thread Mooffie
On 5/8/15, Egmont Koblinger wrote: How much work would it be to port your branch to 4.8.14 or git head (they're pretty much the same now)? Probably very little work. I'll do that sometime soon, I hope. ___ mc-devel mailing list

[ANN] mc^2

2015-05-07 Thread Mooffie
Hi guys! I've just published a branch of MC with Lua support: http://www.typo.co.il/~mooffie/mc-lua/docs/html/ See the screenshots link. Also see the other documents link for background (especially HISTORY). Many, many tickets can be solved with mc^2, but I don't want to spam the ticket

Have STREQ(a,b)?

2015-03-29 Thread Mooffie
I see many `if (strcmp (a, b) == 0)` in the code. Wouldn't it be nice if we create a macro and then do `if (STREQ (a,b))` instead? (Not that it bothers me much. I ask this mainly to verify that my subscription works and that I can post here ;-) ___