Difference between revisions of "IRC"

Jump to navigation Jump to search
644 bytes added ,  11:12, 24 May 2021
m
 
(6 intermediate revisions by 3 users not shown)
Line 19: Line 19:
* Cross-platform
* Cross-platform
** [https://www.pidgin.im/download/ Pidgin]
** [https://www.pidgin.im/download/ Pidgin]
** [https://hexchat.github.io/ HexChat]
* Mac OS X
* Mac OS X
** [https://adium.im/ Adium]
** [https://adium.im/ Adium]
Line 26: Line 27:
These clients are intended to be used from the command line interface (CLI), also known as the "terminal".
These clients are intended to be used from the command line interface (CLI), also known as the "terminal".


* [https://weechat.org/ WeeChat] (also has remote graphical [https://weechat.org/about/interfaces/ interfaces])
* [https://irssi.org/ irssi]
* [https://irssi.org/ irssi]
=== More ===
[https://en.wikipedia.org/wiki/Comparison_of_Internet_Relay_Chat_clients Wikipedia: Comparison of Internet Relay Chat clients]


== Basics ==
== Basics ==
Line 54: Line 60:
| /help <command> || /help connect || View documentation on a specific supported command
| /help <command> || /help connect || View documentation on a specific supported command
|-
|-
| /connect <server address> <port> || /connect irc.freenode.net 8001 || Connect to an IRC server
| /connect <server address> <port> || /connect irc.libera.chat 8001 || Connect to an IRC server
|-
|-
| /set nick <nick> || /set nick someGuy2015 || Register your nickname with the IRC server/network
| /set nick <nick> || /set nick someGuy2015 || Register your nickname with the IRC server/network
Line 68: Line 74:
See [https://irssi.org/documentation/ IRSSI Documentation] for more commands.
See [https://irssi.org/documentation/ IRSSI Documentation] for more commands.


== FreeNode ==
== Libera Chat ==
 
Many programming/hacking communities establish a channel on the [https://en.wikipedia.org/wiki/Freenode FreeNode IRC network] to facilitate discussions and provide support to members of their community.


=== Registering with FreeNode ===
Many programming/hacking communities establish a channel on the [https://en.wikipedia.org/wiki/Libera_Chat Libera.Chat IRC network] to facilitate discussions and provide support to members of their community. The server name is ''irc.libera.chat''


The FreeNode IRC network allows you to register your nickname and associate it with your email address. This is done by using the following commands:
=== [https://libera.chat/guides/registration Registering with Libera Chat] ===
You can register your nickname and associate it with your email address, using the following command:


   /msg nickserv REGISTER <password> <email>
   /msg nickserv REGISTER <password> <email>


You should receive a message informing you that you need to check your email account and obtain instructions to verify yourself.
You should receive a message informing you that you need to check your email account and obtain instructions to verify yourself.
To make sure that your email address isn’t revealed to other users, use the following command to ensure that it is hidden.
  /msg NickServ SET HIDEMAIL ON


You can verify your information with the NickServ by using:
You can verify your information with the NickServ by using:


   /msg nickserv info
   /msg nickserv info
More info: https://libera.chat/guides/registration


== Persistent CLI Client ==
== Persistent CLI Client ==
Line 96: Line 99:
=== Client Machine ===
=== Client Machine ===


You setup a system at home and configure your home network device(s) to make that machine available via the internet, or alternatively gain shell access to a server on the internet. There are services that provide free or paid shell access, with features and support for IRC that varies. Some of these services even provide support for [https://en.wikipedia.org/wiki/IRC_bot IRC bots]. Alternatively you can pay for a [https://en.wikipedia.org/wiki/Virtual_private_server Virtual Private Server (VPS)] for as low as $5 a month through services such as [digitalocean.com DigitalOcean], thus providing you with an entire UNIX-like server environment that you can use as you wish.
You can setup a system at home and configure your home network device(s) to make that machine available via the internet, or alternatively gain shell access to a server on the internet. There are services that provide free or paid shell access, with features and support for IRC that varies. Some of these services even provide support for [https://en.wikipedia.org/wiki/IRC_bot IRC bots]. Alternatively you can pay for a [https://en.wikipedia.org/wiki/Virtual_private_server Virtual Private Server (VPS)] for as low as $5 a month through services such as [digitalocean.com DigitalOcean], thus providing you with an entire UNIX-like server environment that you can use as you wish.


=== Install Client ===
=== Install Client ===
Line 112: Line 115:
There is a configuration file in ~/.irssi/config that you can inspect, but you can use commands from within the program to configure IRSSI to automatically perform when you first open the program.  
There is a configuration file in ~/.irssi/config that you can inspect, but you can use commands from within the program to configure IRSSI to automatically perform when you first open the program.  


The following commands will configure IRSSI to connect to the Freenode network with an SSL connection, with automatic joining of the #sudoroom channel.
The following commands will configure IRSSI to connect to the Libera.Chat network with an SSL connection, with automatic joining of the #sudoroom channel.


   /network add Freenode
   /network add liberachat
   /server add -auto -ssl -ssl_verify -ssl_capath /etc/ssl/certs -network Freenode irc.freenode.net 7000
   /server add -auto -ssl -ssl_verify -ssl_capath /etc/ssl/certs -network liberachat irc.libera.chat 6697
   /channel add -auto #sudoroom Freenode
   /channel add -auto #sudoroom liberachat
   /save
   /save


After you’ve successfully registered your FreeNode nick name, you can run this command to configure IRSSI to login automatically after connecting to FreeNode.
After you’ve successfully registered your Libera.Chat nick name, you can run this command to configure IRSSI to login automatically after connecting to Libera.Chat.


   /network add -autosendcmd "/msg nickserv identify <password> ;wait 2000" Freenode
   /network add -autosendcmd "/msg nickserv identify <password> ;wait 2000" liberachat


=== Windows ===
=== Windows ===
Line 142: Line 145:
=== Managing Process ===
=== Managing Process ===


Use 'screen' command on the VPS to
You can use [https://en.wikipedia.org/wiki/GNU_Screen GNU screen] or [https://en.wikipedia.org/wiki/Tmux tmux] to maintain a terminal session that will persist even after you disconnect from the SSH session on your client machine.


CTRL-A, then D - disconnect from the screen instance, and then use `screen -r`.
For example, you can run 'screen' to start a screen session. Once the session is started, run any program you wish. To disconnect from the session press CTRL-A, followed by D key. You can then safely disconnect from your SSH session. When you return, use `screen -r` to reconnect.


tmux (terminal multiplexer) is another option
See [http://carina.org.uk/screenirssi.shtml How to use screen and irssi] and [https://michael.lustfield.net/linux/irssi-using-screen-and-ssh IRSSI Using Screen and SSH]


See [http://carina.org.uk/screenirssi.shtml How to use screen and irssi] and [https://michael.lustfield.net/linux/irssi-using-screen-and-ssh IRSSI Using Screen and SSH]
More info: https://libera.chat/guides/irssi
2

edits

Navigation menu