LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   [mc 4.7.0] Smooth scrolling? (https://www.linuxquestions.org/questions/linux-software-2/%5Bmc-4-7-0%5D-smooth-scrolling-843885/)

littlebigman 11-12-2010 08:05 AM

[mc 4.7.0] Smooth scrolling?
 
Hello

I'm using Midnight Commander 4.7.0 on Ubuntu 10.04.1, and would like to know if there's a way to change the default behavior when scrolling up/down using the arrow keys: By default, when reaching the last item, MC scrolls down one half-block, which I find very annoying.

Is it possible to reconfigure MC to simply down one item? Google didn't return much on this.

Thank you.

archtoad6 11-12-2010 10:35 AM

1st, my apologies if I'm knocking this off the 0-Reply list prematurely.

Have you looked inside:
/etc/mc/mc.ext
~/.mc/bindings
or any other files listed under "FILES" in the man page?

Have you tried Google Linux? -- I find it so useful I "program" it into my browsers. That's especially easy in Konqueror 3.5.

littlebigman 11-13-2010 05:57 PM

Thanks for the tip.

archtoad6 11-14-2010 04:25 AM

Did that allow you to solve the OP? If so, please share. TIA

littlebigman 11-15-2010 05:55 AM

Yes, edit ~/.mc/ini thusly:

panel_scroll_pages=0

As there was no /etc/mc/ini, I don't know where this setting can be put for system-wide configuration.

archtoad6 11-15-2010 08:39 AM

Thanks for responding w/ the solution. That's the LQ spirit.

I'm adding to your rep.

archtoad6 11-15-2010 08:46 AM

Quote:

Originally Posted by littlebigman (Post 4159267)
As there was no /etc/mc/ini, I don't know where this setting can be put for system-wide configuration.

There isn't one on my system either. I suspect you can just make one. Perhaps start by copying your own ~/.mc/ini

BTW, "panel_scroll_pages" is line 42 in my ~/.mc/ini

littlebigman 11-16-2010 02:13 AM

Thanks for the tip

littlebigman 03-15-2013 08:49 AM

On another distro that comes with MC 4.8.4 pre-installed, creating /etc/mc/mc.ini with the relevant instruction doesn't solve it. Neither does exiting/reconnecting through SSH or even rebooting the host. Smooth scrolling doesn't work.

Has someone seen this?

Thank you.


All times are GMT -5. The time now is 03:53 PM.