does mc support sftp ?

2018-11-15 Thread Fourhundred Thecat
Hello, I need to connect to server where I don't have shell access (no ssh) the server only allows sftp. I can connect with winscp, for instance. does mc support sftp as well ? thanks, ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc

filter files

2019-08-02 Thread Fourhundred Thecat
Hello, can I use "filter" to limit the files that I see in my current panel ? For instance, only show files modified in the last n minutes/hours in the current directory ? thanks, ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc

view .gnumeric files in mc (in console)

2016-08-31 Thread Fourhundred Thecat
Hello, has anybody figured out, how to view gnumeric files in mc (in console/text mode)? I am aware that this can be configured in /etc/mc/mc.ext, and I see there is already section for excel files: type/^Microsoft\ Excel Edit=true Open=(gnumeric %f >/dev/null 2>&1 &) V

Re: view .gnumeric files in mc (in console)

2016-08-31 Thread Fourhundred Thecat
> On 2016-08-31 10:51, Slava Zanko wrote: > > Hi Fourhundred, > > Try to use this: > > View=%view{ascii} ssconvert %f || xls2csv %f || strings %f > that obviously cannot work when run on the commandline, ssconvert needs output file, and possibly also --export-type. The following command works

Re: view .gnumeric files in mc (in console)

2016-08-31 Thread Fourhundred Thecat
> On 2016-08-31 17:38, Mooffie wrote: > > On 8/31/16, Mooffie wrote: >> On 8/31/16, Fourhundred Thecat <400the...@gmx.ch> wrote: >>> >>> when run on the commandline, ssconvert needs output file >> >> The manual page for ssconvert says you can

change "timeformat_old" from 6 months to 1 year

2016-09-18 Thread Fourhundred Thecat
Hello, I am using different date formats for "timeformat_recent" and "timeformat_old": [Misc] timeformat_recent=%b %e %H:%M timeformat_old=%Y %b %e %H:%M which gives me nice, clean dates, where new files are immediately distinguished from older ones: Sep 3 15:13 2016 Mar 10

Re: change "timeformat_old" from 6 months to 1 year

2016-09-20 Thread Fourhundred Thecat
> On 2016-09-19 05:11, Mooffie wrote: > > On 9/19/16, Mooffie wrote: >> >> One possibility is to modify MC's source code: >> >> https://source.midnight-commander.org/S/lib--timefmt.c.html#L133 >> >> Change the "6L" (six months) to "12L". > > Or you can edit the MC binary directly. > > That e

disable/hide .[^]>

2016-09-23 Thread Fourhundred Thecat
Hello, in the top right corner, there are these symbols: .[^]> and if mouse is enabled, this can actually be clicked and show history. Is there a simple way to hide these symbols completely? I am using mc with mouse disabled, and I am not using history anyway. This functionality has no use f

display thousands separator in file size

2016-09-26 Thread Fourhundred Thecat
Hello, is there a simple way how I could modify the code, so that file size displayed in mc has thousands separator? I am using thousands separator with ls, and it hugely increases readability: BLOCK_SIZE="'1" ls -lAF i.e. it takes couple of seconds to see the magnitude of a number like this:

Re: display thousands separator in file size

2016-09-27 Thread Fourhundred Thecat
> On 2016-09-26 19:15, Mooffie wrote: > > In lib/utils.c find the function size_trunc_len(). Change the three > character string "%" (there's only one there!) to "%'". But now the > separators will consume space and the size column will cut off a digit > or two. So go to "Listing mode", choose "Use

detect if shell is running standalone or from mc

2021-07-03 Thread Fourhundred Thecat via mc
Hello, how can I determine in a shell, whether the shell is running standalone or in mc? I am using zsh, and I have few aliases defined. I would like to change behavior of the alias, depending whether I am in mc or not. How can I detect it in the shell, that I am currently in mc? thanks,

filter files based on wildcard pattern

2022-02-21 Thread Fourhundred Thecat via mc
Hello, does midnight commander have a shortcut, to "filter" files in current directory based on a wildcard? I mean, for example, if I have many files in current dir, I would like to filter the view to only see files matching "*.pdf" I know there exists the "+" shortcut to select files based on

make "filter" case insensitive

2022-02-23 Thread Fourhundred Thecat via mc
Hello, is there any way to make "filter" case insensitive? If there is no configuration option for this, how difficult would it be to change this in the source code? (I am using mc version: 3:4.8.22-1 on Debian 10 thank you ___ mc mailing list https:

Re: make "filter" case insensitive

2022-02-24 Thread Fourhundred Thecat via mc
> On 2022-02-23 17:59, Frank Dietrich via mc wrote: Hi, the filter uses shell globbing pattern. For example *.[Pp][Dd][Ff] would filter files *.PDF, *.pdf (and all other permutations of the characters). thank you, but that is extremly laborious. If there is no configuration option to make t

mc: ignore files

2022-05-23 Thread Fourhundred Thecat via mc
Hello, is it possible to specify file name pattern, which should be hidden in mc ? ls command has following option: ls --ignore=lost+found is something similar possible in mc ? ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc

shortcut for "Sort by Modify Time"

2022-06-06 Thread Fourhundred Thecat via mc
Hello, I normally use "Sort by Name" in mc panels, but frequently need to switch to "Sort by Modify Time" from the menu selection. But this is quite tedious: F9 -> Sort Order -> Modify Time Is there any shortcut for this? If not, can I define my own shortcut? perhaps Alt+m ? That does not se

rules in mc.ext

2022-09-15 Thread Fourhundred Thecat via mc
Hello, can I change the default internal viewer to something else (less)? I think I could change each line individually: View=%view{ascii} mediainfo %f to View=mediainfo %f | less but I would rather change this once, globally. Also, I am confused how the include directive works in mc.ext