Cedric Blancher wrote:
> On 26/06/2008, Jennifer Pioch <[EMAIL PROTECTED]> wrote:
> > I get line rendering errors in the multiline mode for ksh version
> > 2008-06-24 on i686 Linux/gcc 4.0.2 when I scroll back in the history
> > with the key <cursor-up>:
> > bash3.2$ (env - LC_ALL=en_US.UTF-8 HOME=$HOME ./linux.i386/bin/ksh -o
> > multiline -o gmacs +E)
> > $ exitexitexitls &exitexittrueprint hello
> >
> > The content is appended to the end of the line instead of redrawing
> > the line for each <cursor-up>.
> >
> > Can anyone replicate the problem?
>
> Jenny, yes, I do (Fedora 8).
> I can't reproduce the problem if I remove the +E flag or add
> PS1='xxxxxxxxxxxxxxxxxxxx' to the settings after env -
I can reproduce the problem here, too. Cedric had a good idea:
# PS1 with six letters works:
$ env - PS1=xxxxxx HOME=$HOME ENV=/
/home/gisburn/ksh93/ast_ksh_20080624/build_sparc_32bit/arch/sol11.sun4/bin/ksh
-o gmacs -o multiline +E
xxxxxxls
-la
xxxxxx
# PS1 with five letters works:
$ env - PS1=01234 HOME=$HOME ENV=/
/home/gisburn/ksh93/ast_ksh_20080624/build_sparc_32bit/arch/sol11.sun4/bin/ksh
-o gmacs -o multiline +E
01234exit
01234
# PS1 with four letters works:
$ env - PS1=0123 HOME=$HOME ENV=/
/home/gisburn/ksh93/ast_ksh_20080624/build_sparc_32bit/arch/sol11.sun4/bin/ksh
-o gmacs -o multiline +E
0123exit
0123
# PS1 with three letters works:
$ env - PS1=012 HOME=$HOME ENV=/
/home/gisburn/ksh93/ast_ksh_20080624/build_sparc_32bit/arch/sol11.sun4/bin/ksh
-o gmacs -o multiline +E
012exit
012
# PS1 with two letters _FAILS_:
$ env - PS1=01 HOME=$HOME ENV=/
/home/gisburn/ksh93/ast_ksh_20080624/build_sparc_32bit/arch/sol11.sun4/bin/ksh
-o gmacs -o multiline +E
01env - PS1=01 HOME=$HOME ENV=/
/home/gisburn/ksh93/ast_ksh_20080624/build_sparc_32bit/arch/sol11.sun4/bin/ksh
-o gmacs -o multiline +Eenv - PS1=012 HOME=$HOME ENV=/
/home/gisburn/ksh93/ast_ksh_20080624/build_sparc_32bit/arch/sol11.sun4/bin/ksh
-o gmacs -o multiline +Eenv - PS1=0123 HOME=$HOME ENV=/
/home/gisburn/ksh93/ast_ksh_20080624/build_sparc_32bit/arch/sol11.sun4/bin/ksh
-o gmacs -o multiline +E
Ok... it seems to be specific to the length of PS1 somehow... ;-(
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) [EMAIL PROTECTED]
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL <currently fluctuating>
(;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers