Last active
March 4, 2017 08:58
-
-
Save jellyjellyrobot/cd58487fd186f81f75b90eeedc618def to your computer and use it in GitHub Desktop.
GNS3 console configuration for OSX, Iterm2v3, and a shell that does not quit terminal negotiating
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
osascript | |
-e 'tell application "iTerm"' | |
-e 'activate' | |
-e 'if (count of windows) = 0 then' | |
-e ' set t to (create window with profile "cisco")' | |
-e 'else' | |
-e ' set t to current window' | |
-e 'end if' | |
-e 'tell t' | |
-e ' set newTab to (create tab with profile "cisco" command "sh")' | |
-e ' tell current session' | |
-e ' set name to "%d"' | |
-e ' write text "stty raw; nc %h %p"' | |
-e ' write text "\r\n"' | |
-e ' end tell' | |
-e 'end tell' | |
-e 'end tell' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment