Re: Midnight Commander 4.8.28 released

2022-03-28 Thread Joseph Reagle

Hi, I've looked in the release notes, but I don't see anything related to 
reopening [4198]?

[4198]: https://midnight-commander.org/ticket/4198

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


Re: Quit anyway. Clear line on paste.

2021-11-10 Thread Joseph Reagle

On 21-11-10 03:46, Henning wrote:

since 4.8.27 on exit I'm getting the popup "The shell is still active. Quit 
anyway?"


This is a mystery that's been plaguing some of us using MacOS, zsh, and 
possibly oh-my-zsh. Do any of these apply to you?
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


mc 4.8.27 and shell problems

2021-09-18 Thread Joseph Reagle


4.8.27 kind of "fixed" 4.8.26 for those of us running zshell by removing the 
wait for commands to time out.

Occasionally I would not be able to execute a command: "Error: The shell is already running a 
command." And exiting mc in this state also throws: "Warning. The shell is still active. 
Quit anyway?"

Now, this problem happens frequently. I know I'm in trouble because when starting mc 
because the prompt line (second from the bottom, above the Function keys) shows a 
"^[" at its start.

The only way I've found to restore command functionality is to quit iterm2 
itself (not just a given tab), but then the problem soon recurs.

Help!?

—Joseph

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


Re: Midnight Commander 4.8.27 released

2021-08-30 Thread Joseph Reagle

Perhaps this is related to the zsh thing that is now ignored, but I can no longer hit 
`ENTER` and open a command: a get an error dialog saying "The shell is already 
running a command." I don't know what that means.

On 21-08-17 09:47, Joseph Reagle wrote:

Thank you. It showed up in homebrew today, so I unpinned 4.8.25, installed it 
and am happily using it.

Enjoy your holiday!

On 21-08-15 10:36, Yury V. Zaytsev wrote:

I'm glad to announce the immediate availability of mc-4.8.27, a maintenance and 
security release, just in time before leaving all of you for a long overdue 
summer vacation!

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

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


Re: Midnight Commander 4.8.27 released

2021-08-17 Thread Joseph Reagle

Thank you. It showed up in homebrew today, so I unpinned 4.8.25, installed it 
and am happily using it.

Enjoy your holiday!

On 21-08-15 10:36, Yury V. Zaytsev wrote:

I'm glad to announce the immediate availability of mc-4.8.27, a maintenance and 
security release, just in time before leaving all of you for a long overdue 
summer vacation!

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


Re: Help testing release candidate / mc-4.8.27-rc1

2021-08-03 Thread Joseph Reagle

I ran the following and still have lots of warnings during make.

```
╭─reagle@hom ~/tmp/mc-4.8.27-pre1
╰─➤  CFLAGS="-target arm64-apple-macos11" \ 
130 ↵
  ./configure \
--host=aarch64-apple-darwin \
--target=aarch64-apple-darwin \
--build=aarch64-apple-darwin
```
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: Help testing release candidate / mc-4.8.27-rc1

2021-08-02 Thread Joseph Reagle



I ran the command you suggested and the make, make install, creates a binary in 
/usr/local/bin (though using homebrew arm64 commands in /opt/homebrew) and it 
seems to work fine. (It doesn't include panel scrollbars from #4256?).

BTW: During make, I get tons of warnings:

  CC   learn.lo
warning: unknown warning option '-Wformat-signedness' 
[-Wunknown-warning-option]
warning: unknown warning option '-Wmaybe-uninitialized'; did you mean 
'-Wuninitialized'? [-Wunknown-warning-option]
warning: unknown warning option '-Wmissing-parameter-type' 
[-Wunknown-warning-option]
warning: unknown warning option '-Wunused-but-set-variable'; did you 
mean '-Wunused-const-variable'? [-Wunknown-warning-option]
4 warnings generated.
  CC   setup.lo
warning: unknown warning option '-Wformat-signedness' 
[-Wunknown-warning-option]
warning: unknown warning option '-Wmaybe-uninitialized'; did you mean 
'-Wuninitialized'? [-Wunknown-warning-option]
warning: unknown warning option '-Wmissing-parameter-type' 
[-Wunknown-warning-option]
warning: unknown warning option '-Wunused-but-set-variable'; did you 
mean '-Wunused-const-variable'? [-Wunknown-warning-option]
setup.c:148:39: warning: integer constant not in range of enumerated 
type 'panel_select_flags_t' [-Wassign-enum]
.select_flags = SELECT_MATCH_CASE | SELECT_SHELL_PATTERNS
  ^
5 warnings generated.

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


Re: Help testing release candidate / mc-4.8.27-rc1

2021-08-02 Thread Joseph Reagle

I tried but:

```
...
checking build system type... Invalid configuration `arm64-apple-darwin20.6.0': 
machine `arm64-apple' not recognized
configure: error: /bin/sh config/config.sub arm64-apple-darwin20.6.0 failed
```

On 21-08-01 15:18, Yury V. Zaytsev wrote:

Hi there,

TLDR; I would appreciate if you could please test the following tarball on your 
systems and report any blocker regressions as compared to the previous 4.8.26 
release:

https://www.midnight-commander.org/nopaste/tarball/mc-4.8.27-pre1.tar.xz

$ sha256sum mc-4.8.27-pre1.tar.xz
d922e4175a20779549c4a9746bbe169d4acd2a83b2e14d1d6dfd2cbec32eb12b  
mc-4.8.27-pre1.tar.xz

I've built this tarball out of the latest master with translations from 
Transifex pulled in on a fresh Fedora 33 VM, which I'm also going to use to 
build the final release in about a week from now if nothing serious comes up.

Many thanks!


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


Re: scrollbar or other progress indicator

2021-07-08 Thread Joseph Reagle

That'd be grand, I look forward to it!

On 21-07-08 09:30, Yury V. Zaytsev wrote:

You won't believe me - it's already in the works:

http://midnight-commander.org/ticket/4256

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


scrollbar or other progress indicator

2021-07-08 Thread Joseph Reagle

When I'm in a folder with many entries (for instance, processing a bunch of new 
photos) I'd like to get a sense of how far I am. Am I a quarter, half, or 
mostly finished paging through the files? Does such an indicator option exist 
for mc? I don't actually want to scroll with my mouse, just to know how many 
entries are in the folder and how far I am down.

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


Re: NeoMCEdit fork with many new extensions

2021-06-16 Thread Joseph Reagle

The first and third sentence aren't strictly true, see discussion here:

https://softwareengineering.stackexchange.com/questions/177859/can-i-sell-forked-gpl-code/177860

In short, the GPL doesn't prohibit selling of source. It's just that no one 
might bother if they also get it for free.



On 21-06-15 18:53, slava zanko via mc wrote:

You can't sell GPL-sources at all. No benefits can be an excuse. You may sell 
compiled bytecode (executable files) but you must(MUST!) distribute source code 
for free ('free' means paymentless).
Selling GPL sources violates GPL license.

вт, 15 июн. 2021 г. в 21:07, Sebastian Gniazdowski via mc mailto:mc@gnome.org>>:

Hi,
I would like to share info about availability of a MC fork –
at neomcedit DOT software. There are many unique features added,
you might want to check it out.

As for the possible questions:

- Why aren't you sending patches to upstream?

I was, for ca.: 4 months, however all my feature-patches have been rejected.

- Why are you sending the info here?

Because there are many people on the list interested with anything
that is connected with MC, who may get inspired to work on upstream
sources or which may get neomcedit.

-- 
Sebastian Gniazdowski

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


Re: Midnight Commander 4.8.26 released

2021-02-01 Thread Joseph Reagle
I temporarily switched my shell to bash and, indeed, the problem goes away. Are 
there any logs or config files you'd like me to share? Does it work with zsh 
for you?

On 1/30/21 11:25 AM, Yury V. Zaytsev wrote:
> Well, you could (temporarily) switch to bash - chsh -s /bin/bash - to see if 
> it makes any difference. If it’s indeed a problem with zsh, then hopefully 
> you could provide a reliable description of how to reliably reproduce the 
> problem.
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: Midnight Commander 4.8.26 released

2021-01-30 Thread Joseph Reagle
On 1/29/21 3:41 PM, Yury V. Zaytsev wrote:
> Maybe it's because of the new persistent subshell buffer? 

I don't know what that is -- just a simple user -- but I am using zsh. I'm 
willing to run a diagnostic or test things.
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: Midnight Commander 4.8.26 released

2021-01-28 Thread Joseph Reagle
I got the new version from homebrew because I noticed the shadows -- and 
haven't gotten around to turning them off yet. In the past day, though, it's 
become unusable. I don't know why, but it jams -- always showing the same 
directory that I'm not even in -- and has to be killed from another terminal.

mc 4.8.26
MacOS 10.15.7
Homebrew 2.7.6-30-gcd191a7

I reinstalled 4.8.25 and am back in business.


```
wget 
https://raw.githubusercontent.com/Homebrew/homebrew-core/83b1364a6159062f61f48d5c708663f0c651833c/Formula/midnight-commander.rb
brew install ./midnight-commander.rb
brew pin midnight-commander
```
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Configuring number of panes to cycle through

2019-08-16 Thread Joseph Reagle
I'd like to quickly switch between two and single pane views  (`alt-t`), 
without the intermediaries views. Is this possible?
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Can I limit the listing formats toggle moves through?

2019-04-18 Thread Joseph Reagle
Right now I have four listing formats to toggle through, I'd like to use just 
two (double and single).
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: How to select & view files?

2016-12-31 Thread Joseph Reagle
On 12/31/16 1:43 PM, Yury V. Zaytsev wrote:
>> I have a directory and want to select the (log) files beginning
>> '201105*.log' . However, if I hit `+` and type that in, nothing
>> gets selected. The only thing that seems to work is '*' selects
>> them all. Do I misunderstand.
> 
> Works for me on Linux. I hope you tried this *inside* the directory?

Hi Yuri, I'm not sure what you mean inside the directory, but I just tried it 
again using asciinema to record it and it worked!
Exited asciinema and it still works! So not sure what was going on.

Related question, instead of *selection* using a mask, is there a similar 
function for *filtering*? (I only want to see certain files in the current 
directory.) I think I can achieve this with find and panelize, but I'm 
wondering if there's an easy, quick mask.

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


Follow symbolic link across volume

2016-12-31 Thread Joseph Reagle
On MacOS I have my media on an external USB3 drive. When I recursively search 
I'd like mc to follow symlinks to the external volume. Is this possible?

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


Using trash on MacOS Homebrew

2016-09-13 Thread Joseph Reagle
I use the command `trash` on homebrew mac and recently screwed myself in mc 
when I deleted files and realized it didn't use trash either. Is there an 
alias, keyboard remapping, or something else that would work on MacOS homebrew? 
Thanks

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


Re: Using trash on MacOS Homebrew

2016-08-25 Thread Joseph Reagle
On 8/25/16 10:41 AM, Mooffie wrote:
> It'd be easier to add the command to the user menu (that's ).

Great tip, I hadn't looked into that yet.

> 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 by slighthly 
> modifying Formula/midnight-commander.rb)

I just saw mc^2 yesterday, but didn't see it on homebrew, don't know if it's an 
acrimonious fork, and don't know Lua!
But this gives me a reason to try to install it :-)

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


Re: terminal title after exit

2016-08-23 Thread Joseph Reagle
On 8/23/16 3:20 PM, Yury V. Zaytsev wrote:
> echo -ne '\e[22t'

Hello Yury, thanks for your quick responses. I'm not up to patching C (having 
touched C in over 20 years) so I'll just have to hope for some fix for trash in 
the future.

With respect to the window title, I disabled that and change my command prompt; 
I like that better anyway.


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


Re: terminal title after exit

2016-08-23 Thread Joseph Reagle
On 8/23/16 12:46 PM, Yury V. Zaytsev wrote:
> On Tue, 23 Aug 2016, Joseph Reagle wrote:
> 
>> mc changes the terminal title; I know I can disable this with
>> xterm_title=0, but I actually don't mind it *if* it restored the
>> title after I exited...
> 
> Hmmm, on Linux the title is restored after mc exits, but it could be
> that it is done by bash or vte, rather than mc. Is there any such
> feature request already on Trac?

BTW: this is using homebrew and iTerm2 on Mac.

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


Re: Using trash on MacOS Homebrew

2016-08-23 Thread Joseph Reagle
On 8/23/16 12:44 PM, Yury V. Zaytsev wrote:
> Sadly, I don't think there is anything you can do other than using
> libtrash or the like, but I'm not sure whether libtrash has been even
> ported to macOS.

Not that I could see. I wish I could map F8 to a user supplied command.

For the time being, and if I remember, I type `trash`, mark the files, and then 
`ctrl+x t` to paste them.
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


terminal title after exit

2016-08-23 Thread Joseph Reagle
mc changes the terminal title; I know I can disable this with xterm_title=0, 
but I actually don't mind it *if* it restored the title after I exited... 

Additionally, if I do `alt-o` instead of exiting, it is nice to see that mc is 
still running.



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


Using trash on MacOS Homebrew

2016-08-23 Thread Joseph Reagle
I use the command `trash` on homebrew mac and recently screwed myself in mc 
when I deleted files and realized it didn't use trash either. Is there an 
alias, keyboard remapping, or something else that would work on MacOS homebrew? 
Thanks

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