implemented attribute stack in conio