> "\ec" is supported by linux ttys, and clears the screen in all > terminals I tested. And "\e[3J" has been supported by linux since > 3.0, and clears the scrollback buffer in every terminal I've tested > that has one, and is a NOP for terminals without one like linux tty's > or st
What about terminals - and emulators - that don't do X3.64? ESC does nothing for me, so \e[3J would display as [3J. Or do you simply not care about portability to that extent? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTML [email protected] / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B _______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
