![]() I tried scripts using expect -f, but there's no prompt in the telnet session, so it stalls and I couldn't seem to make that work, so this is a cheap fix, but works fine.Ĭreate a. ![]() If you make a simple script for the Mac to do this in a more user-friendly GUI fashion, please share it - especially if you include the adjustment of the numerical values by 1 into the script.įor anyone searching for info on scripting telnet for Videohub using MacOS, here is a spelled out version of a way to do it.Īn elementary, yet efficient Applescript that just copies routes from a text file and pastes into your telnet session makes switching I/Os a simple double-click of an applet. I don't know enough about writing scripts to create a script to send these Telnet commands, but the commands are easy to send in Terminal. And you can save frequent routing scenarios as a txt file, and cut/paste the routes you want when needed. ![]() ![]() The only tricky part is that your router is generally labelled as inputs and outputs 1 through 16 (or higher, depending on model), but the telnet commands see them as 0 through 15 - so you have to adjust all of the numbers by one. The more routes you try to switch at once, the more latency there is. This would route input 3 to output 0, input 10 to output 1, input 3 to output 2, and on down the line at the same time, though not exactly the same instant.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |