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
1
vote
1answer
55 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 ...
0
votes
0answers
63 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
28 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 ...
0
votes
0answers
13 views

using mcedit - pressing the key 'e' prints some arbitrary text

I ssh to my shared host (linux-x64) via my local terminal app "Konsole". I run "mcedit" I press 'e' The editor is writing some "arbitrary debris" (last text was 12 char long html snippet). The text ...
2
votes
0answers
377 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
573 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 ...
2
votes
1answer
366 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
41 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
65 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
93 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
46 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
3answers
2k 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
2answers
379 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 ...
1
vote
1answer
553 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
162 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
155 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
524 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
282 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
816 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
407 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
37 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
277 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
598 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
156 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
134 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
542 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
1k 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
488 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
3k 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
139 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
139 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 ...
39
votes
8answers
91k 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
497 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 ...
5
votes
2answers
4k 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 ...
0
votes
1answer
902 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
942 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
666 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 ...
2
votes
0answers
313 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
143 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
458 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
645 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
10k 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 ...