int telnet_puts(const char *s) { while(*s) { telnet_putchar(*s); s++; } telnet_putchar('\n'); return 1; }
void telnet_putsnonl(const char *s) { while(*s) { telnet_putchar(*s); s++; } }
int fputc(int ch, FILE *f) { if(f == &__stdout){ telnet_putchar_all(ch); return (console_putchar(ch)); }else if( f == &__stderr){ telnet_putchar_all(ch); return (console_puterr(ch)); }else if( f == &__lcdout){ return (lcd_terminal_char(ch)); }else if( f == &__uartout){ return (console_putchar(ch)); }else return telnet_putchar(f,ch); }