update README - irc - Unnamed repository; edit this file 'description' to name the repository.
(HTM) git clone git://vernunftzentrum.de/irc.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit b9c8db79bf4902329e427dfae03e537f128df4c4
(DIR) parent 8bc46324826d19a8fcf0f09a2721f8edd1ef560b
(HTM) Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Tue, 13 Jun 2017 13:28:16 -0400
update README
Diffstat:
README | 46 ++++++++-----------------------
1 file changed, 12 insertions(+), 34 deletions(-)
---
(DIR) diff --git a/README b/README
@@ -1,42 +1,20 @@
-IRC client http://c9x.me/irc/
+IRC client https://c9x.me/irc/
===========================================================
This is a simple irc client, it requires the ncurses
library to compile.
-For usage information, read ./irc -h
+Usage: irc [OPTIONS]
-- TLS support using relayd
---------------------------
+ OPTION DEFAULT
-This sets up a relay TCP connection on localhost. This
-way you can connect using a more secure TLS connection
-with a IRC program that doesn't have TLS support builtin.
+ -n NICK Sets the nick $IRCNICK
+ -u USER Sets the username $USER
+ -s SERVER Server to connect to irc.oftc.net
+ -p PORT Port to connect to 6667
+ -l FILE File to log recieved data
+ -t Use a secured connection
+ -h Display help
-
-/etc/relayd.conf:
-
- table <freenode> { irc.freenode.net }
- table <oftc> { irc.oftc.net }
-
- protocol "irctls" {
- tcp { nodelay, sack }
- }
-
- relay "freenode" {
- listen on 127.0.0.1 port 6668
- protocol "irctls"
- forward with tls to <freenode> port 6697
- }
-
- relay "oftc" {
- listen on 127.0.0.1 port 6669
- protocol "irctls"
- forward with tls to <oftc> port 6697
- }
-
-
-Then connect:
-
- ./irc -n nick -u name -s 127.0.0.1 -p 6668
- ./irc -n nick -u name -s 127.0.0.1 -p 6669
+A password sent to the server can be specified by setting
+the environment variable $IRCPASS.