>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.
Which doesn't work except for the exact same terminal. Casper _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org