Re: [mc] Pasting from X copy buffer

2024-04-05 Thread Yury V. Zaytsev via mc
You can also use xclip to make mc interact with X paste buffer. On Fri, 5 Apr 2024, mi via mc wrote: Just like to mention it. Since i'm using mc and mcedit mostly in a graphical X terminal (tilix) in a common desktop, i really like the fact that i can paste text with mouse middle click.

Re: [mc] Control-O interferes with nano

2024-01-27 Thread Yury V. Zaytsev via mc
On Sat, 27 Jan 2024, Alexander Oberhuber via mc wrote: So how do I handle the mc to work with nano as editor and avoid the triggering of CTRL+O ? You should be able to unbind or change "Shell" keymap shortcut: https://github.com/MidnightCommander/mc/blob/master/misc/mc.default.keymap#L32 --

[mc] Midnight Commander 4.8.31 released

2024-01-27 Thread Yury V. Zaytsev via mc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I'm glad to be finally able to announce the immediate availability of mc-4.8.31, a maintenance and bugfix release of Midnight Commander! There are no significant changes in this release other than bugfixes. Most notably, we have

[mc-devel] Midnight Commander 4.8.31 released

2024-01-27 Thread Yury V. Zaytsev via mc-devel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I'm glad to be finally able to announce the immediate availability of mc-4.8.31, a maintenance and bugfix release of Midnight Commander! There are no significant changes in this release other than bugfixes. Most notably, we have

Re: [mc] mc mouse events don't work with foot terminal

2024-01-23 Thread Yury V. Zaytsev via mc
On Mon, 22 Jan 2024, Timmy Douglas wrote: Is there something I can try to diagnose what's going on? The mouse seems to work in `htop`, which appears to use the same ncurses library. You can try to get the mouse via gpm, I think might still be supported. I can't help you with the rest. --

Re: [mc] Expectations for subshell

2024-01-22 Thread Yury V. Zaytsev via mc
On Mon, 22 Jan 2024, Nojus Gudinavičius wrote: After watching the recording of yours, it seems you have the behavior as me. (You don't see the echoed test either, also your cwd is reset to ~ when you hit Ctrl-O). That is the issues 2-3 as described in my original letter, and I believe you

Re: [mc] mc mouse events don't work with foot terminal

2024-01-22 Thread Yury V. Zaytsev via mc
On Mon, 22 Jan 2024, Grzegorz Szymaszek via mc wrote: On Mon, Jan 22, 2024 at 09:01:13AM +0100, Yury V. Zaytsev wrote: It seems that it's not very xterm-compatible after all. I would bring this up with foot authors. FWIW, here mc handles mouse clicks/scrolls correctly: Ha-ha, now we have

Re: [mc] mc mouse events don't work with foot terminal

2024-01-22 Thread Yury V. Zaytsev via mc
We added foot as xterm-compatible here: https://github.com/MidnightCommander/mc/commit/3a6725bdb7b4ec120c3eda1732e9c489d6d4be71 It seems that it's not very xterm-compatible after all. I would bring this up with foot authors. P.S. You can also try xterm-256color to fix colors. P.P.S. The

Re: [mc] Expectations for subshell

2024-01-21 Thread Yury V. Zaytsev via mc
Thanks for the info! This is really weird, but I don't have a recent Debian system to try it out. Maybe I'll be able to check it out upon upgrade to the upcoming Ubuntu 24.04 LTS. Until then, I'm afraid, someone has to open a ticket and do some debugging, because "standard" configurations

Re: [mc] Expectations for subshell

2024-01-21 Thread Yury V. Zaytsev via mc
On Sun, 21 Jan 2024, Piotr Ozarowski via mc wrote: sorry, I removed relevant quotes… I confirm the one described in original mail. So what is your environment like? As I have shown, it works on stock Fedora 39 and latest mc, I have also tested on stock Fedora 38 and I use latest mc built

Re: [mc] Expectations for subshell

2024-01-21 Thread Yury V. Zaytsev via mc
On Sun, 21 Jan 2024, Piotr Ozarowski via mc wrote: I can confirm this behaviour on Debian with 4.8.30-1 zsh 5.9 foot terminal 1.16.2-11-g1cce7109 (I normally use tmux, but I tested it outside as well, with TERM=tmux-256color and TERM=xterm) So what behavior you are confirming? ;-) That it

Re: [mc] Expectations for subshell

2024-01-21 Thread Yury V. Zaytsev via mc
On Sun, 21 Jan 2024, Nojus Gudinavičius wrote: Just tried mc-4.8.30 on Fedora 39 in Gnome Terminal under bash 5, and it works for me (sleep 15 && echo test, switching back and forth as the command is running) - even from inside tmux, which surprises me. Weird. I tried out the basically the

[mc-devel] Help testing release candidate / mc-4.8.31-rc1

2024-01-20 Thread Yury V. Zaytsev via mc-devel
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.30 release: https://midnight-commander.org/nopaste/tarball/mc-4.8.31-pre1.tar.xz $ sha256sum mc-4.8.31-pre1.tar.xz

Re: [mc] Expectations for subshell

2024-01-20 Thread Yury V. Zaytsev via mc
On Sat, 20 Jan 2024, Nojus Gudinavičius wrote: zsh, but it seems to work the same for me with bash, and ash on alpine image Just tried mc-4.8.30 on Fedora 39 in Gnome Terminal under bash 5, and it works for me (sleep 15 && echo test, switching back and forth as the command is running) -

[mc] Help testing release candidate / mc-4.8.31-rc1

2024-01-20 Thread Yury V. Zaytsev via mc
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.30 release: https://midnight-commander.org/nopaste/tarball/mc-4.8.31-pre1.tar.xz $ sha256sum mc-4.8.31-pre1.tar.xz

Re: [mc] Expectations for subshell

2024-01-20 Thread Yury V. Zaytsev via mc
Which shell you are using? Is it working properly if you are NOT toggling "quickly" whatever that means? The output of the command is not supposed to get lost, but it can disappear if something is interfering with alt mode, e.g. mc is running inside screen. We try to support sensible shell

Re: [mc] shell history

2023-10-23 Thread Yury V. Zaytsev via mc
On Mon, 23 Oct 2023, Fourhundred Thecat via mc wrote: I am using zsh-histdb, which saves zsh history to sqlite database: whenever I start mc, the history is flooded with "garbage": mc mc_print_command_buffer () { printf "%s\\n" "$BUFFER" >&12; } [...] mc need to hook into shell it

Re: [mc] In Midnight Commander I can press enter on a jpg or gif and they open with Mirage, but webp pictures don't do anything when I press enter

2023-10-10 Thread Yury V. Zaytsev via mc
On Sun, 8 Oct 2023, Guy Stalnaker wrote: Done (I think). File "mc.patch" with description: "Submitting per Yury V. Zaytsev request (in email) 20231008 - patch to mc.ext.ini file to enable .webp image file viewing" uploaded to 4490 in the Trac system. Thanks! FYI - there is a problem with

Re: [mc] In Midnight Commander I can press enter on a jpg or gif and they open with Mirage, but webp pictures don't do anything when I press enter

2023-10-08 Thread Yury V. Zaytsev via mc
On Sun, 8 Oct 2023, Guy Stalnaker wrote: It *is* highlighted as an image. For a patch, would one specify a diff that adds to the extensions file changes that work? Yes, or submit a PR on GitHub and reference it from the ticket if that's easier for you. -- Sincerely yours, Yury V. Zaytsev

Re: [mc] In Midnight Commander I can press enter on a jpg or gif and they open with Mirage, but webp pictures don't do anything when I press enter

2023-10-08 Thread Yury V. Zaytsev via mc
On Sun, 8 Oct 2023, Guy Stalnaker via mc wrote: P.S. Should have done this before I sent the earlier email. I confirm that my version of MC did NOT successfully open .webp files. I edited the Extension File and added (by copying and modifying an existing section) thus: ### Images ###

Re: [mc] In Midnight Commander I can press enter on a jpg or gif and they open with Mirage, but webp pictures don't do anything when I press enter

2023-10-08 Thread Yury V. Zaytsev via mc
On Sun, 8 Oct 2023, mi via mc wrote: Maybe it reads ~/.mailcap Nope, there was a Debian fork to that effect, but we are not using mailcap in any way at the moment. Some scripts might call sensible-* as a fallback though, so that would possibly indirectly involve mailcap. -- Sincerely

Re: [mc] How to select a range of files

2023-09-19 Thread Yury V. Zaytsev via mc
On Tue, 19 Sep 2023, mi via mc wrote: I was thinking of something like Shift-Page down to select at least a full page of something ... but Apparently, it's only possible in the editor :-( But I'm not sure how MarkLeft and MarkRight are working. Maybe you can try to bind them and see what

Re: [mc] It seems the /etc/mc/mc.ext.ini is ignored

2023-09-10 Thread Yury V. Zaytsev via mc
https://midnight-commander.org/ticket/4502 On Sun, 10 Sep 2023, Fantastic Mr. Fox via mc wrote: Hi, I'm struggling with Midnight Commander.. Suddenly I can't open via ENTER and view *.deb *.tar.xz files. Please note `{cd [file.deb]/deb://} or `{cd [file.tar.xz]/utar://} commands work fine.

Re: [mc] Arch upgrade breaks some MC associations/actions

2023-09-02 Thread Yury V. Zaytsev via mc
On Sat, 2 Sep 2023, Paul Marwick wrote: : ( Confirmed. I've tried rebuilding MC against glib2-.76.5-1, still fails. I've also pulled the older version of glib2 (2.76.4-1) out of cache and used it to replace the new version. MC is now back to normal - I'm able to open .mp4 files, LibreOffice

Re: [mc] Arch upgrade breaks some MC associations/actions

2023-09-02 Thread Yury V. Zaytsev via mc
We've got a report that glib upgrade causes similar problems: https://midnight-commander.org/ticket/4502 Maybe you could confirm or deny this. On Sat, 2 Sep 2023, Paul Marwick via mc wrote: I'm running Midnight Commander under Arch linux, using the XFCE desktop environment. Mc is  currently

Re: [mc-devel] mcdiff segmentation fault (fwd)

2023-08-27 Thread Yury V. Zaytsev via mc-devel
FYI -- Forwarded message -- Date: Sun, 27 Aug 2023 02:38:43 + From: cdb56423-acab-42ba-9cc6-47a5c377483f To: mc-devel-ow...@lists.midnight-commander.org Subject: Re: mcdiff segmentation fault Hint: Please send any bug reports to mc-devel@lists.midnight-commander.org

Re: [mc] [mc-devel] Soft wrappings of long lines in mcedit

2023-08-21 Thread Yury V. Zaytsev via mc
On Mon, 21 Aug 2023, Jacek Pliszka wrote: pon., 21 sie 2023 o 10:31 Sebastian Gniazdowski via mc-devel napisał(a): able to deliver anything that I promise publicly. Please, stop spreading FUD and think about MC's project good instead. I think Yuri is right and for the good of the project

Re: [mc-devel] Soft wrappings of long lines in mcedit

2023-08-21 Thread Yury V. Zaytsev via mc-devel
On Mon, 21 Aug 2023, Jacek Pliszka wrote: pon., 21 sie 2023 o 10:31 Sebastian Gniazdowski via mc-devel napisał(a): able to deliver anything that I promise publicly. Please, stop spreading FUD and think about MC's project good instead. I think Yuri is right and for the good of the project

Re: [mc] [mc-devel] Soft wrappings of long lines in mcedit

2023-08-20 Thread Yury V. Zaytsev via mc
Hi Sebastian, You are more than welcome to pursue your fork of mc and seek contract assignments for implementing specific features in your fork, but please do it at the venues that are not associated with this project. Given the history of your submissions and your reactions to our reviews,

Re: [mc-devel] Soft wrappings of long lines in mcedit

2023-08-20 Thread Yury V. Zaytsev via mc-devel
Hi Sebastian, You are more than welcome to pursue your fork of mc and seek contract assignments for implementing specific features in your fork, but please do it at the venues that are not associated with this project. Given the history of your submissions and your reactions to our reviews,

[mc] Midnight Commander 4.8.30 released

2023-08-13 Thread Yury V. Zaytsev via mc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I'm glad to be finally able to announce the immediate availability of mc-4.8.30, a maintenance and bugfix release of Midnight Commander! As usual, we have fixed number of bugs in various subsystems, but the most notable change in this

[mc-devel] Midnight Commander 4.8.30 released

2023-08-13 Thread Yury V. Zaytsev via mc-devel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I'm glad to be finally able to announce the immediate availability of mc-4.8.30, a maintenance and bugfix release of Midnight Commander! As usual, we have fixed number of bugs in various subsystems, but the most notable change in this

Re: [mc] mc slow start after upgrade from 4.8.22 to 4.8.29

2023-08-12 Thread Yury V. Zaytsev via mc
On Sat, 12 Aug 2023, Fourhundred Thecat via mc wrote: I normally start mc as: SHELL=/usr/bin/zsh /bin/mc When i start without the SHELL definition, it also starts lightning fast. So what happens if you start mc without SHELL definition, does it use a different shell, because zsh is not your

Re: [mc] mc slow start after upgrade from 4.8.22 to 4.8.29

2023-08-12 Thread Yury V. Zaytsev via mc
On Sat, 12 Aug 2023, Fourhundred Thecat via mc wrote: But since I use mc so often, and start so frequently, it is little bit annoying. So why if you use mc often, you need to start it frequently? For me, many instances start upon bootup and I rarely ever need to start a new one, as I'm

[mc-devel] Help testing release candidate / mc-4.8.30-rc1

2023-08-06 Thread Yury V. Zaytsev via mc-devel
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.29 release: https://midnight-commander.org/nopaste/tarball/mc-4.8.30-pre1.tar.xz $ sha256sum mc-4.8.30-pre1.tar.xz

[mc] Help testing release candidate / mc-4.8.30-rc1

2023-08-06 Thread Yury V. Zaytsev via mc
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.29 release: https://midnight-commander.org/nopaste/tarball/mc-4.8.30-pre1.tar.xz $ sha256sum mc-4.8.30-pre1.tar.xz

Re: [mc] latest mc on debian8

2023-07-05 Thread Yury V. Zaytsev via mc
On Thu, 6 Jul 2023, freebird via mc wrote: 1. I wish to install latest stable mc on my debian8 machine. Is it possible? If possible please guide. There are user-contributed binaries for Debian-based systems: https://midnight-commander.org/wiki/Binaries Please contact the maintainer of

Re: [mc] smbnetfs mounted directory is empty in MC, but works fine in Krusader, Dolphin and many others

2023-06-22 Thread Yury V. Zaytsev via mc
On Thu, 22 Jun 2023, Andrew Borodin via mc wrote: mc call rewinddir() when opens a directory: I wonder if it's possible to get rid of rewinddir()? The other managers seem to do it differently somehow. -- Sincerely yours, Yury V. Zaytsev -- mc mailing list mc@lists.midnight-commander.org

Re: [mc] smbnetfs mounted directory is empty in MC, but works fine in Krusader, Dolphin and many others

2023-06-22 Thread Yury V. Zaytsev via mc
On Thu, 22 Jun 2023, Leon Pollak via mc wrote: Thank you, Andrew. I have version 4.8.29. And the kernel is 6.2.15-100.fc36.x86_64. Well, I guess someone who can reproduce the bug should strace on Krusader and mc to find out what are the differences in calls, because this would mean that the

Re: [mc-devel] mc exit to current directory behavior

2023-06-20 Thread Yury V. Zaytsev via mc-devel
On Tue, 20 Jun 2023, Dave Plater via mc-devel wrote: I originally thought this was a kde bug but apparently gnome has the same behaviour. We have come up with a workaround of placing "[ $(type -t mc) = "file" ] && . /etc/profile.d/mc.sh || true" in /etc/bash.bashrc.local but this is

Re: [mc] Use both mcedit and vim as mc editors from keyboard shortcuts

2023-06-03 Thread Yury V. Zaytsev via mc
On Sat, 3 Jun 2023, Nikolay Shaplov wrote: В письме от суббота, 3 июня 2023 г. 12:18:03 MSK пользователь Yury V. Zaytsev написал: and bind the EditForceInternal to the desired shortcut. 1. can you please point me how to do this (or what to read to learn how to do that)? man mc "Redefine

Re: [mc] Use both mcedit and vim as mc editors from keyboard shortcuts

2023-06-03 Thread Yury V. Zaytsev via mc
On Sat, 3 Jun 2023, Nikolay Shaplov via mc wrote: This brought me to a thought, is there any way to set vim as default editor, for pressing F4, but set some other key binding for mcedit, so I can still call when I need specifically mcedit for this file? Yes, you can do this. Set mc to use

Re: [mc] mc.ext.ini - new format causes problems

2023-05-31 Thread Yury V. Zaytsev via mc
On Wed, 31 May 2023, Morten Bo Johansen via mc wrote: With the old format of mc.ext.ini I could do e.g.   shell/.ms         Open=openfile.sl %f where openfile.sl is my own script that opens files by their extensions and takes one argument, the file to be opened. This worked fine with the old

Re: [mc] mc 4.8.29 - configiure failure

2023-01-22 Thread Yury V. Zaytsev via mc
On Sun, 22 Jan 2023, Henning via mc wrote: configure stops with the foolowing error message: config.status: error: cannot find input file: `src/vfs/Makefile.in' What can I do to solve that failure? You can start by providing the exact invocation that leads to the error. -- Sincerely yours,

[mc-devel] Midnight Commander 4.8.29 released

2023-01-21 Thread Yury V. Zaytsev via mc-devel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, In spite of the last week's hiccup, I'm glad to be finally able to announce the immediate availability of mc-4.8.29, a maintenance and bugfix release! As usual, we have fixed number of bugs in various subsystems, but the most notable

Re: [mc-devel] Missing tarball for 4.8.29 at ftp.midnight-commander.org

2023-01-20 Thread Yury V. Zaytsev via mc-devel
On Fri, 20 Jan 2023, Sergei Trofimovich wrote: I was able to download 4.8.29 and almost got it to `nixpkgs` in https://github.com/NixOS/nixpkgs/pull/210834. Until tarball was pulled from the mirrors. I find "yet" a bit misleading. Well, I suggested Andrew to release 4.8.29.1 instead of

Re: [mc-devel] Missing tarball for 4.8.29 at ftp.midnight-commander.org

2023-01-20 Thread Yury V. Zaytsev via mc-devel
On Fri, 20 Jan 2023, Andrey Tataranovich via mc-devel wrote: I was not able to find tarball for 4.8.29 at http://ftp.midnight-commander.org. I think this step was missed during release. The release didn't happen yet: https://midnight-commander.org/ticket/4357#comment:11 -- Sincerely yours,

[mc] Help testing release candidate / mc-4.8.29-rc1

2023-01-05 Thread Yury V. Zaytsev via mc
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.28 release: https://midnight-commander.org/nopaste/tarball/mc-4.8.29-pre1.tar.xz $ sha256sum mc-4.8.29-pre1.tar.xz

[mc-devel] Help testing release candidate / mc-4.8.29-rc1

2023-01-05 Thread Yury V. Zaytsev via mc-devel
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.28 release: https://midnight-commander.org/nopaste/tarball/mc-4.8.29-pre1.tar.xz $ sha256sum mc-4.8.29-pre1.tar.xz

Re: [mc] FTP without write rights for android wifi tfp server

2023-01-05 Thread Yury V. Zaytsev via mc
On Thu, 5 Jan 2023, Jörg Thümmler via mc wrote: 4. It worked until yesterday under same conditions (i put a file into a directory on the phones sd card. (wifi-ftp gives access to the sd card only). I can do exactly the same today with the linux ftp, but not using mc's ftp. Well, if

Re: [mc] FTP without write rights for android wifi tfp server

2023-01-05 Thread Yury V. Zaytsev via mc
On Thu, 5 Jan 2023, Tim Stoodt via mc wrote: I would try sftp. F9 then Shell link.  Good luck. "Shell link" is FISH (mc's own protocol over SSH), SFTP is also supported, but needs a separate library. It sounds like something has changed in the file list output on the FTP server side, so

Re: [mc] spell check

2022-10-31 Thread Yury V. Zaytsev via mc
On Mon, 31 Oct 2022, Ralf Mardorf via mc wrote: Is adding "--enable-aspell" required when configuring the build, or should it build with aspell support, even without explicitly adding this flag? Arch maintainers possibly didn't quite understand how support for aspell works and didn't

Re: [mc] New mailing lists

2022-10-31 Thread Yury V. Zaytsev via mc
On Mon, 31 Oct 2022, Viktor Štujber via mc wrote: Hi, just letting you know that I was still subscribed to the mc mailing list, but I had 'mail delivery' set to Disabled for a bunch of years now. The migration seems to not have retained this setting, so I started receiving all the

Re: [mc] New mailing lists

2022-10-30 Thread Yury V. Zaytsev via mc
On Sun, 30 Oct 2022, Ralf Mardorf via mc wrote: first I send an email to the new list using a wrong account, but I didn't receive a "rejected" or "cancel post or wait for approval" notification. However, my email send from the correct account came through. A requested password reminder

Re: [mc] New mailing lists

2022-10-30 Thread Yury V. Zaytsev via mc
On Sun, 30 Oct 2022, Adam Pribyl via mc wrote: Great, that's the easiest for all of us, just use a mc@lists.midnight-commander.org inseat m...@gnome.org right? No need to learn Discourse... Yes, that's correct, as a part of the transition we moved it to our own domain, so just replace