[Top][All Lists]

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

lines do not wrap properly in a new window

From: Greg Wooledge
Subject: lines do not wrap properly in a new window
Date: 23 May 2006 18:12:58 -0000

Configuration Information [Automatically generated, do not change]:
Machine: hppa2.0
OS: hpux10.20
Compiler: /net/appl/gcc-3.3/bin/gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='hppa2.0' 
-DCONF_OSTYPE='hpux10.20' -DCONF_MACHTYPE='hppa2.0-hp-hpux10.20' 
-DCONF_VENDOR='hp' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' 
-DSHELL -DHAVE_CONFIG_H -DHPUX   -I.  -I. -I./include -I./lib -I./lib/intl 
-I/var/tmp/bash-3.1/lib/intl -I/net/appl/tool/include -g -O2
uname output: HP-UX imadev B.10.20 A 9000/785 2008897791 two-user license
Machine Type: hppa2.0-hp-hpux10.20

Bash Version: 3.1
Patch Level: 17
Release Status: release

        Upon launching a new window (rxvt) from my X window manager, lines of
        text do not wrap properly.  Holding down a key causes the screen to
        look like this:

xxadev:~$ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

        Typing "exec bash" to restart bash in the same window makes the problem
        go away.  (Typing just "bash" would also work, but I prefer the exec.)

        The problem occurs for me in bash 3.1 or in bash 3.1.17.  I have not
        tried bash 3.0 on this machine.  It did *not* occur in bash 2.05b or

        One other person on a totally different system has also reported
        seeing it in bash 3.0.  The same workaround was effective there.

        The problem is 100% reproducible in my setup, but it only occurs under
        a very strict set of circumstances:

         * If I launch an xterm instead of an rxvt, it doesn't happen.
         * If I launch an rxvt from another rxvt (instead of from the window
           manager's menu), it doesn't happen.
         * BUT... if I launch an rxvt from an xterm, it *does* happen.
         * It also happens in aterm.
         * Clearing rxvt's settings (xrdb </dev/null) has no effect.
         * Running "reset" has no effect.
         * Running "ssh localhost" in an rxvt gives me a shell that *does* have
           the problem, regardless of whether the shell from which I initiated
           the ssh client was exhibiting the problem or not.
         * Running "ssh localhost" in an xterm gives me a shell that does *not*
           have the problem.

        So, it seems to be some weird interaction between bash, rxvt/aterm,
        and pseudoterminals.  FYI, xterm on this box is one of the ancient
        black-and-white vendor xterm implementations, which is why I have
        rxvt installed. ;-)

        From my fvwm menu, I select "Rxvt".  This opens a new window.  Hold
        down any letter on the keyboard, and lines will not wrap properly.
        Or type "ssh localhost" in an rxvt window, and the same problem occurs.

        I only have a workaround: typing "exec bash".

reply via email to

[Prev in Thread] Current Thread [Next in Thread]