1
0

Moving README into main file

This commit is contained in:
Jon Michael Aanes 2024-09-24 23:25:49 +02:00
parent 5ef1ff7090
commit 113527092e
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA
3 changed files with 20 additions and 9 deletions

View File

@ -1,8 +0,0 @@
Weird attempt at writing an IRC bot in Tiger. Actually mostly worked,
by wrapping the call in a specifically designed script to handle SSL
and the connection. The Tiger implementation only needed to respond to
messages on input, by writing to output.
Design started on 6. Marts 2019.

5
run.sh
View File

@ -1,9 +1,12 @@
#!/bin/bash
set -e
LOG_SERVER_TO_CLIENT=./log_s2c.log LOG_SERVER_TO_CLIENT=./log_s2c.log
LOG_CLIENT_TO_SERVER=./log_c2s.log LOG_CLIENT_TO_SERVER=./log_c2s.log
TARGET_SERVER="irc.example.org"
CLIENT_RUNTIME="./tiger-bot.bin" CLIENT_RUNTIME="./tiger-bot.bin"
COMMS_RUNTIME="openssl s_client -connect irc.guava.space:6697" COMMS_RUNTIME="openssl s_client -connect $TARGET_SERVER:6697"
# Ensure logs are new # Ensure logs are new
rm -f "$LOG_CLIENT_TO_SERVER" rm -f "$LOG_CLIENT_TO_SERVER"

View File

@ -1,3 +1,19 @@
/*
# Tiger-bot
Attempt at writing an IRC bot in Tiger. Actually mostly worked,
by wrapping the call in a specifically designed script to handle SSL
and the connection. The Tiger implementation only needed to respond to
messages on input, by writing to output.
Design started on 6. Marts 2019.
## Usage
Run using `run.sh`.
Requires `openssl` utility.
*/
let /* Parsing util */ let /* Parsing util */