Program options and keys
Author: Markus Uhlin

# Program options

`usage: swirc [-46?CPRSXdipv] [-W password] [-c server[:port]] [-j join] [-n nickname] [-r rl name] [-u username] [-x config]`

`-4` | Use IPv4 addresses only
`-6` | Use IPv6 addresses only
`-?`, `--help` | Output help
`-C` | Do not change color definitions. If the terminal used to run swirc supports >= 256 colors and can_change_color(3) is true swirc uses init_color(3) to initialize the extended IRC color palette. Which may or may not already be set correctly by the terminal. This option is useful in case the terminal look strange after exit, which is possible to fix by simply restarting it.
`-P` | Permanently disable SASL authentication. If specified, the effect is final (i.e. it overrides any config file value.)
`-R` | Disable TLS/SSL peer verification
`-S` | Force TLS (Transport Layer Security)
`-W <password>` | Equal effect as flag 'p' but non-interactive
`-X` | Disable all IRCv3 extensions
`-c <server[:port]>` | Connect to given server. If the port is omitted port 6667 will be chosen. And if the port is 7326 ICB mode is turned on automatically. Further, if the port is 6697 swirc attempts to initiate a TLS/SSL connection.
`-d` | Debug logging
`-i` | Turn on Internet Citizen's Band mode
`-j <join>` | A comma-separated list of channels to join
`-n <nickname>` | Online nickname
`-p` | Server password (for private servers). However: InspIRCd has a module called password forward, which means that if a server password is specified by this flag, it will be used to identify to NickServ. If so: connect with a TLS/SSL connection, i.e. an encrypted connection, to prevent your password from being disclosed in clear text. swirc also supports IRCv3 SASL authentication which is probably a better alternative.
`-r <rl name>` | Your real name
`-u <username>` | Your username
`-v`, `--version` | Output swirc version
`-x <config>` | Config file

# Keys

`CTRL+a` | Move to beginning of line
`CTRL+e` | Move to end of line
`CTRL+b` | Move cursor backward
`CTRL+f` | Move cursor forward
`CTRL+d` | Delete
`CTRL+g` | Clear readline input
`CTRL+n` | Next window
`CTRL+p` | Previous window
`PG UP` | Scroll up
`PG DOWN` | Scroll down
`Up arrow` | History previous
`Down arrow` | History next
`F2` | Spell word
`F3` | Scroll nicklist up
`F4` | Scroll nicklist down
`F11` | Close window
`F12` | Close all private conversations

# Inserting text-decoration

`F5` | Blink
`F6` | Bold
`F7` | Color
`F8` | Normal
`F9` | Reverse
`F10` | Underline