T_POS
ioclrtoeol(T_POS);
T_POS = 0;
newpos = T_POS + strlen(T_STR);
ioaddstr(T_POS, T_STR);
T_POS = newpos;