[kde-solaris] Konsole and Midnight Commander

Stefan Teleman steleman at nyc.rr.com
Sat Jan 7 04:00:00 CET 2006


Hi.

if you are using the Midnight Commander session in Konsole, and you are seeing 
that Midnight Commander only uses a window of 80X24 (leaving an ugly black
rectangle at the bottom of Konsole), here's the fix:

1. bash/ksh:

add the following two lines to your [ .bashrc | .bash_profile ] or .profile:

alias resize='set noglob; eval `/usr/openwin/bin/resize -u`'
resize > /dev/null 2>&1

2. csh/tcsh:

add the following two lines to your .cshrc:

alias resize 'set noglob; eval `/usr/openwin/bin/resize`'
resize >& /dev/null

this will fix the Midnight Commander problem window size problem.

--Stefan

-- 
Stefan Teleman          'Nobody Expects the Spanish Inquisition'
steleman at nyc.rr.com                          -Monty Python


More information about the kde-solaris mailing list