bug-bash
[Top][All Lists]
Advanced

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

Faulty command line editing.


From: root
Subject: Faulty command line editing.
Date: Fri, 17 Nov 2000 20:51:24 GMT

Configuration Information [Automatically generated, do not change]:
Machine: i586
OS: linux-gnulibc1
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i586' 
-DCONF_OSTYPE='linux-gnulibc1' -DCONF_MACHTYPE='i586-pc-linux-gnulibc1' 
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H   -I. -I//include -I. -I./include 
-I./lib -I//include -g -O2
uname output: Linux trance 2.0.35 #9 Fri Jan 8 16:23:28 GMT 1999 i586 unknown
Machine Type: i586-pc-linux-gnulibc1

Bash Version: 2.04
Patch Level: 0
Release Status: release

Description:
If $PS1 + command line exceeds 49 chars (which is short of filling the
screen horizontally) a new line is started, but the prompter is simply
moved back to the beginning of the current line and no newline is
inserted. The next line written will however fill the screen horizontally.
The really weird things happen whenever I need to edit the command-line
though. If I backspace 'up' to the previous row, two rows are deleted
visually but not 'memorally', and then one visual row is deleted for
every char I type or delete. Every time I press any other button
but CRLF, actually.
This is ofcourse very annoying.

I'm not experiencing this problem with any other program or application.

Repeat-By:
Run SVGATextMode to get a nonstandard mode.
Make a 200 char long command line and then erase it all or try to
edit it. I guess you've already tried this without having any trouble.

If this is caused by broken code in some library somewhere, then please
tell me which one(s) so I can replace it.
Thank you for a superior scripting shell...

/Andreas Ericsson

exon@home.se



reply via email to

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