On Thu, 3 Apr 2014, Jakub Wilk wrote:

> When I run mc on a virtual terminal, under screen(1), mc is super slow,
> consuming 50% of CPU, and spewing literally hundreds of messages like this to
> syslog:

Yeah, this is an old issue.

I do this to work around that (plus mouse support is irritating anyway):

tglase@tglase:~ $ fgrep -B1 mc.distrib 
/var/lib/dpkg/info/mirabilos-support.preinst 
        dpkg-divert --package mirabilos-support \
            --divert /usr/bin/mc.distrib --rename /usr/bin/mc
tglase@tglase:~ $ cat /usr/bin/mc
#!/bin/mksh-static
#-
# Wrapper to forcibly disable mouse support, as this fills
# syslog at several dozen MiB/s rate when gpm is already
# used by some other instance, or when logging in via ssh.

exec -a "$0" -- /usr/bin/mc.distrib -d "$@"


HTH & HAND,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

**********

Mit der tarent Academy bieten wir auch Trainings und Schulungen in den
Bereichen Softwareentwicklung, Agiles Arbeiten und Zukunftstechnologien an.

Besuchen Sie uns auf www.tarent.de/academy. Wir freuen uns auf Ihren Kontakt.

**********

Reply via email to