disk usage status in right bottom corner

2013-12-18 Thread Konrad Vrba
hello,

I would like to ask whether it is possible to change the disk status/usage
information, which is displayed in the botom right corner in midnight
commander (sorry if I am not using the correct terminology).

The information displayed in my MC is free/total free%

I would prefer to have % of used space, rather than % of free space. It
might seem trivial, but I canot get used to the idea and it still confuses
me. It seems to me logical to see what *is*on my disk, rather than what *is
not*.

Is there some way to adjust this, so that I can for example see just the
%usage ?

thanks,
Konrad
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: mc Digest, Vol 116, Issue 5

2013-12-18 Thread Mike Smithson

On Tue, 17 Dec 2013 04:00:03 -0800, mc-requ...@gnome.org wrote:



Message: 1
Date: Mon, 16 Dec 2013 14:05:48 +
From: James Wonnacott ja...@tregillis.eclipse.co.uk
To: mc@gnome.org
Subject: Changed behaviour of clicking at the top.
Message-ID: 52af08bc.5020...@tregillis.eclipse.co.uk
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Dear All,

Sorry to raise this again but it's driving me nuts and I only got one
reply last time which didn't help.

###
#Warning! if you don't think a mouse is an appropriate#
#input device to use on mc please don't read any more.#
#I use a mouse a lot in mc and I like it! #
###

I've been using mc for many years and I love it- thanks!

I've recently installed version 4.8.3 on a few Debian servers I've built
and found that I can no longer click at the top of a panel to move up-
it now reverses the sort order instead.
Now, I really would like to get the old behaviour back- is this
possible? please!

Thanks,

James.



It's true. I don't use the mouse much, tend to be a keyboard hotkey
kind of guy. But your question got me playing with mc  mouse. The
mouse support seems to be highly improved over the last time (years
ago) that I fiddled with mouse support.

If you want to change it, the relevant code is in
src/filemanager/panel.c, around line 3645:

[code]
/* sort on clicked column; don't handle wheel events */
if (mouse_down  (local.buttons  (GPM_B_UP | GPM_B_DOWN)) == 0   
local.y == 2)

{
mouse_sort_col (panel, local.x);
goto finish;
}

/* Mouse wheel events */
if (mouse_down  (local.buttons  GPM_B_UP) != 0)
{
if (is_active)
{
if (panels_options.mouse_move_pages  (panel-top_file  0))
prev_page (panel);
else/* We are in first page */
move_up (panel);
}
goto finish;
}
[/code]

Frankly, I like the sort/reverse sort feature. I didn't even know I
could do that. Very handy. Thank you for drawing it to my attention.


--
Peace and Cheer
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc