Terminal.app keeps creating copies of my settings files


 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Terminal.app keeps creating copies of my settings files
# 1  
Old 11-12-2009
Terminal.app keeps creating copies of my settings files

Under Leopard, I like to conveniently open Terminal windows onto remote systems. I've created several settings files in Terminal, one for each remote system that I want to access. To open window, I right-click 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 me for years.

Today I tried to improve the process. 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 system-abc.terminal files by doing Terminal->Shell->Export Settings... When I execute the shell script, a new Terminal window pops up as expected. This is great - now I can execute the shell script from Quicksilver, so I have a way to open Terminals with a few keystrokes.

This works quite well, but it has an unfortunate side effect. Whenever I execute the shell script, a new menu item gets added to Terminal's list of remote systems. In other words, after executing the above script once and then right-click on the Terminal icon in the dock, and 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". Etc.

So it works, but it clutters up the list of remote systems. Is this a bug in Terminal?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. BSD

How to play a song in terminal app in os x?

Just wondering -- is there a way to play a song in iTunes from the terminal app? (1 Reply)
Discussion started by: Straitsfan
1 Replies

2. Shell Programming and Scripting

Tar creating copies of files

I am trying to archive directories based on their last modified date. When I tar and compress the directory it makes copies of whats inside, I don't know how to fix this. Here is my code. #!/bin/bash #AUTODRUNDISABLE VERSION="0.2" cd /desired/directory/to/archive find . -type d -newermt... (3 Replies)
Discussion started by: jrymer
3 Replies

3. UNIX for Dummies Questions & Answers

Terminal emulation settings help rlogin AIX to SCO

I use a program called TinyTerm to access our AIX machine. It works fine except for when I rlogin into our SCO unix server. Backspace doesn't delete, ctrl-c doesn't work (delete key does same thing), and the most annoying thing is vi acts very wierd. I have to press the down arrow like 3 times to... (11 Replies)
Discussion started by: herot
11 Replies

4. OS X (Apple)

What settings are required for login to CVS using Terminal in Mac OS X?

Hi All, I want to login to CVS using terminal. I am executing the following command in the terminal :- export CVSROOT=: pserver:ags_rd@istcvs.corp.apple.com:/istcvs/CVSHOME cvs login But i get the following error : Afreens-iMac:buildTest Afreen$ export CVSROOT=:... (1 Reply)
Discussion started by: Afreen
1 Replies

5. Shell Programming and Scripting

What settings are required for login to CVS using Terminal in Mac OS X?

Hi All, I want to login to CVS using terminal. I am executing the following command in the terminal :- export CVSROOT=: pserver:ags_rd@istcvs.corp.apple.com:/istcvs/CVSHOME cvs login But i get the following error : Afreens-iMac:buildTest Afreen$ export CVSROOT=:... (3 Replies)
Discussion started by: Afreen
3 Replies

6. Windows & DOS: Issues & Discussions

Display running 'app' in terminal titlebar?

Hi. I was, not too long ago, an OS X home user. One of the things I remember from using the Apple-installed Terminal is: whenever an executable that took more than a split second to do its thing was running, its name would appear in the title bar in a way similar to "Terminal: ssh" or "Terminal:... (0 Replies)
Discussion started by: SilversleevesX
0 Replies

7. UNIX for Dummies Questions & Answers

KSH Terminal Settings

I've been doing a lot of searching through the forums to figure out how to: 1 - get my Backspace key to work in my ksh telnet session 2 - get the PWD to show up as the prompt Solution to 1 - stty erase ^H Solution to 2 - export PS1="$PWD>" Or so I thought...type those commands on the... (6 Replies)
Discussion started by: dstinsman
6 Replies

8. Solaris

Terminal settings from linux to solaris

When I log in from my linux workstation (CentOS4) to a solaris 8 server using SSH or telnet, the terminal settings don't seem to work well. When I tail or vi a file, I get a blank screen or no response, and I am no longer able to interact with the session. I have to type the escape sequence to... (2 Replies)
Discussion started by: tjlst15
2 Replies

9. UNIX for Dummies Questions & Answers

Terminal Video Settings

I am not a Solaris (Unix) guy so i need help. I am trying to get a Sun Ultra 5 running Solaris 8 to display the correct video for my KVM switch. I have set the CDE to 1024x768x75 and have no problem with video using this setting in CDE. When I shut down the server or boot up the server it is... (4 Replies)
Discussion started by: cchyzm
4 Replies

10. UNIX for Dummies Questions & Answers

Terminal settings on solaris

I am getting the following error when try to use vi vt100: Unknown terminal type Visual needs addressable cursor or upline capability : I have checked the TERM variable which is set to vt100. What could be the problem. This is on solaris 2.8 and i am doing telnet. (2 Replies)
Discussion started by: sssow
2 Replies
Login or Register to Ask a Question
CPANPLUS::Shell::Default::Plugins::CustomSource(3pm)	 Perl Programmers Reference Guide     CPANPLUS::Shell::Default::Plugins::CustomSource(3pm)

NAME
CPANPLUS::Shell::Default::Plugins::CustomSource - add custom sources to CPANPLUS SYNOPSIS
### elaborate help text CPAN Terminal> /? cs ### add a new custom source CPAN Terminal> /cs --add file:///path/to/releases ### list all your custom sources by CPAN Terminal> /cs --list ### display the contents of a custom source by URI or ID CPAN Terminal> /cs --contents file:///path/to/releases CPAN Terminal> /cs --contents 1 ### Update a custom source by URI or ID CPAN Terminal> /cs --update file:///path/to/releases CPAN Terminal> /cs --update 1 ### Remove a custom source by URI or ID CPAN Terminal> /cs --remove file:///path/to/releases CPAN Terminal> /cs --remove 1 ### Write an index file for a custom source, to share ### with 3rd parties or remote users CPAN Terminal> /cs --write file:///path/to/releases ### Make sure to save your sources when adding/removing ### sources, so your changes are reflected in the cache: CPAN Terminal> x DESCRIPTION
This is a "CPANPLUS::Shell::Default" plugin that can add custom sources to your CPANPLUS installation. This is a wrapper around the "custom module sources" code as outlined in "CUSTOM MODULE SOURCES" in CPANPLUS::Backend. This allows you to extend your index of available modules beyond what's available on "CPAN" with your own local distributions, or ones offered by third parties. perl v5.16.2 2012-10-11 CPANPLUS::Shell::Default::Plugins::CustomSource(3pm)