[Konsole-devel] [Bug 173999] New: konsole doesn't report size to TIOCGWINSZ ioctl for ncurses applications
Christopher Neufeld
kdebugs at cneufeld.ca
Fri Oct 31 20:53:55 UTC 2008
http://bugs.kde.org/show_bug.cgi?id=173999
Summary: konsole doesn't report size to TIOCGWINSZ ioctl for
ncurses applications
Product: konsole
Version: 2.2
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: konsole-devel at kde.org
ReportedBy: kdebugs at cneufeld.ca
Version: 2.2 (using 4.1.71 (KDE 4.1.71 (KDE 4.2 >= 20081023)),
compiled sources)
Compiler: gcc
OS: Linux (x86_64) release 2.6.25
I use a lot of konsoles, sometimes running "less", sometimes "jove" or some
similar full-screen software. After installing kde4 compiled from svn, those
programs that depend on knowing the size of the terminal in which they're
running don't display correctly. I tracked this down to the ioctl(TIOCGWINSZ).
When things are working correctly, it will return ws_row and ws_col set to the
size of the konsole. When not working correctly, those two parameters are
returned as zero, and ncurses applications either use only a part of the screen
or get badly jumbled.
--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the konsole-devel
mailing list