[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#383384: cursor position is wrong after xterm window resize



Package: xterm
Version: 4.3.0.dfsg.1-14sarge1
Severity: normal

*** Please type your report below this line ***

When the xterm window is resized when the less (or other similar) program runs, after exiting the cursor is located at wrong place.

How to reproduce:
1. Start an xterm window with bash shell
2. Type command: "echo columns=$COLUMNS, lines=$LINES"
3. The response will be: "columns=80, lines=24" (see the attached xterm-resize-step1.png) 4. Fill the xterm window with some lines: "for i in $(seq 4 100); do echo $i; done" (see the attached xterm-resize-step2.png)
5. Run the command "less -f /dev/null"
6. Now resize the xterm window from 24 lines to 34 lines
7. Press "q" to exit less

Current result:
The cursor is located at row instead of the number "92" (see the attached xterm-resize-step3.png)

Expected result:
The cursor is located below the "$ less -f /dev/null" line.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.16.18
Locale: LANG=hu_HU, LC_CTYPE=hu_HU (charmap=ISO-8859-2)

Versions of packages xterm depends on:
ii libc6 2.3.5-6 GNU C Library: Shared libraries an ii libexpat1 1.95.8-3 XML parsing C library - runtime li ii libfontconfig1 2.3.1-2 generic font configuration library ii libfreetype6 2.1.7-2.4 FreeType 2 font engine, shared lib
ii  libice6            4.3.0.dfsg.1-14sarge1 Inter-Client Exchange library
ii libncurses5 5.4-4 Shared libraries for terminal hand ii libsm6 4.3.0.dfsg.1-14sarge1 X Window System Session Management
ii  libxaw7            4.3.0.dfsg.1-14sarge1 X Athena widget set library
ii libxext6 4.3.0.dfsg.1-14sarge1 X Window System miscellaneous exte ii libxft2 2.1.7-1 FreeType-based font drawing librar ii libxmu6 4.3.0.dfsg.1-14sarge1 X Window System miscellaneous util
ii  libxpm4            4.3.0.dfsg.1-14sarge1 X pixmap library
ii libxrender1 1:0.9.0-2 X Rendering Extension client libra
ii  libxt6             4.3.0.dfsg.1-14sarge1 X Toolkit Intrinsics
ii xfree86-common 4.3.0.dfsg.1-14sarge1 X Window System (XFree86) infrastr ii xlibs 4.3.0.dfsg.1-14sarge1 X Keyboard Extension (XKB) configu
ii  xlibs-data         4.3.0.dfsg.1-14sarge1 X Window System client data

-- no debconf information

PNG image

PNG image

PNG image

PNG image


Reply to: