Subj : Setting a default terminal type for a specific port
To   : vela025
From : Digital Man
Date : Wed Feb 14 2024 03:40 pm

 Re: Setting a default terminal type for a specific port
 By: vela025 to Digital Man on Wed Feb 14 2024 02:34 pm

> >Something like this in your exec/login.js:
>
> Ahh OK I think that might be something I could manage, thank you.
>
> I'm currently playing with msglist.js so that it presents nicely in mode 7,
> however this breaks the ANSI version...could I have two versions of
> msglist.js (e.g. msglist.js and msglist7.js) and use a similar logic to
> above to direct the user to the correct version? Or would it be best to
> instead have an extra menu entry for the adapted msglist.js from the main
> menu?

It'd be better if you didn't have to break the ANSI "version". Anyway, your msglist.js could detect a "mode 7" terminal somehow and then run msglist7.js (nested). But that's certainly not an ideal design.
--
                                           digital man (rob)

Rush quote #3:
The men who hold high places must be the ones who start... Closer to the Heart
Norco, CA WX: 65.9�F, 47.0% humidity, 2 mph SW wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net