|
|
#1 |
|
Prospect
Join Date: Jun 2006
Posts: 2
|
Under Leopard, to conveniently open Terminal windows onto remote systems, I've created several settings files in Terminal. I can open one by right-clicking on the Terminal icon in the Dock, expand the "New Window" menu item, and select the remote system I want to connect to. This has worked very well for years.
So today I tried to improve the process. I want to be able to open the windows more conveniently. I created a shell script for each remote system. Each script contains a single line like open /Library/Application Support/Terminal/system-abc.terminal I created the .terminal files using Terminal->Shell->Export Settings... When I execute the shell script, a new Terminal window pops up as expected. The weird thing is, whenever I execute the shell script, I discover a new menu item in Terminal's list of remote systems. In other words, after executing the above script once, if I go back and try right-clicking on the Terminal icon in the dock, and I expand "New Window", I find a brand-new thing in the list. The new thing is called "system-abc 1". If I run the script again, I find another new thing named "system-abc 2" What's going on? If you wonder why I'm trying to do things this way, it's so I can open windows onto remote systems via Quicksilver. I connect to many remote systems in a typical work day. Using the shell scripts allows me to do it from the keyboard, without having to move the mouse to the Dock and position and click it on the right entry. Using the shell scripts does exactly what I want, but it has the annoying side effect of cluttering Terminal's list of remote systems with copies. |
|
|
|
![]() |
| Tags |
| terminal |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|