Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118205 - bash-3.1 problem with line wrapping in terminals
Summary: bash-3.1 problem with line wrapping in terminals
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://lists.gnu.org/archive/html/bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-07 10:45 UTC by Derek Dolney
Modified: 2006-01-15 08:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Derek Dolney 2006-01-07 10:45:50 UTC
I am using app-shells/bash-3.1-r2 and I noticed an issue with line wrapping in terminal emulators (happens with gnome-terminal, konsole, xterm). When I first open a shell, typing past the last column wraps back to the same line (should wrap to the next line).

Steps to reproduce:

1. Start a new terminal (that uses bash)
2. Hold down 'd' and notice that the line wrap does not advance.
[3.] Press enter.
[4.] Bash will say "command not found". Now line wrapping will work properly in this shell.

This issue is not present in bash-3.0-r14.

Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo x86_64)
=================================================================
System uname: 2.6.15-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre13
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.seren.com/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.llarian.net/ http://gentoo.mirrors.tds.net/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.netnitco.net"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X acl acpi adns alsa apache2 atlas audiofile avi berkdb bitmap-fonts browserplugin bzip2 clamav crypt cups curl dba dbus eds emacs emboss exif expat fbcon firefox foomaticdb gd gif gimpprint glut gmp gnome gpm gstreamer gtk gtk2 idn imagemagick imap imlib java jpeg lcms libwww lzw lzw-tiff maildir math matrox mime mng motif moznoirc moznomail mp3 mpeg mysql ncurses nptl nptlonly nsplugin ogg opengl pam pcre pdflib perl php pic png ppds python quicktime readline real rtc samba sdl session shared spell ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis xml2 xpm xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 SpanKY gentoo-dev 2006-01-07 19:17:45 UTC
yeah, ive noticed this before
Comment 2 younker 2006-01-08 05:44:59 UTC
I think this bug cause another problem
when you enter commands too fast, the first character will be ate by konsole.
for exampel, you enter ls command very fast, 
you get the following result like me:
younker@HuaKe ~ $ ls
bin  Desktop  doc  download  fp.cfg  fp.dsk  fp.ini  Mail  mp3  Templates  work  workspace
younker@HuaKe ~ $ s
bash: s: command not found
younker@HuaKe ~ $ s
bash: s: command not found
younker@HuaKe ~ $ s
bash: s: command not found
younker@HuaKe ~ $

the character l was ate by bash or konsole?
Comment 3 Derek Dolney 2006-01-09 18:08:34 UTC
Still a problem in 3.1_p5.
Comment 4 SpanKY gentoo-dev 2006-01-13 20:54:39 UTC
upstream posted a fix and ive added it to 3.1_p5-r1
Comment 5 Derek Dolney 2006-01-15 08:39:11 UTC
Works for me now. Thanks.