Hi!
----
We found another problem with the "multiline" mode (when the editor mode
is set to "emacs") when running ksh93 (ast-ksh.2008-02-02) on a Solaris
11/x86 system console (TERM="sun-color", switching to TERM="sun" doesn't
solve the problem).
Steps to reproduce the problem:
1. Create a edit line which exceeds the terminal's width (>= 80
characters)
2. Remove charcters until the edit line becomes shorter than 80
characters
Result:
When "ksh93" is in "multiline" mode it will re-render the whole edit
line in a new line below the original line as soon as the line fits the
terminal's width, leaving the old one untouched (it looks like having
two lines with the same content).
A quick diff between "dtterm" and "sun-color" terminals doesn't show any
suspicious differences ("multiline" depends on "cuu1" which is supported
by both terminals... but maybe there is something else missing...)
-- snip --
$ diff -u <(infocmp -1 "dtterm" | sort) <(infocmp -1 "sun-color" |
sort)
--- /dev/fd/5 Sat Mar 15 16:17:46 2008
+++ /dev/fd/6 Sat Mar 15 16:17:46 2008
@@ -1,103 +1,58 @@
- acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
am,
bel=^G,
- blink=\E[5m,
bold=\E[1m,
- civis=\E[?25l,
- clear=\E[H\E[J,
- cnorm=\E[?25h,
+ clear=\f,
colors#8,
cols#80,
cr=\r,
- csr=\E[%i%p1%d;%p2%dr,
cub1=\b,
- cub=\E[%p1%dD,
cud1=\n,
- cud=\E[%p1%dB,
cuf1=\E[C,
- cuf=\E[%p1%dC,
cup=\E[%i%p1%d;%p2%dH,
cuu1=\E[A,
- cuu=\E[%p1%dA,
dch1=\E[P,
dch=\E[%p1%dP,
- dim=\E[2m,
dl1=\E[M,
dl=\E[%p1%dM,
-dtterm|CDE terminal emulator,
- ech=\E[%p1%dX,
ed=\E[J,
- el1=\E[1K,
el=\E[K,
- flash=\E[?5h$<200>\E[?5l,
home=\E[H,
- hts=\EH,
ht=\t,
+ ich1=\E[@,
ich=\E[%p1%d@,
il1=\E[L,
il=\E[%p1%dL,
- ind=\ED,
- invis=\E[8m,
- is2=\E\sF\E>\E[?1l\E[?7h\E[?45l,
- it#8,
- kbs=\b,
+ ind=\n,
kcub1=\E[D,
kcud1=\E[B,
kcuf1=\E[C,
kcuu1=\E[A,
- kdch1=\E[3~,
- kf10=\E[21~,
- kf11=\E[23~,
- kf12=\E[24~,
- kf13=\E[25~,
- kf14=\E[26~,
- kf15=\E[28~,
- kf16=\E[29~,
- kf17=\E[31~,
- kf18=\E[32~,
- kf19=\E[33~,
- kf1=\E[11~,
- kf20=\E[34~,
- kf2=\E[12~,
- kf3=\E[13~,
- kf4=\E[14~,
- kf5=\E[15~,
- kf6=\E[17~,
- kf7=\E[18~,
- kf8=\E[19~,
- kf9=\E[20~,
- kfnd=\E[1~,
- khlp=\E[28~,
- kich1=\E[2~,
- knp=\E[6~,
- kpp=\E[5~,
- kslt=\E[4~,
- lines#24,
- lm#0,
- mir,
+ kf1=\E[224z,
+ kf2=\E[225z,
+ kf3=\E[226z,
+ kf4=\E[227z,
+ kf5=\E[228z,
+ kf6=\E[229z,
+ kf7=\E[230z,
+ kf8=\E[231z,
+ kf9=\E[232z,
+ km,
+ lines#34,
msgr,
- nel=\EE,
- op=\E[39;49m,
- pairs#8,
- rc=\E8,
-# Reconstructed via infocmp from file:
/usr/share/lib/terminfo/d/dtterm
+ ncv#3,
+ op=\E[0m,
+ pairs#64,
+# Reconstructed via infocmp from file:
/usr/share/lib/terminfo/s/sun-color
rev=\E[7m,
- ri=\EM,
- rmacs=^O,
- rmam=\E[?7l,
- rmir=\E[4l,
- rmso=\E[22;27m,
- rmul=\E[24m,
- sc=\E7,
- setab=\E[%p1%{40}%+%dm,
- setaf=\E[%p1%{30}%+%dm,
- sgr0=\E[0m,
-
sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t^N%e^O%;,
- smacs=^N,
- smam=\E[?7h,
- smir=\E[4h,
- smso=\E[2;7m,
+ rmso=\E[m,
+ rmul=\E[m,
+ rs2=\E[s,
+ setab=\E[4%p1%dm,
+ setaf=\E[3%p1%dm,
+
setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
+
setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
+ sgr0=\E[m,
+ sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
+ smso=\E[7m,
smul=\E[4m,
- tbc=\E[3g,
- xenl,
- xon,
+sun-color|Sun Workstation console with color text support,
-- snip --
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) [EMAIL PROTECTED]
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers