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
0 answers
4 views

How do I skip one of file list format in Midnight Commander?

Shortcut Alt+T cycles throw Full, Brief, Long and User defined file Listing format. How do I skip one of Listing format?
user avatar
0 votes
1 answer
23 views

how to fill-in absolute path filename in mc?

Please, I cannot figure out how to fill-in absolute path filename in mc (Midnight commander)? I am familiar with ALT+ENTER to drop the filename onto the line, but that is just the relative filename, I ...
user avatar
  • 632
0 votes
0 answers
19 views

Midnight Commander user menu command to run external diff tool

Is it possible to create an entry in Midnight Commander's "user menu", which operates on two files, possibly one from each pane? I'm trying to set up a user command that will open Meld for ...
user avatar
  • 352
0 votes
1 answer
103 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 ...
user avatar
  • 209
0 votes
1 answer
223 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
user avatar
0 votes
1 answer
635 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 ...
user avatar
  • 1
1 vote
1 answer
2k 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 -> ...
user avatar
  • 209
1 vote
0 answers
253 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. ...
user avatar
0 votes
1 answer
886 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 ...
user avatar
  • 223
3 votes
2 answers
2k 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 ...
user avatar
  • 131
0 votes
0 answers
36 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 ...
user avatar
  • 131
2 votes
1 answer
1k 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 ....
user avatar
5 votes
1 answer
2k 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 ...
user avatar
3 votes
1 answer
1k 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 ...
user avatar
0 votes
0 answers
69 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 ...
user avatar
  • 154
2 votes
1 answer
133 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 ...
user avatar
0 votes
0 answers
194 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 ...
user avatar
0 votes
1 answer
61 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 ...
user avatar
0 votes
4 answers
6k 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 ...
user avatar
  • 103
2 votes
1 answer
941 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 ...
user avatar
  • 6,900
1 vote
0 answers
179 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....
user avatar
-1 votes
1 answer
188 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 ...
user avatar
5 votes
1 answer
5k 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 ...
user avatar
  • 290
1 vote
2 answers
3k 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?
user avatar
  • 521
3 votes
0 answers
710 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 ...
user avatar
4 votes
0 answers
325 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 )?
user avatar
  • 41
3 votes
0 answers
1k 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
user avatar
  • 503
2 votes
0 answers
579 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, ...
user avatar
  • 153
1 vote
1 answer
42 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.....
user avatar
  • 11
5 votes
2 answers
3k 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 ...
user avatar
1 vote
1 answer
358 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, ...
user avatar
  • 131
0 votes
1 answer
734 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 ...
user avatar
1 vote
0 answers
162 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 ...
user avatar
  • 710
3 votes
0 answers
155 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.
user avatar
  • 31
1 vote
1 answer
697 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" { ...
user avatar
4 votes
1 answer
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 ...
user avatar
10 votes
1 answer
17k 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 ...
user avatar
  • 6,041
3 votes
0 answers
587 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 ...
user avatar
  • 479
4 votes
2 answers
8k 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 ...
user avatar
2 votes
1 answer
191 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 ...
user avatar
  • 123
6 votes
3 answers
4k 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?
user avatar
  • 201
2 votes
1 answer
503 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 ...
user avatar
49 votes
9 answers
129k 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 ...
user avatar
  • 593
1 vote
1 answer
721 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 ...
user avatar
  • 2,648
2 votes
1 answer
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 ...
user avatar
  • 618
6 votes
2 answers
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 ...
user avatar
3 votes
0 answers
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 ...
user avatar
0 votes
1 answer
1k views

cygwin: vim in mc not coloring

I have a setup using cygwin with midnight commander and vim. I have a proper .vimrc in my home folder, which works fine if I start up vim directly on the console. Now I also want mc to use vim, so I ...
user avatar
  • 216
1 vote
1 answer
1k views

Midnight Commander on OSX.Opening files

I am using Midnight Commander on Mac OS X (version 4.8.13). I have two problems and I would be very glad if you can help me: /opt/local/libexec/mc/ext.d/doc.sh: line 134: wvHtml: command not ...
user avatar
1 vote
1 answer
721 views

Solaris libglib2.0-dev

I want to install mc-4.8.12 (Midnight Commander), but I get this error: glib-2.0 not found or version too old (must be >= 2.12) When I search Google for a solution, I see the package libglib2.0-...
user avatar
  • 35