
Re: TWXProxy Script- passing the Asterics key
Code:
echo "*Press any key (except $) and the char code(s) will be displayed.*"
while TRUE
getConsoleInput $key SINGLEKEY
getCharCode $key $code
clientMessage $code
end
This is a handy routine when you are hunting a char code. Especially useful to determine multi-code keyboard keystrokes, like the down arrow key (#27 #91 #66) or the End key (#27 #91 #52 #126). Of course, #27 #91 is "ESC[", the beginning of an Escape code. Swath and other helpers will block most of those, but the Windows telnet client will pass them on to TWX.