Hi John !

>when using busybox telnet to manually connect to some service
>like SMTP,   it doesnt change the \n it receives into an \r\n
>sequence before it sends the line over the wire. is there some
>workaround to make this possible ?

On older Unix systems (not Busybox) I used a simple approach for
this. Create a script you use instead of telnet. Call stty to
change your local tty line handling of your terminal (translate
CR to LF, telnet than adds CR before LF), then call telnet. After
exit of telnet do "stty sane" before script exits to put your
local tty back to well known handling.

--
Harald
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to