• Bug#265416: bash: reason found

    From Marc Lehmann@1:229/2 to All on Sun Aug 15 22:40:10 2004
    From: [email protected]

    Package: bash
    Version: 3.0-3
    Followup-For: Bug #265416

    I found the reaosn for the breakage: bash steps backward over double-wide characters using two backspaces instead of one.

    This is probably in violation of ISO 6429, but more importantly, the
    only way to fix this in the terminal emulator is to break other programs (including the linux kernel).

    xterm implements this the way bash wants it, but if you enter double-wdie characters in other programs (including using the standard kernel tty discipline), pressing backspace will garble the character and result in
    wrong output and garbled input.

    It looks to me as if implementing a bash-compatible mode in terminals
    would be a drawback :)

    Interestingly, bahs usually redraws the prompt completely, except when
    settping over double-wide characters. Fixing this could also reduce the
    amount of output bahs does in the common case.

    -- System Information:
    Debian Release: 3.1
    APT prefers testing
    APT policy: (700, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686)
    Kernel: Linux 2.6.6
    Locale: LANG=C, LC_CTYPE=de_DE.UTF-8

    Versions of packages bash depends on:
    ii base-files 3.1 Debian base system miscellaneous f hi libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an ii libncurses5 5.4-4 Shared libraries for terminal hand ii passwd 1:4.0.3-30 Change and administer password and

    -- no debconf information


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)