activetcl

TCL / Expect Scripting - Using a conditional statement to attempt a secondary login password

陌路散爱 提交于 2019-12-24 08:55:46
问题 I am very close to finish a TCL/TK app that logs into a Cisco Access Point via a serial connection (RS232} and gives it an IP address (very basic) However, I would like my script to attempt a secondary password if the first one fails This is how the Cisco CLI behaves with a serial connection when the incorrect password is entered 3 times (No User Name is needed, only prompts for a password) Password: Password: Password: % Bad secrets Again, if the default password of "Cisco" does not work, I

Uninstall Active TCL Mac

半腔热情 提交于 2019-12-05 04:29:23
问题 I am trying to uninstall Active TCL on my Mac and the provided code from the website does not work. I am receiving errors saying not a directory. When I look into the file path that the code gives me I can manually find but it does not work. Is there any other way to get rid of this? Below is the provided code: $ cd /Library/Frameworks/Tcl.framework/Versions/<version>/Resources/Scripts/uninstall $ sudo ./uninstall 回答1: $ cd /Library/Frameworks/Tcl.framework/Versions/8.6/Resources/Scripts/ $