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

Thanks for the reply digital man.

>The answer.* file is displayed before login.js is executed, so you might want
your answer.asc a blank/0-byte file (your >answer.ans could contain ANSI since
it'll only be displayehd to ANSI-detected terminals).

I did try something similar to this previously, however if a person logs on
with their BBC Micro (and a Mode 7 .asc file has been created) as they haven't
got to the logon prompt where it loads up their terminal preferences it just
shows them the un-formatted file.

>You could check the server port in your login.js and take a different control
path based on that.

This sound like what I'd like to do, ideally I'd like when they login on port
6502 it sets their formatting as extended ascii on and utf8 and ansi off...but
I'm at a loss on how to do that.

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