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
cyclades-devices(5)													       cyclades-devices(5)

NAME
cyclades-devices - tables for driving cyclades-serial-client DESCRIPTION
The cyclades-devices file supplies all mapping between Unix device files (/dev/*) and the addresses of serial ports of Cyclades Terminal Servers. It contains one entry for each serial port, with the following format: device:rastype:rasname:physport:type:options Note: A # character at beginning of line indicates a comment The entry fields are: devname - A full pathname of the file that will be associated to the serial port. It must start with a "/dev/" preffix. Two naming schemes may be used here: - devname does not exist, and will be linked to a free pseudo-tty. This is the default behavior of cyclades-ser- cli. - devname is the name of a valid slave pseudo-tty. In this case, the '-t 1' option must be assigned in options field. (Note: this option is not supported by this release). rastype - Terminal Server type: - prts, for Cyclades Pr302X/TS Terminal Servers. - path, for Cyclades PathRAS Terminal Server. rasname - Host Name or IP Address of the Terminal Server where the serial port resides. physport - Number of physical port in the Terminal Server. If treated as the IP address associated with this port, in a IP-based addressing scheme. type - Server type that will be contacted to handle the serial port: - rtelnet, for Remote Telnet Server - socket, for Socket Server options - Per-port specific options, passed to cyclades-ser-cli program. EXAMPLES
1. Device on a PR3020/TS Terminal Server pr3k Port 1, accessed through /dev/ctty01 device file name, using telnet protocol (remote telnet server) /dev/ctty01:prts:pr3k:1:rtelnet: 2. The same device, but with an IP address pr3k_port1 associated to the serial port (IP-based port addressing) /dev/ctty01:prts:pr3k_port1:0:rtelnet: 3. Device on a PathRAS Terminal Server pr3k Port 2, accessed through /dev/ctty02 device file name, using socket protocol (socket server) /dev/ctty02:path:pr3k:2:socket: FILES
/etc/cyclades-devices This file SEE ALSO
cyclades-serial-client(1), cyclades-ser-cli(1) cyclades-devices(5)