[Konsole-devel] [Bug 245746] New: Konsole inverts $COLUMNS and $LINES when resized from vi

Alain BAECKEROOT alain.baeckeroot at laposte.net
Sun Jul 25 13:02:01 UTC 2010


https://bugs.kde.org/show_bug.cgi?id=245746

           Summary: Konsole inverts $COLUMNS and $LINES when resized from
                    vi
           Product: konsole
           Version: 2.3.2
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: alain.baeckeroot at laposte.net


Version:           2.3.2 (using KDE 4.3.2) 
OS:                Linux

This simple command does a resize from vi (enlarge by 3 columns)

$ resize; vi /tmp/a +"set co=$(($COLUMNS + 3))" +:q; echo; resize
COLUMNS=84;
LINES=45;
export COLUMNS LINES;

COLUMNS=45;
LINES=87;
export COLUMNS LINES;
We see that Konsole inverts $COLUMNS and $LINES !

this works flawlessly in gnome-terminal 2.28, has no effect in xterm or
xfce4-terminal, and just messup every thing in konsole until the window is
resized with the mouse (then correct values are taken into account)



Reproducible: Always

Steps to Reproduce:
$ resize; vi /tmp/a +"set co=$(($COLUMNS + 3))" +:q; echo; resize

-- 
Configure bugmail: https://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