i used to to do this once... $ clear > somefile
then vi the file, and note the pattern, which in my case is:
^[[H^[[J
so to clear the screen, print the same escape sequence. for example,
this program clears the screen:
main()
{
printf("%c[H%c[J", 27, 27);
}
just a crazy approach.
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]
