Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 40 |
Nodes: | 6 (0 / 6) |
Uptime: | 94:15:00 |
Calls: | 196 |
Files: | 134 |
Messages: | 96,496 |
Heyz All,
If memory serves me right I think I once saw a script coming through
for Mystic in which the telnet client could be detected.
Im trying to detect fTelnet, Netrunner and Syncterm clients. Does
anybody remember such command?
I'm not sure about detecting specific clients, vs term capabilities? I wrote this a while back in Go + Lua to make some assumptions about what the terminal *might* be, based on its detected capabilities. Talisman has a built-in function in its repo for this (C++). I was using it to make sure I could serve loadable fonts and use extended palattes, etc.
Nice lead, thanks! I'll dig through this now ^^.
Much appreciated,
oP!
Oh, looks like I was explicitly looking for Term Type!
-- detect term capabilities
if (termtype == string.lower("ANSI-256COLOR-RGB")) or (cols>80) then
terminal = "Netrunner"
elseif termtype == string.lower("syncterm") then
terminal = "Syncterm"
elseif termtype == string.lower("magiterm") then
terminal = "Magiterm"
else
terminal = "ANSI-Term"
end
(this is a demo of PHENOM's drop file format intended to help unlock more modern capabilities for door creators).