ticket summary component version milestone type owner status created _changetime _description _reporter 2246 Install and configure Trac <-> email gateway adm task zaytsev new 2010-06-23T15:42:59Z 2015-06-16T19:36:32Z "Points to consider: 1) https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracInstallation 2) We don't really need attachments, have to disable it 3) Mailing list subscribed to Trac notifications -> replies go directly into Trac 4) Problem with code review: another mailing list subscribed to all branches commits? Comments welcome." zaytsev 4524 Prepare for release mc-4.8.32 adm master 4.8.32 task new 2024-01-27T08:44:20Z 2024-02-11T17:01:46Z zaytsev 21 savannah: ctrl-\ hotlist key won't work under tty mc-core master Future Releases task assigned 2008-12-25T12:34:19Z 2016-11-29T07:12:12Z "Original: http://savannah.gnu.org/bugs/?13729 ||Submitted by:||Oswald Buddenhagen ||Submitted on:||Mon 11 Jul 2005 04:00:03 PM UTC|| ||Category:||Keyboard input||Severity:||3 - Normal|| ||Status:||None||Privacy:||Public|| ||Assigned to:||None||Open/Closed:||Open|| ||Release:||current (CVS or snapshot)||Operating System:||GNU/Linux|| Original submission: {{{ in the linux console with a german keyboard layout, one is unable to get to the directory hotlist via ctrl-\. in this layout, \ is altgr-ß (equivalent to ralt-= on an american keyboard). i suspect that mc refuses to activate the hotkey, because it finds ralt to be pressed. this behavior is new in mc 4.6. }}} Comment 1 by Oswald Buddenhagen at Wed 21 Sep 2005 05:19:41 PM UTC: {{{ i came up with this hack - it just makes the right alt key not be recognized as an alt key at all. i have no idea how to fix it properly - one'd have to ask the keymap whether the ralt is part of the keycode or an additional modifier. hard-coding exceptions activated after a keymap query might work, but is utterly ugly. well, the code already has similar hacks to accomodate all types of terminals ... }}} Comment 2 by Roland Eggner at Wed 29 Mar 2006 12:54:13 PM UTC: {{{ I found a partial solution: Ctrl+4 (left ctrl key + ""4"" on main part of keyboard) brings mc hotlist, IF running in KDE console. Works with my Notebook Toshiba Satellite 3000-514 and this versions: SuSE-8.2/KDE-3.1.1/mc-4.6.0-336, and also Debian-etch/KDE-3.5.1/mc-4.6.1-1. If it works on other machines too: should be added to help files. More satisfactory would be an additional keybinding - I suppose ctrl+H - that works with german keyboard layout outside of X, too. Until now, outside of X I must use menu entry, have no keybinding for accessing the hotlist. Only ""add to hotlist"" Ctrl-X H works. }}} " ossi 389 Support of 'Extended Unix Code' mc-core master Future Releases task new 2009-06-02T07:24:04Z 2009-06-17T14:57:02Z "As described in #388, wee need to native support of EUC. " slavazanko 1439 update documentation system adm Future Releases task new 2009-08-02T08:54:24Z 2009-08-02T08:54:24Z "I propose generate manuals (man pages, and maybe other user documentation) from wiki, cause it more user friendly and easy to update. i.e. wiki->docbook(via trac)->docbock2man for man pages. on each preX/release man pages will update from wiki." iNode 1875 [METATICKET] Change user configuration mc-config-ini 4.7.5 Future Releases task slavazanko accepted 2009-12-15T07:31:27Z 2011-11-06T07:28:39Z "1. Move user mc configuration into ~/.config/mc in according with [http://standards.freedesktop.org/basedir-spec/basedir-spec-0.7.html FDO standard] (#1851). 2. Split [Midnight-Commander] section to several sections. 3. Store options of all dialogs (as possible) in config (#1572, #1874)" andrew_b 2026 inconsistent .mc /usr/share searchpath mc-core master Future Releases task new 2010-02-13T23:33:35Z 2010-02-13T23:33:35Z "as you maybe already know to test mc i set up a makefile that allows me to run mc from the build-directory, which is useful for debugging. the first thing that occured to me is that mc cannot load its skins and presents with a black and white-default theme. it's not hard to fix as mc warns me (on the console) that /usr/local/.. is missing and that the file /home/$me/.mc/cedit/Syntax is missing when the first file is edited. so i had to setup a .mc directory for testing and symlinked all the files that the new mc uses - i use a script to switch between the system-mc and the development version long story short: that works well with the syntax/skin/panel inis, but wont work with the mc.menu and cedit.menu they are searched in the /usr/local/share/mc/ path, not like the ini's in the home directory. therefore the user is not able to alter the mc.menu from the system default. the inconsistency is complete when one tries to use 'mc/misc' as '.mc' because 'mc/misc/syntax' has to be renamed to 'misc/mc/cedit' reproduce: backup&remove /usr/local/share/mc,/usr/local/etc/mc and ~/.mc (or use a clean system image) git checkout cd mc ./aclocal.sh ./configure make cd src ./mc hit F2 the acctual workarround is to do a make install with the build mc, as this copies the necessary files (but that messes with my packet manager). it would be really nice (eg for mc-environments: development, management, multimedia) to provide the 'mc-home' with a commandline parameter. should this be fixed? should we document (for developers) which src/misc files get live? and how they should be tested?" s01ja 2213 tree view: user manual update mc-core master Future Releases task assigned 2010-05-21T23:46:40Z 2016-01-30T15:10:28Z Don't forget to update the user manual, after doing all that work on tree view Janek Kozicki 2216 Active + mouse clicks doesn't refresh view mc-core master Future Releases task assigned 2010-05-22T03:19:54Z 2016-01-30T15:11:45Z Active + mouse clicks doesn't refresh view (master + patches from #1517 #2214 tickets) Janek Kozicki 2335 MC isn't GNU project anymore, is it? adm 4.7.3 Future Releases task new 2010-08-29T10:31:57Z 2015-04-06T05:31:16Z "From the front page: ""GNU Midnight Commander is a visual file manager, licensed under GNU General Public License and therefore qualifies as Free Software."" 1. current mc development is not maintained within GNU project, 'their' unforked abandonware resides under http://ftp.gnu.org/gnu/mc/ 2. I doubt current mc is about free as mind and philosophy by RMS, it's more like engineering freedom by Eric Raymond or Linus Torvalds and being licensed under GPL doesn't equal to Free Software, it's just Open Source Software. I suggest s/GNU Midnight Commander/Midnight Commander/g and s/Free Software/Open Source Software/g on all the web pages, documentation and sources. Inasmuch as the latter one (FS->OSS) is just my opinion and I leave it to you for consideration, the former one (GNU mc->mc) is a fact." gotar 2665 Translate MAN-pages via Transifex translations 4.8.0-pre2 Future Releases task assigned 2011-11-03T20:50:42Z 2023-01-05T21:21:58Z "We need to translate MAN-pages and hints on Transifex. For this, we need reimplementing some things in the source code. Very usefull tools for this are: * po4a - prepare docs for translate and vise versa * tx - CLI Transifex client. " slavazanko 3673 Deprecate size_trunc_sep() in favor of locale-dependent printf support mc-core master Future Releases task new 2016-08-17T12:58:38Z 2016-08-17T13:31:30Z {{{size_trunc_sep()}}} applies a handwritten grouping of digits regardless of the current locale. Effort has been made in #3666 to remove its usage. If such a function is necessary, {{{printf()}}} and have locale-dependent formatting support for this. michael-o 3734 Improve the syntax documentation documentation master Future Releases task new 2016-11-30T18:36:55Z 2019-09-28T08:18:05Z "There are several features not documented well, or not documented at all: [I'll edit this text from time to time to improve and extend it. Everybody: feel free to add comments and I'll incorporate them here. When we're finished we'll convert this to nroff format.] == Star Matches any length of characters (except newline). To be exact, it matches any character which is not the next one in the pattern. This effectively makes it ""non-greedy"" and lets you do `${*}` to match a shell variable. == Plus Surprisingly, it does **not** mean ""match 1 or more characters"". TODO. == Braces `\{chars\}` matches one character. == Brackets `\[chars\]` matches 0 or more characters. It's **greedy**, which means that if ''chars'' contains any of the characters appearing later in the pattern then the match will fail. (TODO: what's the purpose of ""`if (p[1] == d) i--;`"" introduced in commit df20f28f2e2b614 ?) == Misc * Pressing C-s twice effectively reloads the syntax file (so you don't have to exit the editor, or MC itself, to test your syntax modifications)." mooffie 3785 extfs: make the tester a TAP producer tests master Future Releases task new 2017-03-07T22:56:38Z 2017-03-07T22:56:38Z mooffie 3811 Have str_chomp() mc-core master Future Releases task new 2017-04-18T17:17:54Z 2017-04-18T17:17:54Z "We should introduce str_chomp(), and str_chomp_any(), and use it in (at least): * src/filemanager/panelize.c:do_external_panelize() * lib/vfs/parse_ls_vga.c:vfs_parse_ls_lga() * tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c:process_input() (str_chomp() is for trimming ""\n"" only; str_chomp_any() trims other variations as well, as in vfs_parse_ls_lga().) " mooffie 3830 mcedit: create a corpus of sample files in various syntaxes for testing purposes mcedit master Future Releases task new 2017-06-15T13:39:50Z 2017-08-23T22:39:16Z "(Henceforth, ""syntax"" == ""syntax highlighting"".) Our editor has many syntax definitions (*.syntax files). If we ever fix things on the C side of mcedit, or modify a syntax definition file, we'll have a problem: since we don't have a collection of sample files, in the various syntaxes, to test our fixes against, we (the maintainers) would have to create these sample files **ourselves**. And we'd have to create **good** files: such that demonstrate ''every nook and cranny'' in the syntax definitions. This is a lot of work, so I suggest we start small: have just one or two sample files for now, close this ticket, and add more sample files as time goes by. To alleviate this burden we ought to make a rule: ''Any new syntax definition must be contributed together with a sample file(s).'' The people writing the syntax files know their language best, so they're the ones who should provide the samples." mooffie 2147 create a skin repository adm task new 2010-04-19T16:08:33Z 2016-02-25T21:00:11Z "what about setting a page in the wiki with a skin repository where people can contribute their shining new skins? something like: http://www.vi-improved.org/color_sampler_pack/ with a screenshot and a link to the ini file, and the possibility to upload new ones. would be nice to have this some day :)" buenchaval 24 savannah: session management wanted mc-core Future Releases task new 2008-12-25T15:02:25Z 2014-01-11T15:49:52Z "Original: http://savannah.gnu.org/bugs/?13735 ||Submitted by:||Oswald Buddenhagen ||Submitted on:||Mon 11 Jul 2005 07:23:48 PM UTC|| ||Category:||None||Severity:||3 - Normal|| ||Status:||None||Privacy:||Public|| ||Assigned to:||None||Open/Closed:||Open|| ||Release:||current (CVS or snapshot)||Operating System:||All|| Original submission: {{{ this one is from the more exotic department ... :) in a ""heavily x-windowed environment"" you want session management. basically this means two things: (1) saving application state across session exit and restoration per-instance (per-window). for mc this includes panel locations, mode (normal, view, edit), cursor positions in panels, viewer, editor, most/all options. (2) prevention of data loss at session exit. for mc this is essentially unsaved files in mcedit. under x the standard protocol is xsmp (google for it, the first hit is right :). the session manager is a server that runs on the x client; there is no connection to the x protocol itself. basically it works this way: on session exit, there is a first broadcast ""is it ok to end the session?"". the clients with unsaved data can pop up asking what to do (save/discard/cancel [shutdown]). if the first round is successfull (no app objects the shutdown), a second round of broadcasts is send around, this time ""safe yourself requests"". every app is required to save its state in whatever way it wants, as long as this state information is kept away from the other instances of the same app. additionally, the app must tell the session manager what should be started upon session restoration to bring back the app into the state it left off. usually this is the command name of this app with some instance identifier. as mc is no ""native"" x client, we have to go through some hoops to get what we want. (2) requires that the app somehow gets the user's attention. there is no way around x in this case. fortunately, about any x terminal emulator exports the own window id in the WINDOWID env variable. thus we can simply do something like that: XRaiseWindow(mydpy, getenv(""WINDOWID"")); XSetInputFocus(mydpy, getenv(""WINDOWID""), RevertToParent, CurrentTime); (1) is a bit more tricky. as mc runs nested into a terminal emulator, communicating the correct restart command to the session manager is a problem. what we really want is a command line like ""xterm -geometry ... -e mc --session foo"". i seriously doubt that xsmp provides any means to do ""command line merging"", so mc cannot just extend xterm's restart command. however, i think the following would work: create a wrapper script xmc: ----------- #! /bin/bash # usage: xmc [--mc-option] ... terminal-emulator [options ...] # this is a trivial version; it only works with --parm=arg options # (i.e., single-element options). a full version needs to know each # option's argument requirements. while $# != 0; do case $1 in --*) opts=(""$opts[@]"" ""$1""); shift;; *) break;; esac done # uuidgen is currently part of libuuid1 on debian exec ""$@"" -e mc --session ~/.mc/sessions/$(uuidgen) ""$opts[@]"" ----------- that way xterm (or whatever) sees a command line that already contains the identifier of a session, which mc can use for its purposes. as xterm saves the complete client command line across sessions, we don't have to tell the session manager anything, things just work ... note that somebody simply clicking away the xterm window is not relevant to the matter of session management. well, one could still do some crash recovery, but that would be A Goog Thing (TM) independently of session management. }}} " ossi 1516 Make all options in mc.ini older than august 2009 available from configuring dialogs mc-core 4.7.0-pre3 Future Releases task new 2009-08-09T20:38:33Z 2010-02-21T02:27:39Z "(Excuse me for my bad English) In ideal all options in mc.ini should be available from configuring dialogs, from text user interface. In real life, some time will exist before new options from mc.ini will be added to TUI dialogs. I suggest review configuration dialogs from time to time. For example, make all options in mc.ini older than august 2009 available from configuring dialogs." sergey-feo 1561 Help for editor dialogs documentation master Future Releases task andrew_b reopened 2009-08-23T14:44:33Z 2019-09-28T08:20:07Z "'Search', 'Replace', 'Options', 'Save Mode' editor dialogs don't have help (F1). " andrew_b 1645 Avoid static char arrays in functions mc-core master Future Releases task new 2009-09-28T10:07:46Z 2011-10-29T16:59:08Z "If possible, create arrays in stack. " andrew_b 3469 Change listbox's navigtion '0'-'9' to '1'-'9','0' mc-core master Future Releases task new 2015-05-17T12:23:53Z 2015-05-17T12:23:53Z "Currently, '0' is the first item, '1' the second, etc. I suggest to make '1' the first item." mooffie 3664 Don't hardcode keys (+, -, \, *, X-enter) mc-key-bindings master Future Releases task new 2016-07-18T10:39:34Z 2018-11-05T18:35:20Z "midnight.c:midnight_callback() hardcodes several keys: * {alt,ctrl,ctrl-shift}-enter * +, -, \, * (for selecting files) These two patches fix this. The advantages are explained below. " mooffie 2234 Use mc events instead of mc hooks mc-core master Future Releases task new 2010-06-07T13:02:54Z 2011-10-31T10:57:07Z andrew_b 4352 syntax file for bitbake recipe file mcedit master Future Releases task new 2022-03-22T06:00:25Z 2022-03-22T06:00:25Z "Dear all. I am develping a project kind of Yocto project with midnigh commander. MC is very powerful tool for me to develp my project. But mcedit does not support syntax file for bitbake recipes. I tried to change Syntax file for bitbake recipes temporarily. For exampel .bb, .bbclass, bbappend ==> python or shell But it is not compatibile. " innobase 4170 Move CI from Travis to GitHub Actions adm master Future Releases enhancement new 2021-01-10T15:00:52Z 2024-01-21T14:54:16Z https://www.jeffgeerling.com/blog/2020/travis-cis-new-pricing-plan-threw-wrench-my-open-source-works zaytsev 4448 A keyboard shortcut to select a bunch of files mc-core master enhancement reopened 2023-02-27T07:31:11Z 2023-02-28T08:38:49Z "In Far file manager you can use Shift + Arrow Left/Arrow Right to deselect/select a bunch of files (a visible column worth of files actually). Is this possible in MC? https://unix.stackexchange.com/questions/737030/in-midnight-commander-how-to-select-a-large-continuous-range-of-files" birdie 4532 Preserve ext2fs attributes on copy/move operations mc-core master 4.8.32 enhancement andrew_b accepted 2024-03-24T16:20:25Z 2024-03-24T16:25:03Z Preserve ext2fs attributes on copy/move operations andrew_b 32 savannah: mc doesn't clean up tempfiles mc-vfs master Future Releases enhancement assigned 2008-12-25T18:51:13Z 2016-11-29T07:11:21Z "Original: http://savannah.gnu.org/bugs/?13953 ||Submitted by:||Marcel Pol ||Submitted on:||Wed 27 Jul 2005 02:40:48 PM UTC|| ||Category:||VFS||Severity:||3 - Normal|| ||Status:||In Progress||Privacy:||Public|| ||Assigned to:||Pavel Tsekov ||Open/Closed:||Open|| ||Release:||current (CVS or snapshot)||Operating System:||GNU/Linux|| Original submission: {{{ Mc 4.6.1 doesn't clean up tempfiles. This happens with mc-4.6.1 on Mandriva Cooker. This is with and without the utf8 patch. I only tried it with an rpm, and the cpio file remains in the /tmp/mc-user directory after a restart of mc. $ mc --version GNU Midnight Commander 4.6.1 Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish, undelfs With builtin Editor Using system-installed S-Lang library with terminfo database With subshell support as default With support for background operations With mouse support on xterm and Linux console With internationalization support With multiple codepages support A patch is available in the mc-devel archive at: http://mail.gnome.org/archives/mc-devel/2005-May/msg00228.html This patch has been made by Dieter Jurzitza on Suse 9.3. }}} Comment 1 by Pavel Tsekov at Mon 01 Aug 2005 08:56:00 AM UTC: {{{ The suggested patch won't do i.e. it is not the right thing to do. I am currently investigating . }}} Comment 2 by Leonard den Ottolander at Mon 01 Aug 2005 10:01:00 PM UTC: {{{ Hi Pavel, Hope you don't mind me assigning this issue to you :) . }}} Comment 3 by Pavel Tsekov at Thu 23 Mar 2006 03:04:46 PM UTC: {{{ I've just commited a fix: http://cvs.savannah.gnu.org/viewcvs/mc/vfs/extfs.c?root=mc&sortby=date&r2=1.125&r1=1.124&diff_format=u The temporary files used to remain only if MC exited before the vfs ""garbage collector"" kicked in. }}} Comment 4 by Pavel Tsekov at Mon 03 Apr 2006 02:32:13 PM UTC: {{{ Reopening since SFS also leaves stale temporary files when operating on remote files. I am working on it. }}} " mpol 67 savannah: x selection in editor mcedit master Future Releases enhancement assigned 2008-12-26T08:27:25Z 2016-11-29T07:18:47Z "Original: http://savannah.gnu.org/bugs/?19651 ||Submitted by:||me ||Submitted on:||Sat 21 Apr 2007 10:25:44 AM UTC|| ||Category:||Editor||Severity:||3 - Normal|| ||Status:||None||Privacy:||Public|| ||Assigned to:||None||Open/Closed:||Open|| ||Release:||4.6.1||Operating System:||GNU/Hurd|| Original submission: {{{ i managed to find another x problem: when you are in the *term and select some text all newlines are lost and filled up with spaces. i managed to find the problem in the editordraw.c in print_to_widget the hline draws blanks at the rest of the line. i understand that behaviour but there is a possibility to do this right: SLtt_set_color (DEFAULT_COLOR_INDEX, NULL, ""default"", ""default""); SLsmg_erase_eol(); or clrtoeol() however, i tryed to create that behaviour and failed because i cannot set the default color index (0) to blue/white. the problem is that users with other color settings (me: black/green) could be angy if i hardcode blue/white the default state is black/white - looks ugly but works. if you could suggest how to properly set the fg/bg should i create a new function in src/color.h? any suggestions? }}} Comment 1 by Pavel Tsekov at Sat 21 Apr 2007 11:20:23 AM UTC: {{{ Please, calm down. Finding a problem is the easy part - describing it properly, so that others can reproduce it, is of great importance if you want to get the problem solved. From you bug report it is clear that you see some problem related the way copy/paste works in relation to the internal editor. However, I cannot understand what is actually wrong - please, do the following: 1) explain what do you do - copy/paste from where to where ? 2) explain what happens 3) explain what do you expect to happen }}} Comment 2 by Oswald Buddenhagen at Sat 21 Apr 2007 11:41:25 AM UTC: {{{ i understood immediately what he means. :-P me: you can configure most *terms to strip trailing whitespace from the selection. without this, i would have freaked out long ago. :) }}} Comment 3 by me at Sun 22 Apr 2007 09:22:16 AM UTC: {{{ i dont like the idea of changing the terminal just because a application misbehaves. my workarround for several years is to cat the current file - hopefully it's not a 60M log... therefore created a patch (that only works for slang and mc 4.6.1) that uses a clear eol function to perform the action of clearing the rest of the current line. selection works fine for me now, but the display flickers on movement - something i can handle @pavel: did you even read the post? the solution was in it - i hope in future we can improve understanding! to make it work as described i had to create a new function in color.c&h that resets the color index 0. if anything simmilar exists please adopt the idea. i dont care if this ever ends up in the main tree - it would save me the trouble of patching. once a year.. gentoo ebuild with use flag in testing phase maybe apears in sunrise overlay peace me }}} Comment 4 by Pavel Tsekov at Sun 22 Apr 2007 09:31:31 AM UTC: {{{ Is it so hard to write a proper bug report ? I want to reproduce the problem myself and I couldn't - I failed because the lack of information. It is not correct to assume that everything has the same problem as you do. And how can I apply a patch if I do not understand what's going on. I am sure Oswald can explain the problem to me but after all it is up to the submitter to describe the bug it sees. }}} Comment 5 by me at Sun 22 Apr 2007 09:50:04 AM UTC: {{{ yes it is! because it is a feature that already works in other situations (single line) reproduce: start xterm start mc in xterm go to a file with newlines (eg COPYING) edit it (F4) press SHIFT and click-select some content over lines, do NOT use the mc cooledit buffer. paste the selected text (using MIDDLE mouse) in a application like email or in the same editor, notice the blanks. try the same if you cat the file on the terminal and notice that no blanks are in the other app: example: without patch (sorry bad to see) SOL> Preamble <- EOL SOL> at Sun 22 Apr 2007 09:56:32 AM UTC: {{{ mhh i browsed this menu @savannah and found that there is a difference between patch and bug and the bugs i submitted could have been patches - sorry for the trouble that might have caused, will use patches in future }}} Comment 7 by me at Sun 22 Apr 2007 09:32:43 PM UTC: {{{ bug in a bugfix... i noticed bad flicker in the console and realized that the setcolor function does force a screen redraw. therefore i moved its call to edit.c init() now i get a green blinking _ in the console (no X) when i quit mc - much less anoying than the flicker. any suggestions how to fix that? }}} Comment 8 by Pavel Tsekov at Thu 26 Apr 2007 04:16:10 PM UTC: {{{ Does it help if you disable ""Return does autoindent"" from Options -> General in the editor ? }}} " me4mc 83 savannah: editor needs read-only mode mcedit 4.7.1 Future Releases enhancement assigned 2008-12-26T10:16:27Z 2015-04-06T05:26:00Z "Original: http://savannah.gnu.org/bugs/?23513 ||Submitted by:||Oswald Buddenhagen ||Submitted on:||Sat 07 Jun 2008 07:57:22 AM UTC|| ||Category:||Editor||Severity:||3 - Normal|| ||Status:||None||Privacy:||Public|| ||Assigned to:||None||Open/Closed:||Open|| ||Release:||current (CVS or snapshot)||Operating System:||All|| Original submission: {{{ the editor needs a read-only mode. in this mode, cursor navigation would work as normal, but any attempt to modify the content would pop up a confirmation dialog requesting to switch the mode. the mode would be initialized from the file's access rights. a manual toggle (and possibly a command line switch to be able to use the editor as a viewer) would be provided. }}} " ossi 112 savannah: Issues with Batch Operations mc-core 4.6.1 Future Releases enhancement new 2009-01-02T21:06:00Z 2014-01-11T23:14:28Z "Original: http://savannah.gnu.org/bugs/?12737 ||Submitted by:||None||Submitted on:||Tue 19 Apr 2005 04:47:28 PM UTC|| ||Category:||Core||Severity:||3 - Normal|| ||Status:||None||Privacy:||Public|| ||Assigned to:||None||Open/Closed:||Open|| ||Release:||All versions||Operating System:||All|| Original submission: {{{ One of the main reasons people use MC is because if its ""Yes for all"" or ""No for all"" features. When doing batch moves/copies (of multiple directories) under Win32, the copy is often interrupted with ""Permission denied"" or ""File cannot be stat-ed"" and only options: ""Skip, Retry, Abort"". Skipping a lot of sequetial files often by accident skips files being copied (if you hold S!) - What a user interface disaster is that!? Another solution would be ""Force"" and ""Force All"" which would find the applications holding handles to files to be deleted, killing the handles, and deleting the file. I would most definitely add this feature, in the Linux version too. There should at the very least be a ""Skip All"" option, most definitely. Further, the neither the transfer rate nor ETA is displayed during most operations. Surely the code to do this for any operation is in place? I submit this here due to lack of time/ability to find a more appropriate place. Please guide me in the right direction. I will even fix these issues myself when I find the time. Thanks guys, everyone working on this project. We need this utility, everywhere! Furthermore, I have discarded the mc.hlp file long ago and do not know what version I am using as there is no About anywhere that I can find. }}} Comment 1 by Coenraad Loubser at Tue 19 Apr 2005 10:32:31 PM UTC: {{{ Version 4.1.36 }}} Comment 2 by Pavel Tsekov at Wed 20 Apr 2005 08:40:07 AM UTC: {{{ Do you speak of the native Win32 port of MC ? It has been deprecated for quite some time. If you want to use MC on Win32 you better get the Cygwin version of MC. Using setup.exe from: http://www.cygwin.com/setup.exe Btw you seem to use quite an old version of MC - the last released version is MC4.6.0 from 2 years ago, and also there there are the MC4.6.1-pre[1-4] pre-releases. }}} Comment 3 by Anonymous at Wed 20 Apr 2005 09:20:02 AM UTC: {{{ Thanks, ive been out of the loop for a while. I cringe when I thiink of installing cygwin, last time (about a year or 2 back it gave me such hassles) Maybe things have changed.... }}} Comment 4 by Pavel Tsekov at Wed 20 Apr 2005 11:35:52 AM UTC: {{{ If you have problems installing Cygwin or Cygwin packages you can ask for help on the Cygwin mailing list. If you want to only use MC you don't have to install the whole net distribution - just select 'mc' from the 'Utils' category. If the problem that you are experiencing persists with the Cygwin version you can come back and open a new bugreport or maybe continue this one. }}} Comment 5 by Oswald Buddenhagen at Mon 16 May 2005 05:25:30 PM UTC: {{{ the same happens under *nix with a vfat mount when the mount option ""quiet"" (ignore perm set errors) is not set. }}} " slavazanko 114 [FrReq] hide dotfiles in home directory mc-core 4.6.1 Future Releases enhancement new 2009-01-02T21:17:51Z 2014-01-11T23:16:40Z "Original: http://savannah.gnu.org/bugs/?13395 ||Submitted by:||Paul Wise ||Submitted on:||Tue 14 Jun 2005 09:08:04 AM UTC|| ||Category:||Screen output||Severity:||1 - Wish|| ||Status:||Confirmed||Privacy:||Public|| ||Assigned to:||Roland Illig ||Open/Closed:||Open|| ||Release:||All versions||Operating System:||All|| Original submission: {{{ I'd like to be able to show dotfiles by default, but not when in my homedir (because there are so many there). A similar option for the root user - hide dotfiles when in any home dir - might also be useful. PS: sorry if this is the wrong place to post RFEs }}} Comment 1 by Roland Illig at Tue 14 Jun 2005 10:27:16 AM UTC: {{{ That's a nice idea. Roland }}} Comment 2 by Anonymous at Tue 14 Jun 2005 12:56:40 PM UTC: {{{ I would like a custom directory entry, that says: ""(hidden files)"" or ""(hidden directories)"" When you press enter over it, it will display all hidden files or directories. These entries will only be displayed IF there is hidden files or directories. }}} Comment 3 by Egmont Koblinger at Wed 15 Jun 2005 07:16:41 AM UTC: {{{ It is a really bad idea and even raises security issues if a normal user can control the behavior how root sees his/her files. Whether or not hidden files are displayed to root should only depend on root's settings and not on any user's settings. Anyway I guess the same holds for normal users, too. I do want to see joe's dotfiles if I have permission to, no matter if joe has a directory entry called ""(hidden files)"". To comment #2: the original reporter (pabs) wanted to make the ""show dotfiles"" the default and have an exception for one directory. Your proposal is the opposite: make ""don't show dotfiles"" the default and allow to take exceptions. I don't think pabs wants to create such a special file in every directory except his home. However, someone else might want it the way you want it. So then we should have the possibility to override mc's default in both ways: force show, and force not show. Now this leads to so many possible filenames with special meanings to mc. If this feature is required at all, I suggest using only one filename or directory which begins with a dot (such as .mc_specials) and put all the configuration stuff in this file or under this directory. This would be quite similar then to the CVS or .svn directories of the version controlling systems. Anyway, I basically don't like this whole idea of custom directory entries, IMHO mc should not pollute the filename namespace and should not create files that disturb me outside mc (e.g. in ""ls"", ""nautilus"" etc...). I'm perfectly okay with a global configuration options ""show dotfiles except in my home"" if more people would like to see it. If some more general method is needed, take a look at http://freshmeat.net/projects/hidefile/ which is an example on how to hide files outside of mc's scope so that ls, nautilus etc. are also influenced. My biggest trouble is that once we have this ""force hidden files"" and ""force no hidden files"" per-directory options, I'm afraid no-one can stop people requesting dozens of similar stupid per-directory configuration options, such as to have different Listing mode, different editor/viewer etc. to each directory. }}} Comment 4 by Paul Wise at Wed 15 Jun 2005 07:54:19 AM UTC: {{{ I would prefer that my idea was not the default - it could be confusing to some users. The default would remain as it is. > It is a really bad idea and even raises security issues if a > normal user can control the behavior how root sees his/her > files. Whether or not hidden files are displayed to root should > only depend on root's settings and not on any user's settings. Indeed, and I meant it would be a per-user setting. I agree that this could set an annoying precedent for the mc developers, feel free to ignore it. }}} " pabs 197 Generic handling for built-in commands mc-core master Future Releases enhancement new 2009-01-16T04:24:58Z 2019-08-08T21:29:22Z "We should think about a more generic handling for built-in shell commands (""cd"" and ""ls"" are currently hacked up explicitly). " metux 279 Autorename when copying/moving files mc-core 4.6.2 Future Releases enhancement new 2009-02-20T11:59:59Z 2010-02-21T02:47:36Z "When files with the same names already exists, should be a button, to copy the files with autorenaming. result: file.txt, 2.file.txt 3.file.txt 4.file.txt or: file.txt, file.txt.2 file.txt.3 file.txt.4 or: file.txt, file(2).txt file(3).txt file(4).txt maybe user should have a posibility to set a rule how to rename via regexp or something like that. " styx 287 [PATCH] don't interpret modifiers for Esc + Numeral F-key emulation mc-core 4.6.2 Future Releases enhancement assigned 2009-02-25T12:09:50Z 2016-11-29T07:21:46Z "Numerals may require modifilers with some keymaps (e. g. Czech: F4 = Esc Shift+4) or on obscure keyboards (e. g. PDA: F4 = Esc Fn+R). That is why any attempt to interpret modifiers while interpreting Esc + Numeral sequence is invalid and may lead to mis-behavior (e. g. generating of F14 instead of F4). How to reproduce: - Set keymap to Czech - Press Esc Shift+4 Current behavior: Emulates F14 Expected behavior: Emulates F4 " sbrabec 373 git master: support for SHELL=/bin/sh in subshell mc-core 4.6.2 Future Releases enhancement new 2009-05-25T12:14:17Z 2024-03-20T14:00:39Z "Many environments provide POSIX compliant /bin/sh shell symlinking to: busybox: ash, hush debian: dash (passwd entry usually contains /bin/sh for them) There is no excuse to not support common shells. It at the very least confuses newbie users." slyfox 379 File content search: show part of content in list of found results mc-core 4.6.2-pre1 Future Releases enhancement new 2009-05-27T19:05:10Z 2009-05-27T19:06:54Z "From: Igor Eslava (in maillist) Description: Hello, I don't know if this is the correct way to do this, but I've created a patch to add a feature to Midnight Commander. If this is not the correct place to submit this, I would appreciate if you told me what the correct place is. When a file content search is made, the result screen displays only the name of the file the string was found into, but not the content of the line containing the word. This patch makes Midnight Commander show the content of line appart from the file name. Thanks for your attention Best regards, Igor" slavazanko 405 fast filter mc-core master Future Releases enhancement new 2009-06-14T08:22:13Z 2010-02-21T00:25:24Z "Sometimes may be usefull use fast filtering instead of file search. How it should works. Fast filter ""dialog"" (like the same for search) called by some hot-key (i.e. C-/, because F9-f it's too long and may vary for other locales). Enter key do end of input and apply filter to panel. May be some user case for update panel on any input field change, but it may be slow." iNode 1364 overly verbose xterm window title mc-core master Future Releases enhancement assigned 2009-06-21T14:18:30Z 2016-11-29T07:23:42Z "ticket #192 makes my desktop's task bar pretty useless for distinguishing my mc instances: the actually visible part of every window's title is now identical. also, this additional information is useless in most cases. if you want to do that right, the display must be selective: show only info which differs from the defaults. the locality and ownership of the session can be determined by querying the utmp database (on the command line, that would be the tty and who commands). the less magic and more flexible approach would be allowing the user to specify what to put into the title manually - a patch has been proposed in http://mail.gnome.org/archives/mc-devel/2007-August/msg00004.html. " ossi 1380 input widget history mc-core master Future Releases enhancement new 2009-06-26T11:37:33Z 2011-10-30T06:30:45Z "Some input history insert last value from history as default (i.e. Create a new Directory dialog in master, which called by F7). So, for consostancy it's should be done in most of the inputs: In Editor Search, in FTP Link, Shell Link... May be simplest way - make that behaviour default for this type of widgets, and disable when it should not work like this. It's also part of propose from #414 by VDA (comment 3). This enchancement also should solve bug from #1386." iNode 1444 shell like completion in quick_cd dialog mc-core 4.7.0-pre1 Future Releases enhancement assigned 2009-08-02T16:29:27Z 2011-11-06T07:11:12Z "I think shell like completion (by Tab) in quick_cd dialog should be very usefull and more intuitive." iNode 1483 Panel scrollbar mc-core 4.7.0-pre1 Future Releases enhancement slavazanko accepted 2009-08-06T21:52:09Z 2021-12-18T12:43:44Z "The following patch adds a primitive scroll indicator to the file panels. It will display only on the active panel, and only if necessary. Attached patch (against 4.7.0-pre1) does this." dborca 1488 Mountpoint selector mc-core 4.7.0-pre1 Future Releases enhancement slavazanko accepted 2009-08-06T23:00:13Z 2022-06-26T12:23:12Z "A nice feature of Advanced Midnight Commander mc-4.1.x-MP by Olegarch was the mountpoint selector. I ported it back to MC. Very useful, especially in conjunction with automounters for USB sticks, CDs, etc. F11 (Shift-F1) and F12 (Shift-F2) will display the mountpoints selectors for each panel. Patch (against 4.7.0-pre1) attached. " dborca 1494 internal cd command is very limited mc-core 4.7.0-pre1 Future Releases enhancement new 2009-08-07T13:08:09Z 2011-10-29T16:54:24Z "Hello, This is a Debian whislist bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520029 Thank you Denis Briand Robert Luberda wrote: ""The internal cd command is very limited. It doesn't support % substitutions, doesn't expands variables nor output of external commands It's impossible to do for example: cd %D cd TES* (if only one dir matches the wildcard) cd `/bin/pwd` cd $SOMEVAR cd somedir || echo fail All of the above commands do work in any normal shell, but not in mc. However after defining the follwing alias in bash alias ccd='cd' I can use `ccd %D', `ccd $VAR' etc. in mc. I wish this could be possible without the alias - either support for such an advanced features could be added to mc, or mc could provide a way to disable the internal cd in favour of the shell built-in one.""" narcan 1542 External Scripting mc-core master Future Releases enhancement assigned 2009-08-17T17:54:06Z 2016-11-29T07:20:20Z "{{{ /------------- External scripting --------------\ | | | Script: Name/command line | | (*) Basic _________________________ | | ( ) Pipe _________________________ | | | | [ ] Whole file if no highlited block | | [ ] Pad if column highliting | | | | Output: | | (*) Replace | | ( ) Insert | | ( ) Discard | | | | [< OK >] [ Cancel ] | \-----------------------------------------------/ }}} " angel_il 1581 Tabs or tab equivalent proposed mc-core master Future Releases enhancement slavazanko accepted 2009-09-03T20:44:57Z 2020-09-07T10:35:03Z "Many users has expirience with tabbed applications like firefox and support for tabs in mc can be usefull. Please describe your opinion about topic. What use case you see for tabs? How it should looks like? Should it be clickable tabs like firefox/vim, or buffers like emacs/far manager? {{{ andre> i don't know emacs/far manager - but i like the tabs in vim, however - buffers in vim are awesom, too }}} " iNode 1586 Sorting order differs from that of ls mc-core 4.7.0-pre1 Future Releases enhancement new 2009-09-06T12:00:47Z 2011-10-30T06:30:02Z "The file sorting order in mc differs from that of ls in my locale: {{{ ┌<─ ~/test ─────────────────────────────────────v>┐ │ Имя │Размер │Время правки │ │/.. │-ВВЕРХ-│ ▴ │ Test.txt │ 0│Июл 20 21:14 ◈ │ a.txt │ 0│Июл 20 21:15 ▒ │ b.txt │ 0│Июл 20 21:15 ▒ pent@neo:~/test$ ls -l итого 0 -rw-r--r-- 1 pent pent 0 Июл 20 21:15 a.txt -rw-r--r-- 1 pent pent 0 Июл 20 21:15 b.txt -rw-r--r-- 1 pent pent 0 Июл 20 21:14 Test.txt pent@neo:~/test$ LANG=C ls -l total 0 -rw-r--r-- 1 pent pent 0 Jul 20 21:14 Test.txt -rw-r--r-- 1 pent pent 0 Jul 20 21:15 a.txt -rw-r--r-- 1 pent pent 0 Jul 20 21:15 b.txt }}} I think mc should respect user locale settings. I'm ready to provide any additional info. Andrey Paramonov " pent 1601 editor/viewer: UTF-16 as input/edit encoding mc-core 4.7.0-pre2 Future Releases enhancement assigned 2009-09-09T18:25:13Z 2016-11-29T07:23:27Z "Being UTF-8 incompatible and quite popular on windows (mc is popular on rescue CDs) and some players/book readers(some DIGMAs) it would be cool to implement UTF-16(and other multibytes: JIS, etc.) as encoding for read/write." slyfox 1636 hotlist: fast filter mc-core master Future Releases enhancement new 2009-09-23T16:35:54Z 2020-12-23T05:42:27Z "To navigate over a big list of hotlist items we should add fast filter. Filter should work for label and for directory path. It should be non strict, i.e.: ""ftp"" should item that contents ""ftp"" substring in label or path. Filter should work only for current group. p.s. this ticket is similar to #405 (panel related). p.p.s. Filter will be called by C-s/M-s (or key which will be used in #405, for consistency)." iNode 1652 Hide ^M in editor. mcedit master Future Releases enhancement assigned 2009-10-02T12:51:49Z 2020-01-26T09:08:01Z "Need to hide !^M symbols at end of lines in text files with '\r\n' line ends. Better way: create keybinding for toggle !^M symbols. " slavazanko 1727 mc ask for sudo password when is needed. mc-core 4.7.0-pre3 Future Releases enhancement new 2009-10-18T14:39:25Z 2014-02-28T02:23:11Z Using mc in sudo mode is not a good idea. Therefore, it will be more useful if you can do some sudo operations without quit mc or runnig it in sudo mode. gnusci 1751 Indenting should behave EXACTLY like Tab/Backspace mcedit 4.7.0-pre3 Future Releases enhancement new 2009-10-28T11:57:36Z 2011-11-03T09:29:20Z "part of #1489 > >3. Indenting should behave EXACTLY like Tab/Backspace will behave when used on a single, non-selected line. > > but Tab/Backspace on a single, non-selected line work as tab / backspace > tab - insert , backspace - delete 1 char. > > Or what do you mean? Not if you have the default configuration: [x] Fake half tabs [ ] Backspace through tabs [ ] Fill tabs with spaces Tab spacing: 8 {{{ Step0: text Step1: hit Tab text Step2: hit Tab <------>text Step3: hit Tab <------> text Step4: hit Backspace <------>text Step5: hit Backspace text }}}" dborca 1756 Automatical update of the file list mc-core 4.7.0-pre3 Future Releases enhancement new 2009-10-29T20:39:57Z 2021-11-12T22:27:50Z "Now when you change the list/attributes of files/directories are not from mc, mc panel are not automatically updated and you must to press ctrl + r. This is inconvenient because sometimes you forget do that and you come in strong surprise. Especially surprised people accustomed to the file manager where this feature is implemented (eg nautilus, far). I think that it is not very difficult to implement (notification of fs or through the update timer). " alex_zol 1762 [METATICKET] Find file - more search parameters mc-core 4.7.0-pre4 Future Releases enhancement new 2009-10-30T22:59:03Z 2016-12-17T06:55:58Z Find File dialog should allow to search using file size, owner/group and mtime at least. gotar 1808 Featured skin: hiddenfiles-sign-show not showing in Putty mc-skin 4.7.0-pre4 Future Releases enhancement new 2009-11-08T13:43:11Z 2011-11-03T09:29:56Z "The centred dot (Unicode 0x22C5 I think), appears in my Putty under WXP as a square (the default for a missing character). I found this is because of the character missing in the Courier New standard font. I tried some other TTF and most of them didn't support this dot (Deja Vu Sans does). The thick dot for hiddenfiles-sign-hide seems to be a better choice and is always supported. Can we change in the featured.ini this dot in behalf of the common one, 0x0B7 (in my Spanish keyboard it is in Shift-3)? BTW, when doing these ""experiments"" I noticed that it was possible to put there a two character string (I tried both good and bad dots there) and the mouse input was confused by it. Maybe these strings should be checked at runtime and just pick the first unicode character of the string. Anyway, I'm afraid that mouse input in the header line needs some extra fine tuning." dmartina 1834 show two more upper lines when_Find-file_then_F4 mc-core 4.7.0-pre4 Future Releases enhancement assigned 2009-11-19T14:58:12Z 2016-11-29T07:08:54Z " when M-? then F4(opening a file) cursor line is first on the screen. And sometime is good to see one-two lines above also. Why not ? " vit_r 1849 mcview: color output (ansi escapes) support mcview master Future Releases enhancement new 2009-11-28T13:19:16Z 2020-10-10T11:37:20Z "This is similar to #28, however my approach is entirely different and much simpler. Instead of using editor's syntax highlighting (or better: apart from it) mcview should simply have the ability to display color control sequencies (similar to less -r/-R switches). Having this we're almost done - all we need is some internal (via mcedit code) or external (like highlight package) formatter to colorize output. So for example we could define View=%view{ascii-color} to pass through ""highlight --xterm256 --style=darkblue"" command and that's it. %view{ascii} and %view{ascii-color} could be switched either in mc.ext/bindings file or some function within viewer itself. Of course some movement issues would appear, but it should be enough to colorize only currently visible part of the screen or sth like this." gotar 2092 Better hard link creation, support for directories mc-core master Future Releases enhancement new 2010-03-09T07:48:00Z 2011-11-07T12:01:25Z "The Midnight Commander hard linking feature (C-x C-l) could use some improvement. The working directory of the other panel should be offered as a default target, and if working on directories, Midnight Commandeer should behave like cp -Rl, recreating a similar directory structure in the destination directory which is then populated with hard links to the original files. (This is the behaviour of FAR Manager's Alt+F6.) Hard links are an unfortunately often overlooked, misunderstood or just plain unknown feature of the file system. They have many uses, and the ability to create hard links and recreate directory structures is particularly useful for things such as preparing CD images or collections of directories and files which later need to be processed comfortably, without taking much disk space. This doesn't replace or is superseded by the ability to create copy-on-write files on filesystems that support it, of course. I'll attach a portion of my mc.menu file which shows an example of this feature implemented as user commands. This requires dialog or whiptail to work." Wiseman1024 2162 xdiff (binary diff) mcdiff master Future Releases enhancement new 2010-05-01T07:30:49Z 2015-06-18T18:28:15Z "xdiff = Binary diff (ala vbindiff), just for the sake of it. http://www.midnight-commander.org/attachment/ticket/120/xdiff.c.patch" dborca 2194 Use no caching mode for copy/move(=copy to a new media and remove) files operations mc-core master Future Releases enhancement new 2010-05-13T10:50:16Z 2015-06-18T18:37:18Z "For file(s) copy operation, please, consider using Linux syscall madvise()/fadvise() with DONTNEED parameter not to clog system RAM with unnecessary file caching. In absolutely most circumstances you copy file but you don't want these files to be cached. Something like: [X] Don't cache files being copied PS This option does apply to ""Move file(s)"" operation when a new destination is a different media/FS/VFS." birdie 2343 hotkey on any language mc-core master Future Releases enhancement new 2010-09-08T05:18:36Z 2015-05-28T06:01:57Z "is it possible what hotkeys works on any language ? for example i want search file dialog on ""M-?"" and on ""M-,"" (on russian) hotkeys must be ""keys of keyboard"" combination, not of chars " x905 2402 In Dialog Find File add skiping mc-core 4.7.4 Future Releases enhancement new 2010-10-28T06:58:17Z 2016-12-17T06:56:16Z "Please add in Dialog Find File, in find by content, new options skiping search - in archives - when file size large than NNNN Mb(G)" gonzo111 2413 Support backups in cp/mv operations mc-core 4.7.4 Future Releases enhancement new 2010-11-09T10:15:36Z 2011-11-05T06:14:26Z "from man cp/mv: --backup[=CONTROL] make a backup of each existing destination file [...] The backup suffix is `~', unless set with --suffix or SIMPLE_BACKUP_SUFFIX. The version control method may be selected via the --backup option or through the VERSION_CONTROL environment variable. Here are the values: none, off never make backups (even if --backup is given) numbered, t make numbered backups existing, nil numbered if numbered backups exist, simple otherwise simple, never always make simple backups As a special case, cp makes a backup of SOURCE when the force and backup options are given and SOURCE and DEST are the same name for an existing, regular file. This function in missing in mc, which only offers overwrite or skip. I'm using a script with double suffixing: {{{ copy=""$orig""-`date +%F` mv --backup=numbered ""$orig"" ""$copy"" }}} which is even better, as it doesn't create countless numbers of backups (useful for files frequently changed)." gotar 2421 Patch which adds support to highlight occurences of pattern. mcedit 4.7.0.10 Future Releases enhancement reopened 2010-11-17T14:45:58Z 2015-06-18T18:37:52Z "Hi, I have attached a patch for mc-4.7.0.10 branch, which enables to highlight occurrences of a pattern in mcedit. To highlight user needs to select menu item in editor ""Search/Highlight occurrences"". This is a patch for mc, which I sent to, likely, old mc team and got no reply. thanks!" myehorov 2454 Make reloading extfs contents possible mc-vfs 4.7.4 Future Releases enhancement new 2010-12-24T13:27:17Z 2019-06-25T09:47:39Z "Currently mc caches entire vfs structure and so requires restart to reload it (not only !CmdReload doesn't reread original source, but also assumes some file operations as done even if they weren't). This is both irritating and makes it impossible or hard to write some new extfses. I'm trying to use Android Debug Bridge to connect to my phone (without FISH or some fancy FUSE mounting like sshfs). However mc expects full directory listing (including all the subdirectories) at the very beginning, which is pointless in case of tree based layouts behind (not to mention it would take ages and put unnecessary strain to the device). I'd like to use vfs reload code to fetch contents of cwd (or any currently required location only), just like it happens with regular fs (every cd gets fresh data). In order to do this I need two additional features: 1. some extfs marker to set for partial reload capable (for autoreloading contents after every cd, otherwise one needs to press ctrl-r), 2. passing internal cwd (i.e. the part after #extfs) to the list action." gotar 2490 Just restore MC upon reexecution mc-core 4.7.5 Future Releases enhancement new 2011-01-30T22:45:31Z 2015-06-18T18:26:55Z "It's really annoying to get/see/asnwer: {{{ ┌───────────── Warning ──────────────┐ │ GNU Midnight Commander is already │ │ running on this terminal │ │ Subshell support will be disabled │ │ │ │ [ OK ] [ Quit ] │ └────────────────────────────────────┘ }}} as you try to run MC when you are already running it. Please, just restore the running session without showing this dialog or make it an option." birdie 2496 "return ""Force subshell execution"" option (-r in comand line)" mc-core 4.7.5 Future Releases enhancement new 2011-02-10T16:05:58Z 2013-01-10T10:38:09Z "Hello. This can be found in git log: commit 915136719d4bf5c4ceb383b3629e62086f5bfdd7 Author: Pavel Roskin Date: Sat Mar 22 05:28:08 2003 +0000 * command.c (enter): Check subshell state early and return if inactive before clearing the command line. * main.c (force_subshell_execution): Remove magic, unusable, undocumented command line option ""-r"". Or in old text changelog: 2003-03-22 Adam Byrtek * command.c (enter): Check subshell state early and return if inactive before clearing the command line. * main.c (force_subshell_execution): Remove magic, unusable, undocumented command line option ""-r"". What do you think about resurrection this ? This option is supported in mc package in AltLinux now: http://www.sisyphus.ru/ru/srpm/Sisyphus/mc/patches/4" asy 2530 Don't reset selection on mouse clicks, but only on mouse drags mc-core 4.7.5 Future Releases enhancement reopened 2011-04-04T22:06:53Z 2015-06-18T18:35:57Z "By now, mc resets selection on every mouse click. That's very inconvenient as selecting with mouse is usually needed when the you don't want to navigate far away with key presses, and you'll probably not want to navigate back with keys again. But you can't navigate back with mouse as it will reset the selection you've just made. I think mc must reset selection only if the user starts new one, i.e. drags the mouse. See attached patch please :) ---- BTW, there was a change in Ctrl-Ins behaviour somewhere between 4.7 and 4.8 - in 4.7 Ctrl-Ins resetted the selection, but now it doesn't. I think it was more convenient when it resetted the selection. Are there any principal arguments? Maybe the behaviour could be restored to original, or selected with an option?" vitalif 2597 Add support for shift-f#, alt-f#, ctrl-f# hotkeys mc-tty 4.8.0-pre1 Future Releases enhancement assigned 2011-08-22T21:30:25Z 2021-10-22T11:00:44Z "Some terminal descriptors (e.g. TERM=gnome for gnome-terminal, etc) contain many extra descriptors for modificator+f# hotkeys, compared to 'simple' terminal descriptions like xterm: F1..F12 (kf1-kf12), Shift+F1..Shift+F12 (kf13-kf24), Ctrl+F1..Ctrl+F12 (kf25-kf36), Shift+Ctrl+F1..Shift+Ctrl+F12 (kf37..kf48), Alt+F1..Alt+F12 (kf49..kf60), Alt+Shift+F1..Alt+Shift+F3 (kf61..kf63) (see also `infocmp -1 -I gnome`). However, I cannot use these hotkeys in /etc/mc/mc.keymap neither as 'alt-f7' or as f55, for example. It would be nice to support somehow these extra hotkeys, at least as 'f##' if not as modifier-f#. This would allow to set up Alt+F7 as an alternative key for file searching, which will ease the life of those who migrates from Windows/FAR, for example. " zap 2622 Editor in panel, not fullscreen mcedit master Future Releases enhancement new 2011-10-01T13:09:57Z 2023-07-13T14:03:31Z "Would be great MC after pressing F4 have ability to embed vim or mcedit (or other editor) in left or right panel without using fullscreen. Just like quick view, but with ability to edit" vip 2656 view torrent files using dumptrorrent.pl mc-core 4.8.0 Future Releases enhancement new 2011-10-28T20:34:18Z 2011-10-29T08:29:49Z "4.8.0 introduced viewing .torrent files using ctorrent, but this requires having ctorrent installed, which is an unnecesaary 3rd party dependency. There is a 3KB perl script provided with bitflu - dumptorrent.pl, it is more lightweight and can be provided along with source tarball." non7top 2693 "implement ""follow symlink"" command" mc-core master Future Releases enhancement new 2011-12-17T10:42:51Z 2013-10-23T07:45:23Z "it would be useful to be able to jump from a symlink to the directory+file it references. shortcut could be ctrl-shift-f, and alt-shift-f to follow the link in the opposite panel, i think. this is semantically somewhat related to ticket #2423. oh, and now i notice i even added a comment which says exactly that a year ago. :D" ossi 2697 Filter as you type mode mc-core master Future Releases enhancement new 2011-12-21T11:06:34Z 2017-09-21T13:05:48Z "After using total commander, I'm kind of used to have a choice of what the keystrokes do - either filter as I type, find as I type etc... In midnight commander I only seem to have the find-as-you-type feature (which is also great). Since I usually prefer the filter as you type method, it would be great if it can be added to the midnight commander functionality, maybe as an option to choose from..." iwfmp 2701 Compress to format... mc-core master Future Releases enhancement new 2011-12-21T11:58:57Z 2018-05-02T10:27:39Z "ATM there's a few scripts in the user menu that compress to a few formats. It would be great to have a prompt for the compression type when trying to compress files/directories. Perhaps using a hotkey (C-x, c) to show the window that prompts for a compression type (zip, tar.gz, bz2 etc...) and using a hotkey to choose the specific format. The name of the compressed file would be prompted from the user when the format is chosen..." iwfmp 2715 Copy issue with sparse files mc-core 4.8.1 Future Releases enhancement new 2012-01-17T22:26:29Z 2018-10-09T10:50:55Z "If I copy sparse file (created with: dd if=/dev/zero of=01-sparse.img bs=1 count=0 seek=1M ) using mc built-in copy (F5) then it creates file with allocated size (02-sparse-mc4.8.1.img) If I use cp (cp 01-sparse.img 03-sparse-cp.img) it keeps the size unallocated: $ ls -al 01-sparse.img 02-sparse-mc4.8.1.img 03-sparse-cp.img -rw-r--r-- 1 boris boris 1048576 2012-01-17 23:02 01-sparse.img -rw-r--r-- 1 boris boris 1048576 2012-01-17 23:02 02-sparse-mc4.8.1.img -rw-r--r-- 1 boris boris 1048576 2012-01-17 23:03 03-sparse-cp.img but $ ls -1 -s 01-sparse.img 02-sparse-mc4.8.1.img 03-sparse-cp.img 0 01-sparse.img 1024 02-sparse-mc4.8.1.img 0 03-sparse-cp.img " BzF 2744 Normal work on read-only file systems mc-config-ini master Future Releases enhancement new 2012-03-09T12:30:56Z 2014-11-04T18:31:54Z "Related to #2738 We should continue work even if mc don't have ability to save config files (or don't read configs). This will be useful to run mc on read only filesystems, for example. " slavazanko 2749 C-code navigation via cscope mcedit master Future Releases enhancement new 2012-03-19T09:50:40Z 2012-03-19T09:50:40Z "I tried to use ctags for code navigation and everything was nice until I tried the code of L4 microkernel. There is a lot of complex declarations and ctags appeared to have troubles parsing them correctly. After a number of attempts to figure out input args for ctags, I decided to use cscope. It parsed everything perfectly. I thought that use of cscope in mcedit for code navigation would be a great option. I did not investigate the complexity of adding support of cscope, but I hope that existing code from ctags support can be used. Thanks in advance. Sergey Grekhov." grekhss 2772 Suggestion to load /etc/mc/mc.ext after ~/.config/mc/mc.ext anyway or add keyword to mc.ext for this purpose. mc-core master Future Releases enhancement new 2012-04-06T18:06:56Z 2014-12-21T16:20:34Z "If I create '''~/.config/mc/mc.ext''' then '''/etc/mc/mc.ext''' no longer parsed. I want to track my personal customization to mc.ext but also I want stay in touch with upstream version of mc.ext. To use upstream version of '''mc.ext''' with my small but essential for me customizations I need merge these two files: {{{ $ cat $skelproj/.config/mc/mc.ext /etc/mc/mc.ext > ~/.config/mc/mc.ext }}} Pretty easy but how about '''keyword''' to load system wide configs? So anyone can just copy mc.ext to proper place?" gavenkoa 2792 add transilterate option when copy/move filenames with encoding change mc-core master Future Releases enhancement new 2012-04-28T10:41:57Z 2012-04-28T10:41:57Z "It would be nice if mc can do transliteration when copy/move files with filename encoding change. So we can easily tarnsliterate accented characters via select ASCII filename encoding with transliteration as target encoding. {{{ man icon ... //TRANSLIT When the string ""//TRANSLIT"" is appended to --to-code, transliteration is activated. This means that when a character cannot be represented in the target character set, it can be approximated through one or several similarly looking characters. }}} It could be done an easy way, e.g. user have to add some flag to the encoding in the ""to"" path: maybe a T or _ (underscore) after the encoding, or change the '#enc:' to '#enct' or something similar. {{{ | [x] Using shell patterns | | to: | | /tmp/2/#enc:CP437T/ [^] | | [ ] Follow links [ ] Dive into subdir if exists | }}} Or add a checkbox to codepage selection dialog: {{{ +--------- Choose codepage -----------+ | [x] Transliterate when copy or move | | - < No translation > | | 0 7-bit ASCII | | 1 ISO 8859-1 | | 2 ISO 8859-2 | | ... | | b KOI8-U | | c UTF-8 | +-------------------------------------+ }}} " szaszg 2801 allow shell substitutions in hotlist menu mc-core master Future Releases enhancement new 2012-05-04T07:37:58Z 2012-05-04T07:37:58Z currently midnight commander does not interpret entries like /drive/?/marker/.. in hotlist menu. it would be nice to have such an option. jose1711 2822 allow panelizing VFS where possible mc-vfs master Future Releases enhancement new 2012-05-31T18:39:01Z 2012-06-01T02:03:38Z "mc should allow panelizing (C-x !) in non-local file systems where the underlying protocol provides some means of recursive listing. There are cases like FTP or fish where this would be perfectly possible, and it would be very useful. To give an example, with large repositories containing myriads of mostly irrelevant files spread accross subdirectories, panelize would allow to download only files that match certain criteria rather than the entire directory tree." zooloo 2836 Faster directory load in certain (specific) cases mc-core master Future Releases enhancement new 2012-06-28T01:18:24Z 2013-10-03T17:28:41Z "If there's a need to enter directory containing thousands of entries, calling lstat() for every one of them is very expensive ...and sometimes not necessary. My suggestion: 0. make use of AC_STRUCT_DIRENT_D_TYPE to check for dirent.d_type existence for the rest to work at all, 1. if: - user has set some new option (like 'quick_cd' to be >0), - current panel view doesn't include UID/GID/mode/*time etc. (higher levels of 'quick_cd' may further narrow it down, I think quick_cd=1 should strip on size only, 2 for size and *time, and 3 ignore all the attributes), 2. then: - handle_dirent() for d_type==DT_DIR should skip mc_lstat(), instead put some predefined values (0s) when called from do_load_dir(), - keep it as it is for do_reload_dir(), 3. alt-t for such partial directory listing should reload directory when required (if some not loaded attrs need to be displayed). This way quick_cd=1 omits lstat() for directories, when current panel view requests type/name/size - only size is lost and this is usually useless (and fast to retrieve via ctrl-space). With higher levels one can expand this behaviour up to entirely disabling lstat() for directories. Still, ctrl-r would bring all the data back." gotar 2865 mcdiffviewer could save diff mcdiff master Future Releases enhancement new 2012-08-10T13:32:08Z 2012-08-10T13:32:08Z "mcdiffviewer could save ""current"" diff into a file" szaszg 2867 mcdiff should show *.diff/*.patch files mcdiff master Future Releases enhancement new 2012-08-14T05:16:20Z 2012-08-14T05:41:26Z "mcdiff should show *.diff/*.patch files for example: 1) mcdiff main.c -p main.diff show side-by-side two files, main.c and main.c + main.diff 2) mcdiff -d main.diff show side-by-side main.diff " angel_il 2875 [patch] mcedit supertab mcedit 4.8.4 Future Releases enhancement new 2012-09-03T13:42:48Z 2012-09-03T13:45:04Z "From mailist: https://mail.gnome.org/archives/mc-devel/2012-September/msg00000.html and https://mail.gnome.org/archives/mc-devel/2012-September/msg00001.html: Hello. I would like to propose a patch to mc to make autocompletion in mcedit by pressing only TAB key if we are not in indent. Reason: ESC Tab is not very convenient key combo to press often, and alt-tab is used by Gnome. Also it is good to have the same experience as with bash completion. Patch checks whether we are in indent and if not, then it swaps actions of CK_Complete and CK_Tab. If we are in indent, then both CK_Tab and CK_Complete produce tabulation (anyway completion in indent does not work). Possible improvements: 1) if previous symbol is space/tab, then CK_Tab may produce tabulation instead of completion. 2) if completion has nothing to suggest and CK_Tab was pressed more than once consequently, then also produce tabulation. Short version of patch do nothing with translation files. Full patch introduces translation for switching checkbox for russian language and updates pot, po and gmo files (just by calling 'make -C po update-po' and then 'make -C po install' ). Please tell me your opinion and suggestions, Sergey Naumov. " slavazanko 2916 Select / filter by file size mc-core master Future Releases enhancement new 2012-10-12T11:02:14Z 2020-07-03T05:25:04Z "In some occasions it can be useful to select (or filter) files by their size, instead of by name/date etc. Currently one has to sort files by size and then select them manually, which can be annoying if you have to deal with hundreds of files. This could be implemented as a special filter selection pattern (e.g. ""<20k"", "">5m""), and/or as an additional field in the ""sort"" dialogue box." cri 2920 Better skin files documentation master Future Releases enhancement new 2012-11-02T21:11:33Z 2017-01-23T00:58:20Z "I forked and improved a theme called ""solarized"". I made a few improvements: 1. Adding comments on each line. 2. Collecting all variables I could find. I shouldn't explain why this is necessary - The documentation at the moment is pure garbage, and it took me a while to collect all entries, and a while more to understand what each entry does. It is still incomplete, and I hope some could help with the stuff I, personally, don't use (like the editor or viewer), or refer to the TODO's there to help explain entries I couldn't find or understand. You are free to view it here: https://github.com/iwfmp/mc-solarized-skin" iwfmp 2937 "Make the ""Open file..."" dialog in mcedit have a gui similar to mc where the user can pick a file graphically, not by typing its entire path." mc-core master Future Releases enhancement new 2012-11-26T07:35:01Z 2012-11-28T12:30:11Z Currently, if you do File>>Open File... in mcedit then you get a dialog where you must type the full path of the file you want. This could be a little cumbersome. Can you make a dialog similar to mc where you can browse the filesystem and select a file? trusktr 2948 ~/.config/mc/mcedit/menu: split filetype related actions to separate files mcedit master Future Releases enhancement new 2013-01-07T22:33:56Z 2014-12-21T16:10:11Z "Hi mc have one big file ~/.config/mc/mcedit/menu for actions of all filetypes. Can we store these actions in separate files? For example, actions for perl will be in ~/.config/mc/mcedit/menu.d/perl file; actions for python will be in in ~/.config/mc/mcedit/menu.d/python etc. Also would be cool to realize an 'include' option in menus Thanks! " chinarulezzz 2977 Show images with img2txt helper (libcaca utility) mcview master Future Releases enhancement new 2013-03-09T06:23:08Z 2015-04-06T05:41:33Z "IMHO will be nice if mc can show images in quick view mode. It will be done if we convert images to ANSI color text files (with libcaca img2txt utility), and mcview can show ANSI colored text files. (and we fix mcview magic mode bug, see Ticket#2976) We can use sfs (1) and image.sh (2) to convert images to ANSI colored text. We can use nroff highliting mode (3) to show images. We should fix mcview magic mode bug (4). We should add a new hotkey to switch ""Format""/""Unformat"", because in quick view mode F9 do menu !PullDn (5) So i attach a patch: util.{h,c}: -a new compression type COMPRESS_IMG to handle sfs type image conversion (related to 1) -detect GIF, PNG, JPEG magic in get_compression_type() function (rel. 1) -new decompress extension '''/img''' in decompress_extension() function (rel. 1) sfs.ini: -new img ""decomress helper"" img2txt (rel .1) image.sh: -detect img2txt utility and use it for JPEG and other (*) images (rel .2) -print exif data (if any) after image to keep imege at top internal.h: -text wrap can broke images, so we defined a test (WRAP_MODE_DISABLED() and TEXT_WRAP_MODE()) to avoid text wrap when show ANSI colored text (rel. 3) -new enum (nroff_high_type) to select different highliting modes (e.g. ANSI :) -new member in view struct (nroff_high_type) to cache the result of highlite rule detection lib.c: -initialize nroff_high_type for views in mcview_toggle_magic_mode() function (rel. 3) display.c: -use mcview_display_ansi() if mcview in nroff_mode and file is ANSI colored (view->nroff_high_type) (rel. 3) mcviewer.c: -initialize nroff_high_type for new views in mcview_new() function (rel. 3) -fix mcview magic_mode bug in mcview_load() function (as in Ticket#2976) (rel. 4) move.c: -""if (view->text_wrap_mode)"" and similars changed to ""if (TEXT_WRAP_MODE(view))"" to avoid text wrap when show images (see note 1) (rel. 3) nroff.c: -check nroff_high_type (if not checked yet) and do ANSI colored display if needed (this is the optimal place to check) check result saved and later (if user play F9) display.c call directly the ANSI function... Makefile.am: -add ansi.c (rel. 3) ansi.c: -new function get_nroff_high_type() detect ANSI color escape sequences in the first 256 byte if file size less than 1M (avoid playing big files) (rel. 3) -new function mcview_display_ansi() to display ANSI colored text files (see note 2) (rel. 3) After make install i add ctrl-t to !NroffMode in mc.keymap, so now i can switch ""Format""/""Unformat"" mode on quick view panel. (rel. 5) ================================== So... 1. start up mc 2. switch quick view ctrl-x ctrl-q 3. browse an image (jpeg, gif, png) 4. switch to quick view (TAB) 5. press ctrl-t (should be set as i mentioned before) 6. 8-o 7. switch back to file list (TAB) 8. just browse your photos ;-) If you open an image in viewer F3, you can see the identify line the image and exif tags (jpeg only) Notes: 1. all other ""if (view->text_wrap_mode)"" and similars changed to ""if (TEXT_WRAP_MODE(view))"" in files 2. mcviewer_display_ansi() is similar to mciewer_display_text() but: -detects ANSI color sequences ''!^[#;#;#m'' when # is 0,1,5 or 30-37, or 40-47 -it uses a 128 byte length puffer, so color sequences larger than 128 byte not detected (there is no any reason to somebody use as long sequences) -if escape seq. not an ANSI color (e.g. cursor movement, etc...), or too large then displayed as in mciewer_display_text(). -it can use as many color pairs as the underlaying terminal(emulator) allow (usually 256), but mc allocate some color pair before. So in same cases (e.g. mc use ""underlined"" colors, and text file has 256 different color pair) this number may not enough and mcview show some ""default"" colored caracter instead of the ""real"" color. -it use a special escape sequence (!^[9999m), to detect the end-of-image and switch back to normal colors. (image.sh use this thing to show up exif data in normal colors)" szaszg 2979 More user friendly bookmark management mcedit master Future Releases enhancement slavazanko accepted 2013-03-14T13:27:21Z 2017-06-25T16:12:04Z "It will be nice, if user can: - remove bookmarks individualy - show up a bookmark list to select and remove bookmarks (like directory hotlist in filemanager)" szaszg 2997 mc does not support autodetection for extfs - problem with different formats of .ipk files (now with patch) mc-vfs 4.7.0 Future Releases enhancement new 2013-04-06T18:43:39Z 2014-08-12T08:41:10Z "There is a problem with .ipk files support in mc, mainly because one extension .ipk can have two different formats. First format is tar.gz archive which is currently supported by mc. However second format is based on ar, and archives in this format are provided by some openembedded distributions. Unfortunatelly ar does not support tar archives and vice versa. To support both formats with same extension mc should have sort of ""autodetection"" or fallback if first extension returned with error code, because currently trying to browse or ""enter"" ipk archive triggers error: {{{ tar: To nie wygląda jak archiwum tar tar: Przeskoczenie do następnego nagłówka tar: Zakończenie w stanie błędu z powodu uprzednich błędów }}} or without my polish locale: {{{ tar: This does not look like a tar archive tar: Skipping to next header tar: Exiting with failure status due to previous errors }}} Short workaround for supporting ar ipk files is to put in mc.ext section: {{{ regex/\.ipk$ Open=%cd %p#uar View=%view{ascii} ar t %f }}} and remove ipk from other sections I attach ""ar"" ipk example file, the examples of ""tar"" ipk files are attached here: [http://www.midnight-commander.org/ticket/2925] " cracket 3004 Pump up MC development using Plugins API mc-core master Future Releases enhancement new 2013-05-17T23:24:04Z 2014-09-13T11:48:11Z "Let's face it - Many feature requests are either delayed, ignored or just unaccepted. This is due to a single main branch, consisting of people with a certain idea of what MC should or should not be. Many times I had the feeling that I'm just not being heard. MC could be so much more, if it could just be plugged with the many features that might not at first seem good or efficient. That could happen using an easy to use plugin API, or creating a database for people to add their patches. That way, even if a patch is not added to the main development branch, it can be still used, modified, enhanced and tweaked by those who do find their functionality useful. Every program these days has the ability to be extended by the open source community, and encourages it - even if an idea wouldn't make it to the native app, it could still be added to a growing database of plugins, having people encouraged to contribute. Which is, in my honest opinion, not the case here at the moment. Sorry to be a breaker of a bad news;) Hope this message won't be censored, anyway. If it does, I guess it does say something about people's openness to new ideas. Just saying." iwfmp 3068 Vim's modeline support / tabulation settings per-file mcedit master Future Releases enhancement new 2013-09-03T10:05:12Z 2013-10-06T08:26:23Z "Vim have useful feature, to set indentation related configuration per-file. It's done by adding a comment to the source file (usually at the end), for example: {{{ /* vim: set tabstop=8 softtabstop=4 shiftwidth=4 noexpandtab: */ }}} The above config means in mc: * Fake half tabs enabled * Fill tabs with spaces disabled * Tab spacing 8 I think having such feature in mc would be a nice step forward. I also think it should use the same namespace as vim, despite being totally distinct project." twasilczyk 3072 Please add an option for delete to trash mc-core master Future Releases enhancement new 2013-09-09T19:33:28Z 2014-01-05T17:30:33Z "I have a slight disability and it means that the confirm dialog after the F8 delete, isn't really helpful to me. More often than not, I will confirm the delete without thinking about it. Usually after I delete something... is when I actually think about deleting it! Please just a way to change F8 from ""rm"" to ""move to recycle bin."" I don't even need a full way to browse the recycle bin and all that stuff. I am not a new user to mc. I need mc because it supports the keyboard better than others. " kanliot 3074 Quitting mc shouldn't quit its children mc-core 4.8.8 Future Releases enhancement new 2013-09-14T18:02:45Z 2013-10-04T14:09:15Z "Sometimes I would like to use MC to launch an appropriate app for a document (e.g.: xpdf) and then quit MC without having its child xpdf (or whatever) quit as well. Also, I think MC should be made to exit cleanly when xterm's window is killed, just like any GUI file manager would quit upon window closing. Basically, with these 2 enhancements, MC could work as a drop-in replacement for any graphical file manager, which is one way I'd like to use it." dnied 3083 Elaborate/make user-friedly mcedit X11 Copy/Paste support mcedit master Future Releases enhancement new 2013-09-27T17:27:15Z 2014-01-05T14:47:16Z "Support for X11 clipboard Copy/Paste was implemented in #30, but that implementation suffer typical ""last mile problem"": while everything to support feature is there, it's not enabled by default (and it's not easy to enable it by default for downstream packages). Then, it's fairly basic feature, so users expect it to work out of the box, or assume it's not available at all (example: user expects colors to work OOB, and it's indeed how it is now (there were dark ages when b&w was default), user expects mouse to work OOB, and indeed, it's such in default source builds and packages supplied by distro). So, such situation leads to reports like #3081. So, let's consider current implementation. 1. It depends on availability of ""xclip"" external tool. I found that it's not installed on my Ubuntu system which is in use for 1.5+ years (i.e. I neither installed it explicitly, nor it was pulled as dependency for lots of software I installed over this time). I'd expect such small and basic utility to be part of default X install, alas, it's not. 2. Allow to use external tool to handle clipboard copy/paste is actually cool ''extra'' feature. It can be used to implement networked clipboard, or work around charset problems (see #30 comments), etc, etc. But then its application should not depend on DISPLAY envvar set (see https://www.midnight-commander.org/ticket/30#comment:33 for reference), or that hardcodes its usage to X session only. 3. From 1, relying on xclip leads for the feature not working of the box. mc now includes some X integration and thus dependency, so it should be possible to include clipboard handling code to mcedit itself. Thus, proposed changes are: 1. Remove DISPLAY var check. 2. If clipboard_store/clipboard_paste ini vars are set, execute corresponding commands. 3. Otherwise, use builtin copy/paste implementation. Comments on such proposal are welcome. " pfalcon 3099 Delete dialog - follow links mc-core master Future Releases enhancement new 2013-10-18T07:12:31Z 2013-10-28T12:46:56Z "Suggestion is - add to Delete dialog a flag - ""Follow links"", as in Copy/Move dialogs. Use case: e.g. I have a collection of some videos, and I choose some one, symlink it to, for example, home dir, and when I finished watching it, I want to copy/move it somewhere or delete it, both symlink and original file. For now I do that by this menu item: {{{ + t l D Follow symlink and delete file rm -i ""`readlink %f`"" }}} " ForeverYoung 3100 Embedded torrent viewer/vfs mc-vfs master Future Releases enhancement slavazanko accepted 2013-10-18T09:54:55Z 2019-03-18T13:51:21Z "Currently ext.d viewer for torrent is partially broken since ctorrent is used and it broken in most distributions (http://sourceforge.net/p/dtorrent/bugs/21/). Attached patch adds viewer and vfs support based on script found here: http://phdru.name/Software/mc/torrent " eugenesan 3109 Recursive option for chmod and chown mc-core master Future Releases enhancement new 2013-11-18T11:51:23Z 2015-04-06T05:30:06Z "It would be nice if we have a ''recursive'' option for chmod and chown (and adwanced chown) ""commands"". At least for chmod, we need to add some other option (radio or checkbox) in order to choose files only or directories only. e.g. if i want to set every file in a tree to group writable i just choose ''[x] recursive'' and do it on ''[x] only for files''..." szaszg 3118 Allow variables in external panelize command mc-core master Future Releases enhancement new 2013-12-03T15:16:07Z 2017-12-07T07:53:50Z Currently, variables (e.g. %f, %d) are expanded on the command line, extension files and the user menu. It would be great if they also could be used in the external panelize command. I am particularly interested in the %{...} variable so one of the stored external panelize commands could be parameterized by a string input by the user. This functionality could be used with {{{git grep -l %{search}}}} to list files containing a particular string. sjmurdoch 3147 Virtual Squashfs Support mc-vfs master Future Releases enhancement new 2014-01-11T18:39:26Z 2014-01-11T18:39:26Z "Midnight Commander does not have VFS support like for e.g. iso9660. Having ""unsquashfs"" from squashfs-tools package in the $PATH environment available, ""usqfs"" in ""extfs.d"" directory of MC and this patch: {{{ --- mc.ext.org 2013-08-09 10:49:00.000000000 +0200 +++ mc.ext 2013-11-09 18:21:00.000000000 +0100 @@ -254,6 +254,9 @@ Open=%cd %p/iso9660:// View=%view{ascii} /usr/local/libexec/mc/ext.d/misc.sh view iso9660 +type/^Squashfs filesystem + Open=%cd %p/usqfs:// + View=%view{ascii} unsquashfs -stat %f ; unsquashfs -lls -d """" %f regex/\.(diff|patch)$ Open=%cd %p/patchfs:// }}} applied, works for me since a while. " Unknown 3165 Display human readable sizes in panels mc-core master Future Releases enhancement new 2014-02-03T00:42:35Z 2014-04-04T18:39:43Z "When midnight commander displays the size of a file, it tries to display as much digits as fits into the size column (7 characters wide). The result is that for a 3 MB file it shows, for example, 3010050. In many cases, it is not important to know the exact number of bytes in a file, but only an approximate size (3 MB). Short numbers are more ""human friendly"". This patch adds a configuration option that enables displaying such human readable sizes in panels. The ""human readable"" means that at most three digits are displayed for each file size. This is accomplished by modifying function size_trunc_len(). Since the comment of this function says that floating point should be avoided by any means, the implementation is not as trivial as it could be. It displays floating point numbers by displaying integer and fractional parts separately as integers. The effect of this patch is shown in the following table. ""si"" and ""hr"" denote the values use_si and human_readable parameters of the size_trunc_len() function. The table shows the results of the function for different sizes. {{{ CURRENT THIS PATCH size | !si!hr si!hr !si hr si hr -----------|-------------------------------- 950 | 950 950 950 950 1001 | 1001 1001 0.97K 1.00k 1005 | 1005 1005 0.98K 1.01k 1023 | 1023 1023 0.99K 1.02k 1024 | 1024 1024 0.99K 1.02k 9849 | 9849 9849 9.61K 9.85k 12050 | 12050 12050 11.8K 12.1k 99940 | 99940 99940 97.5K 99.9k 100000 | 100000 100000 97.6K 100k 102399 | 102399 102399 100K 102k 102400 | 102400 102400 100K 102k 210050 | 210050 210050 205K 210k 3010050 | 3010050 3010050 2.87M 3.01m 43010050 | 42002K 43010k 41.0M 43.0m 1072693248 | 1023M 1073m 0.99G 1.07g }}} Currently, the decimal separator (""."") is hardcoded and independent of user's locale. If anyone wants to test the patch, the table was created with the code below. {{{ void print(uintmax_t size) { char buffer[50]; int units = 0; gboolean use_si = TRUE; gboolean human_readable = TRUE; int len = 7; printf(""%10ld"", size); size_trunc_len (buffer, len, size, units, !use_si, !human_readable); printf(""%8s"", buffer); size_trunc_len (buffer, len, size, units, use_si, !human_readable); printf(""%8s"", buffer); size_trunc_len (buffer, len, size, units, !use_si, human_readable); printf(""%8s"", buffer); size_trunc_len (buffer, len, size, units, use_si, human_readable); printf(""%8s"", buffer); printf(""\n""); } int main(int argc, char *argv[]) { print(950); print(1001); // ... } }}}" wentasah 3170 A feature for selected files mc-core master Future Releases enhancement new 2014-02-14T07:36:46Z 2015-11-03T14:22:40Z "Dear Sirs! Could you will make one feature for selected files? Namely moving the selected files at the beginning of the list. I attached a file, to you understand what I want. Thanks you and sorry for my English." Graf 3194 coffescript && erb syntax highlighting files mcedit master Future Releases enhancement new 2014-04-11T06:40:11Z 2014-05-02T07:47:41Z "Hi all! i make two files for colouring code in mcedit and make a pull requests on github: Rails erb syntax file: https://github.com/MidnightCommander/mc/pull/36 Coffescript syntax file: https://github.com/MidnightCommander/mc/pull/35 What must i do to include it to mc repo? With best regards, Sergio Belevskij " r72cccp 3210 "Add ""libarchive/bsdtar"" and ""The Unarchiver/unar"" support for (rar and others) files support" mc-vfs master Future Releases enhancement new 2014-05-08T21:29:16Z 2014-05-09T03:48:30Z "Add ""libarchive/bsdtar"" and ""The Unarchiver/unar"" support for (rar and others) files support bsdtar and unar support rar v3[0][1] [0]http://libarchive.org [1]http://unarchiver.c3.cx/formats" coadde 3264 Use own screen drawing method rather than slang/ncurses mc-tty master Future Releases enhancement new 2014-08-31T23:25:39Z 2017-11-27T12:46:17Z "MC currently uses either slang or ncurses for display. It's one thing that I firmly disagree with having two choices. It's a really minor benefit for a very few users to choose from two. On the other hand, it's a significant developer overhead, double testing work, and source of many discrepancies between the two versions (e.g. #2164, #2291, #3114, #3158, #3254, and many more already closed bugs). I believe developers should pick one and offer only that. Bugs would no longer go unnoticed just because a developer used the other library, which would lead to better overall quality. My recommendation is to not use any of these two, but to write an extremely simple basic screen handling component in mc. (This is what quite a few apps, e.g. vim, emacs, less do. They do rely on libtinfo [part of ncurses] for querying termcap/terminfo, but not on ncurses to draw the screen. Sounds the most reasonable approach to me.) Ncurses is actively maintained but is a giant bloat, containinig bugs that effect mc's behavior (e.g. the just fixed http://lists.gnu.org/archive/html/bug-ncurses/2014-08/msg00020.html, although I'm afraid it still has similar bugs). Slang is not really maintained and haven't seen a stable release in 3+ years. Switching to our own drawing of the screen would allow to address these issues: - #1849: mcview understanding ANSI color escapes, work like ""less -R"". This requires to get rid of the ancient brain-damaged palette support of both ncurses and slang, and instead have each cell store its fg and bg color. - #3145 True color support. Neither ncurses nor slang seems to want to ever address this. - #3065 Italic text. Supported by pre-versions of both libraries, but we'll have to wait for stable ncurses-5.10 and slang-2.3 to get it ""official"" and widespread. No idea when these are going to happen. - Strikethrough and other possible text attributes: Ncurses will not add this because the bitfield is already fully packed. No info about slang. - #3229 Pasting with proper EOL. Neither slang nor ncurses allows to set whether at the end of the line there's an explicit newline (to be copy-pasted) or an overflow (copy-pasting shouldn't add a newline). Terminal emulators, however, do remember which of the two happened. Our own layer could easily do the requested thing for every line. - Similarly, spaces at the end of the line, or TAB characters could also be reserved for copy-paste purposes, this isn't offered either by these libraries. " egmont 3295 Find file dialog improvements: support ignore mask instead of directories, improve help page mc-core master Future Releases enhancement new 2014-10-30T11:14:52Z 2014-11-03T22:16:03Z "1. It is better to make Find file dialog to support ignore file mask instead of directories. It will prevent search with content not in just directories (.git, target) but in files also (*.jar, *.class) 2. It is not obvious from find file dialog context help page how to separate multiple directory names. I think it worth mentioning in help page that semi-colon is a name separator char. Thanks!" igorp1024 3343 Add a support for FTPS connection mc-vfs master Future Releases enhancement new 2014-11-21T11:36:36Z 2021-10-28T17:16:27Z "It would be great if midnight commander supported FTPS protocol like many other file managers do. Currently FTP and SFTP (or SCP) are supported." gorgo 3423 How to change default shell used to run user menu scripts mc-core master Future Releases enhancement new 2015-03-27T15:24:26Z 2015-03-29T09:24:17Z "I have looked everywhere and cannot find where and how to tell `mc` to use '''bash''' to run user menu scripts. I can see it uses '''sh''' by default, but I'd imagine and expect that this can configured, so that other shell is used instead. Output from `mc -V`: {{{ GNU Midnight Commander 4.8.14 Built with GLib 2.42.0 Using the S-Lang library with terminfo database With builtin Editor With subshell support as default With support for background operations With mouse support on xterm and Linux console With support for X11 events With internationalization support With multiple codepages support Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, fish Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64; }}} I'm running ''Xubuntu 14.10''" marcelpaulo 3485 change in src/vfs/extfs/extfs.c mc-vfs master Future Releases enhancement new 2015-06-23T13:08:28Z 2016-06-25T12:15:35Z "I want this change in src/vfs/extfs/extfs.c: add to extfs_fstat() lines between //BEGIN and //END {{{ static int extfs_fstat (void *data, struct stat *buf) { struct pseudofile *file = (struct pseudofile *) data; //BEGIN: struct stat tmp_stat; if (!stat(file->entry->inode->local_filename,&tmp_stat)) { file->entry->inode->mtime = tmp_stat.st_mtime; file->entry->inode->atime = tmp_stat.st_atime; } //END extfs_stat_move (buf, file->entry->inode); return 0; } }}} So extfs script can set atime and mtime in copyout, and they will be set in the properties of destination file. Why do I need this: I need to use 3 bytes to store some data related to file, I decided to store them in st_atime. As I learned if atime is bigger than mtime, atime won't be changed until mtime is changed. So my script sets atime of a copied out file to 0x7Fxxxxxx." Nicolas Rybkin 3490 Ability to switch to background jobs to view their status mc-core master Future Releases enhancement new 2015-06-25T20:10:38Z 2015-06-25T20:10:38Z "From https://github.com/MidnightCommander/mc/issues/39: > Another feature request is about background jobs. It will be much more better if the user could hide currently running job in the background and restore any of running background jobs to view current progress." zaytsev 3497 auto turn off sorting mc-core master Future Releases enhancement new 2015-07-07T18:28:20Z 2015-10-13T20:38:13Z "This change I made turns off sorting before cd'ing in some particular virtual file systems. Line in mc.ext that describes what to do for ""Open"" operation must end with ""u"", like this: Open=%cd %p/uc1541://u When user leaves this extfs sort order used before will be restored (even if user changed sort order while being in this vfs). I added some code to /src/filemanager/panel.c. This isn't nice solution, of course. The best way would be use of some interface between script and mc, like script tells mc to turn off sorting with exit code, or just put some control code in the list it prints. This is bigger problem, but the solution I used works and seems to make no problems although maybe it is looking little rough. Yes, it can be called a ""hack"". Why I want this feature: you know files order is important for many 8bit programms that if you copy files in other order the copy wouldn't run. It would be very convinient for user when he open and image of a diskette or a tape that mc turns of sort automatically and then restores sort_order when he cd'es back. Hope this change will be applied." Nicolas Rybkin 3513 Liquidsoap syntax mcedit master Future Releases enhancement new 2015-08-10T09:05:44Z 2015-08-23T22:41:15Z "Hi, I add syntaxfile for Liquidsoap script language (http://liquidsoap.fm/) to mcedit. Maybe it would be somewhat usefull for someone, so if someone will, add it to trunk/branch Thanks" puresoul 3514 "It would be good to have an option to skip multiple ""is the same file"" when copying directories containing hardlinks" mc-core master Future Releases enhancement new 2015-08-12T21:09:04Z 2015-08-12T21:09:04Z "My use case: 1) I run a deduplicated backup which creates a hard link. 2) I use MC to consolidate directories. I have to skip on every hard-linked duplicate. 3) I would like NOT to have to acknowledge the error every time. My preferred option would be to have a ""skip all"" option after the first error so that I could see duplicate files when I , but I can't figure out how to implement that. I've implemented a general confirmation checkbox, and am using this patch; it's pretty self-contained. I'm attaching it and would be happy if you take it, but the ""skip all"" option would be even better if one off the regular devs feels like taking this. :D" nkedel 3591 Usability/Joy of Use: Switching Panels Via Backslash Key (= Right-Hand Tab-Key on US-keyboards) mc-core master Future Releases enhancement new 2016-01-31T03:00:58Z 2016-09-20T16:17:41Z "I'm using a keyboard with US-layout, although living in Germany. I navigate directories entirely by the navigation keys on the right side of my keyboard: Small hand movements are sufficient to find and open files, while having a hand free for other things. Switching panels, however, requires me to press the tab key on the very opposite side of the keyboard – every single time. Instead, the backslash can be thought of as the right-hand tabulator key. Backslash triggers the “unselect files” dialog in MC at the moment, which is also available through the hyphen and minus key, so remapping won’t break anything. AFAIK you can’t modify this key binding via mc.keymap. You have to modify the source code at the moment: So I made a simple patch for version 4.8.7 some time ago: http://dl.dropbox.com/u/37393754/mc-4.8.7-backslash_change_panel.patch The better way, however, would be a remapping option in the mc.keymap file Image of the US-Layout: http://i.imgur.com/wTx6kZ8.png" telep 3600 Make it possible to drag dialogs. mc-core master Future Releases enhancement new 2016-02-26T14:47:24Z 2016-02-26T20:17:46Z "Sometimes dialog obscures important information. The attached patch lets us drag dialogs on screen. It even works while copying/moving files. But the purpose of this patch is mainly to help shape the [ticket:3571 mouse API]. It doesn't matter if it doesn't get committed. Specifically, the patch shows a way to get rid of `midnight_mouse_callback()` in ticket:3571. The patch works by installing a ""default mouse handler"" for dialogs that don't define any. By using the DLG_MOUSE_POST_PROCESSING flag this handler gets to see any mouse events not handled by child widgets. The effect is that you can drag the dialog by dragging any ""empty"" space within (space not responding to mouse events, to be exact). In this it's different (and more powerful) than conventional GUIs that let you drag only by the frame. (I borrowed the idea from FAR.) " mooffie 3635 Develop tests for FISH scripts tests master Future Releases enhancement assigned 2016-04-21T19:42:34Z 2016-11-29T07:12:45Z "Currently, FISH scripts are a can of worms: there are no tests and any change risks to subtly break part of the functionality. It would be great if we could cover them with some kind of tests, such that the scripts would become more maintainable. See #3611 for more details." zaytsev 3636 Develop tests for embedded scripts, e.g. VFS tests master Future Releases enhancement mooffie assigned 2016-04-21T19:51:18Z 2017-01-29T21:32:09Z "It would be great if we could at least syntax check embedded Perl and Python scripts. Otherwise, they get broken by typos and bad merges without anyone noticing. See #3620 for the details." zaytsev 3650 Set local file copy stat data mc-vfs master Future Releases enhancement new 2016-05-31T16:57:36Z 2019-01-03T13:15:38Z "When MC copies a file into some EXTFS it uses a local copy of source file and gives a path to this copy to EXTFS scripit. But it doesn't set stat info of this local file, so EXTFS script has no chance to get stat info of true source. I've fixed this problem, now MC performs chown(), chmod() and utime() on local copy. Struct definitions from src/vfs/extfs/extfs.c were moved to extfs.h, src/filemanager/file.c now includes extfs.h." Nicolas Rybkin 3657 t64 VFS support (C64 tapes) mc-vfs master Future Releases enhancement new 2016-06-25T10:15:27Z 2016-06-25T10:15:27Z "please attach these strings to mc.ext (best right after or before uc1541 part): # Tape images for Commodore 64 shell/i/.t64 Open=%cd %p/ut64:// and update README.extfs P.S. again sorry for using real tabs." Nicolas Rybkin 3674 Add new panel option for display_total_marked_size() to apply three different styles mc-core master Future Releases enhancement new 2016-08-17T13:08:17Z 2016-08-17T13:31:41Z "Currently, {{{display_total_marked_size()}}} supports only one style to display the marked size. Some people would prefer to see the raw, scaled or even both values. It should be made configurable through the panel options. Some effort has already been made in #3666. The modes: Mode 'raw': 100000 B in 10 files 560000000000 B in 1001 files Mode 'scaled': SI (base 10): 100 B in 10 files 100 kB in 100 files 950 MB in 200 files 560 GB in 1001 files IEC (base 2): 100 B in 10 files 98 KiB in 100 files 940 MiB in 200 files 1020 MiB in 220 files 550 GiB in 1001 files Mode 'both': SI (base 10): 100 B in 10 files 100 kB (100000 B) in 100 files 950 MB (950201123 B) in 200 files 560 GB (560100245124 B) in 1001 files IEC (base 2): 100 B in 10 files 98 KiB (100400 B) in 100 files 940 MiB (985661900 B) in 200 files 1020 MiB (1069547520 B) in 220 files 550 GiB (590558003200 B) in 1001 files Note that in 'both' mode with a value below 1000 bytes or 1024 bytes, 'raw' mode is applied to avoid duplicate information. The new panel option: Total marked size style: [raw, scaled, both] (need to investigate how to do this) Serialized as ""total_marked_size_style"" with default value of ""scaled""." michael-o 3675 "Update/rework panel option ""Use SI size units""" mc-core master Future Releases enhancement new 2016-08-17T13:16:39Z 2016-08-17T13:30:40Z "With the advent of #3666 the panel option ""Use SI size units"" does not properly document the behavior. As layed out in #3666: * the option does not say what will happen when this option is disabled * There are no SI units used here at all because byte is not a SI unit. Only SI prefixes are used with #3666. The label should either be changed to ""Use SI prefixes instead of IEC ones"" (which reflects the correct terms and new reality) or better to ""Size prefix style: [IEC, SI]"". It is to be discussed whether C code and config ini will be changed accordingly or mapped for maximum compat." michael-o 3676 Reconsider wether the info panel should show a scaled or raw value for file size mc-core master Future Releases enhancement new 2016-08-17T13:32:52Z 2016-08-17T14:29:37Z "As a result of #3666, is has to be discussed wether the info panel for a file/directory should display the size in raw only, scaled or both. In [ticket:3666#comment:27 this comment] it has been determined that most UIs display the scaled value first followed by the raw value in parantheses. This is also related to #3674." michael-o 3692 [PATCH] More sophisticated shell type detection method mc-core master Future Releases enhancement new 2016-09-24T17:37:35Z 2017-07-25T19:56:08Z "{{{ * Make tests on shell binary instead of trying to guess shell type from path. Most supported shells set specific variables, hence by testing whether such variables are set, we can guess shell type in a more reliable way. This works with bash, zsh, tcsh and fish. For guessing dash or BusyBox ash (which are treated the same), we run a more peculiar test on whether shell supports expansion in PS1 as a prompt string. The latter test is also designed to diffirentiate a legacy pre 1.20 BusyBox ash, which allows to apply printf workaround in the case of such shell. * Remove chdir command from subshell initialization code, and use full paths for init_file instead. Changing dir only allows to use relative init_file paths, but can instead potentially lead to some problems, as previously noted in the comments; so by not doing this we add additional layer of protection against bugs. * Remove unneded SHELL_SH shell type, and 'name' mc_shell_t field, since the latter was only being used as arg0 when initializing subshell, and it looks like all shells work fine regardless of arg0, except for zsh, (so we just leave arg0 as ""zsh"" for it), and we use path as arg0 * Also add a little error verbosity in scope of detecting shell type and subshell initialization }}} This fixes such issues as: * Detecting `bsd-csh` as `tcsh`, and wasting 10 seconds on launch while waiting CWD * Detecting anything that's linked to `busybox` as busybox ash with CONFIG_ASH_EXPAND_PRMT enabled, and possibly wasting those 10 sec again * Failing to detect a shell type if a version/arch/whatever is appended to its name * Failing to detect a shell if it's just 'sh': some link resolving tests are being carried in master, but they can fail in many ways * Leaving user wondering why they have no subshell (added verbosity isn't perfect, but at least it's a start) This has been tested to recognize all supported shells correctly, and discard these shells with some verbosity immediately (saying which shells are supported, while this `$SHELL` not): * bsd-csh * BusyBox hush * BusyBox ash with disabled CONFIG_ASH_EXPAND_PRMT All regardless of their names (except the already mentioned zsh, and `busybox`: it needs the name to deduct the applet from it, but as long as `busybox` recognizes it, it's fine: either ash, sh, or bash) I should also point out that beyond subshell initialization related functions different shell types are not being differentiated, so, say, we shouldn't worry about `bash` behaving in a bourne shell compatible way later on if it has been initialized fine. Since almost all modern shell set some specific internal variables, adding new shells now boils down to finding a way to emulate `precmd` (if not present), choosing the right variable, and in case it uses syntax other then Bourne, C or Fish, adding a new test command for the syntax. I have tried to comment new functions thoroughly, so I hope the code should be readable. Hope this will be considered useful." alllexx88 3699 "patch to fix restoring of the directory contents of the active panel on startup when ""Auto Save Panel Setup"" option is enabled." mc-core master Future Releases enhancement new 2016-10-09T01:39:18Z 2016-10-10T02:36:38Z "This is a 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, as per a user request on the mailing list mc@gnome.org." Miven 3712 Don't hardcode color-names in syntax-highlighting files mcedit master Future Releases enhancement new 2016-11-03T12:08:26Z 2016-11-03T13:44:56Z "The editor's syntax-highlighting files have a color alias mechanism (and an #inclusion mechanism, BTW). We should use it, where possible, instead of repeating color names. E.g., ""CONSTANT"" instead of ""brightmagenta italic"". Some advantages: - Letting users modify these colors globally. - Making it possible for skins to tweak these colors. - Uniformity among syntaxes. (A somewhat related ticket: #3711) " mooffie 3725 Don't limit hotkeys in user menu to simple letters only mc-core master Future Releases enhancement new 2016-11-14T11:22:22Z 2016-11-14T22:10:01Z "Currently, menu labels in the user menu have their 1st character interpreted as hotkeys: {{{ @ Do something on the current file 0 Edit a bug report and send it to root 2 Call the info hypertext browser 3 Compress the current subdirectory (tar.gz) d Delete file if a copy exists in the other directory. ... c Copy to clipboard the current dir's path C Copy to clipboard the current file's path D Copy to clipboard the current file itself X Cut to clipboard the current file itself V Paste files from clipboard Q Copy to clipboard the first URL mentioned in the file. }}} This is quite limiting when there are many menu items. The attached patch lets the user specify any hotkey. Example (only the last four lines have changed): {{{ @ Do something on the current file 0 Edit a bug report and send it to root 2 Call the info hypertext browser 3 Compress the current subdirectory (tar.gz) d Delete file if a copy exists in the other directory. ... c Copy to clipboard the current dir's path C Copy to clipboard the current file's path ctrl-c Copy to clipboard the current file itself ctrl-x Cut to clipboard the current file itself ctrl-v Paste files from clipboard f2 Copy to clipboard the first URL mentioned in the file. }}} (only the last four lines have changed: see ""ctrl-c"" and ""f2"".) Note: because of the way hotkeys work in MC (see dlg_try_hotkey()), the hotkeys ""alt-x"" and ""alt-X"" are equivalent to pressing just ""x"". So alt keys shouldn't be used as hotkeys. (dlg_try_hotkey() could be modified to work around this but that's a matter for a separate ticket.) " mooffie 3741 PTP external filesystem (download files from photocameras) mc-vfs master Future Releases enhancement new 2016-12-07T17:32:21Z 2016-12-08T17:44:39Z "I wrote external filesystem script for PTP using gphoto2. It will be nice to have it included in MC." cdslow 3770 Feature request: allow user to disable % macros on command line only mc-core master Future Releases enhancement new 2017-02-08T12:36:38Z 2017-03-10T19:44:40Z "It would be useful to have a (runtime) configuration option to disable %x macro substitutions on mc command line (disabling them only there, not in user menu command definitions). Rationale: I often have a hard time trying to understand why some commands lines don't work the way they are supposed to, just to find out that somewhere in the line there's a % character that is interpreted by mc as the start of a macro. Since the % macros don't exist in my shell, I never use them in my command lines, so there's no need to have them in mc command lines too. In fact it is essential that commands typed on the mc command line should work exactly as if they were typed on a regular terminal, without overimposing new syntactic features. An example: % characters sometimes contained in URLs: even enclosing the URL in single or double quotes doesn't prevent mc from expanding the % macros. So, it would be useful to have some `macro_cl_enable` configuration option in the ini file (of course, default on, for backwards compatibility)." cri 3818 Customize shortcut to return from subshell to other than Ctrl-O mc-core master Future Releases enhancement new 2017-04-30T19:01:50Z 2020-04-04T12:37:34Z "It seems like ""Shell"" option from mc.keymap does have effect only when switching ''to'' the subshell, but not back from it: the key to switch back to mc is hardcoded into the {{{subshell_switch_key}}} constant in the {{{subshell/common.c}}}. It is disappointing because this key conflicts with Ctrl-O from vim when running it from mc. Making ""Shell"" key to work both ways (switching both to and from subshell) would be very useful. " olan 3872 More macros for mcedit user menu mcedit master Future Releases enhancement new 2017-10-28T16:09:04Z 2017-10-28T16:10:29Z "From ticket:3861#comment:2 %n - the file name that is opened in current instance of mcedit. %o - the full path to file that is opened in current instance of mcedit. %g - the full path to directory of the file that is opened in current instance of mcedit. %v - save opened file before executing the menu item commands. " graywolf 3885 Ability to exclude files from search results when using shell patterns mc-search master Future Releases enhancement new 2017-12-07T08:48:13Z 2017-12-13T05:04:27Z "It looks like MC does not support file patterns exclusion when searching by shell patterns. No other ticket or enhancement found to address it as well. For example if user wants to search for all files but *.a files, search criteria might look like: {{{ *|*.a }}} It is achievable partly with regex patterns but it is tricky to address it if files extensions are used both to include and exclude files, for example if user wants to search for {{{*.h*}}} files but exclude {{{*.hxx}}} files at the same time: {{{ *.h*|*.hxx }}} On Windows platform, FAR Manager supports such functionality using '|' symbol as delimiter in search field." esauloff 3886 Allow to view directory content list with mcview mcview master Future Releases enhancement new 2017-12-08T12:26:45Z 2019-05-06T09:32:54Z "I suggest that when you open a directory in mcview, a list of its contents is displayed. This is especially useful in quick view mode. Now it's just show error: ""Cannot view: not a regular file""" Diadlo 3902 """Natural"" mouse scroll direction" mc-core master Future Releases enhancement new 2018-02-25T14:24:29Z 2018-02-28T19:52:33Z "Please add the ""natural scroll direction"" feature to scroll with mouse using natural scroll direction as it is done in the macos. It could be done in 10-15 minutes by adding new boolean parameter in the CONFIG_MISC_SECTION, for example ""mouse_reverse_scroll"", loading it in the setup.c, and then to change mouse.c by reversing the mouse scroll direction if it's set, like: midnight/mc/lib/widget $ diff mouse.c mouse.c.original 104,107c104 < if (mouse_reverse_scroll) < msg = MSG_MOUSE_SCROLL_DOWN; < else < msg = MSG_MOUSE_SCROLL_UP; --- > msg = MSG_MOUSE_SCROLL_UP; 109,112c106 < if (mouse_reverse_scroll) < msg = MSG_MOUSE_SCROLL_UP; < else < msg = MSG_MOUSE_SCROLL_DOWN; --- > msg = MSG_MOUSE_SCROLL_DOWN; All Mac users will say you big ""thank you"" for that ))" vik 3949 Add support for some popular hot keys in mc to mcedit too mcedit master Future Releases enhancement new 2018-11-07T00:29:28Z 2018-11-10T21:01:57Z "Please, add reaction to following keybindings to mcedit: * Ctrl-\ - file hotlist, list of hot files saved by user. When file is selected, swith to new editor tab and open that file. * Alt-shift-h or Atl-H - list of recent files edited. When file is selected, switch to new tab and open that file. * Alt-h - list of recent strings typed into text from undo/redo history. Ergonomics of text editor is very important, so these small changes can lead to huge improvement in usablity because a) keybindings are same, no need to learn new keybindings, b) interface is same, c) switching between same files and typing of same text are frequent operations. " vlisivka 3995 custom endpoint_url for s3 mc-vfs master Future Releases enhancement new 2019-06-17T15:58:04Z 2019-06-17T15:58:04Z Wondering if there is a possibility for adding a custom endpoint_url for the s3 plugin danialgood 4014 External diff viewer? mc-core master Future Releases enhancement new 2019-09-10T08:37:51Z 2019-09-10T08:37:51Z " I'm wondering about allowing an external utility (e.g. vimdiff) for the ""Compare files"" C-x C-d command, instead of mcdiff, just like we do for the external viewer and editor. If this is too complicated to implement, please ignore, as it's easily implementable with a custom command in the user menu. " cri 4049 MC doesn't let me modify contents of archive mc-vfs master Future Releases enhancement new 2020-01-18T18:42:50Z 2021-02-19T13:18:43Z "Just like with Dolphin filemanager in a GUI, I want to be able to open an archive file like a .tgz, navigate to a file inside the archive, delete it, then replace it with another file. Alternatively, I would like to edit it in-place (whether it's a binary or text file). With MC, I can only open the archive and see the files within. When I select a file and try to delete it by pressing F10, I get an error message {{{ Cannot remove file ""...."" Function not implemented (38) }}} I am using the MC version that's installed in Unraid server's Linux distribution based on Slackware {{{ GNU Midnight Commander 4.8.22 Built with GLib 2.58.2 Using the S-Lang library with terminfo database With builtin Editor With subshell support as default With support for background operations With mouse support on xterm and Linux console With support for X11 events With internationalization support With multiple codepages support Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, fish, smbfs Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64; }}} " frakman1 4065 VolkovCommander-like chain menu mc-core 4.8.24 Future Releases enhancement new 2020-02-25T15:05:22Z 2020-02-25T15:05:22Z "(See ticket #3925) Proposed patch add menu chaining, as in Volcov Commander. Additional menu files must be placed in the user config directory (~/.config/mc). Reference to the next menu is the single line beginning with "">"". For example: ~/.config/mc/menu {{{ ..... += t r & f *.avi | f *.ts | f *.mp4 | f *.mkv | f *.wmv | f *.flv| f *.3gp | f *.webm | f *.mov v video menu > video.menu .... }}} ~/.config/mc/video.menu {{{ back > menu edit screen -d -m avidemux3_qt5 %f info %view mediainfo %f mpv screen -d -m mpv -fs %f }}} To do: help " akorop 4078 Give a confirmation for 'skip' while copying. mc-core master Future Releases enhancement new 2020-05-03T23:51:53Z 2020-05-03T23:51:53Z "Skip can be pressed very easily(*), and it's very hard to determine which file was actually skipped when many small files are racing past. Why not create a confirm dialog for skip? (*) In screen - https://savannah.gnu.org/projects/screen/ - the default ""jump to next screen"" key combo is control-a-space. Guess what happens if I control-a-space to a copying instance of mc, and then fail to hit control, or a properly? Yep." puntloos 4161 Add quick search for listboxes mc-core master Future Releases enhancement new 2020-12-22T19:20:43Z 2020-12-23T15:23:53Z "This patch add support to fast move to item in list. When a-z key is pressed, then it search first character in list and move select to him. It is extremely usable on chown dialog, where searching for proper name is hell. Now you can just press first character of name and it moves here. Patch attached and also here: https://github.com/MidnightCommander/mc/pull/160 " jedi7 4165 [patch] MultiSearch – an AND-conjugated dynamic filtering of any listbox mc-core master Future Releases enhancement new 2021-01-02T15:19:26Z 2021-02-19T11:22:59Z "Hi. This time coding style is OK :) I submit a patch that: 1. Adds a new command MultiSearch which, when invoked:on any listbox: - adds an input field below the listbox (either shrinks the list or extends the dialog, if there is enough room), - waits for any input, - after a character will be entered, it filters the listbox with this string, - the string is split on spaces and matched one by one, case insensitively, - all keywords must match for an acceptance of a result. It also adds a new option `multi_search_active_by_default` which causes all list boxes to be started with MultiSearch active. For example, the window list allowing to quickly filter and choose :) Or the file history, syntax chooser, etc. " psprint 4175 [patch] CenterView action mcedit master Future Releases enhancement new 2021-01-15T11:58:26Z 2021-01-24T08:24:34Z "Hi, the patch adds CenterView action to MCEdit which positions the display making the current line at center. It doesn't move cursor. See also this [https://mail.gnome.org/archives/mc/2021-January/msg00003.html discussion]. " psprint 4184 [patch] WindowCascade action mcedit master Future Releases enhancement new 2021-01-23T20:43:20Z 2021-01-24T06:56:25Z "Hi! I've implemented the main part of the requested non-fullscreen mode startup (see [https://mail.gnome.org/archives/mc/2021-January/msg00009.html post]). The patch is fairly simple. It just: - registers the command in keybind.h/.c/*-defaults.c/mc.default.keymap, - then adds the case for it in editwidget.c, - and also a function + a helper function in the same file to implement it. The implementation is a simple loop that arranges the windows in cascade arrangement. It's somewhat intelligent as it gradually lowers the shift between windows as seen in the [https://asciinema.org/a/dqR4FzK7ed6ZwMXAA4DmH29qY asciicast]. " psprint 4185 [patch] WindowTile action mcedit master Future Releases enhancement new 2021-01-23T20:48:12Z 2021-01-24T03:54:52Z "Hi! I've implemented the tiling of the windows as requested by [https://mail.gnome.org/archives/mc/2021-January/msg00009.html a user]. The patch depends on #4184 – it will not automatically patch and a helper function is missing. " psprint 4186 [patch] Options for windowed startup mcedit master Future Releases enhancement new 2021-01-24T03:54:52Z 2021-01-24T06:21:04Z "The patch adds options -w/--cascade and -T/--tile to mc program so that startup with windows arranged in a cascade or tile is possible (instead of fullscreen). The patch depends on #4184 and #4185, which implement the window arranging. " psprint 4195 Makefile utility targets for tags mc-core master Future Releases enhancement new 2021-02-08T22:19:44Z 2021-02-19T06:57:11Z "Hi, the patch adds three Makefile targets: - `tags-emacs`, which generates the `TAGS` file ↔ the Emacs style tags (actually used by mcedit), - `tags-vim`, which generates the `tags` file with Vim-style tags, - `tags`, which generates both above, … from a curated, well done `ctags` command invocation, with all the needed options like the recursion and search for C sources and e.g.: proper parsing of the headers (.h). The command is in two forms, first for Exuberant Ctags and the second one for Universal Ctags (there's a check for which one is being found)." psprint 4204 [patch] Support for globs in open file dialog mcedit master Future Releases enhancement new 2021-02-17T09:44:25Z 2021-02-17T10:27:10Z "Hi, the patch adds support for opening multiple files at once via a filename with wildcard entered in open dialog. So, for example entering src/editor/edit.[ch] in the input will cause opening of edit.c and edit.h. The patch is quite simple, it utilizes glob() POSIX function. " psprint 4205 editor's menus are a mess mcedit master Future Releases enhancement new 2021-02-17T15:53:32Z 2021-02-17T15:53:32Z "the editor's menus have grown over time into an incoherent mess and need a complete reorganization imo. this should be understood as a continuation of #320, #334, and #408. i'll come up with concrete proposals later unless someone beats me to it." ossi 4206 [patch] Stable WindowList in mcedit mcedit master Future Releases enhancement new 2021-02-18T01:33:53Z 2021-02-22T14:28:59Z "Hi, I've been irritated by the files fluctuating in the WindowList window – it only brings chaos to workflow and is driven by the Z-ordering of widgets – currently focused must be the last one in WGroup::widgets list. So it's actually a raw order imposed by implementation properties. I've fixed this in this patch: - a new class WOrderKeptDialog is inheriting WDialog, - it holds a GPtrArray with the same WEdit objects as in base WGroup::widgets, - array is populated on start up (MSG_INIT) and then updated after each handled message from WDialog callback, - an additional feature – the files are being sorted so that headers and their corresponding sources (.h/.hpp/.c/.cpp) are adjacent and with headers first. What do you think? Fix or wontfix? IMO, this change has been asking for a patch. It also allows to finally have e.g.: Alt-1, Alt-2, etc. shortcuts switching to the first buffer, and second, etc. implemented in a following patch. " psprint 4220 A new feature – completing from tags mcedit master Future Releases enhancement new 2021-03-18T16:33:09Z 2021-03-18T16:33:09Z "Would there be an interest in a new feature – completion working not from buffers' words, but from TAGS file? Here's example how it would work – for TAGS covering /usr/include/glib: [https://asciinema.org/a/cp4I3tFfKrLNS9SME7XE2w6Nk asciicast]. It would be little less usable, because MSearch haven't been merged, however it would be still OK to complete. " psprint 4294 Start a subshell in background mc-core master Future Releases enhancement new 2021-10-09T07:07:36Z 2022-04-08T15:37:23Z "This is related to ticket #3580, not sure how to re-open tickets so I created a new one. I have a similar problem, but it is not related to the solution described there and was not able to solve that problem. I see on other forums that people have similar problem so I suggest to anyway think about possible fix for this once for all and init subshell in background as described in ticket #3580 (copying here for a reference): ''It might worth to start the subshell on a background thread to be able to show the main UI faster. Then a rotating dash would be displayed in the command prompt and in Ctrl-O until the subshell is ready. '' In my case on macOS 10.15.7 when transitioned to ZSH the MC starts in around 6 seconds. This is totally not acceptable. The ZSH on its own starts in less than one second. The {{{ mc --nosubshell }}} starts MC instantly, but there's no subshell which is also not acceptable. Thus, there's something fishy with instantiation of subshell in the MC, may be related to the configuration - but actually, that is not the problem of the fact that subshell init takes long, but that it is not done in the background at startup. " slajerek 4311 Why not bind alt-home, alt-insert, etc? mc-tty master Future Releases enhancement new 2021-11-12T20:53:18Z 2021-11-12T20:53:18Z "The keys are working fine under xterm, however mc doesn't recognize them. Why? Could the support be added? Is there a way to bind such keys? " psprint 4315 slow copy performance when using LTFS as a destination mc-core master Future Releases enhancement new 2021-11-28T09:43:25Z 2021-11-28T11:43:57Z "Hi! I'm using MC v 4.8.24 on ubuntu 20.04 Built with GLib 2.63.3 I recently started using LTFS (a standard platform-independent feature that allows to mount LTO tapes as a file system) and noticed that when I'm copying from a local file system to a folder mapped to an LTFS-mounted tape, performance is very slow (about 20MB/s). cp or any other copy system (of course copy same files from same source to same destination) have expected thorughput (+130MB/s). The problem is not present if I use MC to copy from the folder mapped to the LTFS tape back to local drives so I assume this must be something related to the write process (or write speed measurement) that MC uses. It would be cool to keep using MC for moving files to tapes especially for its selection interface. Let me know if you'd like me to collect further info, thanks!" aletib 4318 "[feature request] Show hash of file in ""File exists"" window of ""Copy/Move"" dialog" mc-core master Future Releases enhancement new 2021-12-03T16:40:38Z 2021-12-05T15:31:00Z "Steps: 1) start MC; 2) cd /tmp; (in left panel) 3) cd ~; (in right panel) 4) select single file; 5) F5 + Enter; (file copied from ""~/"" to ""/tmp"") 6) F5 + Enter; 7) MC shows ""File exists"" window dialog. This dialog contains: 1) full file path; 2) file size; 3) last modification time of file. What I want: I want to see hashes of source and destination files, like CRC, MD5, SHA-1 or any other. Why I want this: Hashes of two files (source and destination) allow to to quick check, that source file and destination file are identically or different. If I need to copy single file per long time - then no problem to to ""C-x C-d"" or run ""diff"" from console. But if I need to copy/move many files, then I need more quickly method to detect identical/different files with the same name inside the ""File exists"" window of ""Copy/Move"" dialog. P.S. If source file and destination file are identical (have identical hashes in two different algorithms, for example - CRC and MD5, or MD5 and SHA-1), then MC may resolve file names conflict automatically, without ""File exists"" window dialog." Bogdan107 4402 mcedit - open file at specific line and column position mcedit master Future Releases enhancement new 2022-08-22T10:52:57Z 2022-08-22T13:34:29Z "It will be very useful if user can open file at specific line, and also column position. Column position can be simple added after end colon. Example - open file reggs.c at line 640 at column 20: mcedit regs.c:640:20" misarm 4453 16-column HEX view in wide monitor mcview master Future Releases enhancement new 2023-04-03T06:50:44Z 2023-04-15T06:56:51Z "In the current versions of MC, there is no setting to show the HEX viewer in the traditional 16-column form. The number of columns is adjusted to the width of the console. As a result, it is very inconvenient to calculate the byte addresses in the file being viewed. It would be nice to add a setting that will allow you to include the traditional width of 16 columns. The setting can be made in the form of a number so that the user can write both 8 and 24 and 32 columns, as it will be more convenient for him. The ready-made change is already in the form of a diff file: https://pastebin.com/NUKwveMZ The appearance of the MC can be viewed in the article (RU) at the link: https://webhamster.ru/site/page/index/main/news/689 " xintrea 4455 MC could really use FTP's MLSD command mc-vfs master Future Releases enhancement new 2023-05-10T08:30:56Z 2023-05-10T08:32:43Z "For sufficiently old files MC doesn't list modification times, thus retrieves all the old files as having modification times at 12:00:00PM. Please use the MLSD command which allows to get a very nifty listing of files with modification times as UNIX timestamps which is a ton easier to parse. Here's a sample listing: {{{ Size=435123;Modify=20141113182638;Type=file;Perm=radfw; blue-pattern-hd-xperia-z2-wallpaper.jpg Size=321533;Modify=20141113182639;Type=file;Perm=radfw; cloudy-mountain-hd-xperia-z2-wallpaper.jpg Size=137009;Modify=20141113182638;Type=file;Perm=radfw; connect-sony-xperia-z2-wallpaper.jpg Size=162090;Modify=20141113182639;Type=file;Perm=radfw; create-sony-xperia-z2-wallpaper.jpg Size=179896;Modify=20141113182640;Type=file;Perm=radfw; discover-xperia-z2-wallpaper.jpg Size=255972;Modify=20141113182638;Type=file;Perm=radfw; experience_black.jpg Size=132240;Modify=20141113182638;Type=file;Perm=radfw; experience_blue.jpg Size=187105;Modify=20141113182641;Type=file;Perm=radfw; experience_copper.jpg Size=123621;Modify=20141113182641;Type=file;Perm=radfw; experience_green.jpg Size=132521;Modify=20141113182640;Type=file;Perm=radfw; experience_orange.jpg Size=123511;Modify=20141113182639;Type=file;Perm=radfw; experience_purple.jpg Size=133212;Modify=20141113182640;Type=file;Perm=radfw; experience_red.jpg Size=132917;Modify=20141113182640;Type=file;Perm=radfw; experience_silver.jpg Size=644731;Modify=20141113182640;Type=file;Perm=radfw; field_at_sunset_hd1080p.jpg Size=870868;Modify=20141113182640;Type=file;Perm=radfw; green_jungle_hd1080p.jpg Size=484443;Modify=20141113182639;Type=file;Perm=radfw; grey_lake_hd1080p.jpg Size=197327;Modify=20141113182639;Type=file;Perm=radfw; hero-flow-black-xperia-z2-wallpaper.jpg Size=144181;Modify=20141113182641;Type=file;Perm=radfw; hero-flow-blue-xperia-z2-wallpaper.jpg Size=107137;Modify=20141113182639;Type=file;Perm=radfw; hero-flow-grey-xperia-z2-wallpaper.jpg Size=122518;Modify=20141113182641;Type=file;Perm=radfw; hero-flow-orange-xperia-z2-wallpaper.jpg Size=102681;Modify=20141113182641;Type=file;Perm=radfw; hero-flow-purple-xperia-z2-wallpaper.jpg Size=171204;Modify=20141113182641;Type=file;Perm=radfw; hero-flow-red-xperia-z2-wallpaper.jpg Size=166346;Modify=20141113182639;Type=file;Perm=radfw; hero-flow-xperia-z2-wallpaper.jpg Size=794046;Modify=20141113182640;Type=file;Perm=radfw; leaves-xperia-z2-wallpaper.jpg Size=144002;Modify=20141113182639;Type=file;Perm=radfw; listen-xperia-z2-wallpaper.jpg Size=156957;Modify=20141113182639;Type=file;Perm=radfw; relax-xperia-z2-wallpaper.jpg Size=183492;Modify=20141113182641;Type=file;Perm=radfw; xperia-z2-wallpaper.jpg }}}" birdie 4458 Support clipboard via OSC 52 mc-core master Future Releases enhancement new 2023-05-18T12:11:45Z 2023-05-21T10:27:28Z "Many terminal emulators, starting with Xterm, conditionally allow access to the system clipboard via an escape sequence. In comparison with `xclip`-based solution (#30), this works transparently when you `ssh` around, without X11 forwarding and without having to install `xclip` on each server you manage. To write to the clipboard, an application sends `ESC ] 5 2 ; c ; ESC \`, where '''' is base64-encoded. (`BEL` can also be used as terminator.) To read the clipboard, an application sends `ESC ] 5 2 ; c ; ? ESC \`. A conforming terminal will respond by sending `ESC ] 5 2 ; c ; ESC \`, again, with '''' base64-encoded. (If the request uses `BEL` instead of `ESC \`, the terminal’s response will typically also be terminated with `BEL`.) A non-supporting but ANSI-conforming terminal will ignore the unsupported OSC sequence until the `ESC \` or `BEL` terminator. I do not think there is a termcap/terminfo capability advertising support, so it would probably have to be a user option. Alternatively, `mc` could unconditionally put copied content into both `~/.local/share/mc/mcedit/mcedit.clip` and send the OSC sequence; when pasting, first send the request, and if no response within a few milliseconds, fall back to reading `~/.local/share/mc/mcedit/mcedit.clip`." yurikhan 4512 mc should use kPRV5 from terminfo for Ctrl+PageUp mc-tty master Future Releases enhancement new 2023-11-21T13:15:14Z 2023-11-23T17:59:52Z "I noticed that the Ctrl+PageUp combination (to navigate to the parent directory) didn't work in wezterm (with `config.term = ""wezterm""`). A bit of experimentation showed that it worked when wezterm identified itself as xterm, or if mc is started with --xterm. Upon investigating, I found that the reason why it works with TERM=xterm is only because mc itself hard-codes the sequence that xterm uses (the xterm_key_defines array), when it detects that it is running in that terminal emulator (check in init_key) or with --xterm. I am not sure if this is standardized anywhere, but I noticed that many terminal emulators declare the sequence for Ctrl+PageUp as the kPRV5 capability in their terminfo. Grepping for kPRV5 in my /usr/share/terminfo gives me over 60 matches. wezterm's terminfo doesn't have it yet, but it would not be a problem to add it. I think it would be nice if mc checked terminfo for capability strings such as kPRV5, in order to support such key combinations in other terminals. I can work on a patch with some guidance. I noticed the Key_xxx definitions in keyxdef.c, but it's not clear to me how to extend that to only teach mc about some new terminfo keys. " CyberShadow 4516 Combining characters in mcedit not merged with letters mcedit master Future Releases enhancement new 2024-01-03T22:52:11Z 2024-02-18T11:52:44Z "Combining characters in mcedit in edit mode (F4) aren't merged with preceding letters, but in view mode (F3) get combined properly. That is everlasting issue. Is this a bug or a feature? And if possible, if it is a ""feature"", fix this oddity and add an option for either displace of combining symbols in place or merged with preceding letters. I am currently working both with RTL and LTR texts and would like it to be fixed, please." vzhuromskyy 3 savannah: VFS optimization request mc-vfs master Future Releases enhancement new 2008-12-24T09:50:01Z 2023-05-07T09:47:29Z "Original: http://savannah.gnu.org/bugs/?8136 ||Submitted by:||None||Submitted on:||Fri 12 Mar 2004 11:00:45 PM UTC|| ||Category:||VFS||Severity:||3 - Normal|| ||Status:||None||Privacy:||Public|| ||Assigned to:||None||Open/Closed:||Open|| ||Release:||4.6.0||Operating System:||GNU/Linux|| Original submission: {{{ Not a bug, but feature request. I am using VFS (extfs). I have written program (backup extractor) which handle ""copyout"" and ""list"" commands from mc. But if I want to copyout a whole directory (or a lot of files from archive), it is called FOR EACH extracted file. In my case, extractor (duplicity backupper, http://www.nongnu.org/duplicity/ ) starts very long time. But it can extract whole directory quickly. I think if mc would pass to extfs script environment variable containing names of ALL the selected files (AND DIRECTORIES) on the panel before extracting, it would get ability to optimize extract script. For example, I can fully extract all needed files in temporary directory by ONE call to duplicity, and then just copy these files from temp directory to pathes needed by mc. }}} Comment 1 by Anonymous at Sat 13 Mar 2004 12:19:29 AM UTC: {{{ Here is a simple patch (also attached). Hope you will apply it in next release. --- mc-4.6.1-pre1/src/file.c 2003-10-27 20:36:19.000000000 +0300 +++ mc-4.6.1-pre1.patched/src/file.c 2004-03-12 03:13:05.000000000 +0300 @@ -1865,4 +1865,27 @@ } } + + /* + * Dmitry Koteroff + * Patch to save selected items in environment variable. + * This variable would be passed to extfs scripts and may be used + * to optimize depacking performance. + */ + {{{{ + char* env = g_strconcat("""", NULL); + for (i = 0; i < panel->count; i++) { + char prevEnv, p; + if (!panel->dir.list[i].f.marked) continue; + p = concat_dir_and_file (panel->cwd, panel->dir.list[i].fname); + prevEnv = env; + env = g_strconcat(prevEnv, p, ""\n"", NULL); + g_free(p); + g_free(prevEnv); + } + setenv(""MC_SELECTION"", env, 1); + g_free(env); + }}}} + + #ifdef WITH_BACKGROUND /* Did the user select to do a background operation? */ }}} Comment 2 by Anonymous at Sat 13 Mar 2004 06:40:31 PM UTC: {{{ Here is the better patch, it also consider current cursor position. P.S. ""return 0"" in background operation instead of ""goto glean_up"" isn't a bug?.. --- mc-4.6.0/src/file.c 2002-12-26 22:04:10.000000000 +0300 +++ mc-4.6.0.patched/src/file.c 2004-03-12 21:22:17.000000000 +0300 @@ -1895,4 +1895,30 @@ } } + + /* + * Dmitry Koteroff + * Patch to save selected items in environment variable. + * This variable would be passed to extfs scripts and may be used + * to optimize depacking performance. + */ + {{{{ + char* env = g_strconcat("""", NULL); + for (i = 0; i < panel->count; i++) { + char prevEnv, p; + if (!panel->dir.list[i].f.marked) continue; + p = concat_dir_and_file (panel->cwd, panel->dir.list[i].fname); + prevEnv = env; + env = g_strconcat(prevEnv, p, ""\n"", NULL); + g_free(p); + g_free(prevEnv); + } + setenv(""MC_SELECTION"", env, 1); + g_free(env); + char *cur = concat_dir_and_file (panel->cwd, source); + setenv(""MC_CURRENT"", cur, 1); + g_free(cur); + }}}} + + #ifdef WITH_BACKGROUND /* Did the user select to do a background operation? */ @@ -1913,4 +1939,5 @@ mc_setctl (dest, MCCTL_FORGET_ABOUT, NULL); /* file_op_context_destroy (ctx); */ + setenv(""MC_SELECTION"", """", 1); setenv(""MC_CURRENT"", """", 1); return 0; } @@ -2123,4 +2150,5 @@ } /* Many files */ clean_up: + setenv(""MC_SELECTION"", """", 1); setenv(""MC_CURRENT"", """", 1); /* Clean up */ }}} " slavazanko 18 savannah: extend instead of removing selection mcedit master Future Releases enhancement new 2008-12-25T12:11:07Z 2014-01-11T15:42:04Z "Original: http://savannah.gnu.org/bugs/?13711 ||Submitted by:||Oswald Buddenhagen ||Submitted on:||Sun 10 Jul 2005 12:08:41 PM UTC|| ||Category:||Editor||Severity:||3 - Normal|| ||Status:||None||Privacy:||Public|| ||Assigned to:||None||Open/Closed:||Open|| ||Release:||current (CVS or snapshot)||Operating System:||All|| Original submission: {{{ starting a selection after having moved clears the previous selection. i think the previous selection should be extended if the cursor is exactly at the beginning/end of the old selection. of course this is arguable. maybe a (hidden) option should be added. }}} " ossi 28 savannah: syntax highlighting in viewer wanted mcview master Future Releases enhancement new 2008-12-25T15:17:27Z 2016-03-14T21:16:58Z "Original: http://savannah.gnu.org/bugs/?13740 ||Submitted by:||Oswald Buddenhagen ||Submitted on:||Mon 11 Jul 2005 09:52:21 PM UTC|| ||Category:||Viewer||Severity:||1 - Wish|| ||Status:||None||Privacy:||Public|| ||Assigned to:||None||Open/Closed:||Open|| ||Release:||current (CVS or snapshot)||Operating System:||All|| Original submission: {{{ i'd like to see editor-like syntax highlighting in the viewer. i think the easiest (or at least cleanest) solution to achieve this would be merging the viewer into the editor and making a read-only mode. this would obviuosly require drastically changing the memory model of the editor, making it able to handle huge files efficiently - something that wouldn't hurt anyway. }}} " ossi 34 [FtReq] DAR archive support mc-vfs Future Releases enhancement new 2008-12-25T19:03:07Z 2014-01-11T16:00:36Z "Original: http://savannah.gnu.org/bugs/?15057 ||Submitted by:||Martin Seifert ||Submitted on:||Fri 25 Nov 2005 05:39:05 AM UTC|| ||Category:||VFS||Severity:||3 - Normal|| ||Status:||None||Privacy:||Public|| ||Assigned to:||None||Open/Closed:||Open|| ||Release:||4.6.1||Operating System:||GNU/Linux|| Original submission: {{{ Disk ARchive from http://dar.linux.free.fr/ is a shell command that backs up directory trees and files. I don`t know if it is possible to add support for .dar files, so one could ""browse"" them like it is already working for .tar archives. Kind regards Martin Seifert }}} " puntarenas 39 "savannah: viewer position from ""find file"" dialog vs. parsed files" mcview Future Releases enhancement new 2008-12-25T19:39:19Z 2021-09-15T14:52:14Z "Original: http://savannah.gnu.org/bugs/?16017 ||Submitted by:||Oswald Buddenhagen ||Submitted on:||Mon 06 Mar 2006 07:05:52 PM UTC|| ||Category:||Viewer||Severity:||3 - Normal|| ||Status:||None||Privacy:||Public|| ||Assigned to:||None||Open/Closed:||Open|| ||Release:||current (CVS or snapshot)||Operating System:||All|| Original submission: {{{ the ""find file"" dialog does seaching on unfiltered file contents. it tells the viewer to start viewing a the line of the match. however, if the file is filtered (""parsed"", as opposed to ""raw"") before viewing (e.g., lynx -dump), the line number is applied to the filtered output - usually with ""suboptimal"" results. i'm not sure what to do about this. translating the line numbers would require cooperation from the filter, which is sort of impossible for external filters. and grepping on filtered files would be sloooow. maybe like this: if matches are found and the file is ""formattable"", filter it and grep again and display that as the result. alternatively, force the viewer into raw mode, but i would not like this. }}} " ossi 80 savannah: chown editor usability improvement suggestions mc-core Future Releases enhancement new 2008-12-26T10:02:09Z 2014-01-11T22:56:00Z "Original: http://savannah.gnu.org/bugs/?22506 ||Submitted by:||marek ||Submitted on:||Thu 06 Mar 2008 09:47:03 PM UTC|| ||Category:||Core||Severity:||3 - Normal|| ||Status:||None||Privacy:||Public|| ||Assigned to:||None||Open/Closed:||Open|| ||Release:||current (CVS or snapshot)||Operating System:||All|| Original submission: {{{ chown editor suggestions: - default user/group for tagged files may come from current file instead of first tagged - user/group list search ability (eg. first letter key cycles) }}} Comment 1 by marek at Fri 07 Mar 2008 11:39:40 AM UTC: {{{ first suggestion applies also to chmod dialog }}} " maraqq 88 savannah: Integration of SMB-Share-Browsing mc-vfs master Future Releases enhancement new 2008-12-26T10:48:30Z 2021-09-26T07:11:01Z "Original: http://savannah.gnu.org/bugs/?24308 ||Submitted by:||Victor-Philipp ||Submitted on:||Fri 19 Sep 2008 01:42:58 PM UTC|| ||Category:||VFS||Severity:||3 - Normal|| ||Status:||None||Privacy:||Public|| ||Assigned to:||None||Open/Closed:||Open|| ||Release:||All versions||Operating System:||All|| Original submission: {{{ Hello, it would be very useful if mc integrate a browsing of samba-shares like smbc (http://smbc.airm.net/). Thank you Victor-Philipp }}} " vicbrother 231 Initial Friendly Interactive SHell support mc-core master Future Releases enhancement assigned 2009-02-01T15:58:27Z 2016-11-29T07:09:58Z "Here comes a patch to make fish (http://fishshell.org/) work together with MC. As I am not an MC user myself I'm not sure if there are things broken, but it is at least a start. merged as changeset:1b5ae972bbdfe4aaa7f94b4248fc030c5319993c" me@… 289 Copy to temp panel mc-vfs 4.6.2 Future Releases enhancement new 2009-03-02T11:46:18Z 2022-03-23T05:48:16Z "Sometimes it is necessary to collect on one panel list of various files for the further processing. In ""far"" it is possible. for example select some files copy (F5) to Temp panel." angel_il 1447 Wrap long lines in editor mcedit 4.7.0-pre1 Future Releases enhancement new 2009-08-03T08:52:07Z 2023-08-20T10:53:27Z It would be convenient if editor gets the ability to wrap lines when line length exceeds screen width. ache 1449 Tail -f like viewer/viewing of files mc-core master Future Releases enhancement new 2009-08-03T09:35:12Z 2015-06-18T18:38:40Z Please, implement viewing of growing files. birdie 1465 Scroll file names and changing size of panels with arrows mc-core 4.7.0-pre1 Future Releases enhancement new 2009-08-05T10:08:21Z 2011-10-29T16:56:36Z "Could you add those functions (as done in FAR): 1. Scrolling the active file name with Alt+arrows if the name is too long to fit in the panel. 2. Adjusting the size of the panels with Ctrl+arrows." ache 1480 Home key behavior in editor mcedit 4.7.0-pre1 Future Releases enhancement assigned 2009-08-06T21:37:43Z 2016-11-29T07:23:11Z "The following patch (against 4.7.0-pre1) makes the Home key go to the first column on first press, and then go to the beginning of non-whitespace -- if any. " dborca 1493 #sh should start in the user's remote home dir, consistently with rsh/ssh mc-vfs master Future Releases enhancement assigned 2009-08-07T12:38:21Z 2018-06-10T21:55:50Z "Hello, I think its a good idea. Vassilii Khachaturov wrote: ""The default behaviour of the shell link virtual file system should probably be consistent with the rsh/ssh programs behavior -- initially changing not to the remote filesystem root, but rather to the remote home directory."" Original message: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=276878 regards Denis Briand" narcan 1511 User-defined user interface themes mc-skin 4.7.0-pre3 Future Releases enhancement new 2009-08-09T16:22:24Z 2020-07-05T20:26:07Z "(Excuse me for my bad English :-) ) QT- and GTK-based programs can have ""skins"". Window managers can have themes. I suggest make such feature in mc and make some default themes: — theme without pseudographics for users that have problems with locale and use mc to solve it; — default Borland Turbo Vision-like theme that uses only pseudographics from CP437 encoding. This pseudographics symbols can be used with many 8-bit encodings; — enchanced theme wich uses all power of Unicode pseudographics. In this theme we can do following replacements: [x] → ☑ / ✓⃞ ; [ ] → ☐ / ⃞ ; (*) → ◉ / •⃝ ; ( ) → ○ / ⃝ ; With Unicode we also can add ""✓"" to ""OK"" buttons and ""✗"" to ""Cancel"" buttons. It will be like pictograms. Also ""⚠""/"" !⃤ "" and "" ?⃝ "" can be used as pictograms for some dialogs, ""⌨"" in keyboard settings. If mc somedays will use DeviceKit-disks then ""⏏"" symbol can be used for ejecting media. ------------ Regards, Sergey " sergey-feo 1518 The directory tree: add [+] / [-] or ▶ / ▼ labels mc-core 4.7.0-pre1 Future Releases enhancement assigned 2009-08-09T20:47:18Z 2016-01-30T15:12:40Z "(Excuse me for my bad English) I suggest to mark closed directory tree nodes that contain subdirs with [+] or ▶ and mark opened directory tree nodes that contain subdirs with [-] or ▼ as many other applications do. " sergey-feo 1633 New syntax and extension configuration mc-config-ini master Future Releases enhancement new 2009-09-21T14:49:08Z 2020-10-08T20:20:03Z "Currently, syntax and ext configuration is done by having a single, long file with many entries in it; if you want to add something, you have to patch this central file and if something changes in upstream, you end up having to port a jillion tiny patches to get it to work again. And upstream does change :) So, here's a new idea: Let's split Syntax (as in the central Syntax settings file) and mc.ext into small chunks and put those in separate files into a subdirectory. So for example ext/ in MC's share dir. MC will then slurp those files in alphabetic order, and keep that configuration in memory. For extra coolness: if inotify (or something similar) is available, alter configuration when a file changes. So, basically if MC doesn't by default have an ext setting for PDF files, I can drop a file called anything into ext/ (common sense would say I'd call it ""pdf""), and it would contain the ext rules for PDF files. If I want to override MC's built-in rules, I could either patch the upstream pdf ext file, or drop in something that comes earlier in the alphabet, like 00-pdf. Similarly, if I want to add CSS highligh support, I'll drop a ""css"" file with the Syntax setup into syntaxrules/ and add a css.syntax to the highlighters/ directory or something. This has the benefit that a distro, doing distro-specific things or having additions that haven't been accepted to upstream yet, can easily have a bunch of additions in these directories without needing to worry about upstream breaking hundreds of patches; and modifications are also smaller and less prone to break. Also, the syntax of the Syntax and mc.ext files does not need to get changed and the syntax highlighter rule files (*.syntax) are unaffected by this. The drawback is, of course, that this needs to be coded and it takes a bit of time to chew through all those files." ralesk 1640 descript.ion support mc-core master Future Releases enhancement new 2009-09-25T18:06:17Z 2009-09-25T21:27:35Z "It'd be nice if mc supported descript.ion files like Far Manager and others. descript.ion is a trivial text file - it contains filename as the first field and a text description as the second field. Copying corresponding entry when copying/moving file to another directory would also be nice." MageSlayer 1658 Please change unknown.syntax to something more useful, see the attachment mcedit 4.7.0-pre3 Future Releases enhancement assigned 2009-10-03T07:02:37Z 2016-11-29T07:11:53Z IMO, it would be nice to use attached {{{unknown.syntax}}} file from [http://mc.linuxinside.com/cgi-bin/dir.cgi] instead the current one. vladimir 1670 Color sources for some GUI elements mc-skin 4.7.0-pre3 Future Releases enhancement new 2009-10-04T12:00:11Z 2011-10-29T16:59:35Z "1. user menu: it used to be displayed in 'dialog' colors, now it follows 'menu' elements from skin. Of course this item is some kind of menu, however it pops up in the middle of the screen and can invoke a dialog (like 'Do something on the current file'). This should be either reverted or made configurable. 2. active menu bar and menu borders: were displayed in 'selected' colors, now they use default menu settings. Separate color at least for borders should be added. 3. directory hotlist and Find file results: selected item used to be displayed in 'dfocus', it has been switched to 'dhotfocus' which makes no sense; to be reverted," gotar 1677 "[METATICKET] Package-friendly configuration system ("".d"" support for rpm/deb based systems)" mc-core 4.7.0-pre3 Future Releases enhancement new 2009-10-05T10:45:03Z 2016-11-28T07:58:00Z "Currently, mc requires to edit .ini files to add new plugin to MC VFS. After upgrade, all changes to these files will be lost. The same problem is related to syntax highlighting files. To solve that problem, "".d"" pattern should be supported by MC configuration system. See example of .d-pattern implemented in C in attachment. " vlisivka 1684 Rename operation behaviour is not natural to file managers mc-core 4.7.0-pre3 Future Releases enhancement new 2009-10-09T11:08:37Z 2011-10-29T17:00:19Z "After renaming the file in mc cursor stays on same position it was though the file is being put to the file list according to sort order. I.e., if there 3 files file1 file2 file3 and I'm renaming the first file 'file1' into 'zfile1' cursor will stay on the first position. 'file2' will be the first file in the list and 'zfile1' will be the last. Desired behaviour: cursor should be focused on 'zfile1'" igorp1024 1688 Warn if opened file can't be written mcedit 4.7.0-pre3 Future Releases enhancement assigned 2009-10-09T15:47:15Z 2021-07-23T13:01:18Z "When mcedit opens a file which the user can't overwrite, it may say something like ""Warning: no write permission"". This was initially reported at https://bugzilla.altlinux.org/show_bug.cgi?id=7803" wRAR 1737 editor(viewer?): add support for forcing file charset as commandline option mc-core master Future Releases enhancement new 2009-10-26T20:39:57Z 2011-11-03T09:28:32Z "Would be cool to have capability to edit file in given charset: {{{ mcedit --charset=CP1251 cvs-commit.txt mcview --charset=CP1251 cvs-commit.txt }}}" slyfox 1745 Add editor options also to main Options menu mc-core master Future Releases enhancement new 2009-10-27T11:59:26Z 2021-02-17T15:42:11Z "In current MC, if you want to configure editor options (or to check how they are configured), you have to go to editor (opening up some random or empty file) and then launch the config dialog from menu there. It could be useful, if the ""General.."" and ""Save mode.."" option dialogs would be also presented in the Option menu in main Mc menu (perhaps as ""Editor..."" and ""Editor save mode...""), so all the configuration would be conveniently accessible in one place." bilbo 1777 Can't view device files mcview 4.7.0-pre4 Future Releases enhancement new 2009-11-01T12:47:21Z 2011-11-02T12:27:43Z "Trying to view some device an error is reported: Cannot view: not a regular file In my opinion this should be only a warning and such operation could continue if desired as it worked a long time and a few versions before. ... now it's forbidden {{{ if (!S_ISREG (st.st_mode)) { mc_close (fd); mcview_show_error (view, _("" Cannot view: not a regular file "")); g_free (view->filename); view->filename = NULL; goto finish; } }}} and we have one problem - calculate filesize. fstat return 0 for block devices... as a workaround, we can use '''ftell''' like this {{{ off_t mc_ftell (int fd) { fseek(fd, 0L, SEEK_END); return ftell(fd); } }}}" gotar 1801 "left/right arrow behavior inconsistent with ""Cursor beyond end of line""" mcedit master Future Releases enhancement reopened 2009-11-07T13:56:11Z 2020-11-01T23:37:19Z "enabling ""Cursor beyond end of line"" stops the right-arrow from wrapping into the next line. however, the left-arrow continues to wrap to the previous line. this feels highly unnatural and often causes ""navigation challenges"". so enabling this option should make the left-arrow stop at the beginning of the line." ossi 1847 multiline vertical move mcedit 4.7.0-pre4 Future Releases enhancement assigned 2009-11-27T13:15:57Z 2016-11-29T07:07:56Z vit_r 1850 F5-enhancement: multiline vertical down-copy mcedit 4.7.0-pre4 Future Releases enhancement assigned 2009-11-28T14:55:03Z 2016-11-29T07:08:44Z " F5 usual behavior is changed only when cursor is between start and end marks (start_mark <= cursor && cursor <= end_mark) of marked area. Instead of copying selection inside itself this patch offers one-click-down-copy of all lines which have at least one highlighted char or '\n'. New copy is marked and cursor is on the first char of lower line. If nothing is marked then cursor line is doubled and marked. In last case line with single '\n' is skipped. vit_r " vit_r 1852 Support for ACL? mc-core 4.7.0-pre4 Future Releases enhancement new 2009-11-30T10:21:05Z 2024-03-24T16:33:41Z "Hi, Would it be possible for Midnight Commander to display a plus sign for files and directories which have ACL entries, similarily to ""ls -l"" output? For example, as another field - acl." urug 1879 restore previous selection mc-core 4.7.0-pre4 Future Releases enhancement new 2009-12-18T08:08:01Z 2015-11-20T09:34:07Z "I find very useful ""restore previous selection"" (Ctrl-M) command in FAR (http://farmanager.com/) i think its not hard to implement this " x905 1907 "F5/F6 append filename to path in ""to:"" input" mc-core master Future Releases enhancement assigned 2009-12-27T10:55:33Z 2018-04-10T05:37:52Z "It's very useful to ''slightly'' alter file name while copy/move file. Currently it's possible to do using either ""source mask"" feature or by manually adding full file name to destination path in ""to:"" input. Masks isn't really intuitive and ease to use for this simple task, it's much more ease just to modify destination file name - '''this way it works both in mc-mp and far'''. Also, masks probably much more useful while copy/move multiple files, while just editing old file name is good while copy/move single file. I propose to automatically append file name to path in ""to:"" input in F5/F6 dialog windows when only one file (or directory!) involved in copy/move operation." powerman 2015 Create destination directory when moving file to non-existent directory mc-core master Future Releases enhancement new 2010-02-10T12:23:16Z 2011-11-05T06:17:31Z "I often use two tasks sequentially: 1. Create subdirectory 2. Move group of files to that subdirectory Those two actions can be performed in one step, like in FAR manager - it will automatically create non-existent directory before moving files." victor-homyakov 2047 "Add an option ""Don't traverse mounted file systems"" for ""File find""" mc-core master Future Releases enhancement new 2010-02-21T09:34:00Z 2016-12-17T06:57:23Z Quite often you need to find a file without traversing mounted file systems, please, add an option for that. birdie 2089 "diff via ""File exists"" dialog" mc-core master Future Releases enhancement new 2010-03-06T14:40:43Z 2021-12-04T04:01:06Z """File exists"" dialog (from copy/move operations) shows basic files info (including comparision of timestamps and size) and it would be logical to give the ability to run a command against them (either default diff or some other defined by user). Mentioned file info should be also extended to indicate more recent file or equality of timestamps - this matters e.g. in case of default timeformat_old and files older than 6 months, resulting in daily resolution which can be to low." gotar 2109 Vertical lines on the mc panels do not properly stick into the bottom line mc-core master Future Releases enhancement new 2010-03-17T08:54:58Z 2015-06-18T18:39:20Z A picture is worth thousand words. If someone does not like how it will look like, it can be made re-definable in the skin file. zaytsev 2130 mcedit default indentation settings cause mixture of tabs and spaces mcedit master Future Releases enhancement new 2010-04-04T13:05:09Z 2011-11-03T09:23:41Z "Forwarded from Ubuntu: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/238897 {{{ By default, mcedit’s indentation settings are: 8 units per tab, use tabs, and use fake half tabs. This causes problems because fake half tabs are in fact tabsize/2 space characters, and as anyone who has ever indented source code knows: either use tabs, or spaces, but make up your mind, else havoc is guaranteed. I find it especially unwise to propagate such a counterproductive setting as default. I think Fake Half Tabs would be much better turned off -- whether people use tabs or spaces, and how many of them is a wholly different issue altogether. }}}" zaytsev 2133 [PATCH] Allow user to setup zsh subshell with rc-files mc-core 4.6.2 Future Releases enhancement new 2010-04-06T10:47:32Z 2015-04-06T05:40:13Z "Fordwarded from Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512056 {{{ Package: mc Version: 2:4.6.2~git20080311-4 Severity: wishlist Tags: patch Hi there. I'd like to use zshrc other then default, when zsh starts as mc's subshell. I've just got an idea, that i could use MC_SID env var inside my .zshrc. But anyway, that was too late. I've made small patch to allow users to create ~/.mc/zsh dir which could contain rc-files zsh uses at startup/shutdown. PS I also edited mc(1) to mention this feature, and remove tcshrc which is not really supported. }}} " zaytsev 2148 Support for --with-slang-static option mc-core 4.7.1 Future Releases enhancement new 2010-04-19T18:32:01Z 2015-04-06T05:40:36Z "Hi, similar to --with-glib-static it would be nice to have an --with-slang-static option to imply slang lib as static part of mc binary In the meantime I use MCLIBS variable for override Lib defines. # ./configure --disable-shared --prefix=/opt/mc --with-glib-static --without-gpm-mouse --without-x --with-screen=slang --with-slang-includes=/opt/slang/include --with-slang-libs=/opt/slang/lib # make -e MCLIBS=""-L/opt/slang/lib /opt/slang/lib/libslang.a"" # file src/mc mc: ELF 32-bit LSB executable 80386 Version 1 [FPU], dynamically linked, not stripped # ldd src/mc libnsl.so.1 => /lib/libnsl.so.1 libsocket.so.1 => /lib/libsocket.so.1 libc.so.1 => /lib/libc.so.1 libmp.so.2 => /lib/libmp.so.2 libmd.so.1 => /lib/libmd.so.1 libscf.so.1 => /lib/libscf.so.1 libdoor.so.1 => /lib/libdoor.so.1 libuutil.so.1 => /lib/libuutil.so.1 libgen.so.1 => /lib/libgen.so.1 libm.so.2 => /lib/libm.so.2 " and 2156 Run editor from viewer mcview master Future Releases enhancement assigned 2010-04-27T16:20:57Z 2016-11-29T07:16:42Z "From #83 It would be great if viewer would have key shortcut to run editor on the same file (so i view some file, understand that i need to edit it, then press, say Alt-F4 and get editor on this file from the same position). I thought that default editor behaviour (placing current line in the middle of the window) not convenient when switching from viewer to editor (thus is results in shifting text), so i modified abovementioned patch to disable such scrolling in this very case. " nickk9 2176 Safe delete improvement mc-core master Future Releases enhancement new 2010-05-06T09:19:43Z 2011-11-02T11:10:27Z "I'd like to suggest safer delete like 'rm -I' command does, from man page: -i prompt before every removal -I prompt once before removing more than three files, or when removing recursively. Less intrusive than -i, while still giving protection against most mistakes Such option is much safer, because it actually requires to choose 'yes' by vivid decision, not blind sequence of F8-enter-left-enter." gotar 2207 tree view: hidden subdirectories mc-core master Future Releases enhancement assigned 2010-05-21T19:23:28Z 2016-01-30T15:12:54Z display whether the contained subdirectories ▶ are all hidden ones (dot-files) or not (it can be annoying if you try to unfold, and nothing unfolds, because the subdirectories are hidden). Janek Kozicki 2208 tree view: unfolding hidden subdirectories mc-core master Future Releases enhancement assigned 2010-05-21T19:24:39Z 2016-01-30T15:13:07Z Second press of Enter on a collapsed directory, which contains only hidden subdirectories, should unfold and show those hidden directories. Janek Kozicki 2209 tree view: speed up detection of subdirectories mc-core master Future Releases enhancement assigned 2010-05-21T19:25:36Z 2016-01-30T15:13:40Z speed up detection whether a directory has subdirectories, by caching this information in the tree_entry struct: (mtime timestamp + yes|no) Janek Kozicki 2210 tree view: display symlinked directories mc-core master Future Releases enhancement assigned 2010-05-21T19:26:25Z 2016-01-30T15:14:04Z display symlinked directories. Curerntly tree view ignores symlinked directories. It's impossible to browse them. Janek Kozicki 2211 tree view: forget everything but this mc-core master Future Releases enhancement assigned 2010-05-21T19:27:01Z 2016-01-30T15:14:25Z "Improve F3 ""Forget-this"" option by adding another ""Forget-everything-except-this""" Janek Kozicki 2214 tree view: folding/collapsing makes tree_navigation_flag less useful mc-core master Future Releases enhancement assigned 2010-05-22T00:06:18Z 2016-01-30T15:15:06Z "The tree_navigation_flag which changes between F4: Static/Dynamic browsing is useless after ticket #1517. In fact I think that it was a crude solution to provide a ""collapsing"" functionality. Perhaps in the future we could remove tree_navigation_flag completely. But for now, I think that instead of deleteing it fully, we can simply remove it from ButtonBar, and put there Lazy/Active toggle, which makes use of xtree_mode" Janek Kozicki 2215 tree view: unfold recursively mc-core master Future Releases enhancement assigned 2010-05-22T03:09:39Z 2016-01-30T15:15:24Z Make it possible to unfold current dir recursively: with all subchildren. Except for symlinked directories, because that could lead to inifite directory loop (or detect such loops). Janek Kozicki 2217 tree view: to consider - making clickable hot spots in tree view mc-core master Future Releases enhancement assigned 2010-05-22T03:24:33Z 2016-01-30T15:15:32Z "A thing to consider. Currently unfolding happens only when double clicking on directory in tree view. A mouse hot spot on ▶ would allow unfolding by single click on ▶ and collapsing by single click on ▼. Perhaps another hotspot for #2211, and another hotspot for unfolding with hidden directories?" Janek Kozicki 2218 tree view: add mouse scroll support mc-core master Future Releases enhancement assigned 2010-05-22T04:01:55Z 2016-01-30T15:15:49Z add mouse scroll support Janek Kozicki 2240 Background jobs queue (aka: file copy queue) mc-core master Future Releases enhancement new 2010-06-14T22:21:17Z 2023-06-22T17:00:48Z "When slow devices are used (slow networks, old USB, ...) a functionality which executes background jobs one at a time would be appreciated. I wrote a patch which does this (only and simply this), but a fully functionality could include: - a new state (""Queued"") for a background job - a new button in background jobs list which allows to set ""Queued"" state (""Resume"" is already present and fine working) - a new parameter which allows to specify max number of concurrent running jobs (by default; with manual ""Enqueue""/""Resume""/""Suspend"", parameter can be workarounded). Attached patch only sets ""Stopped"" state if another job is already running, and starts automatically (switch form ""Stopped"" to ""Running"" state) a job which is ""Stopped""." danilo.schembri 2268 Output to stderr should be captured on run and displayed as pop-up (configurable) mc-core master Future Releases enhancement assigned 2010-07-10T16:06:24Z 2016-11-29T07:17:50Z "Hi! Forwarded from Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581175 {{{ From: martin f krafft Subject: redirect stderr of helpers Date: Tue, 11 May 2010 13:17:39 +0200 Many GUI programmes, such as G* and K* tools, spam stderr with crap that noone cares about. If mc spawns these helpers, the output messes up the ncurses UI and requires me to punch ctrl-l to restore. I think it would make sense if mc categorically intercepted stderr of processes it spawns. One could consider accumulating such output in a buffer that can be viewed separately, or to display the output with e.g. less, and restore the UI on exit. Ideally it would be configurable, of course. I don't really want to have to hit any keys to return to the mc UI. }}} I think there is a room for discussion, whether this has to be implemented or not and if yes, how. If the consensus is that this will never be implemented I will close the downstream bug. Z." zaytsev 2308 Consolidate regular expressions in Syntax file and rewrite introductory comments mcedit master Future Releases enhancement zaytsev new 2010-08-11T17:10:21Z 2020-05-04T05:38:46Z Also, I think that syntax.c is worth some commenting. zaytsev 2310 When moving mc queues delete operations and performs them only if copy is completed sucesfully mc-core 4.7.0.8 Future Releases enhancement new 2010-08-15T09:18:46Z 2011-11-01T06:09:44Z "Forwarded from Debian: http://bugs.debian.org/592941 {{{ From: Adam Borowski Subject: mc: interrupted move causes duplicated files Date: Sat, 14 Aug 2010 12:43:32 +0200 When moving a directory to a different filesystem (ie, copy+delete), MC postpones deletion until after all copying is done. However, if there is some interruption, most likely due to target fs running out of space, MC will fail to do pending deletions of already completed files. This causes duplicated files, and is especially painful when information about what has been moved and what not is important. All that MC offers is restarting the move from the very start, which is not a good idea for large transfers over slow links. Also, while such postponed deletion does improve performance for small and medium moves, it seriously degrades it when the tree is big enough to not fit in the VFS cache. Thus, a change I'd suggest is: * don't postpone more than, say, 1000 deletions * on an interruption, delete the pending completed files before aborting (the former may seem tangential, but in a tree that takes 10 minutes to delete, you don't want to block for long before displaying the error message) }}} " zaytsev 2329 Whitespace-only sequences not remembered mc-core 4.7.3 Future Releases enhancement new 2010-08-26T23:13:21Z 2023-10-26T10:11:42Z All the dialogs (mcedit's search, mkdir, copy/rename etc.) forget strings made of space, tab and newline. As long as it may be reasonable on file operations, it's really annoying in editor; I often search for ' \t', '\t ', ' \n', '\t\n' and ' ' when programming. Whitespaces are important not only in whitespace language, but also in python, fortran or Makefiles. mc shouldn't try to be smart and 'fix' my history, especially now when removing bogus entries is as easy as pressing del key. gotar 2334 QuickView panel is not using extention file rules mc-core 4.7.3 Future Releases enhancement new 2010-08-28T14:24:34Z 2018-01-03T09:30:14Z "Hi Looks like MC QuickView panel ignores extension file rules for View. Try it on any .zip or .tar file. In quick view panel I see some sort of binary content. Switching into full View (F3) show proper listing specified by extension file. This issue is really critical for me. I am doing some sort of browser of scientific data and custom quick view is the key functionality." andrei.smirnov.69 2346 Sync PHP syntax highlighting with up do date language keywords mcedit master Future Releases enhancement zaytsev accepted 2010-09-11T07:33:39Z 2011-11-06T07:32:59Z "* Add OOP keywords (interface, implements, try/catch etc) * Add predefined exceptions (Exception etc) * Add predefined interfaces (Iterator etc) * Add std JSON functions (json_encode etc) * Add minor std keywords missing in highlight file Attached diff was made over official v4.7.4 release " ianzag 2352 [feature request] display most unique part of filename, if panel width is too short mc-core master Future Releases enhancement new 2010-09-15T20:56:54Z 2015-04-06T06:12:43Z "if a filename displayed in the panel is too long to fit, only the beginning and end is displayed. the non-fitting middle part is reduced to '~'. i like this feature, but it could be improved. if you have a lot of files with similar beginnings and endings you'd end up with a non-distinguishable file. e.g. take some files of a music collection named using the following scheme: artist - track - title (album).mp3 artist - track01 - title of track 01 (album).mp3 artist - track02 - title of track 02 (album).mp3 this may be shortened to: artist - trac~ (album).mp3 artist - trac~ (album).mp3 it would be better, if the filename is shortened using a smarter algorithm that uses the context (surrounding filenames). e.g. it could display some chars of the beginning and end as usual, but also the most unique fitting chars in the middle part, seperated by '~', like: artist - tra~1~(album).mp3 artist - tra~2~(album).mp3 " pille 2370 Allow mcview to display from stdin mcview 4.7.4 Future Releases enhancement new 2010-09-30T12:08:02Z 2018-01-07T15:42:24Z Commands like 'cat myfile | mcview' doesn't work. It would be nice if one is able to use mcview instead of less for instance. jnovy 2371 show current lines in viewer mcview master Future Releases enhancement slavazanko accepted 2010-10-01T07:39:05Z 2011-10-29T16:46:22Z "its usefull to show current viewing lines in viewer, for example like: (727-774)/1511 " x905 2373 "Panelize: follow to highlighted file location (Alt + O/I doesn't work for files in the ""Find Files"" results panel)" mc-core 4.7.4 Future Releases enhancement new 2010-10-01T10:46:59Z 2011-10-29T16:46:44Z "after ""Find File"" ""Panelize"" command done - files must be sorted in current panel sort order i found no exit from ""Panelize"" panel - need to add command to go to location of selected file by cursor (for example alt-ctl-enter) and command to go to dir there search starts (alt-backspace, also add '..' at top of list to do same effect) " x905 2387 Persistent file mark mc-core 4.7.4 Future Releases enhancement new 2010-10-14T15:27:38Z 2022-03-23T05:48:14Z "Sometimes it's necessary to make multiple time-consuming operations, like copy or move with common destination directory. It would be desirable to have an ability to mark files within multiple directories at once and issue and operation after that. Unfortunatelly marks disappear after directory change, so currently there's only one way to do this - via find file panelization (otherwise some hard scripting in user menu is required). As mc already has clipboard, multiple screens, different histories etc. it's just one more structure to be added - file stack, and some bindings to append marked files, panelize and remove contents. All the operations like copy or move would be executed from panelization panel." gotar 2388 Postpone file operation dialogs that require user decision mc-core 4.7.4 Future Releases enhancement new 2010-10-14T15:54:16Z 2011-11-02T11:08:41Z "During many operations some dialogs might pop up asking user to make a choice (like overwriting file, ignoring some warnings e.g. chmods on vfat partitions etc.). Some of them make sense to suspend operation ('insufficient space' requires to free some before proceeding), while other might wait till end (overwriting or not particular file is independent on proceeding with all the others). Of course in some situations user may want to abort entire operation on first pop up (indicating some kind of error), so such postponing must be optional. It would be especially useful for time-consuming operations, as now it happens that after an hour user notices, that since last 55 minutes nothing was done because waiting for his input. I'd suggest adding separate button for this: [< OK >] [Best effort] [ Background ] [ Cancel ]" gotar 2403 Make it possible to define disabled field background color in skins mc-skin master Future Releases enhancement assigned 2010-10-28T07:28:33Z 2013-06-17T05:28:39Z Now this color is hard-coded. I'd like to be able to define it in skins and my suggestion for the default skin is darkgray. zaytsev 2468 Preserve extended attributes while copy mc-core master Future Releases enhancement new 2011-01-09T16:06:05Z 2024-03-12T15:03:20Z "Extended attributes are nice to store comments and keywords to files. Set an extended attribute to a file: $ attr -s variable -V ""value"" filename.txt Now see it: $ attr -l filename.txt If you copy such file with mc, extended attribute will be absent for file's copy. It would be nice to have an option like ""preserve Extended attributes"" to let mc copy extended attributes as well." Kroz 2505 EditShiftBlockLeft/EditShiftBlockRight should operate with vertical blocks mcedit master Future Releases enhancement new 2011-02-18T11:42:01Z 2015-06-18T18:27:02Z "!EditShiftBlockLeft/!EditShiftBlockRight actions should move marked vertical block to left/right column by column. !EditShiftBlockUp/!EditShiftBlockDown actions should be added to move marked blocks up/down line by line. " andrew_b 2525 editor: add option to show EOL mcedit 4.7.5 Future Releases enhancement assigned 2011-03-30T22:37:55Z 2016-11-29T07:18:01Z "This is my EOL patch forward-ported from http://midnight-commander.org/ticket/113 The following changes since commit 78019b896ba0e59ba886ecf500747cbe77dbc7cb: Merge branch '2520_ctrlg_closes_panels' (2011-03-30 16:18:45 +0400) are available in the git repository at: git://dev.medozas.de/mc 2525_highlight_eol Jan Engelhardt (1): editor: add option to show EOL src/editor/edit.h | 1 + src/editor/editdraw.c | 8 +++++++- src/editor/editoptions.c | 24 +++++++++++++----------- src/setup.c | 1 + 4 files changed, 22 insertions(+), 12 deletions(-) " jengelh 2644 [PATCH] editor enhancements mcedit master Future Releases enhancement slavazanko accepted 2011-10-23T12:05:50Z 2012-05-25T13:58:09Z "Please find attached the patch referred to in this 4.8.0 discussion [ru]: http://www.opennet.ru/openforum/vsluhforumID3/80882.html#33 http://www.opennet.ru/openforum/vsluhforumID3/80882.html#182 It's neither authored nor edited by me (in fact I find some constants tasteless) but provided here in hope that the code or the idea will be useful." gvy 2654 It is possible to get 'history-search-backward' like behavior in MC prompt? mc-core 4.7.5.4 Future Releases enhancement new 2011-10-27T20:57:45Z 2012-05-20T17:15:52Z "{{{ GNU Midnight Commander, версия 4.7.5.4 }}} I have: {{{ # UP/DOWN filter history by typed string as prefix. ""\e[A"": history-search-backward ""\C-p"": history-search-backward ""\e[B"": history-search-forward ""\C-n"": history-search-forward }}} in ~/.inputrc and happy using this in Bash. But I want to have same in Midnight Commander too... For example I type cd UP and see previously typed: {{{ cd /#ftp:dom.office.int cd ~/devel }}} Currently I use M-h and navigate through **large** history list... This is a bit inconvenient... **Note** completion performed from list of MC commands (inputhistory, commandhistory, so can include MC buildin commands...) so there are no access to bash readline and some commands (like **cd /#ftp:**) I look for this feature in **man mc** by keyword *history* but did not find anything related. " gavenkoa 2672 [PATCH] Numbered listboxes and directory hotlist mc-core 4.8.0 Future Releases enhancement assigned 2011-11-16T19:58:30Z 2015-04-06T05:48:18Z "I think it would be convenient to display numbers for the hotkeys in directory hotlist and in listboxes in general. Attached is a patch which adds a new property ""num_type"" to WListbox struct and a new enum type ""listbox_numbered_t"" for it. Available options for listbox->num_type are: UNNUMBERED (default), NUMBERED (number all items), NUMBERED_HOTKEYS (number the first ten items 0..9). The patch also changes the directory hotlist to NUMBERED_HOTKEYS. screenshot attached." vakorol 2699 select only name without extension when renaming mc-core master Future Releases enhancement new 2011-12-21T11:26:10Z 2011-12-21T12:48:30Z "Usually when renaming, I only want to change the name of the file, and not it's extension. It would be great if midnight commander could automatically select only the file name and change it when I start typing." iwfmp 2700 Default extract method of compressed files mc-core master Future Releases enhancement new 2011-12-21T11:43:23Z 2011-12-21T11:43:23Z "In the user menu, there's a lot of keys used to extract different formats of compressed files. Using oh-my-zsh, I found a neat little ustil within the plugins folder called ""extract"", and designed to target all (or most known) compression formats and extract it effectively. Just a suggesting to add the script as the default, and remove all others. Would make the user menu a little cleaner as starters. Link to the plugin: https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/extract/extract.plugin.zsh" iwfmp 2717 Sort order mc-core 4.8.1 Future Releases enhancement new 2012-01-17T22:30:46Z 2012-01-18T04:31:29Z "Hi, I tried to search forum about sort order but I'm not sure that tickets I've found (eg. #1894, #1978) describe my problem with sort order. Sort order by Name shows this: /.A-dir /.a-dir /.b-dir /.B-dir /.0-dir /.1-dir /a-dir /A-dir /B-dir /b-dir /0-dir /1-dir .A-file .a-file .B-file .b-file .0-file .1-file a-file A-file b-file B-file 0-file 1-file so it randomly mixes order of files/dirs filenames which are same except for upper/lower case - sometimes is lowercase first (a-file) sometimes uppercase (.A-file). The order I'd like more will be: dot dirs non-dot dirs dot files non-dot files (what is same as it is now) each of them in alphabetical order then (within same character) lowercase first And preferably- (probably as an extra option) - with ""numbers first"". So it will look like this: /.0-dir /.1-dir /.a-dir /.A-dir /.b-dir /.B-dir /0-dir /1-dir /a-dir /A-dir /b-dir /B-dir .0-file .1-file .a-file .A-file .b-file .B-file 0-file 1-file a-file A-file b-file B-file " BzF 2727 Mark files to begin/end mc-core master Future Releases enhancement new 2012-02-05T10:32:10Z 2012-05-20T16:22:08Z "As an addition to #2534, it's useful to implement the CK_MarkToHome and CK_MarkToEnd actions handling in the file panel to mark files from current one to begin or end of file list. " andrew_b 2809 ftpfs should respect home user directory mc-vfs master Future Releases enhancement new 2012-05-17T09:59:32Z 2012-05-17T09:59:32Z "For example, ftpuser[@]ftp.org -> start in user default dir (and will be transformed to ftpuser[@]ftp.org/path/to/user/home), ftpuser[@]ftp.org/ -> start in root dir" slavazanko 2837 Home and End key definitions mc-tty master Future Releases enhancement new 2012-06-29T11:57:51Z 2023-08-15T07:47:22Z Home and End keys in wterm are different from the one in xterm. Because of that you cannot use Ctrl-Home and/or Ctrl-End to go to the beginning and/or the the end of the file in mcview. Since mc cannot learn this key combination I made a simple patch so fix that. gv 2928 Indicate read only mode for directories mc-core master Future Releases enhancement new 2012-11-16T23:24:21Z 2016-11-04T20:14:39Z "Some paths in the system can be read only for a user who's browsing them, either because the permissions forbid to create/modify anything in the current directory, or if a certain directory belongs to a mount point which is mounted read only. Please, add an indicator saying you cannot modify the current directory, something like ""[ro]"": {{{ ┌<─ /mnt [ro] ─────────────────────────.[^]>┐ │'n Name │ Size │Modify time │ │/.. │UP--DIR│Nov 17 00:23│ }}} " birdie 2982 better support for matroska/webm files mc-core master Future Releases enhancement new 2013-03-16T12:54:08Z 2013-03-16T14:49:36Z "webm files are matroska files (mkv) supporting a subset of the matroska spec mka files are matroska files containing audio streams only mc.ext.in: in video section: regex/i/\.(mkv|webm)$ Include=video View=%view{ascii} mkvinfo type/WebM Include=video View=%view{ascii} mkvinfo type/Matroska Include=video View=%view{ascii} mkvinfo in audio section: shell/i/.mka Open=@EXTHELPERSDIR@/sound.sh open wma View=%view{ascii} mkvinfo somewhere else: type/EBML file View=%view{ascii} mkvinfo Thanks " taeuber 3042 Bottom bar labels should adapt to width change better mc-core master Future Releases enhancement new 2013-07-15T07:19:26Z 2013-07-15T08:46:22Z "Bottom bar label texts were created having in mind 80 column mode. Today, we usually have more then 80 columns. With 80 colums restriction they are short and ugly, especially in languages other then english. For each column where should be two text instances for each label: * short (as of today, for 80 columns and less) * long The rule should be: * if long text fits: use long text * else, use short text." AdamK 3087 User friendly representation of shortcut keys mc-core 4.8.10 Future Releases enhancement new 2013-09-27T20:27:29Z 2016-12-21T22:13:04Z "Emacs style shortcut keys in the F9 dropdown menus (such as M-h) are really not user friendly, especially for new users. What's that ""C-""? Okay let's imagine one figures out it's Ctrl. Then what's ""M-""??? The vast majority of users don't have a Meta key (they haven't ever heard about it), they have an Alt key. You may want to try to teach them about legacy Unix systems of ~30 years ago, but honestly today when pretty much all the keyboards have ""Ctrl"" and ""Alt"", who cares? I recommend switching to shortcut key representations that are easy to understand and match the labeling of most keyboards and the current trends of desktop environments, that is: ""Ctrl+"" or ""Alt+"" followed by the uppercase letter. Representation in the F9 dropdown menu, as well as in the documentation (help, manual) should be updated too. These two words should be sent through gettext, e.g. German keyboards have ""Strg"" instead of ""Ctrl"". If hardcore mc users insist, we could keep a config option to show the more compact Emacs representation in the F9 menu, but it shouldn't be the default. A random article about the same issue: http://ergoemacs.org/emacs/modernization_meta_key.html " egmont 3139 undo grouping should be more intelligent mcedit master Future Releases enhancement new 2014-01-05T12:49:40Z 2014-01-05T12:49:40Z "as a followup to #27, i'm creating a new ticket as requested. undo grouping should roughly predict what the user probably wants to undo at once, without grouping too much. i suggest an action/time/space based grouping: - if the user switches to another ""action sequence"" (inserting/overwriting, deleting, navigating, maybe more), he certainly wants it separated from the previous sequence - if he makes a longer break while doing things, he probably expects it when undoing as well. what ""longer"" means is very subjective; a simple adaptive algorithm might make sense - small moves are merged, while big ones aren't. i'm not even sure what the criteria should be here. maybe moves should be generally merged and we should only depend on the other two ""break conditions""." ossi 3159 Skin files: fix badly chosen keywords mc-skin 4.8.11 Future Releases enhancement andrew_b assigned 2014-01-15T03:41:05Z 2021-04-08T06:22:53Z "Inspired by #2920 I started adding comments to default.ini. But it would be better if the names were more self-explanatory so we needed fewer comments. I propose to change at least these names: gauge -> progressbar (seems people have no clue what gauge could stand for) reverse -> currentdir (keyword should describe the role, not the look) [core] disabled -> [dialog] disabled (or ""ddisabled"" with double d for consistency?), it's only used in dialogs helpslink -> helpselectedlink " egmont 3163 Several improvements in editor saving behavior mcedit master Future Releases enhancement new 2014-01-27T07:08:55Z 2014-01-28T22:41:05Z "I have created a pull request on GitHub a week ago, kindly review it: https://github.com/MidnightCommander/mc/pull/32 " CyberShadow 3166 Selection of Multiple Adjacent Files/Directories mc-core master Future Releases enhancement new 2014-02-05T21:29:30Z 2014-02-11T19:59:39Z "This is one thing I think mc has been missing. Currently, to select many files/folders, you have to press 'Insert' many times, which is laborious. I think it would be a great improvement if blocks of adjacent files/folders could be selected, possibly by holding Ctrl and pressing the up/down arrow keys." Nick 3169 Additional Appearance options mc-skin master Future Releases enhancement new 2014-02-11T21:48:09Z 2014-02-11T21:48:09Z "Forking from #2165: Currently skins define multiple things: colors, single vs double lines, certain Unicode symbols etc. One might argue that it's the intended behavior: a skin should define all details of the look (but not the layout or behavior). On the other hand, it might be reasonable to decouple these from each other, since that gives more flexibility for those users who don't dig into editing skin files. For all the three ideas listed here there might be scenarios (e.g. Linux console) where one of the two states is not supported, hence currently the available skins are quite limited and moving these properties to separate options significantly increases the number of usable skins. It's also useful because it allows the users to easily create something that visually pleases them more, e.g. I personally prefer single lines but there are some great color schemes using double lines. I have three ideas in mind. At this moment the first two are implemented. 1. Single lines vs. double lines. All the skins were altered to properly define the double line drawing characters. It's a runtime decision whether those are actually used or not. It's not only a personal preference, it's also a workaround for some limited terminals. E.g. my Linux console cannot display double lines, whereas the modarcon* skins specifically designed for console uses double lines. The ""darkfar"" skin is removed, since this was the double-line version of ""dark"". The ""double-lines"" skin was also removed, it's quite like the default with double lines, except for the (IMO very ugly) dark blue menu/button lines. If you prefer to keep this skin, it should be renamed to something else. The ""featured"" skin could probably also be removed, it's almost like ""default"", but uses UTF-8 instead of ASCII compatibility stuff (see the 3rd point). Maybe the whole [Lines] section could be removed from the skins and be hardcoded in mc, I see no reason why anyone would want to redefine them - but in the initial patch it's not removed so I didn't remove any feature. 2. Underlined hotkeys So far all skins used a different color for the hotkey. This is against the common UI approach of using underline, and IMHO results in too much visual clutter (too many colors). My sand256 skin was the only one using underlines (also demoing the then new feature of having underlined attribute). Now you can choose for each skin if you'd prefer the color from the skin, or make the hotkeys underlined (and same color of non-hotkey characters). I've also changed the hotkeys in sand256 to use color instead of underline, so you get two possibilities here just as in any other skins. Technical detail: This required some special hacking, since from now on we use color+attr combos that are not explicitly mentioned in the skin file. I decided to add both kinds of hotkey colors (the special color, as well as the normal color underlined) to the color hashtable, so we can toggle the hotkey look without re-reading the skin and regenerating the color palette. I also thought that this should be private business belonging to the skin engine, rather than branching on the setting all over the code. So I put it in the caching layer, the cached table at the corresponding indexes is populated with either the actual different color, or with the underlined version, depending on the setting. Toggling the setting leaves the hash table intact, requires only the color cache to be regenerated. 3. Unicode symbols Some skins use fancy Unicode symbols, e.g. ↑ and ↓ for sorting order which look really great. Some others use ASCII symbols for compatibility (and then it's quite hard to tell what the arrow's replacement characters actually stand for). Interestingly, even though I don't have double lines on my Linux console, I do have all these fancy Unicode characters. My recommendation is to make all the skins contain fancy Unicode characters, and make it a compatibility UI-checkbox to revert to builtin ASCII characters. This one's not yet implemented." egmont 3186 Base64 and Quoted-Printable decode mcview master Future Releases enhancement new 2014-03-16T14:12:01Z 2015-03-23T15:08:52Z Sometime is needed view files in mbox format. It would be convenient to have a decoder for Base64/QP. asy 3193 mtp plugin mc-vfs master Future Releases enhancement new 2014-04-08T19:01:28Z 2014-04-09T11:01:22Z "There are some mtp implementations out there but they all suck horribly. Would be great to see mc plugin to copy files to/from mtp-capable devices just as easily as it works with sftp now." god12 3195 """Goto Line"" dialog: goto line:column" mcedit master Future Releases enhancement new 2014-04-11T17:07:00Z 2014-09-05T09:11:30Z "Goto line - as previous. Goto line:column Instead of : any separator can be used (,;. ). Goto line:0 jumps to the bol. " aurel 3199 option to show long operation progress in xterm window title mc-core master Future Releases enhancement new 2014-04-20T09:48:01Z 2014-04-20T09:48:01Z It would be nice to have a feature to show the progress of a long running operation like copy or move in the xterm window title. Maybe ETA would be nice to display too. jan.hradek 3206 Option to skip corrupted files automatically mc-core master Future Releases enhancement new 2014-05-02T21:02:57Z 2014-10-25T10:31:39Z "When MC is copying/moving a number of files in one operation, whenever it encounters a corrupted file, it pauses the whole operation while asks whether to skip the file and deleted the partially-copied file. This method doesn't work very well, because it means that if there are corrupted files, you have to be at your computer to answer these two questions every time MC encounters a new corrupted file. It's very annoying if you start copying a large number of files (that will take many hours), and then go somewhere else and come back after several hours, to find that MC has paused itself 5 minutes after you left, because it encountered a corrupted file. Whenever I'm using MC and it encounters a corrupted file, I always choose to skip the file, and to deleted the partially-copied file. And I imagine most other people do the same. So I think a useful addition, would be an option to make MC automatically skip any corrupted file, and delete the partially-copied file every time, and then at the end of the whole copy/move operation, if MC encountered corrupted files, it could present a list of all the files that it skipped." Nick 3227 Quick cd autocomplete change bevavior. mc-core master Future Releases enhancement new 2014-06-22T10:20:50Z 2014-10-25T10:25:09Z Quick cd autocomplete should offer only directories and directory symlinks, not regular files. gms 3331 Added support for list & extract UDF images by 7-zip mc-vfs 4.8.11 Future Releases enhancement new 2014-11-14T11:46:02Z 2014-11-14T11:46:02Z "Hello Devs! I've made ability to list of UDF images & extract files/dirs from it by 7-zip. Just share. May be it will be usefull. Diff in attachment." SkyRE 3356 More ways to define key sequences mc-tty master Future Releases enhancement new 2014-12-04T01:03:58Z 2014-12-04T01:03:58Z "Currently, mc works in the following way: * by default some set of sequences is recognized ('mc_default_keys'); * if TERM value starts with ""xterm"" (or some other predefined strings), some more sequences are recognized ('xterm_key_defines'); * if TERM value starts with ""qansi-m"", some more sequences are recognized ('qansi_key_defines'). However, such hard-coded way is not the best. 1. More terminal emulators with different key bindings may appear in future, you cannot hard-code all them now. 2. User may need some xterm-like key-sequences not only in xterm or xterm-compatible terminals. (But faking TERM=xtermyyy or passing --xterm/-x is not an option, because this causes not only key-handling-change, but also other changes behavior.) Solutions: 1. At least, --xterm/-x flag must be split into several flags like --keys-as-in-xterm, --aaa-as-in-xterm, --bbb-as-in-xterm; --keys-as-in-qansi. 2. At most, xterm_key_defines/qansi_key_defines should be read from config files, e.g.: > BRACKETED_PASTING_START = ""\033[200~"" > BRACKETED_PASTING_END = ""\033[201~"" > if xterm*|iris-ansi*|rxvt*|screen* > F1 = ""\033OP"" > [...] > end > if qansi-m > CTRL+NPAGE = ""\033[u"" > [...] > end Prehistory: I was annoyed that Ctrl+Left and Ctrl+Right keys generate the same ascii codes as Left and Right on tty's (unlike in xterm; so bash can't recognize Ctrl+Left and Ctrl+Right on tty's, but can in xterm), so I modified system configs to force Ctrl+Left/Ctrl+Right to generate on tty's exactly the same ascii codes as in xterm). After that C-Left, C-Right stopped working in mc. This itself is not a bug; it is expected behavior (I changed ascii codes -- and mc no more recognizes them -- obviously). However, I expected to fix this by changing terminfo files (as C-Left, C-Right were still working in mc in xterm, I expected that different behavior of mc on tty1 and in xterm was caused by differences in ""linux"" and ""xterm"" terminfo files). However, to my surprise, it appeared that mc's behavior depends on the value on the TERM environment variable itself, but not on the correspondent terminfo file. And I cannot workaround this with -x because it introduces more serious bugs." o.pikozh 3367 Add support .editorconfig in mcedit mcedit master Future Releases enhancement new 2014-12-07T15:34:06Z 2021-06-05T11:26:16Z "The .editorconfig file is standart feature in many popular text editors. For more detail see here: http://editorconfig.org/ The C library see here: https://github.com/editorconfig/editorconfig-core-c It would be great if it would support mceditor. " sergeybe 3396 Port help viewer to new viewer engine mc-core master Future Releases enhancement new 2015-02-01T23:24:54Z 2015-02-01T23:24:54Z "As pointed out in ticket:2283#comment:7 and ticket:3250, mc's help viewer suffers from various scrolling issues. mcview's new engine (implemented in 3250) should be extended to handle mc's hlp input format (next to nroff) and to be able to wrap at word boundaries. Then the help viewer should be changed to use this engine." egmont 3436 [patch] support multiple programs to view given file mc-core master Future Releases enhancement new 2015-04-03T13:00:32Z 2015-04-03T13:00:32Z "support multiple programs to view given file this patch introduce helper function and extend pdf program list usually user install only popular choice of program list order rules: 1. old known first (keep compatible characteristics with older mc versions) 2. viewer (faster then editor) 3. editor (tested with bash and busybox sh, please cross check with ksh) Signed-off-by: Andreas Mohr " and 3450 Quickly tag many adjacent files mc-core master Future Releases enhancement new 2015-04-15T09:57:51Z 2015-04-19T12:41:46Z "It happens to me very often that I want to tag many subsequent files in a large directory tree, to later perform some operation on them (typically to copy them to the other panel). E.g. I have a folder of thousands of photos (all the photos copied from my camera), and I want to copy the ones that belong to a certain trip to the pendrive of my friend (e.g. some hundred photos made last weekend, which might happen to be e.g. from DSC_4863.JPG to DSC_5328.JPG). Currently the easiest/quickest solution I'm aware of is to find the first photo somehow (e.g. based on the timestamp), hold Insert or Ctrl+T or Shift+Down and wait for some long tens of seconds until it reaches the end of the list, or a timestamp that's no longer in the desired interval. I'd like to have an equally simple, yet much quicker way of selecting many adjacent files. Approach 1: Faster navigation with keyboard In xterm, pressing Shift+Pgdn highlights many files at once. This is because xterm itself synthesizes multiple Down keypresses, plus mc finds out via the X extension that Shift is pressed. Drawbacks of this method: requires xterm (with certain config options which are apparently set correctly by default for this to work); requires X11 extension; if you reach the end of the file list it's random if the last file becomes highlighted or not (based on parity stuff), and is not extendible for Shift+End highlighting all the way to the end. In gnome-terminal, pressing Shift+Pgdn or Shift+End sends a nice escape sequence (if on the alternate screen; as opposed to the standard behavior of scrolling back in the terminal's history buffer) which could be handled by mc. Drawbacks: specific to vte-based terminals (although other terminals could easily adopt this feature), and Shift+End is already taken for highlighting the command line. Ctrl+Pgdn, Ctrl+End etc. are currently unused, and could be handled. Disadvantage: it's misleading in combination with Shift+Down which highlights and Ctrl+Down which invokes the command line history; these should probably remain this way: it's standard practice to use Shift for highlighting rather than Ctrl. Approach 2: Tag files up to a certain point A completely different and perhaps better approach could be to go in the direction of kinda mimicking the standard graphical (Gtk, Qt, Html...) multiple select UI elements, where Shift+click selects everything from the last tagged entry to the currently highlighted one. There are obvious differences between these two worlds so we can't do exactly the same, but this might be a start. E.g. I could somehow locate the first photo, press Insert, then somehow locate the last photo (it could be by Down, Pgdn, End, or Ctrl+S filename search, doesn't matter), press some other magic keycombo, and everything from the first tagged file up to this point would be highlighted. Approach 3: Extend the Select or Filter dialog Either the ""Select"" dialog (the one that appears when pressing '+') or the F9->Left->Filter dialog could be extended to allow you to specify an interval of filenames. Disadvantages: I'd have to remember two filenames; would probably only allow to specify an interval by filenames and not by any other sorting criteria, or the UI would get way too complicated and the feature would be probably harder/slower to use than tapping on Insert for some ten-twenty seconds. What do you guys think? Any ideas, preferences?" egmont 3488 Extend PanelOtherSync action in Panelize mode to show selected filename in other panel mc-core master Future Releases enhancement new 2015-06-25T19:05:44Z 2015-06-25T19:05:44Z "From https://github.com/MidnightCommander/mc/issues/16: > Say I recursively list a folder called /somefolder. There is a file called /somefolder/in/another/sub/folder/file.txt that is listed using panelize. In total commander, double commander and whatever commander I can use a command called ""view in other pane"", which then cd's into /somefolder/in/another/sub/folder in the other pane to list file.txt and any other file that's in there. Or, in other words, showing the source file path in the other pane. I think this can be ""easily"" implemented by extending `panel_sync_other`." iwfmp 3533 mcedit: Ctrl+E (go to end of line) and Ctrl+A (go to start of line) shortcuts mcedit master Future Releases enhancement new 2015-10-06T11:21:39Z 2015-10-06T11:27:21Z " PS. Please update the list of hotkeys (it lacks Ctrl + PgUp shortcuts) https://www.midnight-commander.org/wiki/doc/editor/hotkeys" vovan888 3546 mcview: dim wrapped lines mcview master Future Releases enhancement new 2015-11-04T18:50:21Z 2015-11-04T18:50:21Z "Nowadays I work with large log files. I make my terminal quite wide, many of the lines fit in a line, but still many don't. Some span across maybe 5 or 10 lines, some are even larger. Actually the one that logs my Java classpath is 70kB (!) long, that is, occupying around 10 full screens. If I disable wrapping, the timestamps are nicely aligned below each other, but I miss a lot of important content, have to scroll in two dimensions which is really cumbersome, and it's really hard to tell if a line is very long. If I enable wrapping, I get to see all the content, but it becomes much harder to see where a new log record starts (especially after those extremely long lines). I don't like the approach of Emacs and a couple of other tools that put a special symbol at the beginning or at the end of the line, as it even further increases clutter. My goal is not to be perfectly aware if it's a soft or a hard line wrap. My goal is to reduce the clutter, and unconsciously have a feeling about where logical lines start. To one moment easily focus on all the content at once, and the next moment easily focus on logical lines (log records) and quicky jump to the next one with my eyes. So I came up with this idea and a quick patch: Print the second and subsequent wrapped lines of a paragraph using a dimmer color. See the screenshot. You can try my patch; right now it's only done for the gray* skins, but you can easily change any other skin. F6 is unused in the viewer, it could toggle this mode as an improvement if you like the idea. Opinions welcome! :)" egmont 3602 Make it possible to localize of user menus mc-core master Future Releases enhancement new 2016-03-06T12:08:22Z 2016-03-06T12:08:22Z "Currently `misc/mc*.menu.in` files are not localizable. It would be great to make it possible to localize these files in a way that is maintainable, integrate the localization with Transifex as it is already the case for `*.po` and `hints` files. Also, mc should be able to load the correct files depending on the locale. For details, see #2947 and #2996." zaytsev 3604 MC menu files enhanced cmdline for entering VFS? mc-core master Future Releases enhancement new 2016-03-11T07:11:40Z 2016-03-11T20:14:28Z "Please provide the capability for entering VFS from MC menu files enhanced command line. So that in MC menus we could use commands on the lines of what we have in MC extfile: `%cd %p/utar://`. Some use cases I see for this capability right now: 1) Opening ZIP archives containing files with names in different and mixed Cyrillics encodings. 2) Opening directories containing MoinMoin wiki pages subdirs (wiki page `a/b/c` encoded to `a(2f)b(2f)c`, etc.). " yury_t 3628 screen library: ncurses vs ncursesw compilation master Future Releases enhancement new 2016-03-29T16:28:35Z 2023-05-19T18:49:28Z "Currently mc support following screen library (--with-screen=) selection: - slang - ncurses - ncursesw (not documented yet) This leads to imprecision for ncurses, because autoconf logic of ncurses detection deals (partly) with ncursesw too. 1) Exact match/use of ncurses or ncursesw to give full control about ncurses selection. 2) Single ncurses switch with ncursesw lib preference if both libs found. 3) Single ncurses switch with ncurses lib preference if both libs found. 4) Ncurses and ncursesw switch where ncurses switch also prefer ncursesw lib if both libs found. (current state) Before I attach patches, which way is preferred? (I prefer exact match selection) " and 3685 Add hotkey support to labels and groupboxes mc-core master Future Releases enhancement new 2016-09-05T17:54:59Z 2016-09-05T17:54:59Z "Labels and groupboxes should support hotkeys in their text. Pressing the hotkey will move the focus to the following focus-able widget (e.g., input, listbox, radio). This is like `