Subj : Detecting Terminals To : dingo From : niter3 Date : Wed Mar 20 2024 04:11 pm di> I was the first to write a BBS that supports UTF-8 and cp437, but we di> required selecting it manually (x84/default/charset.py script). But I di> wanted to share with you a technique that I've been using lately that di> should allow your BBS Softwares to automatically detect the client, di> using the "Query Cursor Position" sequence, "\x1b[6n". You could also di> use this to automatically detect for "bots" or "scanners" rather than di> real users. At least, any bot would have to emulate a terminal to di> respond correctly. di> di> I use this technique to automatically detect the unicode support level di> of many terminals in my "ucs-detect" tool, "How it works" di> https://ucs-detect.readthedocs.io/intro.html#how-it-works di> di> And the results here, https://ucs-detect.readthedocs.io/results.html This could come handy. As of right now I'm just hardcoding it to cp437. .... "No comment" is a comment. --- Mystic BBS v1.12 A49 2023/04/30 (Linux/64) * Origin: Clutch BBS * telnet://clutchbbs.com (21:1/199) .