3 ms·
You can do the same with IRC and a ksh/Perl script implementing a loop and PING, Gopher, FTP, MUDs, Finger and NNTP servers. With Plan9/9front everything invol
by anthk 5y ago
You can do the same with IRC and a ksh/Perl script implementing a loop and PING, Gopher, FTP, MUDs, Finger and NNTP servers.
With Plan9/9front everything involving TLS could me made a script and an Acme frontend, except for video.
- r3trohack3r 5y agoKISS Linux taught me this! Once I realized I could read/write to IRC over netcat, I paired that will all the Bash magic KISS taught me and created a pure bash IRC client in 54LoC: https://github.com/retrohacker/irc-sh https://github.com/retrohacker/irc-sh
- anthk 5y agoI'd prefer to have one based on nc and sh as it's more portable (think busybox systems). Also, check this for gopher: https://github.com/hb9kns/nago https://github.com/hb9kns/nago Now you can browse HN, play IF, read news, and so on over Gopher with just Busybox (sh, grep, tail and netcat requiredin the busybox build) and an internet connection: gopher://hngopher.com gopher://mozz.us Altough with just less, echo and nc: echo / | nc mozz.us 70 | less echo /long/selector/to/a/text/file.txt | ncmozz.us 70 | less Crazy but it could work on heavily tiny restricted devices such as a RetroBSD with nc, echo and less in a tiny microcontroller.
- anthk 5y agoAlso, I forgot, poor man's dictionary: dict(){ echo "define * $1\\n\\q" | nc dict.org 2628 | less ; } dict unix
- r3trohack3r 5y agoWoah! This is awesome!