>I think I could make a filter with sed if I knew the structure of >control codes. There ain't none! Each escape sequence has its own syntax which might be as simple as (not guaranteed to be accurate but for example purposes only) escA to esc[A to esc27M to whatever. You'd have to emulate a whole ANSI console. What's your TERM variable? I'm not on Linux right now so can't verify the location, but look in the terminfo directory (I don't think it's directly under /etc but could be wrong). Some file in there that specifies no capability is what you need; maybe /etc/terminfo/t/tty? Make sure the case is right. The value of $TERM must match one of these files. Of course, whether Linux will fully honor such specs is an open question since, shrill protests to the contrary notwithstanding, the world really is going GUI and those kids don't hardly know what a dumb terminal is, let alone condescend to use one. Lee _______________________________________________ Blinux-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/blinux-list