Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
0
votes
1
answers
78
views
IRC client that saves identity information
I have tried more than a handful of clients. For some reason we still need to use arcane knowledge such as /msg NICKSERV IDENTIFY Can anybody recommend an ncurses client that saves the IDENTITY information so it does that automatically. I tried both pidgin, weeechat and hexchat and all of them are a...
I have tried more than a handful of clients. For some reason we still need to use arcane knowledge such as
/msg NICKSERV IDENTIFY
Can anybody recommend an ncurses client that saves the IDENTITY information so it does that automatically. I tried both pidgin, weeechat and hexchat and all of them are a bit weird.
Looking forward for answers.
shirish
(12954 rep)
Jul 27, 2023, 03:56 AM
• Last activity: Jul 27, 2023, 10:48 AM
0
votes
0
answers
129
views
Historical reasons for the IRC #channel prefix?
IRC channels have a prefix (most commonly `#`, but occasionally others like `&` or `+`). This # has become a feature of many messaging apps that came after IRC (discord, slack, etc). I'm curious if this was a random choice from the set of non-alphanumeric characters, or if it was motivated/preceded...
IRC channels have a prefix (most commonly
#
, but occasionally others like &
or +
). This # has become a feature of many messaging apps that came after IRC (discord, slack, etc). I'm curious if this was a random choice from the set of non-alphanumeric characters, or if it was motivated/preceded by some other usage.
[This 1993 RFC](https://datatracker.ietf.org/doc/html/rfc1459#section-1.3) sets out the distinction between # and &, but does not contain any hints at the reasoning. Are there any earlier documents on why # was chosen?
Kaia
(121 rep)
May 23, 2023, 07:24 PM
-1
votes
1
answers
141
views
ircII ansi escape sequences
REHASH from my original question. I'm trying to get VT100/ANSI escape codes working in an irc client (ircII). What facilitates this, is the ```screen.scr``` file. The apparent problem, is that I cannot get a working terminal working with the pseudo terminal. ```stty``` yields this: ```stty: standard...
REHASH from my original question.
I'm trying to get VT100/ANSI escape codes working in an irc client (ircII).
What facilitates this, is the
.scr
file.
The apparent problem, is that I cannot get a working terminal working with the pseudo terminal.
yields this:
: standard input: Inappropriate ioctl for device
So, I believe if I solve this,and get a working terminal, I solve my initial problem.
Thank you.
ignatius
(411 rep)
Mar 23, 2023, 08:27 PM
• Last activity: Apr 6, 2023, 01:49 AM
0
votes
0
answers
53
views
ninja IRC client
I'm having a problem when compiling ninja IRC client. (http://ftp.iij.ad.jp/pub/linux/gentoo/distfiles/5b/ninja-1.5.9pre14.tar.gz) It compiles fine, but segfaults upon executing. When strace'ing the program, it says that it is using ```/lib64/libtinfo.so.6```, but here's the problem, i'm using openS...
I'm having a problem when compiling ninja IRC client. (http://ftp.iij.ad.jp/pub/linux/gentoo/distfiles/5b/ninja-1.5.9pre14.tar.gz)
It compiles fine, but segfaults upon executing. When strace'ing the program, it says that it is using
/lib64/libtinfo.so.6
, but here's the problem, i'm using openSUSE Leap (version 15.4) and YaST uses that shared library. When I try compiling/installing a newer version of libtinfo (ncurses), it breaks YaST, to the point where it will not work. I had to -s
the old version of
.
So, my question is this: Can I force ninja to use a different version of
?
I _was_ using Debian Bullseye before, and I never came upon this problem...
ignatius
(411 rep)
Nov 5, 2022, 09:01 PM
0
votes
1
answers
214
views
Facing difficulties sending bytes containing white spaces python irc bot
Trying to make a basic irc bot in python (3.9.2) that can response specific commands when invoked. It works although when a response contains whitespace or a space, only the first word gets displayed by the bot, for example; ``` me > @hello bot > hi me > @how is the weather? bot > the ``` it was sup...
Trying to make a basic irc bot in python (3.9.2) that can response specific commands when invoked. It works although when a response contains whitespace or a space, only the first word gets displayed by the bot, for example;
me > @hello
bot > hi
me > @how is the weather?
bot > the
it was supposed to say, the weather seems nice today
Here's the code
import sys
import time
import socket
import string
server_address="irc.libera.chat"
server_port = 6667
botnick="lamebot"
channel_name="##megadouched"
irc = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
irc.connect((server_address,server_port))
irc.setblocking(False)
time.sleep(1)
irc.send(bytes("USER "+botnick+" "+botnick+" "+botnick+" bot has joined the chat\r\n", "UTF-8"))
time.sleep(1)
irc.send(bytes("NICK "+botnick+"\n", "UTF-8"))
time.sleep(1)
irc.send(bytes("JOIN "+channel_name+"\n", "UTF-8"))
irc_privmsg = 'b"PRIVMSG "+channel_name+" Hello\r\n"'
while True:
try:
text = irc.recv(4096)
except Exception:
pass
if text.find(bytes(":@hi", "UTF-8"))!=-1:
irc.sendall(bytes("PRIVMSG "+channel_name+" Hello\r\n", "UTF-8"))
text=b""
elif text.find(bytes(":@how is the weather?", "UTF-8"))!=-1:
irc.sendall(bytes("PRIVMSG "+channel_name+" the weather today seems nice\r\n", "UTF-8"))
text=b""
input()
atheros
(256 rep)
Jul 19, 2022, 01:56 PM
• Last activity: Jul 19, 2022, 06:18 PM
3
votes
4
answers
14403
views
How can you change ident, which shows up as ident@hostname.com on ircll?
I know the nickname and the real name field can be changed with environment variables such as IRCNICK and IRCNAME. However, the documentation does not tell you how the ident is changed. (The ident is the name that's used when you /whois nickname, and it shows up as part of **ident**@username.com in...
I know the nickname and the real name field can be changed with environment variables such as IRCNICK and IRCNAME. However, the documentation does not tell you how the ident is changed. (The ident is the name that's used when you /whois nickname, and it shows up as part of **ident**@username.com in the host field, and the bolded part is what I'm trying to figure out how to change)
I'm wondering if this is possible on the ircll client.
Ken Li
(2575 rep)
Nov 6, 2011, 11:06 PM
• Last activity: Nov 30, 2021, 05:53 AM
0
votes
1
answers
1402
views
Libera IRC network returns SSL or TLS errors with irssi or weechat
When I try to connect to Libera chat using IRSSI I get, -!- Irssi: warning SSL handshake failed: Connection timed out When I try to connect it with weechat I get libera =!= | irc: TLS handshake failed libera =!= | irc: error: An unexpected TLS packet was received. libera -- | irc: reconnecting to se...
When I try to connect to Libera chat using IRSSI I get,
-!- Irssi: warning SSL handshake failed: Connection timed out
When I try to connect it with weechat I get
libera =!= | irc: TLS handshake failed
libera =!= | irc: error: An unexpected TLS packet was received.
libera -- | irc: reconnecting to server in 1 minute, 20 seconds
What's the problem, how can I resolve this issue?
Evan Carroll
(34663 rep)
May 21, 2021, 03:36 AM
0
votes
0
answers
138
views
How do I access my irc server over the internet if I'm using my phone for internet access for the pc
I'm running debian on my home pc. For irc server setup, I installed `ircd-hybrid`. I happen to have 4G mobile data on my phone and am using it to access the internet using usb tethering through the pc. Now, I'm aware of the fact that tethering ip's are dynamic and they change to a new one on reconne...
I'm running debian on my home pc. For irc server setup, I installed
ircd-hybrid
. I happen to have 4G mobile data on my phone and am using it to access the internet using usb tethering through the pc. Now, I'm aware of the fact that tethering ip's are dynamic and they change to a new one on reconnection. But as long as I'm connected to the net, the ip does not change afaik. I am not leaning towards a domain name because it's just a temporary experiment. I guess port forwarding is involved in some way. My objectives are to run the irc server on my home pc, and connect to it from another device through a client not on a local network, but through the internet. Have you tried something like this before? Is it even possible to setup irc server this way? What are your thoughts?
atheros
(256 rep)
Jan 5, 2021, 03:59 PM
0
votes
1
answers
88
views
which yum repo has both finch and pidgin for IRC?
While I'm able to install pidgin, I'm only after the CLI variant of finch for IRC. More generally, I don't recall the specifics of how to add a repo, nor would I know which repo. Primarily: **how do I find the repo which would have finch for CentOS?** [nsaunders@rolly ~]$ [nsaunders@rolly ~]$ sudo y...
While I'm able to install pidgin, I'm only after the CLI variant of finch for IRC.
More generally, I don't recall the specifics of how to add a repo, nor would I know which repo.
Primarily: **how do I find the repo which would have finch for CentOS?**
[nsaunders@rolly ~]$
[nsaunders@rolly ~]$ sudo yum install -y finch
Last metadata expiration check: 0:13:32 ago on Sun 07 Jun 2020 05:07:27 AM PDT.
No match for argument: finch
Error: Unable to find a match: finch
[nsaunders@rolly ~]$
[nsaunders@rolly ~]$ lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 8.1.1911 (Core)
Release: 8.1.1911
Codename: Core
[nsaunders@rolly ~]$
[nsaunders@rolly ~]$ cat /etc/yum.conf
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
best=True
[nsaunders@rolly ~]$
[nsaunders@rolly ~]$ yum repolist
CentOS-8 - AppStream 4.6 MB/s | 7.0 MB 00:01
CentOS-8 - Base 1.3 MB/s | 2.2 MB 00:01
CentOS-8 - Extras 27 kB/s | 6.7 kB 00:00
Last metadata expiration check: 0:00:01 ago on Sun 07 Jun 2020 05:23:35 AM PDT.
repo id repo name status
AppStream CentOS-8 - AppStream 5,318
BaseOS CentOS-8 - Base 1,661
extras CentOS-8 - Extras 20
[nsaunders@rolly ~]$
[nsaunders@rolly ~]$ yum repolist enabled
Last metadata expiration check: 0:00:17 ago on Sun 07 Jun 2020 05:23:35 AM PDT.
repo id repo name status
AppStream CentOS-8 - AppStream 5,318
BaseOS CentOS-8 - Base 1,661
extras CentOS-8 - Extras 20
[nsaunders@rolly ~]$
*On Ubuntu,
yum install finch
works fine.*
Nicholas Saunders
(565 rep)
Jun 7, 2020, 12:30 PM
• Last activity: Jun 7, 2020, 01:39 PM
0
votes
3
answers
669
views
IRC chat on pidgin
How do I use IRC chat on pidgin? I acquired the Server : irc://irc.freenode.net:6667 and I don't know what to fill in the username? How do I get a username and password? ![enter image description here][1] After searching for 30 mins on web I found it Nowhere. Here's a couple of sites which I read an...
How do I use IRC chat on pidgin?
I acquired the Server : irc://irc.freenode.net:6667
and I don't know what to fill in the username?
How do I get a username and password?
After searching for 30 mins on web I found it Nowhere.
Here's a couple of sites which I read and All of thier contents got above my head as I could not understand a word.
http://www.irchelp.org/irchelp/irctutorial.html
http://www.linuxassist.net/how-to-connect/
It looks like these articles were written just for the experienced users.

Aditya ultra
(180 rep)
Jun 19, 2015, 04:33 PM
• Last activity: Jun 7, 2020, 12:37 PM
13
votes
3
answers
5353
views
Why BitchX is called BitchX?
I'm curious to know the reason for the name of `BitchX`. I searched on internet for etymology but it was a fail.
I'm curious to know the reason for the name of
BitchX
. I searched on internet for etymology but it was a fail.
Pouya
(875 rep)
Jan 7, 2014, 03:58 PM
• Last activity: Jul 9, 2019, 09:05 AM
5
votes
1
answers
604
views
Disable anti-flooding in inspIRCd
How do I go about disabling anti-flooding in inspIRCd? It is only an annoyance on a private chat. No anti-flooding modules are enabled and all flooding-limits have been set to maximum - yet it still blocks posting for example an ascii image. Any pointers in the right direction?
How do I go about disabling anti-flooding in inspIRCd? It is only an annoyance on a private chat.
No anti-flooding modules are enabled and all flooding-limits have been set to maximum - yet it still blocks posting for example an ascii image.
Any pointers in the right direction?
cxou
(402 rep)
May 23, 2015, 08:07 PM
• Last activity: Mar 10, 2019, 05:18 PM
5
votes
1
answers
6467
views
How to setup weechat to connect with facebook google talk and skype?
I'm looking for solution to tight all my communication channels I'm currently using: FB, GTalk and Skype into the terminal based chat client like weechat. It looks like FB and GTalk use XMPP, but it's really hard to setup suggested weechat plugin jabber.py http://www.weechat.org/scripts/stable/tag/x...
I'm looking for solution to tight all my communication channels I'm currently using: FB, GTalk and Skype into the terminal based chat client like weechat.
It looks like FB and GTalk use XMPP, but it's really hard to setup suggested weechat plugin jabber.py http://www.weechat.org/scripts/stable/tag/xmpp/
How to deal with weechat + XMPP problem. And how to setup skype chat.
A B
(429 rep)
Jul 25, 2013, 09:15 PM
• Last activity: Mar 9, 2019, 08:42 AM
0
votes
1
answers
1764
views
Using socat to make a secure tcp connection to an irc server
Recently, I got into irc, so I installed [`sic`](https://tools.suckless.org/sic/) and started - obviously - chatting. But, it turns out that `sic` doesn't provide any security features like SSL or TCP so I in `man sic`, they told to use `socat` to establish a secure TCP connection so I installed it...
Recently, I got into irc, so I installed [
sic
](https://tools.suckless.org/sic/) and started - obviously - chatting.
But, it turns out that sic
doesn't provide any security features like SSL or TCP so I in man sic
, they told to use socat
to establish a secure TCP connection so I installed it and read the documentary.
In the example section, I found this:
socat TCP-LISTEN:www TCP:www.domain.org:www
So I just ran
socat tcp-listen:6667,fork tcp:irc.freenode.net:6697
and tried to connect with it using sic -h 127.0.1 -p 6667
which puked out:
sic: remote host closed connection
with socat
not complaining.
---
I tried it again with the option -d -d
for socat
being more verbose:
2019/01/02 00:38:38 socat N accepting connection from AF=2
127.0.0.1:38664 on AF=2 127.0.0.1:6667
2019/01/02 00:38:38 socat N forked off child process 1897
2019/01/02 00:38:38 socat N listening on AF=2 0.0.0.0:6667
2019/01/02 00:38:38 socat N opening connection to AF=2
185.30.166.37:6697
2019/01/02 00:38:38 socat N successfully connected from local
address AF=2 192.168.178.28:42822
2019/01/02 00:38:38 socat N starting data transfer loop with FDs
[6,6] and [5,5]
2019/01/02 00:38:38 socat W read(5, 0x558eefca3710, 8192):
Connection reset by peer
2019/01/02 00:38:38 socat N socket 2 to socket 1 is in error
2019/01/02 00:38:38 socat N socket 2 (fd 5) is at EOF
2019/01/02 00:38:38 socat N socket 1 (fd 6) is at EOF
2019/01/02 00:38:38 socat N socket 2 (fd 5) is at EOF
2019/01/02 00:38:38 socat N exiting with status 0
2019/01/02 00:38:38 socat N childdied(): handling signal 17
caffeinated-fox
(11 rep)
Jan 1, 2019, 01:57 AM
• Last activity: Jan 2, 2019, 12:54 AM
0
votes
1
answers
974
views
I'm setting up an IRCd on My VPS. How do I open up the normal IRC ports?
I'm trying to get my IRCd running on my VPS. I have everything set up and ready, but I cannot connect. Did a portscan, and the prot isn't open. I have root access. How do I open up ports 6667 and 6697?
I'm trying to get my IRCd running on my VPS.
I have everything set up and ready, but I cannot connect.
Did a portscan, and the prot isn't open.
I have root access.
How do I open up ports 6667 and 6697?
4g0tt3nSou1
(1 rep)
Jan 25, 2016, 05:44 PM
• Last activity: Dec 20, 2018, 07:27 AM
3
votes
1
answers
917
views
How can I filter just one particular nick messages in weechat (IRC)
Consider have a buffer/channel opened in your weechat. I want to temporarily see all the messages of one user/nick. Is this possible? This means only the filtered nick messages will be shown (just for a while).
Consider have a buffer/channel opened in your weechat. I want to temporarily see all the messages of one user/nick. Is this possible? This means only the filtered nick messages will be shown (just for a while).
SddS
(225 rep)
Dec 8, 2018, 11:23 AM
• Last activity: Dec 8, 2018, 02:28 PM
2
votes
2
answers
4762
views
How to compile when the machine has not enough memory?
I have a low-end VPS that is set up with a ZNC as an IRC bouncer, and it runs just fine, it has around 128 MB of flash memory, which is NOT ENOUGH to compile one of the modules I want to use [`znc-push`][1] . After trying to compile on a virtualbox and sending the file over, I get an error of "inval...
I have a low-end VPS that is set up with a ZNC as an IRC bouncer, and it runs just fine, it has around 128 MB of flash memory, which is NOT ENOUGH to compile one of the modules I want to use
znc-push
.
After trying to compile on a virtualbox and sending the file over, I get an error of "invalid ELF header" when I try to load the module up. How can I compile this module remotely and then send it over? It has enough memory to run it, but won't compile it, I've looked in to using distcc, but I can't find any reliable info on how to use it.
Also, I have tried creating a swap file, but that's not allowed/possible with this VPS.
Kam
(21 rep)
May 3, 2017, 04:01 PM
• Last activity: Oct 10, 2018, 12:30 PM
2
votes
2
answers
1349
views
Where to find xchat for debian stretch
It seems that the package `xchat` is not available in the stretch repository, all I can find is `xchat-gnome`. Can someone tell me if it was removed and if so, why? I'm using mate desktop by the way. My `sources.list` deb http://ftp.de.debian.org/debian/ stretch non-free contrib main deb-src http://...
It seems that the package
xchat
is not available in the stretch repository, all I can find is xchat-gnome
. Can someone tell me if it was removed and if so, why?
I'm using mate desktop by the way.
My sources.list
deb http://ftp.de.debian.org/debian/ stretch non-free contrib main
deb-src http://ftp.de.debian.org/debian/ stretch non-free contrib main
deb http://security.debian.org/ stretch/updates non-free contrib main
deb-src http://security.debian.org/ stretch/updates non-free contrib main
deb http://ftp.de.debian.org/debian/ stretch-updates non-free contrib main
deb-src http://ftp.de.debian.org/debian/ stretch-updates non-free contrib main
sinclair
(129 rep)
Mar 17, 2016, 07:31 PM
• Last activity: Jun 27, 2017, 10:04 AM
1
votes
0
answers
322
views
Having a persistent IRC client
I would like to have an IRC client (running on a server that I have SSH access to) be persistent on the server without disconnecting from the rooms and servers I joined. In other words, I want to be able to SSH into a server, check messages on the IRC client, disconnect from the SSH server, without...
I would like to have an IRC client (running on a server that I have SSH access to) be persistent on the server without disconnecting from the rooms and servers I joined. In other words, I want to be able to SSH into a server, check messages on the IRC client, disconnect from the SSH server, without ever leaving the chatrooms.
How can I achieve that? I'm using
irssi
and thought about somehow nohup
'ing it, but I can't see how that would work.
Abdul
(321 rep)
Jun 22, 2017, 03:08 AM
7
votes
2
answers
7540
views
Become operator on all channels ircd-hybrid
I have a problem with my `ircd-hybrid` server. I can only make myself operator in the status tab but not when I join channels. There is my operator tag in `ircd.conf`: operator { /* name: the name of the oper */ name = "operator"; /* user: the user@host required for this operator. CIDR is not * supp...
I have a problem with my
ircd-hybrid
server. I can only make myself operator in the status tab but not when I join channels.
There is my operator tag in ircd.conf
:
operator {
/* name: the name of the oper */
name = "operator";
/* user: the user@host required for this operator. CIDR is not
* supported. multiple user="" lines are supported.
*/
user = "*@127.0.0.1";
/* password: the password required to oper. By default this will
* need to be encrypted using '/usr/bin/mkpasswd'.
* WARNING: Please do not mix up the 'mkpasswd' program from
* /usr/sbin with this one. If you are root, typing 'mkpasswd'
* will run that one instead and you will receive a strange error.
*
* MD5 is supported. If you want to use it, use mkpasswd -Hmd5.
*/
#password = "3ZokNTld506nY";
password = "$1$oqD3q/0S$wQ1utcJG9Pcutmq6i3qxS.";
/* class: the class the oper joins when they successfully /oper */
class = "opers";
/* privileges: controls the activities and commands an oper are
* allowed to do on the server. All options default to no.
* Available options:
*
* global_kill: allows remote users to be /KILL'd (OLD 'O' flag)
* remote: allows remote SQUIT and CONNECT (OLD 'R' flag)
* kline: allows KILL, KLINE and DLINE (OLD 'K' flag)
* unkline: allows UNKLINE and UNDLINE (OLD 'U' flag)
* gline: allows GLINE (OLD 'G' flag)
* nick_changes: allows oper to see nickchanges (OLD 'N' flag)
* via usermode +n
* rehash: allows oper to REHASH config (OLD 'H' flag)
* die: allows DIE and RESTART (OLD 'D' flag)
* admin: gives admin privileges. admins
* may (un)load modules and see the
* real IPs of servers.
*/
global_kill = yes;
remote = yes;
kline = yes;
unkline = yes;
gline = yes;
die = yes;
rehash = yes;
nick_changes = yes;
admin = yes;
};
Also, how can I configure the server so that when a user joins a channel first, they do not become an operator for the channel?
Linus Odenring
(173 rep)
Feb 5, 2013, 04:38 PM
• Last activity: Nov 22, 2016, 01:30 PM
Showing page 1 of 20 total questions