TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: Digital Man
from: Odusseus71
date: 2024-07-31 11:27:00
subject: Password setting for Irc

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
--- SBBSecho 3.20-Linux
                                                                               
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.