~rcr/rirc

ref: d34bdcad32fa9ed0f2b61aa18af88a09a7ea249c rirc/README.md -rw-r--r-- 2.8 KiB
d34bdcad — Richard Robbins Merge branch 'dev' into static_analysis 5 months ago

birb


sonarcloud coverity sonarcloud sonarcloud sonarcloud


#rirc

A minimalistic irc client written in C.

Connections are TLS enabled over port 6697 by default.

#Building, installing:

Building rirc from source requires a c11 compiler, GNU gperf and GNU make.

make
make install

The build toolchain and install paths can be configured via standard environment variables, i.e.:

CC, CFLAGS, LDFLAGS, DESTDIR, PREFIX

#Configuring:

Configure rirc by editing config.h. Defaults are in config.def.h

#Usage:

rirc [-hv] [-s server [...]]

Info:
  -h, --help      Print help message and exit
  -v, --version   Print rirc version and exit

Server options:
  -s, --server=SERVER       Connect to SERVER
  -p, --port=PORT           Connect to SERVER using PORT
  -w, --pass=PASS           Connect to SERVER using PASS
  -u, --username=USERNAME   Connect to SERVER using USERNAME
  -r, --realname=REALNAME   Connect to SERVER using REALNAME
  -n, --nicks=NICKS         Comma separated list of nicks to use for SERVER
  -c, --chans=CHANNELS      Comma separated list of channels to join for SERVER

Server connection options:
   --ipv4                   Connect to server using only ipv4 addresses
   --ipv6                   Connect to server using only ipv6 addresses
   --tls-disable            Set server TLS disabled
   --tls-verify=<mode>      Set server TLS peer certificate verification mode

Commands:

  :clear
  :close
  :connect
  :disconnect
  :quit

Keys:

  ^N : go to next channel
  ^P : go to previous channel
  ^L : clear channel
  ^X : close channel
  ^C : cancel input/action
  ^U : scroll buffer up
  ^D : scroll buffer down
   ← : input cursor back
   → : input cursor forward
   ↑ : input history back
   ↓ : input history forward

#More info:

https://rcr.io/rirc/