Subj : Password setting for Irc Client accessing a private irc server
To   : Digital Man
From : Odusseus71
Date : Wed Jul 31 2024 11:27 am

Hello Digital Man,

here are some results of my experimenting on irc client, with the main intent
of sharing my experience:

> The irc.js didn't support a password "override" (e.g. via command-line), i.e.
> it always sent to current user's password via the >IRC "PASS" message upon
> connecting to a server. I just committed a change to allow the sysop to
> override the password >sent via the '-p' command-line option to irc.js.
> Please let me know how that works for you.

Yes, connecting by current user's password works (I only had to disable pw
encryption in ircd-hybrid config) and this could fit the scope of my project,
actually (connection of very few BBS clients/terminals running on retro
machines like Amiga and C64).

Regarding the SysOp power to override the password, I understood that, logged
as SO after changed the default irc address/port in mods/chat_sec.js directly,
I could input a command like: 

!EXEC ?irc.js -p  "IRCPASSWORD"  but this returned some js variable type errors
(and, considering my very poor coding attitude, I did not insist). 

So, the issue that is left (by using a common users password as irc password)
is that irc.js/Deuce's IRC client module does continuosly rewrite/update a
single line on Amiga's DC Telnet screen (both on WinUAE and real Amiga),
loosing all the chat history. 

I was so close...

Thanks a lot

BR

Marco

---