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
9 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
25 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
29 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
39 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
0answers
27 views

Set finder as viewer of directories in midnight commander macos

Recently I've started to use mc as my default "file manager", this way I can move photos to my external hard disk using the native ntfs support, since it's look like apple haven't added the support ...
0
votes
1answer
36 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
1answer
791 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 ...
-1
votes
1answer
104 views

Block unindent on mcedit

Block indent in mcedit is simple: select the lines to be indented and press Tab. But how can I block unindent? (In gedit, for example, the key is Shift+Tab) I found this ticket which states ...
0
votes
0answers
146 views

How to send Ctrl-Ins, Shift-Ins, Shift-Del, Shift-Home, Shift-End to server using PuTTY/KiTTY

The question is raised because I cannot make sense out of combination of KiTTY + Midnight Commander's mcedit with non-persistent selection blocks. I don't want to use persistent blocks and other keys ...
1
vote
1answer
292 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
135 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
134 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
3k 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
1k 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?
1
vote
0answers
391 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 ...
2
votes
0answers
201 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 )?
2
votes
0answers
579 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
0
votes
0answers
321 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
35 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.....
4
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
234 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
525 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
145 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
123 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.
0
votes
1answer
452 views

Where can I find keyboard key names using 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" { ...
3
votes
1answer
959 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
14k 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
445 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
1k 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 ...
1
vote
1answer
128 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 ...
4
votes
3answers
2k 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
99 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 ...
32
votes
7answers
71k 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
403 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 ...
4
votes
2answers
3k 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 ...
2
votes
0answers
1k 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 ...
0
votes
1answer
811 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 ...
1
vote
1answer
811 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 ...
1
vote
1answer
630 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-...
0
votes
1answer
1k views

mc-wrapper does not exit to MC_PWD directory

I recently installed openSUSE 13.1 and set up the mc in typical why by aliasing mc with mc-wrapper.sh to have it exit into the last working directory in mc instance. However this does not seem to be ...
1
vote
0answers
238 views

How do I get a proper subshell in mc's mcedit?

I can use the shell from mc when pressing Ctrl+O and when using Debian, I can also use that shortcut from mcedit. However, in Ubuntu, this will only show the shell but I cannot enter anything.
1
vote
0answers
131 views

midnight commander: VFS does not work for tar.xz

In my mc.ext I have following rule for tar.xz files: regex/\.t(ar\.xz|xz)$ Open=%cd %p/utar:// View=%view{ascii} xz -dc %f 2>/dev/null | tar tvvf - But, when I press Enter in mc on foo....
0
votes
2answers
394 views

Midnight Commander: user running commands or scripts/executables

When I putty to my CentOS (6.4) and launch mc as a normal user (not root) I get fired from the putty window: Server unexpectedly closed network connection. This quit annoying if you are used to ...
4
votes
1answer
532 views

Why in Midnight Commander the chmod has 5 digits and what for?

In the file menu if I go to chmod, it returnes the chmod value for the folder / file. I understand the last 3 digits, the second is setuid/setgid/sticky bit (have read the docs on it but its use is ...
14
votes
1answer
9k views

How to expand the command line to the whole screen in MC?

Is it possible to expand the command line to the whole screen (to show several lines on the terminal) in Midnight Commander without exiting it? I mean I want to switch from two tabs to a raw terminal ...
3
votes
1answer
2k views

How to display normal date-time in Midnight Commander?

My MC displays modification date time in very strange manner. Sometimes it displays date+year and sometimes it displays date+time. Unpredictable. How to make it display something predictable? UPDATE ...
1
vote
1answer
218 views

Mac OS FTP Directory Listing

I use Mac OS X. mc was installed from ports. Mouse is not supported in mc. I try to connect to FTP server. fn + F9. Chose Right, than FTP Link... . In the "Enter machine name (F1 for details)" there ...
1
vote
0answers
71 views

virtual filesystems appear to be limited on win32 build of Midnight Commander

I installed Midnight Commander 4.8.7 on my windows machine at work. 2 of the features that I would love to use are the virtual filesystems for zip files and ssh. But the only virtual filesystem that ...
9
votes
5answers
13k views

How to apply `.mc/ini` file?

I installed Midnight Commander and tried to change the colour scheme, but unfortunately, it doesn't apply the ~/.mc/ini file. It's Midnight Commander 4.8.1, on Ubuntu 12.04. When I installed it, it ...