Originally Posted by sw2wolf
^L still doesnot work ! Maybe @denta is right, i need to use bash instead of ksh.
denta is certainly right, the ^L
thing is a default binding of GNU readline. To confirm that see readline's manpage and look for the clear-screen function. So using readline, such as through bash, is necessary if ksh doesn't use it.
What I was saying is that, in addition to
readline, the terminal must be capable.
And now further clarification. Yesterday when it didn't work for me with TERM=screen, I was using Linux. Today, using NetBSD, it does work with TERM=screen. I take from this that while the terminal must still be capable, yet terminals with the same name may have subtle differences from one implementation to another that may or may not break this. What happens on the latest OpenBSD I don't know but it's worth having in mind if you should try it.