People who code: we want your input. Take the Survey

Questions tagged [midnight-commander]

Midnight commander is a dual paned, curses based file manager with a text user interface, inspired by Norton Commander

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

Can't get Midnight Commander to accept hotkey changes

I am using Linux Mint 20.1, Midnight Commander version 4.8.26. The only mc keymaps on my system that I can find are: ~/.config/mc/mc.keymap (there is no /etc/mc/ directory). I've made the change to mc....
0
votes
0answers
18 views

How to cancel invalid panelize command in Midnight Commander

I'm trying to use the panelize command in Midnight Commander, but I typed an invalid command: grep execute -- $(find /var/www/html/magento2/ -ipath Controller/) If I type the command in Bash, it ...
0
votes
0answers
14 views

How to fix broken MC (midnight commander) graphic charset while using GCP ssh console in browser

I got same problem with mc as described here: http://markimarta.com/windows/characters-in-midnight-commander-via-putty-from-windows-8/ I open my GCP VM using google ssh browser-based client. and mc ...
0
votes
0answers
10 views

Midnight commander: edit in pane?

I know there's a way to quick view a file using mc, but I wonder if there's a way to edit a file in the pane. I know you can open a separate (or internal) editor, but this removes the panes. If mc can'...
0
votes
0answers
6 views

How do I list without a certain file type in Midnight Commander?

I'm aware in Midnight Commander of using filter to include only a certain type of file, such as *.txt to list file with .txt files only. What I like to know is what to exclude for instance *.txt? I ...
0
votes
1answer
71 views

What is the function of [^] (caret in square brackets) at the end of a dialog box input line in Midnight Commander?

┌───────────────────── Select ──────────────────────┐ │ ⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛ [^] <===== THIS │ [ ] Files only [x] Case sensitive │ │ [x] Using shell patterns ...
0
votes
1answer
87 views

Where midnight commander keeps ftp history?

I've checked /etc/mc but It's not there, also not in config/mc/ini The system is debian 9.9
0
votes
1answer
273 views

How to keep Midnight Commander running after you open a file?

mc (Midnight Commander) is an excellent CLI file manager, but I have really struggled with this problem: How to get mc to keep running after you choose to open a file? For example, when I navigate to ...
0
votes
0answers
31 views

Copy text from Midnight Commander editor [duplicate]

In the past I succeeded to change the settings of mc in a way that I was able to copy and paste text from the internal editor (mcedit, entered with F4) by marking the text with the mouse like in the ...
0
votes
1answer
97 views

How to show file sizes In Midnight Commander in the most compact form? (“smart file sizes” in Total Commander)

MC shows file sizes in kilobytes and bytes by default, but it is hard to read, and it would be easier to see them in the "closest" unit available. That is: 1234567 -> 1M 123456 -> ...
0
votes
0answers
97 views

How to set Lynx like motions in mc globally

I love the feature Lynx like motion in Midnight commander. Whenever I access new system, this is the first thing I customize. Now I am on a server with lots of system accounts and it becomes annoying. ...
0
votes
1answer
358 views

Midnight Commander multi-rename with numerical values for new file names

With F6 we can multi-rename group of selected files in mc. I know, for example, how to search and replace using some regexp tokens subset in this menu. But how to proceed if I need rename a group of ...
2
votes
2answers
590 views

F10 key not working in terminal/MC, Ubuntu 19.10

I'm on Ubuntu 19.10 desktop, trying to use terminal and MC. The F10 key shortcut to quit MC is not working, nothing happens, only the cursor blinks when I press F10. I tried some ideas about this I ...
0
votes
0answers
33 views

Increasing Midninght commander dark white contrast

Midnight commander is used from putty client from Windows 10 in Debian 10. Its file names are low contract (dark white) and are difficult to read notebook screen in heavy sunlight: Directory names ...
2
votes
1answer
994 views

Slow midnight commander startup

OS: Ubuntu 18.04. I'm midnight commander user. When i starts terminal and then type "mc", it starts immediately. But i don't want to type it every time i open terminal. So i added "mc" to end of ....
4
votes
1answer
1k views

How to start Midnight Commander in one panel mode?

I want to start Midnight Commander in one panel mode. I know I can toggle it on/off using Alt + t but I want it to be in one panel mode from the start. How can I do this? Is there a command line ...
3
votes
1answer
740 views

Midnight Commander: configure error: S-Lang library version 2.0 or newer not found

Trying to update Midnight Commander to the latest version (4.8.23), I downloaded the corresponding tar.xz file from their website (http://ftp.midnight-commander.org/?C=N;O=D), extracted the files and ...
0
votes
0answers
49 views

Attach to Midnight Commander session

I found kind of hard but I can't attach to MC session. I tried to find something in tutorials in internet but there is nothing about detached/attached MC. I've detached it by... mistake, but there is ...
2
votes
1answer
92 views

Why I can see lot more free disk space as root than as a user?

When I am logged in as a user, I can see free disk space: 1.2 Gb, with Midnight Commander. Surprisingly when I run "sudo mc" then Midnight Commander shows a lot more free disk space: 1.9 Gb. How is it ...
0
votes
0answers
140 views

disable scroll on mouse click in Midnight commander's mcview

I use Midnight commander and it's mcview a lot to browse log files. I often want to use mouse to select text and copy it, but if I click in the text mcview will scroll. I tried to disable it by ...
0
votes
1answer
53 views

Midnight Commander Editor status line decryption

What is mcedit status line symbol decryption? There are 4 status symbol places there: B -- Block text selection M -- Modified (I don't know) O -- I don't know I also don't understand what is 1+ in ...
0
votes
4answers
5k views

Midnight Commander on Windows

I would like to use Midnight Commander on Windows. I found some threads related to Cygwin enabling me to use linux software on Windows. Can anyone point me to a documentation that might help me ...
2
votes
1answer
758 views

How to add a custom parser for a file type into MC viewer?

When you press F3 on a .sqlite file in midnight commander the Viewer shows the SQL dump of the file instead of the original binary, and F8 can be used to switch between parsed and raw modes. This ...
1
vote
0answers
169 views

Using img2txt in Midnight Commander

As far as I know it is possible to use img2txt with Midnight Commander as described here. My question is how to setup (in details) img2txt on Mac and how to use it with MC. OS: macOS High Sierra 10....
-1
votes
1answer
161 views

More visible space in Midnight Commander for command lines

I want more space as shown here: How can I get it? UPD: There is FAR on the screenshot, but seems mc support this feature too: F9 > Options > Layout > Console output. But it do not works: upstream ...
5
votes
1answer
4k views

How to change UI language for midnight commander Mac

i installed midnight commander by means of brew (brew install mc). But couldn't understand why it's in french. i've tried to reinstall it but it's turned out to be the same thing. Now i'm wondering ...
1
vote
2answers
2k views

How to right-click to paste in mcedit

On a bash terminal I can right-click to paste to vim or nano, but mcedit does not receive my clipboard data on right-click. How to right-click to paste in mcedit?
2
votes
0answers
612 views

Git integration for midnight commander or alternatives

Does Midnight Commander offer support for Git like highlighting changed / added files or is there an alternative File Manager supporting this? Update: Something similar to WebStorm/IntelliJ ...
4
votes
0answers
297 views

Sizes of the panels in Midnight Commander

Can I change the height of the panels in Midnight Commander like in Far (pressing Control+Up or Control+Down )?
3
votes
0answers
910 views

Weird Midnight Commander look in tmux

How to fix this mc look in tmux session? This is how mc looks without tmux I have export TERM=xterm-256color in .bash_profile set -g default-terminal "screen-256color" in .tmux.conf file
1
vote
0answers
483 views

Defining Midnight Commander's External Editor on Windows

I'm new to Midnight Commander. Very impressed so far. I'm working in both Mac OS and Windows, and would like to use vim as my external editor. That seems to be the default external editor on the Mac, ...
1
vote
1answer
39 views

Is it possible to change permission of group by VI editor

I'm new to vi-editor and trying to edit permission of mc (Midnight Commander) group by vi-editor. I try to locate where is mc: vi /usr/share/mc but it gives me empty file and says mc is a directory.....
5
votes
2answers
2k views

Midnight commander file transfer “fish: storing file”

when I copy files using Midnight Commander fuction named shell link (I guess it is kind of ssh ) it takes sometimes very long. More precisely, the copy time-bar is finished quite fast (20MB/s), but ...
1
vote
1answer
318 views

How to specify arguments for editor in Midnight Commander

I'm using Nano as the editor in MC. I would like it to scroll by 1 line, which is not its default behavior. I've found that you can specify the option -S when you run Nano to enable smooth scrolling, ...
0
votes
1answer
664 views

Midnight commander sometimes very slow

I'm using midnight commander with Cygwin 64 bit on Windows 10 64 bit. After moving to a new machine and a clean reinstall of windows and cygwin, my midnight commander started to get very laggy from ...
1
vote
0answers
159 views

When mc runs as root doesn't obey bindings

I created a bindings file for mc that opens geeqie file viewer when my user presses Enter on a [jJ][pP][gG] file. Copied that bindings file from ~./config/mc/bindings to /root/.config/mc/. When I ...
2
votes
0answers
144 views

Editor in panel - Midnight Commander

Is it possible to set the other panel display mode to editor view in midnight commander? Something like the panel quick view display mode (ctrl+x,q) with the ability to modify the content.
1
vote
1answer
622 views

Where can I find keyboard key names used in mc.keymap?

I want to assign some actions to key bindnigs in Midnight Commander like Alt+[ or Alt+]. Where can I find "code names" for this (and other) keys? For example I already found some keys: ` = "prime" { ...
4
votes
1answer
2k views

mc - Midnight commander - How do I sort so that directories are on top?

By default, mc sorts so that the directories are on top (come before files). Somehow, I've changed this so that the directories are sorted alphabetically. Where is the option or keyboard shortcut to ...
10
votes
1answer
16k views

Configuring function keys in PuTTY for both Vim and Midnight Commander under tmux?

First off, I'm aware that I can use Alt+1 (through 9 and 0) to synthesize the respective function keys (F1 through F10) in Midnight Commander. It has helped me many times, but by default I still press ...
3
votes
0answers
507 views

In mc within tmux ctrl-o doesn't work

When I run mc within tmux: $ tmux $ mc 'Ctrl-o' in mc desn't work properly: mc panes disappear, but the shell command prompt doesn't appear, and pressing any key causes mc panes appear again. When ...
4
votes
2answers
6k views

Midnight Commander — Multiple Selection

In MC I can copy the name of the current file from the list of files to the console pressing Ctrl+Enter. Suppose I want several files to copy to console. Example: want to create *.zip with several ...
2
votes
1answer
153 views

Custom function as “edit” in Midnight Commander

The problem I'm using tmux and I want MC to open files for editing in another tmux window, so that I can keep browsing files while editing. What I've tried MC checks if EDITOR variable is set and ...
5
votes
3answers
3k views

Shift-F5 and Shift-F6 don't work in Midnight Commander on Mac OS X

ShiftF5 does not copy file. ShiftF6 does not rename file. How I can reassign these key combinations?
2
votes
1answer
217 views

Cycling through files by filename in Midnight Commander

Sorry if I should have posted this as a feature request to mc developers somewhere. This is such a common and useful functionality I assumed it ought to be there, yet I can't find it. What I want is ...
44
votes
9answers
109k views

Copy and paste text in midnight commander (MC) via putty in Linux

I use Midnight Commander (MC) editor over putty to edit files I want to know how to copy text from one file, close it then open another file and paste it? If it is not possible with Midnight ...
0
votes
1answer
581 views

wrong MC colors when launched via xterm -e mc

I use ini-customized color theme in Midnight Commander 4.8. [Colors] base_color=linux:normal=cyan,rgb002:input=white,cyan:inputunchanged=black,cyan:dhotnormal=red When I launch xterm and then ...
2
votes
1answer
1k views

Restore old mc exit directory behavior

I would like to have the OLD behavior of mc, when exiting meant that I will be at the directory where I was before I started mc. I'm only a user on the system, I suspect it's a Suse Linux. The which ...
6
votes
2answers
5k views

midnight commander subshell - sharing a history file with the shell mc was started from

I am looking for a way to make midnight commander share its subshell history with the parent shell. To be more specific, when I start mc, open its subshell using Control+o and subsequently invoke a ...
3
votes
0answers
2k views

Midnight Commander function keys not working

I'm using Midnight Commander in a Mac Terminal. I'm using PC keyboard, so function keys work as F1-F12 keys, but they don't work in MC. I tested what character sequence is sent with each function key ...