On Tue, 05 Jun 2018 16:29:33 -0600, "Theo de Raadt" wrote: > > + clearstr = "\033[H\033[J"; > > I abhor increasing assumptions that the terminal honours that particular > ANSI standard. > > Sorry, but at that point you have to use the libraries and get the > information.
Or just run clear(1). That may be preferable to linking ksh with libcurses. - todd