Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

To get deadline support on command-line programs that don't, one can use rlwrap. Ex: rlwrap openssl s_client -connect IMAP.google.com:993 rlwrap telnet google.com 443


I guessed that rlwrap used an LD_PRELOAD trick but a cursory glance at the source shows that it's much more complex. Can anyone explain? This might be worthy of its own HN post.


rlwrap just pipes terminal I/O through itself. It doesn't change anything about the child process except where stdin comes from.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: