Questions tagged [mc]

Midnight Commander `mc` is an open-source orthodox file manager accompanied by text-based user interface (TUI) programs `mcdiff`, `mcedit` and `mcview`.

Midnight Commander is an orthodox file manager. It's a console application with a text user interface. The main interface consists of two panels which display the file system. File selection is made using arrow keys, the insert key is used to select files and the Function Keys perform operations such as renaming, editing and copying files. Later versions of the Midnight Commander additionally have mouse support. Such versions are aware of GPM and X terminal emulators (such as GNOME Terminal or xterm) which support mouse reporting. When running inside an X terminal, these versions can update the name of the window in which Midnight Commander runs (if allowed by the terminal emulator).

76 questions
2
votes
1 answer

return random variables within array depending on logic variable or resample variable in scipy

I've tried searching for one of these answers quite a bit, and can't find what I'm looking for. I'm sure it's fairly basic and I either don't know how to phrase the search for what i'm looking for, am going about it the wrong way. Using scipy I…
1
vote
1 answer

Generating DLLs from an MC file?

I am taking over a bit of a legacy project, and having issues getting it to install in Windows 7. The project is coded in VB, and our IDE for it is Visual Studio 2005 with VSS (fun I know). It was originally created for XP. The original dev is…
Panky
  • 563
  • 1
  • 3
  • 18
1
vote
2 answers

Prompt is different in midnight-commander (mc) subshell

The problem first: The subshell of mc has a different prompt compared to the parent shell and my tcsh environment. All the other settings/variables/aliases are available in mc's subshell, only the prompt is not "passed" correctly it seems. I have…
TP_
  • 13
  • 3
1
vote
1 answer

How do I call an internal Midnight Commander command from menu entries or key bindings?

I try to automate some things for my Midnight Commander setup and want to call an internal Midnight Commander command from menu entries or key bindings. For example, I have a large number of ssh sites defined in .ssh/config, # ssh (secure shell)…
huckfinn
  • 644
  • 6
  • 23
1
vote
2 answers

Ubuntu 16.04. How to open folder in midnight commander from nautilus

I do open folder in mc from nautilus in the ubuntu 12.04 by right mouse button clicking. But in 16.04 I have no nautilus-open-terminal package in the Synaptic. Instead gnome-terminal is installed. So I have "Open in terminal" in the popup menu after…
A.Sol
  • 41
  • 5
1
vote
0 answers

Midnight Command for selecting multiple files

I'm using developer mode of windows for using mc. I know for selecting multiple files for unix system Insert key is used. But for windows how I will select multiple files.
khairul alam
  • 138
  • 13
1
vote
1 answer

Is it possible to run mc from within SSH terminal of Intellij Idea?

I can run it, but it looks ugly: Is it possible to fix this behavior?
Victor Dombrovsky
  • 2,955
  • 3
  • 21
  • 33
1
vote
2 answers

linux mc extension command with DOT at the end

I need to cut some first characters from file name in current mc panel and create hard link in pasive mc panel with this name. Example: ls 001-a\ b.flac | cut -c 5- | xargs -0 -I{} echo ln %p %D/{} I get expectet result: ln 001-a b.flac…
user1855805
  • 137
  • 1
  • 1
  • 9
1
vote
1 answer

Determine if bash/zsh/etc. is running under Midnight Commander

Simple question. I'd like to know how to tell whether the current shell is running as a mc subshell or not. If it is, I'd like to enter a degraded mode without some features mc can't handle. In particular, I'd like this to Be as portable as…
PythonNut
  • 6,182
  • 1
  • 25
  • 41
1
vote
2 answers

Set file association on .pdf files in midnight commander

I've been looking all over the net, but did not find anything useful. How would one set default program for opening .pdf files with zathura for example, in midnight commander. I know I have to edit mc.ext file, but there are no docs available that…
branquito
  • 3,864
  • 5
  • 35
  • 60
1
vote
1 answer

Midnight Commander - Quick cd - keyboard shortcut rebind

How to rebind keyboard shortcuts feature "Quick cd" in Midnight Commander? "Quick cd" is issued when you press alt+c shortcut. When you are in "Quick cd" dialog box you can use several other shortcuts for example History = alt+h, Delete = d,…
Wakan Tanka
  • 7,542
  • 16
  • 69
  • 122
1
vote
0 answers

Should a model change other models or a controller should change each model? (Rails or other Model-Controller architecture)

In a server application where exists models like "Articles", "Jobs", "Workers" and For example in a server side app where there are those models: Products Jobs Workers And there is an action like start job which does the following…
Totty.js
  • 15,563
  • 31
  • 103
  • 175
1
vote
4 answers

TAB completion and mc problems

DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.10 DISTRIB_CODENAME=intrepid DISTRIB_DESCRIPTION="Ubuntu 8.10" This is the server version. When I ssh into it, I encounter the following problems: Problem 1 tab completion behaves weird to the point of being…
Mamut
  • 1,040
  • 2
  • 12
  • 23
0
votes
0 answers

Midnight commander opens zip archives with image/PDF viewer instead of listing the contents

I am using mc 4.8.27 in Kubuntu 22.04. My problem is: When I hit Enter on a zip archive (but not tar or tgz) it opens in the gwenview image viewer if there are any images among its contents, and in the okular PDF viewer if there are any PDFs but no…
Gunter
  • 1
  • 2
0
votes
1 answer

How to make Midnight Commander open file with default application in Windows

I recently started using Midnight Commander on my Windows 10 system, but I can't seem to get it to handle images or pdf files properly. When I select the file and press Enter, nothing happens. I've tried altering the extension file to the…
tayopi
  • 295
  • 5
  • 15