r0c/README.md

32 lines
1.1 KiB
Markdown
Raw Normal View History

2018-01-07 06:08:47 +00:00
# `r0c` telnet server
* retr0chat, irc-like chat service for superthin clients
* MIT-Licensed, 2018-01-07, ed @ irc.rizon.net
* https://github.com/9001/r0c
2018-01-16 19:40:05 +00:00
![screenshot of telnet connected to a r0c server](doc/r0c.png)
## summary
2018-01-07 06:08:47 +00:00
* tries to be irssi
* runs on python 2.6, 2.7, 3.x
* supports telnet and netcat clients
* fallbacks for inhumane conditions
* linemode
* no vt100 / ansi escape codes
## supported clients
most to least recommended
| client | example |
| :--- | :--- |
| telnet | `telnet r0c.int` |
| socat | `socat -,raw,echo=0 tcp:r0c.int:531` |
2018-01-27 21:36:16 +00:00
| bash | [mostly internals](clients/bash.sh) |
| netcat | `nc r0c.int 531` |
2018-01-27 21:36:16 +00:00
| the oneliner | connecting: `exec 147<>/dev/tcp/r0c.int/531;cat<&147 &while read -rN1 x;do printf '%s' "$x">&147;done` |
| | disconnecting: `exec 147<&-; killall cat #sorry` |
2018-01-28 01:30:43 +00:00
| powershell | [if you insist](clients/powershell.ps1)
2018-01-27 21:36:16 +00:00
2018-01-28 01:30:43 +00:00
the powershell client is gonna waste a LOT of data ~~(an entire kilobyte for each new message, totally unbelievable, who could possibly afford that)~~ because powershell's scrolling is glitchy af