View Single Post
  #7   (View Single Post)  
Old 21st August 2012
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

Quote:
Originally Posted by sw2wolf View Post
^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.
Reply With Quote