Is it possible to use echo
to send a vt-100 escape sequence in v6/v7/sysvr2?
I can write a c program to clear the screen and go home in sysvr2:
#define ASCII_ESC 27
main()
{
printf( "%c[2J", ASCII_ESC );
printf( "%c[H", ASCII_ESC );
}
and it works fine. I can type the escape sequences in as well, but
I'd just as soon write a shell script with an echo '[[2J;[[H' or
something similar without having to compile a clear command. Is it
possible and what do I need to know :)?.
Thanks,
Will